0 Replies Latest reply on Aug 4, 2010 7:15 AM by csenes csenes

    A weird error and I couldnt fix this

    csenes csenes Newbie

      hey all , I gor an error when happen session timeout,I want to do call my error.xhtml when session time out but whatever I do I failed everytime , below my code ,help me please


      here is error



      org.jboss.seam.InstantiationException: Could not instantiate Seam component: simpleTreeBean
           at org.jboss.seam.Component.newInstance(Component.java:2144)
           at org.jboss.seam.Component.getInstance(Component.java:2021)
           at org.jboss.seam.Component.getInstance(Component.java:1983)
           at org.jboss.seam.Component.getInstance(Component.java:1977)
           at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
           at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
           at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:148)
           at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:51)
           at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175)
           at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
           at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
           at org.jboss.el.parser.AstValue.getValue(AstValue.java:63)
           at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
           at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
           at javax.faces.component.UIData.getValue(UIData.java:582)
           at org.ajax4jsf.component.UIDataAdaptor.getValue(UIDataAdaptor.java:1624)
           at org.richfaces.component.UITree.createDataModel(UITree.java:679)
           at org.ajax4jsf.component.UIDataAdaptor.getExtendedDataModel(UIDataAdaptor.java:621)
           at org.ajax4jsf.component.UIDataAdaptor.setRowKey(UIDataAdaptor.java:339)
           at org.richfaces.renderkit.TreeRendererBase.writeContent(TreeRendererBase.java:677)
           at org.richfaces.renderkit.TreeRendererBase.encodeChildren(TreeRendererBase.java:618)
           at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
           at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:277)
           at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258)
           at org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:220)
           at org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:215)
           at org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:120)
           at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
           at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
           at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
           at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
           at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:277)
           at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258)
           at org.ajax4jsf.renderkit.html.AjaxOutputPanelRenderer.encodeChildren(AjaxOutputPanelRenderer.java:78)
           at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
           at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
           at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
           at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
           at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
           at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
           at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
           at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
           at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
           at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
           at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
           at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
           at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
           at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:333)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
           at org.domain.kaliteyonsist.general.UTF8Filter.doFilter(UTF8Filter.java:21)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
           at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:42)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
           at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
           at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
           at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
           at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.domain.kaliteyonsist.framework.RendererFilter.doFilter(RendererFilter.java:112)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
           at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313)
           at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
           at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
           at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
           at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
           at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
           at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
           at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
           at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
           at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
           at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
           at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
           at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
           at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
           at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
           at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
           at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
           at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
           at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
           at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
           at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
           at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
      Caused by: javax.ejb.EJBTransactionRolledbackException
           at com.sun.ejb.containers.BaseContainer.mapBusinessInterfaceException(BaseContainer.java:1507)
           at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1421)
           at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1316)
           at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:205)
           at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:127)
           at $Proxy72.loadTree(Unknown Source)
           at sun.reflect.GeneratedMethodAccessor912.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:597)
           at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
           at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
           at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76)
           at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
           at org.jboss.seam.ejb.RemoveInterceptor.aroundInvoke(RemoveInterceptor.java:43)
           at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
           at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
           at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54)
           at org.javassist.tmp.java.lang.Object_$$_javassist_seam_16.loadTree(Object_$$_javassist_seam_16.java)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:597)
           at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
           at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
           at org.jboss.seam.Component.callComponentMethod(Component.java:2249)
           at org.jboss.seam.Component.callCreateMethod(Component.java:2172)
           at org.jboss.seam.Component.newInstance(Component.java:2132)
           ... 104 more
      Caused by: javax.ejb.TransactionRolledbackLocalException: Client's transaction aborted
           at com.sun.ejb.containers.BaseContainer.useClientTx(BaseContainer.java:3419)
           at com.sun.ejb.containers.BaseContainer.preInvokeTx(BaseContainer.java:3299)
           at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1244)
           at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:195)
           ... 127 more
      


      my pages.xml




      <?xml version="1.0" encoding="UTF-8"?>
      <pages xmlns="http://jboss.com/products/seam/pages" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.2.xsd"
      
           no-conversation-view-id="/home.xhtml" login-view-id="/login.xhtml">
      
           <page view-id="*">
                <navigation>
                     <rule if-outcome="home">
                          <redirect view-id="/home.xhtml" />
                     </rule>
                </navigation>
           </page>
           <exception class="org.jboss.seam.framework.EntityNotFoundException">
                <redirect view-id="/error.xhtml">
                     <message>#{messages['general.message.exception.EntityNotFoundException']}</message>
                </redirect>
           </exception>
      
           <exception class="javax.persistence.EntityNotFoundException">
                <redirect view-id="/error.xhtml">
                     <message>#{messages['general.message.exception.EntityNotFoundException']}</message>
                </redirect>
           </exception>
      
           <exception class="javax.ejb.TransactionRolledbackLocalException">
                <redirect view-id="/error.xhtml">
                     <message>#{messages['general.message.exception.SimpleTreeBeanException']}</message>
                </redirect>
           </exception>
           <exception class="org.jboss.seam.InstantiationException">
                <redirect view-id="/error.xhtml">
                     <message>#{messages['general.message.exception.SimpleTreeBeanException']}</message>
                </redirect>
           </exception>
           <exception class="javax.persistence.OptimisticLockException">
                <end-conversation />
                <redirect view-id="/error.xhtml">
                     <message>#{messages['general.message.exception.OptimisticLockException']}</message>
                </redirect>
           </exception>
      
           <exception class="org.jboss.seam.security.AuthorizationException">
                <redirect view-id="/login.xhtml">
                     <message>#{messages['general.message.exception.AuthorizationException']}</message>
                </redirect>
           </exception>
      
           <exception class="org.jboss.seam.security.NotLoggedInException">
                <redirect view-id="/login.xhtml">
                     <message>#{messages['general.message.exception.NotLoggedInException']}</message>
                </redirect>
           </exception>
      
           <exception class="org.hibernate.exception.GenericJDBCException">
                <redirect view-id="/error.xhtml">
                     <message>#{messages['general.message.exception.GenericJDBCException']}</message>
                </redirect>
           </exception>
      
           <exception class="javax.persistence.EntityExistsException">
                <redirect view-id="/error.xhtml">
                     <message severity="warn">#{messages['general.message.exception.EntityExistException']}</message>
                </redirect>
           </exception>
      
           <exception class="com.enterprisedt.net.ftp.FTPException">
                <redirect view-id="/error.xhtml">
                     <message severity="warn">#{messages['general.message.exception.504']}</message>
                </redirect>
           </exception>
      
      
           <exception class="javax.faces.application.ViewExpiredException">
                <redirect view-id="/error.xhtml">
                     <message severity="error">#{messages['general.message.exception.ViewExpiredException']}</message>
                </redirect>
           </exception>
      
           <exception class="org.jboss.seam.ConcurrentRequestTimeoutException"
                log-level="trace">
                <http-error error-code="503" />
           </exception>
      
           <exception>
                <redirect view-id="/error.xhtml">
                     <message severity="error">#{messages['general.message.exception.Exception']}</message>
                </redirect>
           </exception>
      
      
      </pages>
      



      my Bean





      package org.domain.kaliteyonsist.session;
      
      import java.io.IOException;
      import java.io.InputStream;
      import java.util.ArrayList;
      import java.util.Iterator;
      import java.util.List;
      import java.util.Map;
      import java.util.Properties;
      
      import javax.ejb.Remove;
      import javax.ejb.Stateful;
      import javax.faces.FacesException;
      import javax.faces.context.ExternalContext;
      import javax.faces.context.FacesContext;
      
      import org.domain.kaliteyonsist.entity.Aksiyon;
      import org.domain.kaliteyonsist.entity.Dokuman;
      import org.domain.kaliteyonsist.entity.Rol;
      import org.domain.kaliteyonsist.entity.Users;
      import org.domain.kaliteyonsist.session.oneri.OneriList;
      import org.domain.kaliteyonsist.session.yetkilendirme.IRolHome;
      import org.domain.kaliteyonsist.session.yetkilendirme.YetkiYonetimPanel;
      import org.jboss.seam.ScopeType;
      import org.jboss.seam.annotations.Begin;
      import org.jboss.seam.annotations.Create;
      import org.jboss.seam.annotations.Destroy;
      import org.jboss.seam.annotations.In;
      import org.jboss.seam.annotations.Logger;
      import org.jboss.seam.annotations.Name;
      import org.jboss.seam.annotations.Out;
      import org.jboss.seam.annotations.Scope;
      import org.jboss.seam.core.Events;
      import org.jboss.seam.international.StatusMessage;
      import org.jboss.seam.international.StatusMessages;
      import org.jboss.seam.log.Log;
      import org.jboss.seam.security.Identity;
      import org.richfaces.component.html.HtmlTree;
      import org.richfaces.event.NodeSelectedEvent;
      import org.richfaces.model.ListRowKey;
      import org.richfaces.model.TreeNode;
      import org.richfaces.model.TreeNodeImpl;
      
      @Stateful
      @Scope(ScopeType.CONVERSATION)
      @Name("simpleTreeBean")
      public class SimpleTreeBean implements SimpleTree {
           @In(required = false, scope = ScopeType.SESSION)
           @Out(required = false, scope = ScopeType.SESSION)
           public String menuSelect;
      
           @SuppressWarnings("unchecked")
           public TreeNode rootNode;
           @In
           Map<String, String> messages;
           @In
           StatusMessages statusMessages;
      
           @In(required = false, create = true)
           @Out(required = false)
           List<Users> usersOfMessage;
      
           @In(required = false, create = true)
           @Out(required = false)
           List<Users> unvanOfMessage;
      
           @In(required = false, create = true)
           @Out(required = false)
           List<Users> departmanOfMessage;
      
           @In
           Identity identity;
           @Logger
           private Log log;
      
           @In(required = false, create = true)
           @Out(required = false)
           IDokumanHome<Dokuman> dokumanHome;
      
           @In(required = false, create = true)
           @Out(required = false)
           IRolHome<Rol> rolHome;
      
           @In(required = false, create = true)
           @Out(required = false)
           DokumanList dokumanList;
           @In(required = false, create = true)
           @Out(required = false)
           OneriList oneriList;
           @In(required = false, create = true)
           @Out(required = false)
           Dokuman dokuman;
      
           @In(required = false, create = true)
           @Out(required = false)
           private YetkiYonetimPanel yetkiYonetimPanel;
      
           private List<Aksiyon> aksiyonlar;
      
           private Boolean adviseNodeSelected = false;
      
           private List<String> selectedNodeChildren = new ArrayList<String>();
      
           private String nodeTitle;
           private static final String DATA_PATH = "/properties/treemenu/tree.properties";
           private static final String TREE_MENU_NAVIGATION_PATH = "/properties/treemenu/treeMenuNavigation.properties";
      
           @SuppressWarnings("unchecked")
           @Begin(join = true)
           @Create
           public synchronized void loadTree() {
      
                FacesContext facesContext = FacesContext.getCurrentInstance();
                ExternalContext externalContext = facesContext.getExternalContext();
                InputStream dataStream = externalContext.getResourceAsStream(DATA_PATH);
                try {
                     Properties properties = new Properties();
                     properties.load(dataStream);
                     
                     rootNode = new TreeNodeImpl();
                     addNodes(null, rootNode, properties);
      
                } catch (IOException e) {
                     throw new FacesException(e.getMessage(), e);
                } finally {
                     if (dataStream != null) {
                          try {
                               dataStream.close();
                          } catch (IOException e) {
                               externalContext.log(e.getMessage(), e);
                          }
                     }
      
                }
      
           }
      
           @SuppressWarnings("unchecked")
           private void addNodes(String path, TreeNode node, Properties properties) {
                boolean end = false;
                int counter = 1;
      
                while (!end) {
                     String key = path != null ? path + '.' + counter : String
                               .valueOf(counter);
      
                     String v = properties.getProperty(key);
                     if (v != null) {
      
                          String value = messages.get(v);
                          if (value != null) {
                               if (identity.hasPermission("dataBasePermissionCheck",
                                         getYetkilendirmeParametresi(key))) {
                                    TreeNodeImpl nodeImpl = new TreeNodeImpl();
                                    nodeImpl.setData(value);
                                    node.addChild(new Integer(counter), nodeImpl);
                                    addNodes(key, nodeImpl, properties);
                               }
                               counter++;
                          }
                     } else {
                          end = true;
                     }
                }
           }
      
           @SuppressWarnings("unchecked")
           public void menu(Object key) { // menü ağacındaki
                // seçeneklere tıklandığında
                // hangi
      
                ListRowKey keyList = (ListRowKey) key;
      
                String linkKey = keyList.getPath().replace(':', '.');
      
                FacesContext facesContext = FacesContext.getCurrentInstance();
                ExternalContext externalContext = facesContext.getExternalContext();
                InputStream dataStream = externalContext
                          .getResourceAsStream(TREE_MENU_NAVIGATION_PATH);
      
                Properties navigation = new Properties();
                try {
                     navigation.load(dataStream);
                     menuSelect = navigation.getProperty(linkKey);
                     if (menuSelect == null) {
                          menuSelect = navigation.getProperty("0.1"); // Yapım aşamasında
                          // olan sayfa
                          // linkini tutar
                     }
      
                     // ---- sayfaya gidileceğini belirleyen navigasyon sayfasında
                     // geçerli olacak ayarlar.---
                     if (linkKey.equals("1.1.1")) {
                          dokumanList.getDokuman().setTur((byte) 1);
                     } else if (linkKey.equals("1.1.2")) {
                          dokumanList.getDokuman().setTur((byte) 2);
                     } else if (linkKey.equals("1.1.1.1")) {
                          dokumanList.getDokuman().setTur((byte) 1);
                          dokumanList.getDokuman().setArsiv(true);
                     } else if (linkKey.equals("1.1.1.2")) {
                          dokumanList.getDokuman().setTur((byte) 1);
                          dokumanList.getDokuman().setArsiv(false);
      
                     } else if (linkKey.equals("1.1.2.1")) {
                          dokumanList.getDokuman().setTur((byte) 2);
                          dokumanList.getDokuman().setArsiv(true);
      
                     } else if (linkKey.equals("1.1.2.2")) {
                          dokumanList.getDokuman().setTur((byte) 2);
                          dokumanList.getDokuman().setArsiv(false);
      
                     } else if (linkKey.equals("1.2")) {
                          dokumanHome.clearInstance();
      
                     } else if (linkKey.equals("4.1")) {
                          oneriList.setAtanmislar((byte) 1);
                     } else if (linkKey.equals("4.2")) {
                          Events
                                    .instance()
                                    .raiseEvent(
                                              "org.domain.kaliteyonsist.session.oneri.oneriHome.clearAll");
      
                     } else if (linkKey.equals("11.2")) {
                          Events
                                    .instance()
                                    .raiseEvent(
                                              "org.domain.kaliteyonsist.session.mtsikayetleri.MTSikayetleriHome.clearAll");
      
                     } else if (linkKey.equals("6.2")) {
                          Events.instance().raiseEvent(
                                    "org.domain.kaliteyonsist.dof.dofHome.clearAll");
      
                     } else if (linkKey.equals("13.2")) {
                          if (usersOfMessage != null) {
                               usersOfMessage.clear();
                               unvanOfMessage.clear();
                               departmanOfMessage.clear();
                          }
                     }
                     dokuman = dokumanList.getDokuman();
                     dataStream.close();
                } catch (Exception e) {
                     statusMessages.add(StatusMessage.Severity.ERROR,
                               "bir exception ile karşılaşıldı" + e.getMessage());
      
                     log.info("bir exception ile karşılaşıldı" + e.getMessage());
                }
      
           }
      
      
      
      
           @Destroy
           @Remove
           public void remove() {
                Events
                          .instance()
                          .raiseAsynchronousEvent(
                                    "org.domain.kaliteyonsist.general.SessionTimeOut.sessionTimeOut");
           }
      
           public void setAdviseNodeSelected(Boolean adviseNodeSelected) {
                this.adviseNodeSelected = adviseNodeSelected;
           }
      
           public Boolean getAdviseNodeSelected() {
                return adviseNodeSelected;
           }
      
           public void setAksiyonlar(List<Aksiyon> aksiyonlar) {
                this.aksiyonlar = aksiyonlar;
           }
      
           public List<Aksiyon> getAksiyonlar() {
                return aksiyonlar;
           }
      
           public void menuNavigateProfil() {
                menuSelect = "/profil/Preview.xhtml";
           }
      
           public void menuNavigateUpdateProfil() {
                menuSelect = "/profil/Update.xhtml";
           }
      
      }