2 Replies Latest reply on Nov 17, 2006 3:51 AM by Stefan Willems

    Seam&Trinidad&Myfaces&Ajax4JSF

    Stefan Willems Newbie

      I'm trying to set up a fairly simple app with Seam&Trinidad. I get an error without knowing why.
      Can anybody tell me what I'm doing wrong?
      Here's my configuration:

      web.xml

      <?xml version="1.0" encoding="UTF-8"?>
      
      <web-app version="2.5"
       xmlns="http://java.sun.com/xml/ns/javaee"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
      
       <!-- ********************************** -->
       <!-- Context Parameter -->
       <!-- ********************************** -->
       <context-param>
       <param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name>
       <param-value>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</param-value>
       </context-param>
      
       <!-- Use client-side state saving. In Trinidad, it is an
       optimized, token-based mechanism that is almost always a
       better choice than the standard JSF server-side state saving. -->
       <context-param>
       <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
       <!-- param-value>server</param-value> -->
       <param-value>client</param-value>
       </context-param>
      
       <context-param>
       <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
       <param-value>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</param-value>
       </context-param>
      
       <context-param>
       <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
       <param-value>.xhtml</param-value>
       </context-param>
      
       <context-param>
       <param-name>facelets.DEVELOPMENT</param-name>
       <param-value>true</param-value>
       </context-param>
      
       <!-- ********************************** -->
       <!-- FILTER -->
       <!-- ********************************** -->
       <!-- Ajax4jsf (must come first!) -->
       <filter>
       <filter-name>ajax4jsf</filter-name>
       <filter-class>org.ajax4jsf.Filter</filter-class>
       </filter>
       <!-- SEAM Filter -->
       <filter>
       <filter-name>Seam Redirect Filter</filter-name>
       <filter-class>org.jboss.seam.servlet.SeamRedirectFilter</filter-class>
       </filter>
       <filter>
       <filter-name>Seam Exception Filter</filter-name>
       <filter-class>org.jboss.seam.servlet.SeamExceptionFilter</filter-class>
       </filter>
       <!-- Trinidad Filter -->
       <filter>
       <filter-name>trinidad</filter-name>
       <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
       </filter>
      
       <filter-mapping>
       <filter-name>ajax4jsf</filter-name>
       <url-pattern>*.seam</url-pattern>
       </filter-mapping>
       <filter-mapping>
       <filter-name>Seam Redirect Filter</filter-name>
       <url-pattern>*.seam</url-pattern>
       </filter-mapping>
       <filter-mapping>
       <filter-name>Seam Exception Filter</filter-name>
       <url-pattern>*.seam</url-pattern>
       </filter-mapping>
       <filter-mapping>
       <filter-name>trinidad</filter-name>
       <servlet-name>Faces Servlet</servlet-name>
       </filter-mapping>
      
       <!-- ********************************** -->
       <!-- Listener -->
       <!-- ********************************** -->
       <!-- MyFaces -->
       <listener>
       <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
       </listener>
      
       <!-- Seam -->
       <listener>
       <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
       </listener>
      
       <!-- ********************************** -->
       <!-- Servlets -->
       <!-- ********************************** -->
       <!-- MyFaces -->
       <servlet>
       <servlet-name>Faces Servlet</servlet-name>
       <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
       <load-on-startup>1</load-on-startup>
       </servlet>
       <!-- Trinidad -->
       <servlet>
       <servlet-name>resources</servlet-name>
       <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
       </servlet>
      
       <servlet-mapping>
       <servlet-name>resources</servlet-name>
       <url-pattern>/adf/*</url-pattern>
       </servlet-mapping>
      
       <servlet-mapping>
       <servlet-name>Faces Servlet</servlet-name>
       <url-pattern>*.seam</url-pattern>
       </servlet-mapping>
       </web-app>
      


      faces-config.xml
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE faces-config
      PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
       "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
      
      <faces-config>
      
       <!-- Phase listener needed for all Seam applications -->
       <lifecycle>
       <phase-listener>
       org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener
       </phase-listener>
       </lifecycle>
      
       <!-- Default Rendering auf Trinidad einstellen -->
       <application>
       <default-render-kit-id>
       org.apache.myfaces.trinidad.core
       </default-render-kit-id>
       </application>
      
      
       <navigation-rule>
      ...
      ...
      

      LoginBean
      package de.hydro.gv.walzen.beans;
      
      import javax.ejb.Stateless;
      import javax.persistence.EntityManager;
      import javax.persistence.Query;
      
      import org.jboss.seam.annotations.In;
      import org.jboss.seam.annotations.Name;
      import org.jboss.seam.annotations.Out;
      import org.jboss.seam.contexts.Context;
      import org.jboss.seam.core.FacesMessages;
      
      import de.hydro.gv.walzen.entities.Mitarbeiter;
      import de.hydro.gv.walzen.interfaces.Login;
      
      @Stateless
      @Name("beanLogin")
      
      public class LoginBean implements Login{
       @In @Out
       private Mitarbeiter loginMitarbeiter;
      
       @In (create=true)
       private EntityManager walzenDatabase;
      
       @In
       private Context sessionContext;
      
       @In(create=true)
       private FacesMessages facesMessages;
      
       public String login() {
       Query results = walzenDatabase.createQuery ("from Mitarbeiter where personalnummer=:personalnummer and passwort=:passwort")
       .setParameter("personalnummer", loginMitarbeiter.getPersonalnummer())
       .setParameter("passwort", loginMitarbeiter.getPasswort());
      
       if ( results.getResultList().size() == 0 ) {
       facesMessages.add("Benutzer unbekannt oder Passwort falsch!");
       return null;
       }else{
       loginMitarbeiter = (Mitarbeiter) results.getResultList().get(0);
       sessionContext.set("loggedIn", true);
       return "main";
       }
       }
      
      }
      

      HauptmenuBean
      package de.hydro.gv.walzen.beans;
      
      
      import java.util.LinkedList;
      
      import javax.ejb.Remove;
      import javax.ejb.Stateful;
      import javax.ejb.Stateless;
      import javax.persistence.EntityManager;
      import javax.persistence.Query;
      
      import org.jboss.seam.ScopeType;
      import org.jboss.seam.annotations.Destroy;
      import org.jboss.seam.annotations.Factory;
      import org.jboss.seam.annotations.In;
      import org.jboss.seam.annotations.Name;
      import org.jboss.seam.annotations.Out;
      import org.jboss.seam.annotations.datamodel.DataModel;
      
      import de.hydro.gv.walzen.entities.Mitarbeiter;
      import de.hydro.gv.walzen.interfaces.Hauptmenu;
      
      @Stateful
      @Name("beanHauptmenu")
      
      public class HauptmenuBean
       implements Hauptmenu {
      
       @In (create=true)
       private EntityManager walzenDatabase;
      
       @In
       private Mitarbeiter loginMitarbeiter;
      
       @Out(scope=ScopeType.SESSION)
       private LinkedList listMenu ;
      
       @Factory("listMenu")
       public void filter(){
       listMenu = new LinkedList();
       Query q = walzenDatabase.createQuery("select f " +
       " from Formulare f, Berechtigungen b, Rollen r, Mitarbeiterrollen mr, Mitarbeiter m " +
       " where f.id=b.formulare " +
       " and mr.rollen=r.id" +
       " and b.rollen =r.id " +
       " and mr.mitarbeiter=m.id" +
       " and m.id = :mitarbeiter " +
       " and f.formulare is null " +
       " ORDER BY f.formulare DESC, f.beschreibung ");
       q.setParameter("mitarbeiter",loginMitarbeiter.getId());
       listMenu = (LinkedList) q.getResultList();
       }
      
       @Remove @Destroy
       public void logout(){
       }
      }
      
      

      login.xhtml
      package de.hydro.gv.walzen.beans;
      
      import javax.ejb.Stateless;
      import javax.persistence.EntityManager;
      import javax.persistence.Query;
      
      import org.jboss.seam.annotations.In;
      import org.jboss.seam.annotations.Name;
      import org.jboss.seam.annotations.Out;
      import org.jboss.seam.contexts.Context;
      import org.jboss.seam.core.FacesMessages;
      
      import de.hydro.gv.walzen.entities.Mitarbeiter;
      import de.hydro.gv.walzen.interfaces.Login;
      
      @Stateless
      @Name("beanLogin")
      
      public class LoginBean implements Login{
       @In @Out
       private Mitarbeiter loginMitarbeiter;
      
       @In (create=true)
       private EntityManager walzenDatabase;
      
       @In
       private Context sessionContext;
      
       @In(create=true)
       private FacesMessages facesMessages;
      
       public String login() {
       Query results = walzenDatabase.createQuery ("from Mitarbeiter where personalnummer=:personalnummer and passwort=:passwort")
       .setParameter("personalnummer", loginMitarbeiter.getPersonalnummer())
       .setParameter("passwort", loginMitarbeiter.getPasswort());
      
       if ( results.getResultList().size() == 0 ) {
       facesMessages.add("Benutzer unbekannt oder Passwort falsch!");
       return null;
       }else{
       loginMitarbeiter = (Mitarbeiter) results.getResultList().get(0);
       sessionContext.set("loggedIn", true);
       return "main";
       }
       }
      
      }
      

      Hauptmenu.xhtml
      <ui:composition xmlns="http://www.w3.org/1999/xhtml"
       xmlns:ui="http://java.sun.com/jsf/facelets"
       xmlns:tr="http://myfaces.apache.org/trinidad"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:f="http://java.sun.com/jsf/core"
       template="template.xhtml">
      
       <ui:define name="heading">
       Hauptmenue
       </ui:define>
      
       <ui:define name="content">
       <tr:form>
       <tr:table var="row" value="#{listMenu}">
       <tr:column>
       <tr:outputText value="#{row.name}"/>
       </tr:column>
       </tr:table>
       </tr:form>
       </ui:define>
      
      </ui:composition>
      
      


      Login works fine, database is there, user logged in. But while navigating to hauptmenu.xhtml the following error is popping up:
      javax.ejb.EJBTransactionRolledbackException: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection
       at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:93)
       at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130)
       at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:201)
       at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
       at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
       at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
       at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)
       at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
       at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
       at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:131)
       at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
       at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
       at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
       at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
       at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
       at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:203)
       at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
       at $Proxy1901.filter(Unknown Source)
       at de.hydro.gv.walzen.interfaces.Hauptmenu$$FastClassByCGLIB$$4e50f324.invoke(<generated>)
       at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
       at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
       at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:68)
       at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
       at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39)
       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:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
       at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
       at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
       at org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:28)
       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:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
       at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
       at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
       at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
       at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
       at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
       at org.jboss.seam.intercept.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.java:77)
       at org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java:47)
       at de.hydro.gv.walzen.interfaces.Hauptmenu$$EnhancerByCGLIB$$72f32f51.filter(<generated>)
       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:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
       at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102)
       at org.jboss.seam.Component.callComponentMethod(Component.java:1738)
       at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1630)
       at org.jboss.seam.Component.getInstance(Component.java:1573)
       at org.jboss.seam.Component.getInstance(Component.java:1557)
       at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:45)
       at org.apache.myfaces.trinidadinternal.el.TrinidadVariableResolver.resolveVariable(TrinidadVariableResolver.java:52)
       at org.apache.myfaces.trinidadinternal.el.TrinidadVariableResolver.resolveVariable(TrinidadVariableResolver.java:52)
       at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42)
       at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
       at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
       at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
       at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
       at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
       at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:65)
       at org.apache.myfaces.trinidad.component.UIXComponentBase.getProperty(UIXComponentBase.java:1088)
       at org.apache.myfaces.trinidad.component.UIXIterator.getValue(UIXIterator.java:380)
       at org.apache.myfaces.trinidad.component.UIXCollection._flushCachedModel(UIXCollection.java:986)
       at org.apache.myfaces.trinidad.component.UIXCollection.encodeBegin(UIXCollection.java:474)
       at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:232)
       at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
       at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
       at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580)
       at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:178)
       at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:327)
       at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:291)
       at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:214)
       at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:90)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:67)
       at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:223)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection
       at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:641)
       at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:73)
       at de.hydro.gv.walzen.beans.HauptmenuBean.filter(HauptmenuBean.java:51)
       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:585)
       at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
       at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:37)
       at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
       at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:51)
       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:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
       at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
       at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
       at org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:79)
       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:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
       at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
       at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
       at org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:23)
       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:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
       at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
       at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
       at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:55)
       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:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
       at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
       at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
       at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
       at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
       at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
       at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:46)
       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:585)
       at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
       at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
       at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
       at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)
       at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
       at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
       at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
       at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
       at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
       at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
       ... 109 more
      Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
       at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
       at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
       at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
       at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
       at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:420)
       at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
       at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
       at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1560)
       at org.hibernate.loader.Loader.doQuery(Loader.java:661)
       at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
       at org.hibernate.loader.Loader.doList(Loader.java:2144)
       at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2028)
       at org.hibernate.loader.Loader.list(Loader.java:2023)
       at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:393)
       at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
       at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
       at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
       at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
       at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:64)
       ... 168 more
      Caused by: org.jboss.util.NestedSQLException: Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=apps01/79, BranchQual=, localId=79]; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=apps01/79, BranchQual=, localId=79])
       at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:94)
       at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69)
       at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:417)
       ... 182 more
      Caused by: javax.resource.ResourceException: Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=apps01/79, BranchQual=, localId=79]
       at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:290)
       at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:396)
       at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
       at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
       ... 184 more
      


        • 1. Re: Seam&Trinidad&Myfaces&Ajax4JSF
          Pete Muir Master

          That exception is normally thrown as a result of an earlier problem. Is it the first exception on the console?

          • 2. Re: Seam&Trinidad&Myfaces&Ajax4JSF
            Stefan Willems Newbie

            Hi petemuir,

            yes, it is the first error on the console. I attach the complete log of the web request. As I get it right, the factory method is called two times. In the first time everything goes right, but then, after getting the desired records (Formulare#1 to Formulare#5), Seam starts trying to open the DB once again.

            2006-11-17 09:34:18,120 DEBUG [org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter] Filter start request processing at 11/17/06 9:34 AM for uri: /walzen/hauptmenu.seam
            2006-11-17 09:34:18,121 DEBUG [org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter] Filter request output to XML
            2006-11-17 09:34:18,121 DEBUG [org.ajax4jsf.framework.DebugLifecycle] Start phase RESTORE_VIEW(1)
            2006-11-17 09:34:18,122 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
            2006-11-17 09:34:18,121 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] beginning transaction prior to phase: RESTORE_VIEW(1)
            2006-11-17 09:34:18,121 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
            2006-11-17 09:34:18,121 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web request
            2006-11-17 09:34:18,123 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.manager
            2006-11-17 09:34:18,122 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.manager
            2006-11-17 09:34:18,122 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.core.manager
            2006-11-17 09:34:18,122 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.manager
            2006-11-17 09:34:18,122 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.core.manager
            2006-11-17 09:34:18,122 DEBUG [org.jboss.seam.core.Manager] Found conversation id in request parameter: 2
            2006-11-17 09:34:18,123 DEBUG [org.jboss.seam.core.Manager] Restoring conversation with id: 2
            2006-11-17 09:34:18,124 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] After restoring conversation context: ConversationContext(2)
            2006-11-17 09:34:18,124 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
            2006-11-17 09:34:18,123 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] committing transaction after phase: RESTORE_VIEW(1)
            2006-11-17 09:34:18,123 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
            2006-11-17 09:34:18,123 DEBUG [org.ajax4jsf.framework.DebugLifecycle] End phase RESTORE_VIEW(1)
            2006-11-17 09:34:18,124 DEBUG [org.ajax4jsf.framework.DebugLifecycle] Start phase RENDER_RESPONSE(6)
            2006-11-17 09:34:18,124 DEBUG [org.ajax4jsf.framework.renderer.AjaxPhaseListener] PhaseListener enter Before RenderView Phase with ViewId /hauptmenu.xhtml and RenderKitId org.apache.myfaces.trinidad.core
            2006-11-17 09:34:18,124 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
            2006-11-17 09:34:18,125 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] beginning transaction prior to phase: RENDER_RESPONSE(6)
            2006-11-17 09:34:18,125 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
            2006-11-17 09:34:18,124 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preRemoveVariable.conversationList
            2006-11-17 09:34:18,124 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postRemoveVariable.conversationList
            2006-11-17 09:34:18,124 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preRemoveVariable.switcher
            2006-11-17 09:34:18,124 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postRemoveVariable.switcher
            2006-11-17 09:34:18,124 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preRemoveVariable.conversationStack
            2006-11-17 09:34:18,125 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postRemoveVariable.conversationStack
            2006-11-17 09:34:18,126 DEBUG [org.jboss.seam.Component] instantiating Seam component: conversation
            2006-11-17 09:34:18,126 DEBUG [org.jboss.seam.Component] initializing new instance of: conversation
            2006-11-17 09:34:18,126 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.conversation
            2006-11-17 09:34:18,126 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.conversation
            2006-11-17 09:34:18,126 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.conversation
            2006-11-17 09:34:18,125 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.facesPage
            2006-11-17 09:34:18,125 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.facesPage
            2006-11-17 09:34:18,125 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.core.facesPage
            2006-11-17 09:34:18,125 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.facesPage
            2006-11-17 09:34:18,125 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.core.facesPage
            2006-11-17 09:34:18,154 DEBUG [org.ajax4jsf.framework.ajax.xmlfilter.FilterServletResponseWrapper] Create StringWriter for buffer servlet output
            2006-11-17 09:34:18,155 DEBUG [org.ajax4jsf.framework.renderer.RendererBase] Start encoding of component _viewRoot with class org.ajax4jsf.framework.ajax.AjaxViewRoot
            2006-11-17 09:34:18,169 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: listMenu
            2006-11-17 09:34:18,170 DEBUG [org.jboss.seam.Component] instantiating Seam component: beanHauptmenu
            2006-11-17 09:34:18,170 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
            2006-11-17 09:34:18,174 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@12a45c7, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@a6a14b{ url=null ,addedOrder=0}
            2006-11-17 09:34:18,181 DEBUG [org.jboss.seam.Component] initializing new instance of: beanHauptmenu
            2006-11-17 09:34:18,236 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.beanHauptmenu
            2006-11-17 09:34:18,236 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.beanHauptmenu
            2006-11-17 09:34:18,236 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.beanHauptmenu
            2006-11-17 09:34:18,242 DEBUG [org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor] ++++ LongLivedSessionPropagationInterceptor
            2006-11-17 09:34:18,242 DEBUG [org.jboss.seam.Component] trying to inject with hierarchical context search: walzenDatabase
            2006-11-17 09:34:18,242 DEBUG [org.jboss.seam.contexts.Contexts] found in conversation context: walzenDatabase
            2006-11-17 09:34:18,243 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
            2006-11-17 09:34:18,244 DEBUG [org.hibernate.ejb.AbstractEntityManagerImpl] Looking for a JTA transaction to join
            2006-11-17 09:34:18,244 DEBUG [org.hibernate.jdbc.JDBCContext] successfully registered Synchronization
            2006-11-17 09:34:18,244 DEBUG [org.jboss.seam.Component] trying to inject with hierarchical context search: loginMitarbeiter
            2006-11-17 09:34:18,244 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: loginMitarbeiter
            2006-11-17 09:34:18,262 DEBUG [org.hibernate.hql.ast.QueryTranslatorImpl] parse() - HQL: select f from de.hydro.gv.walzen.entities.Formulare f, de.hydro.gv.walzen.entities.Berechtigungen b, de.hydro.gv.walzen.entities.Rollen r, de.hydro.gv.walzen.entities.Mitarbeiterrollen mr, de.hydro.gv.walzen.entities.Mitarbeiter m where f.id=b.formulare and mr.rollen=r.id and b.rollen =r.id and mr.mitarbeiter=m.id and m.id = :mitarbeiter and f.formulare is null ORDER BY f.formulare DESC, f.beschreibung
            2006-11-17 09:34:18,326 DEBUG [org.hibernate.hql.ast.AST] --- HQL AST ---
             \-[QUERY] 'query'
             +-[SELECT_FROM] 'SELECT_FROM'
             | +-[FROM] 'from'
             | | +-[RANGE] 'RANGE'
             | | | +-[DOT] '.'
             | | | | +-[DOT] '.'
             | | | | | +-[DOT] '.'
             | | | | | | +-[DOT] '.'
             | | | | | | | +-[DOT] '.'
             | | | | | | | | +-[IDENT] 'de'
             | | | | | | | | \-[IDENT] 'hydro'
             | | | | | | | \-[IDENT] 'gv'
             | | | | | | \-[IDENT] 'walzen'
             | | | | | \-[IDENT] 'entities'
             | | | | \-[IDENT] 'Formulare'
             | | | \-[ALIAS] 'f'
             | | +-[RANGE] 'RANGE'
             | | | +-[DOT] '.'
             | | | | +-[DOT] '.'
             | | | | | +-[DOT] '.'
             | | | | | | +-[DOT] '.'
             | | | | | | | +-[DOT] '.'
             | | | | | | | | +-[IDENT] 'de'
             | | | | | | | | \-[IDENT] 'hydro'
             | | | | | | | \-[IDENT] 'gv'
             | | | | | | \-[IDENT] 'walzen'
             | | | | | \-[IDENT] 'entities'
             | | | | \-[IDENT] 'Berechtigungen'
             | | | \-[ALIAS] 'b'
             | | +-[RANGE] 'RANGE'
             | | | +-[DOT] '.'
             | | | | +-[DOT] '.'
             | | | | | +-[DOT] '.'
             | | | | | | +-[DOT] '.'
             | | | | | | | +-[DOT] '.'
             | | | | | | | | +-[IDENT] 'de'
             | | | | | | | | \-[IDENT] 'hydro'
             | | | | | | | \-[IDENT] 'gv'
             | | | | | | \-[IDENT] 'walzen'
             | | | | | \-[IDENT] 'entities'
             | | | | \-[IDENT] 'Rollen'
             | | | \-[ALIAS] 'r'
             | | +-[RANGE] 'RANGE'
             | | | +-[DOT] '.'
             | | | | +-[DOT] '.'
             | | | | | +-[DOT] '.'
             | | | | | | +-[DOT] '.'
             | | | | | | | +-[DOT] '.'
             | | | | | | | | +-[IDENT] 'de'
             | | | | | | | | \-[IDENT] 'hydro'
             | | | | | | | \-[IDENT] 'gv'
             | | | | | | \-[IDENT] 'walzen'
             | | | | | \-[IDENT] 'entities'
             | | | | \-[IDENT] 'Mitarbeiterrollen'
             | | | \-[ALIAS] 'mr'
             | | \-[RANGE] 'RANGE'
             | | +-[DOT] '.'
             | | | +-[DOT] '.'
             | | | | +-[DOT] '.'
             | | | | | +-[DOT] '.'
             | | | | | | +-[DOT] '.'
             | | | | | | | +-[IDENT] 'de'
             | | | | | | | \-[IDENT] 'hydro'
             | | | | | | \-[IDENT] 'gv'
             | | | | | \-[IDENT] 'walzen'
             | | | | \-[IDENT] 'entities'
             | | | \-[IDENT] 'Mitarbeiter'
             | | \-[ALIAS] 'm'
             | \-[SELECT] 'select'
             | \-[IDENT] 'f'
             +-[WHERE] 'where'
             | \-[AND] 'and'
             | +-[AND] 'and'
             | | +-[AND] 'and'
             | | | +-[AND] 'and'
             | | | | +-[AND] 'and'
             | | | | | +-[EQ] '='
             | | | | | | +-[DOT] '.'
             | | | | | | | +-[IDENT] 'f'
             | | | | | | | \-[IDENT] 'id'
             | | | | | | \-[DOT] '.'
             | | | | | | +-[IDENT] 'b'
             | | | | | | \-[IDENT] 'formulare'
             | | | | | \-[EQ] '='
             | | | | | +-[DOT] '.'
             | | | | | | +-[IDENT] 'mr'
             | | | | | | \-[IDENT] 'rollen'
             | | | | | \-[DOT] '.'
             | | | | | +-[IDENT] 'r'
             | | | | | \-[IDENT] 'id'
             | | | | \-[EQ] '='
             | | | | +-[DOT] '.'
             | | | | | +-[IDENT] 'b'
             | | | | | \-[IDENT] 'rollen'
             | | | | \-[DOT] '.'
             | | | | +-[IDENT] 'r'
             | | | | \-[IDENT] 'id'
             | | | \-[EQ] '='
             | | | +-[DOT] '.'
             | | | | +-[IDENT] 'mr'
             | | | | \-[IDENT] 'mitarbeiter'
             | | | \-[DOT] '.'
             | | | +-[IDENT] 'm'
             | | | \-[IDENT] 'id'
             | | \-[EQ] '='
             | | +-[DOT] '.'
             | | | +-[IDENT] 'm'
             | | | \-[IDENT] 'id'
             | | \-[COLON] ':'
             | | \-[IDENT] 'mitarbeiter'
             | \-[IS_NULL] 'is null'
             | \-[DOT] '.'
             | +-[IDENT] 'f'
             | \-[IDENT] 'formulare'
             \-[ORDER] 'ORDER'
             +-[DOT] '.'
             | +-[IDENT] 'f'
             | \-[IDENT] 'formulare'
             +-[DESCENDING] 'DESC'
             \-[DOT] '.'
             +-[IDENT] 'f'
             \-[IDENT] 'beschreibung'
            
            2006-11-17 09:34:18,326 DEBUG [org.hibernate.hql.ast.ErrorCounter] throwQueryException() : no errors
            2006-11-17 09:34:18,327 DEBUG [org.hibernate.hql.antlr.HqlSqlBaseWalker] select << begin [level=1, statement=select]
            2006-11-17 09:34:18,328 DEBUG [org.hibernate.hql.ast.tree.FromElement] FromClause{level=1} : de.hydro.gv.walzen.entities.Formulare (f) -> formulare0_
            2006-11-17 09:34:18,329 DEBUG [org.hibernate.hql.ast.tree.FromElement] FromClause{level=1} : de.hydro.gv.walzen.entities.Berechtigungen (b) -> berechtigu1_
            2006-11-17 09:34:18,329 DEBUG [org.hibernate.hql.ast.tree.FromElement] FromClause{level=1} : de.hydro.gv.walzen.entities.Rollen (r) -> rollen2_
            2006-11-17 09:34:18,330 DEBUG [org.hibernate.hql.ast.tree.FromElement] FromClause{level=1} : de.hydro.gv.walzen.entities.Mitarbeiterrollen (mr) -> mitarbeite3_
            2006-11-17 09:34:18,330 DEBUG [org.hibernate.hql.ast.tree.FromElement] FromClause{level=1} : de.hydro.gv.walzen.entities.Mitarbeiter (m) -> mitarbeite4_
            2006-11-17 09:34:18,331 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : f -> formulare0_.ID
            2006-11-17 09:34:18,331 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : f -> formulare0_.ID
            2006-11-17 09:34:18,331 DEBUG [org.hibernate.hql.ast.tree.DotNode] getDataType() : id -> org.hibernate.type.LongType@2ebbbd
            2006-11-17 09:34:18,331 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : f.id -> formulare0_.ID
            2006-11-17 09:34:18,331 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : b -> berechtigu1_.ID
            2006-11-17 09:34:18,332 DEBUG [org.hibernate.hql.ast.tree.DotNode] getDataType() : formulare -> org.hibernate.type.ManyToOneType(de.hydro.gv.walzen.entities.Formulare)
            2006-11-17 09:34:18,332 DEBUG [org.hibernate.hql.ast.tree.DotNode] dereferenceShortcut() : property formulare in de.hydro.gv.walzen.entities.Berechtigungen does not require a join.
            2006-11-17 09:34:18,332 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : b.formulare -> berechtigu1_.FORMULAR
            2006-11-17 09:34:18,331 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : mr -> mitarbeite3_.ID
            2006-11-17 09:34:18,332 DEBUG [org.hibernate.hql.ast.tree.DotNode] getDataType() : rollen -> org.hibernate.type.ManyToOneType(de.hydro.gv.walzen.entities.Rollen)
            2006-11-17 09:34:18,332 DEBUG [org.hibernate.hql.ast.tree.DotNode] dereferenceShortcut() : property rollen in de.hydro.gv.walzen.entities.Mitarbeiterrollen does not require a join.
            2006-11-17 09:34:18,332 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : mr.rollen -> mitarbeite3_.ROLLE
            2006-11-17 09:34:18,332 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : r -> rollen2_.ID
            2006-11-17 09:34:18,332 DEBUG [org.hibernate.hql.ast.tree.DotNode] getDataType() : id -> org.hibernate.type.LongType@2ebbbd
            2006-11-17 09:34:18,332 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : r.id -> rollen2_.ID
            2006-11-17 09:34:18,333 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : b -> berechtigu1_.ID
            2006-11-17 09:34:18,333 DEBUG [org.hibernate.hql.ast.tree.DotNode] getDataType() : rollen -> org.hibernate.type.ManyToOneType(de.hydro.gv.walzen.entities.Rollen)
            2006-11-17 09:34:18,333 DEBUG [org.hibernate.hql.ast.tree.DotNode] dereferenceShortcut() : property rollen in de.hydro.gv.walzen.entities.Berechtigungen does not require a join.
            2006-11-17 09:34:18,333 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : b.rollen -> berechtigu1_.ROLLE
            2006-11-17 09:34:18,332 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : r -> rollen2_.ID
            2006-11-17 09:34:18,332 DEBUG [org.hibernate.hql.ast.tree.DotNode] getDataType() : id -> org.hibernate.type.LongType@2ebbbd
            2006-11-17 09:34:18,333 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : r.id -> rollen2_.ID
            2006-11-17 09:34:18,333 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : mr -> mitarbeite3_.ID
            2006-11-17 09:34:18,333 DEBUG [org.hibernate.hql.ast.tree.DotNode] getDataType() : mitarbeiter -> org.hibernate.type.ManyToOneType(de.hydro.gv.walzen.entities.Mitarbeiter)
            2006-11-17 09:34:18,333 DEBUG [org.hibernate.hql.ast.tree.DotNode] dereferenceShortcut() : property mitarbeiter in de.hydro.gv.walzen.entities.Mitarbeiterrollen does not require a join.
            2006-11-17 09:34:18,333 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : mr.mitarbeiter -> mitarbeite3_.MITARBEITER
            2006-11-17 09:34:18,333 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : m -> mitarbeite4_.ID
            2006-11-17 09:34:18,334 DEBUG [org.hibernate.hql.ast.tree.DotNode] getDataType() : id -> org.hibernate.type.LongType@2ebbbd
            2006-11-17 09:34:18,334 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : m.id -> mitarbeite4_.ID
            2006-11-17 09:34:18,333 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : m -> mitarbeite4_.ID
            2006-11-17 09:34:18,333 DEBUG [org.hibernate.hql.ast.tree.DotNode] getDataType() : id -> org.hibernate.type.LongType@2ebbbd
            2006-11-17 09:34:18,333 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : m.id -> mitarbeite4_.ID
            2006-11-17 09:34:18,337 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : f -> formulare0_.ID
            2006-11-17 09:34:18,337 DEBUG [org.hibernate.hql.ast.tree.DotNode] getDataType() : formulare -> org.hibernate.type.ManyToOneType(de.hydro.gv.walzen.entities.Formulare)
            2006-11-17 09:34:18,337 DEBUG [org.hibernate.hql.ast.tree.DotNode] dereferenceShortcut() : property formulare in de.hydro.gv.walzen.entities.Formulare does not require a join.
            2006-11-17 09:34:18,338 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : f.formulare -> formulare0_.VORGAENGER
            2006-11-17 09:34:18,339 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : f -> formulare0_.ID
            2006-11-17 09:34:18,339 DEBUG [org.hibernate.hql.ast.tree.DotNode] getDataType() : formulare -> org.hibernate.type.ManyToOneType(de.hydro.gv.walzen.entities.Formulare)
            2006-11-17 09:34:18,340 DEBUG [org.hibernate.hql.ast.tree.DotNode] dereferenceShortcut() : property formulare in de.hydro.gv.walzen.entities.Formulare does not require a join.
            2006-11-17 09:34:18,340 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : f.formulare -> formulare0_.VORGAENGER
            2006-11-17 09:34:18,340 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : f -> formulare0_.ID
            2006-11-17 09:34:18,339 DEBUG [org.hibernate.hql.ast.tree.DotNode] getDataType() : beschreibung -> org.hibernate.type.StringType@1e4be04
            2006-11-17 09:34:18,339 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : f.beschreibung -> formulare0_.BESCHREIBUNG
            2006-11-17 09:34:18,339 DEBUG [org.hibernate.hql.antlr.HqlSqlBaseWalker] select : finishing up [level=1, statement=select]
            2006-11-17 09:34:18,341 DEBUG [org.hibernate.hql.ast.HqlSqlWalker] processQuery() : ( SELECT ( {select clause} formulare0_.ID ) ( FromClause{level=1} FORMULARE formulare0_ BERECHTIGUNGEN berechtigu1_ ROLLEN rollen2_ MITARBEITERROLLEN mitarbeite3_ MITARBEITER mitarbeite4_ ) ( where ( and ( and ( and ( and ( and ( = ( formulare0_.ID formulare0_.ID id ) ( berechtigu1_.FORMULAR berechtigu1_.ID formulare ) ) ( = ( mitarbeite3_.ROLLE mitarbeite3_.ID rollen ) ( rollen2_.ID rollen2_.ID id ) ) ) ( = ( berechtigu1_.ROLLE berechtigu1_.ID rollen ) ( rollen2_.ID rollen2_.ID id ) ) ) ( = ( mitarbeite3_.MITARBEITER mitarbeite3_.ID mitarbeiter ) ( mitarbeite4_.ID mitarbeite4_.ID id ) ) ) ( = ( mitarbeite4_.ID mitarbeite4_.ID id ) ? ) ) ( is null ( formulare0_.VORGAENGER formulare0_.ID formulare ) ) ) ) ( ORDER ( formulare0_.VORGAENGER formulare0_.ID formulare ) DESC ( formulare0_.BESCHREIBUNG formulare0_.ID beschreibung ) ) )
            2006-11-17 09:34:18,341 DEBUG [org.hibernate.hql.ast.util.JoinProcessor] Using FROM fragment [MITARBEITER mitarbeite4_]
            2006-11-17 09:34:18,341 DEBUG [org.hibernate.hql.ast.util.JoinProcessor] Using FROM fragment [MITARBEITERROLLEN mitarbeite3_]
            2006-11-17 09:34:18,341 DEBUG [org.hibernate.hql.ast.util.JoinProcessor] Using FROM fragment [ROLLEN rollen2_]
            2006-11-17 09:34:18,341 DEBUG [org.hibernate.hql.ast.util.JoinProcessor] Using FROM fragment [BERECHTIGUNGEN berechtigu1_]
            2006-11-17 09:34:18,341 DEBUG [org.hibernate.hql.ast.util.JoinProcessor] Using FROM fragment [FORMULARE formulare0_]
            2006-11-17 09:34:18,341 DEBUG [org.hibernate.hql.antlr.HqlSqlBaseWalker] select >> end [level=1, statement=select]
            2006-11-17 09:34:18,377 DEBUG [org.hibernate.hql.ast.AST] --- SQL AST ---
             \-[SELECT] QueryNode: 'SELECT' querySpaces (MITARBEITER,MITARBEITERROLLEN,ROLLEN,BERECHTIGUNGEN,FORMULARE)
             +-[SELECT_CLAUSE] SelectClause: '{select clause}'
             | +-[ALIAS_REF] IdentNode: 'formulare0_.ID as ID2_' {alias=f, className=de.hydro.gv.walzen.entities.Formulare, tableAlias=formulare0_}
             | \-[SQL_TOKEN] SqlFragment: 'formulare0_.NAME as NAME2_, formulare0_.VORGAENGER as VORGAENGER2_, formulare0_.BESCHREIBUNG as BESCHREI3_2_'
             +-[FROM] FromClause: 'from' FromClause{level=1, fromElementCounter=5, fromElements=5, fromElementByClassAlias=[m, r, mr, f, b], fromElementByTableAlias=[mitarbeite3_, berechtigu1_, mitarbeite4_, rollen2_, formulare0_], fromElementsByPath=[], collectionJoinFromElementsByPath=[], impliedElements=[]}
             | +-[FROM_FRAGMENT] FromElement: 'FORMULARE formulare0_' FromElement{explicit,not a collection join,not a fetch join,fetch non-lazy properties,classAlias=f,role=null,tableName=FORMULARE,tableAlias=formulare0_,origin=null,colums={,className=de.hydro.gv.walzen.entities.Formulare}}
             | +-[FROM_FRAGMENT] FromElement: 'BERECHTIGUNGEN berechtigu1_' FromElement{explicit,not a collection join,not a fetch join,fetch non-lazy properties,classAlias=b,role=null,tableName=BERECHTIGUNGEN,tableAlias=berechtigu1_,origin=null,colums={,className=de.hydro.gv.walzen.entities.Berechtigungen}}
             | +-[FROM_FRAGMENT] FromElement: 'ROLLEN rollen2_' FromElement{explicit,not a collection join,not a fetch join,fetch non-lazy properties,classAlias=r,role=null,tableName=ROLLEN,tableAlias=rollen2_,origin=null,colums={,className=de.hydro.gv.walzen.entities.Rollen}}
             | +-[FROM_FRAGMENT] FromElement: 'MITARBEITERROLLEN mitarbeite3_' FromElement{explicit,not a collection join,not a fetch join,fetch non-lazy properties,classAlias=mr,role=null,tableName=MITARBEITERROLLEN,tableAlias=mitarbeite3_,origin=null,colums={,className=de.hydro.gv.walzen.entities.Mitarbeiterrollen}}
             | \-[FROM_FRAGMENT] FromElement: 'MITARBEITER mitarbeite4_' FromElement{explicit,not a collection join,not a fetch join,fetch non-lazy properties,classAlias=m,role=null,tableName=MITARBEITER,tableAlias=mitarbeite4_,origin=null,colums={,className=de.hydro.gv.walzen.entities.Mitarbeiter}}
             +-[WHERE] SqlNode: 'where'
             | \-[AND] SqlNode: 'and'
             | +-[AND] SqlNode: 'and'
             | | +-[AND] SqlNode: 'and'
             | | | +-[AND] SqlNode: 'and'
             | | | | +-[AND] SqlNode: 'and'
             | | | | | +-[EQ] BinaryLogicOperatorNode: '='
             | | | | | | +-[DOT] DotNode: 'formulare0_.ID' {propertyName=id,dereferenceType=4,propertyPath=id,path=f.id,tableAlias=formulare0_,className=de.hydro.gv.walzen.entities.Formulare,classAlias=f}
             | | | | | | | +-[ALIAS_REF] IdentNode: 'formulare0_.ID' {alias=f, className=de.hydro.gv.walzen.entities.Formulare, tableAlias=formulare0_}
             | | | | | | | \-[IDENT] IdentNode: 'id' {originalText=id}
             | | | | | | \-[DOT] DotNode: 'berechtigu1_.FORMULAR' {propertyName=formulare,dereferenceType=ROOT_LEVEL,propertyPath=formulare,path=b.formulare,tableAlias=berechtigu1_,className=de.hydro.gv.walzen.entities.Berechtigungen,classAlias=b}
             | | | | | | +-[ALIAS_REF] IdentNode: 'berechtigu1_.ID' {alias=b, className=de.hydro.gv.walzen.entities.Berechtigungen, tableAlias=berechtigu1_}
             | | | | | | \-[IDENT] IdentNode: 'formulare' {originalText=formulare}
             | | | | | \-[EQ] BinaryLogicOperatorNode: '='
             | | | | | +-[DOT] DotNode: 'mitarbeite3_.ROLLE' {propertyName=rollen,dereferenceType=ROOT_LEVEL,propertyPath=rollen,path=mr.rollen,tableAlias=mitarbeite3_,className=de.hydro.gv.walzen.entities.Mitarbeiterrollen,classAlias=mr}
             | | | | | | +-[ALIAS_REF] IdentNode: 'mitarbeite3_.ID' {alias=mr, className=de.hydro.gv.walzen.entities.Mitarbeiterrollen, tableAlias=mitarbeite3_}
             | | | | | | \-[IDENT] IdentNode: 'rollen' {originalText=rollen}
             | | | | | \-[DOT] DotNode: 'rollen2_.ID' {propertyName=id,dereferenceType=4,propertyPath=id,path=r.id,tableAlias=rollen2_,className=de.hydro.gv.walzen.entities.Rollen,classAlias=r}
             | | | | | +-[ALIAS_REF] IdentNode: 'rollen2_.ID' {alias=r, className=de.hydro.gv.walzen.entities.Rollen, tableAlias=rollen2_}
             | | | | | \-[IDENT] IdentNode: 'id' {originalText=id}
             | | | | \-[EQ] BinaryLogicOperatorNode: '='
             | | | | +-[DOT] DotNode: 'berechtigu1_.ROLLE' {propertyName=rollen,dereferenceType=ROOT_LEVEL,propertyPath=rollen,path=b.rollen,tableAlias=berechtigu1_,className=de.hydro.gv.walzen.entities.Berechtigungen,classAlias=b}
             | | | | | +-[ALIAS_REF] IdentNode: 'berechtigu1_.ID' {alias=b, className=de.hydro.gv.walzen.entities.Berechtigungen, tableAlias=berechtigu1_}
             | | | | | \-[IDENT] IdentNode: 'rollen' {originalText=rollen}
             | | | | \-[DOT] DotNode: 'rollen2_.ID' {propertyName=id,dereferenceType=4,propertyPath=id,path=r.id,tableAlias=rollen2_,className=de.hydro.gv.walzen.entities.Rollen,classAlias=r}
             | | | | +-[ALIAS_REF] IdentNode: 'rollen2_.ID' {alias=r, className=de.hydro.gv.walzen.entities.Rollen, tableAlias=rollen2_}
             | | | | \-[IDENT] IdentNode: 'id' {originalText=id}
             | | | \-[EQ] BinaryLogicOperatorNode: '='
             | | | +-[DOT] DotNode: 'mitarbeite3_.MITARBEITER' {propertyName=mitarbeiter,dereferenceType=ROOT_LEVEL,propertyPath=mitarbeiter,path=mr.mitarbeiter,tableAlias=mitarbeite3_,className=de.hydro.gv.walzen.entities.Mitarbeiterrollen,classAlias=mr}
             | | | | +-[ALIAS_REF] IdentNode: 'mitarbeite3_.ID' {alias=mr, className=de.hydro.gv.walzen.entities.Mitarbeiterrollen, tableAlias=mitarbeite3_}
             | | | | \-[IDENT] IdentNode: 'mitarbeiter' {originalText=mitarbeiter}
             | | | \-[DOT] DotNode: 'mitarbeite4_.ID' {propertyName=id,dereferenceType=4,propertyPath=id,path=m.id,tableAlias=mitarbeite4_,className=de.hydro.gv.walzen.entities.Mitarbeiter,classAlias=m}
             | | | +-[ALIAS_REF] IdentNode: 'mitarbeite4_.ID' {alias=m, className=de.hydro.gv.walzen.entities.Mitarbeiter, tableAlias=mitarbeite4_}
             | | | \-[IDENT] IdentNode: 'id' {originalText=id}
             | | \-[EQ] BinaryLogicOperatorNode: '='
             | | +-[DOT] DotNode: 'mitarbeite4_.ID' {propertyName=id,dereferenceType=4,propertyPath=id,path=m.id,tableAlias=mitarbeite4_,className=de.hydro.gv.walzen.entities.Mitarbeiter,classAlias=m}
             | | | +-[ALIAS_REF] IdentNode: 'mitarbeite4_.ID' {alias=m, className=de.hydro.gv.walzen.entities.Mitarbeiter, tableAlias=mitarbeite4_}
             | | | \-[IDENT] IdentNode: 'id' {originalText=id}
             | | \-[NAMED_PARAM] ParameterNode: '?' {name=mitarbeiter, expectedType=org.hibernate.type.LongType@2ebbbd}
             | \-[IS_NULL] UnaryLogicOperatorNode: 'is null'
             | \-[DOT] DotNode: 'formulare0_.VORGAENGER' {propertyName=formulare,dereferenceType=ROOT_LEVEL,propertyPath=formulare,path=f.formulare,tableAlias=formulare0_,className=de.hydro.gv.walzen.entities.Formulare,classAlias=f}
             | +-[ALIAS_REF] IdentNode: 'formulare0_.ID' {alias=f, className=de.hydro.gv.walzen.entities.Formulare, tableAlias=formulare0_}
             | \-[IDENT] IdentNode: 'formulare' {originalText=formulare}
             \-[ORDER] OrderByClause: 'ORDER'
             +-[DOT] DotNode: 'formulare0_.VORGAENGER' {propertyName=formulare,dereferenceType=ROOT_LEVEL,propertyPath=formulare,path=f.formulare,tableAlias=formulare0_,className=de.hydro.gv.walzen.entities.Formulare,classAlias=f}
             | +-[ALIAS_REF] IdentNode: 'formulare0_.ID' {alias=f, className=de.hydro.gv.walzen.entities.Formulare, tableAlias=formulare0_}
             | \-[IDENT] IdentNode: 'formulare' {originalText=formulare}
             +-[DESCENDING] SqlNode: 'DESC'
             \-[DOT] DotNode: 'formulare0_.BESCHREIBUNG' {propertyName=beschreibung,dereferenceType=4,propertyPath=beschreibung,path=f.beschreibung,tableAlias=formulare0_,className=de.hydro.gv.walzen.entities.Formulare,classAlias=f}
             +-[ALIAS_REF] IdentNode: 'formulare0_.ID' {alias=f, className=de.hydro.gv.walzen.entities.Formulare, tableAlias=formulare0_}
             \-[IDENT] IdentNode: 'beschreibung' {originalText=beschreibung}
            
            2006-11-17 09:34:18,378 DEBUG [org.hibernate.hql.ast.ErrorCounter] throwQueryException() : no errors
            2006-11-17 09:34:18,379 DEBUG [org.hibernate.hql.ast.QueryTranslatorImpl] HQL: select f from de.hydro.gv.walzen.entities.Formulare f, de.hydro.gv.walzen.entities.Berechtigungen b, de.hydro.gv.walzen.entities.Rollen r, de.hydro.gv.walzen.entities.Mitarbeiterrollen mr, de.hydro.gv.walzen.entities.Mitarbeiter m where f.id=b.formulare and mr.rollen=r.id and b.rollen =r.id and mr.mitarbeiter=m.id and m.id = :mitarbeiter and f.formulare is null ORDER BY f.formulare DESC, f.beschreibung
            2006-11-17 09:34:18,379 DEBUG [org.hibernate.hql.ast.QueryTranslatorImpl] SQL: select formulare0_.ID as ID2_, formulare0_.NAME as NAME2_, formulare0_.VORGAENGER as VORGAENGER2_, formulare0_.BESCHREIBUNG as BESCHREI3_2_ from FORMULARE formulare0_, BERECHTIGUNGEN berechtigu1_, ROLLEN rollen2_, MITARBEITERROLLEN mitarbeite3_, MITARBEITER mitarbeite4_ where formulare0_.ID=berechtigu1_.FORMULAR and mitarbeite3_.ROLLE=rollen2_.ID and berechtigu1_.ROLLE=rollen2_.ID and mitarbeite3_.MITARBEITER=mitarbeite4_.ID and mitarbeite4_.ID=? and (formulare0_.VORGAENGER is null) order by formulare0_.VORGAENGER DESC, formulare0_.BESCHREIBUNG
            2006-11-17 09:34:18,379 DEBUG [org.hibernate.hql.ast.ErrorCounter] throwQueryException() : no errors
            2006-11-17 09:34:18,406 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] processing flush-time cascades
            2006-11-17 09:34:18,407 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] dirty checking collections
            2006-11-17 09:34:18,408 DEBUG [org.hibernate.engine.Collections] Collection found: [de.hydro.gv.walzen.entities.Mitarbeiter.mitarbeiterrollens#103], was: [de.hydro.gv.walzen.entities.Mitarbeiter.mitarbeiterrollens#103] (uninitialized)
            2006-11-17 09:34:18,408 DEBUG [org.hibernate.engine.Collections] Collection found: [de.hydro.gv.walzen.entities.Mitarbeiter.schleifvorgaenges#103], was: [de.hydro.gv.walzen.entities.Mitarbeiter.schleifvorgaenges#103] (uninitialized)
            2006-11-17 09:34:18,408 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Flushed: 0 insertions, 0 updates, 0 deletions to 1 objects
            2006-11-17 09:34:18,407 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Flushed: 0 (re)creations, 0 updates, 0 removals to 2 collections
            2006-11-17 09:34:18,407 DEBUG [org.hibernate.pretty.Printer] listing entities:
            2006-11-17 09:34:18,407 DEBUG [org.hibernate.pretty.Printer] de.hydro.gv.walzen.entities.Mitarbeiter{mitarbeiterrollens=<uninitialized>, passwort=geheim, personalnummer=a566561, schleifvorgaenges=<uninitialized>, name=Willems, vorname=Stefan, id=103, kostenstellen=de.hydro.gv.walzen.entities.Kostenstellen#9115}
            2006-11-17 09:34:18,408 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
            2006-11-17 09:34:18,408 DEBUG [org.hibernate.jdbc.ConnectionManager] opening JDBC connection
            2006-11-17 09:34:18,409 DEBUG [org.hibernate.SQL] select formulare0_.ID as ID2_, formulare0_.NAME as NAME2_, formulare0_.VORGAENGER as VORGAENGER2_, formulare0_.BESCHREIBUNG as BESCHREI3_2_ from FORMULARE formulare0_, BERECHTIGUNGEN berechtigu1_, ROLLEN rollen2_, MITARBEITERROLLEN mitarbeite3_, MITARBEITER mitarbeite4_ where formulare0_.ID=berechtigu1_.FORMULAR and mitarbeite3_.ROLLE=rollen2_.ID and berechtigu1_.ROLLE=rollen2_.ID and mitarbeite3_.MITARBEITER=mitarbeite4_.ID and mitarbeite4_.ID=? and (formulare0_.VORGAENGER is null) order by formulare0_.VORGAENGER DESC, formulare0_.BESCHREIBUNG
            2006-11-17 09:34:18,409 INFO [STDOUT] Hibernate: select formulare0_.ID as ID2_, formulare0_.NAME as NAME2_, formulare0_.VORGAENGER as VORGAENGER2_, formulare0_.BESCHREIBUNG as BESCHREI3_2_ from FORMULARE formulare0_, BERECHTIGUNGEN berechtigu1_, ROLLEN rollen2_, MITARBEITERROLLEN mitarbeite3_, MITARBEITER mitarbeite4_ where formulare0_.ID=berechtigu1_.FORMULAR and mitarbeite3_.ROLLE=rollen2_.ID and berechtigu1_.ROLLE=rollen2_.ID and mitarbeite3_.MITARBEITER=mitarbeite4_.ID and mitarbeite4_.ID=? and (formulare0_.VORGAENGER is null) order by formulare0_.VORGAENGER DESC, formulare0_.BESCHREIBUNG
            2006-11-17 09:34:18,408 DEBUG [org.hibernate.loader.hql.QueryLoader] bindNamedParameters() 103 -> mitarbeiter [1]
            2006-11-17 09:34:18,421 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open ResultSet (open ResultSets: 0, globally: 0)
            2006-11-17 09:34:18,421 DEBUG [org.hibernate.loader.Loader] result row: EntityKey[de.hydro.gv.walzen.entities.Formulare#1]
            2006-11-17 09:34:18,420 DEBUG [org.hibernate.loader.Loader] result row: EntityKey[de.hydro.gv.walzen.entities.Formulare#5]
            2006-11-17 09:34:18,420 DEBUG [org.hibernate.loader.Loader] result row: EntityKey[de.hydro.gv.walzen.entities.Formulare#2]
            2006-11-17 09:34:18,421 DEBUG [org.hibernate.loader.Loader] result row: EntityKey[de.hydro.gv.walzen.entities.Formulare#3]
            2006-11-17 09:34:18,421 DEBUG [org.hibernate.loader.Loader] result row: EntityKey[de.hydro.gv.walzen.entities.Formulare#4]
            2006-11-17 09:34:18,422 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close ResultSet (open ResultSets: 1, globally: 1)
            2006-11-17 09:34:18,422 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
            2006-11-17 09:34:18,422 DEBUG [org.hibernate.jdbc.ConnectionManager] aggressively releasing JDBC connection
            2006-11-17 09:34:18,422 DEBUG [org.hibernate.jdbc.ConnectionManager] releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
            2006-11-17 09:34:18,421 DEBUG [org.hibernate.engine.TwoPhaseLoad] resolving associations for [de.hydro.gv.walzen.entities.Formulare#1]
            2006-11-17 09:34:18,422 DEBUG [org.hibernate.engine.TwoPhaseLoad] done materializing entity [de.hydro.gv.walzen.entities.Formulare#1]
            2006-11-17 09:34:18,422 DEBUG [org.hibernate.engine.TwoPhaseLoad] resolving associations for [de.hydro.gv.walzen.entities.Formulare#5]
            2006-11-17 09:34:18,423 DEBUG [org.hibernate.engine.TwoPhaseLoad] done materializing entity [de.hydro.gv.walzen.entities.Formulare#5]
            2006-11-17 09:34:18,423 DEBUG [org.hibernate.engine.TwoPhaseLoad] resolving associations for [de.hydro.gv.walzen.entities.Formulare#2]
            2006-11-17 09:34:18,423 DEBUG [org.hibernate.engine.TwoPhaseLoad] done materializing entity [de.hydro.gv.walzen.entities.Formulare#2]
            2006-11-17 09:34:18,422 DEBUG [org.hibernate.engine.TwoPhaseLoad] resolving associations for [de.hydro.gv.walzen.entities.Formulare#3]
            2006-11-17 09:34:18,423 DEBUG [org.hibernate.engine.TwoPhaseLoad] done materializing entity [de.hydro.gv.walzen.entities.Formulare#3]
            2006-11-17 09:34:18,423 DEBUG [org.hibernate.engine.TwoPhaseLoad] resolving associations for [de.hydro.gv.walzen.entities.Formulare#4]
            2006-11-17 09:34:18,423 DEBUG [org.hibernate.engine.TwoPhaseLoad] done materializing entity [de.hydro.gv.walzen.entities.Formulare#4]
            2006-11-17 09:34:18,423 DEBUG [org.hibernate.engine.StatefulPersistenceContext] initializing non-lazy collections
            2006-11-17 09:34:18,426 DEBUG [org.jboss.seam.contexts.Contexts] found in conversation context: org.jboss.seam.core.persistenceContexts
            2006-11-17 09:34:18,426 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@12a45c7, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@9c8834{ url=null ,addedOrder=0}
            2006-11-17 09:34:18,429 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preRemoveVariable.beanHauptmenu
            2006-11-17 09:34:18,430 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postRemoveVariable.beanHauptmenu
            2006-11-17 09:34:18,430 DEBUG [org.jboss.seam.interceptors.RemoveInterceptor] Stateful component was removed: beanHauptmenu
            2006-11-17 09:34:18,433 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.exceptions
            2006-11-17 09:34:18,434 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.exceptions
            2006-11-17 09:34:18,434 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.core.exceptions
            2006-11-17 09:34:18,434 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.exceptions
            2006-11-17 09:34:18,438 INFO [org.jboss.seam.interceptors.ExceptionInterceptor] no exceptions.xml file found
            2006-11-17 09:34:18,443 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.core.exceptions
            2006-11-17 09:34:18,455 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: listMenu
            2006-11-17 09:34:18,455 DEBUG [org.jboss.seam.Component] instantiating Seam component: beanHauptmenu
            2006-11-17 09:34:18,456 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
            2006-11-17 09:34:18,456 DEBUG [org.jboss.seam.Component] initializing new instance of: beanHauptmenu
            2006-11-17 09:34:18,457 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.beanHauptmenu
            2006-11-17 09:34:18,457 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.beanHauptmenu
            2006-11-17 09:34:18,457 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.beanHauptmenu
            2006-11-17 09:34:18,458 DEBUG [org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor] ++++ LongLivedSessionPropagationInterceptor
            2006-11-17 09:34:18,458 DEBUG [org.jboss.seam.Component] trying to inject with hierarchical context search: walzenDatabase
            2006-11-17 09:34:18,457 DEBUG [org.jboss.seam.contexts.Contexts] found in conversation context: walzenDatabase
            2006-11-17 09:34:18,457 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
            2006-11-17 09:34:18,458 DEBUG [org.jboss.seam.Component] trying to inject with hierarchical context search: loginMitarbeiter
            2006-11-17 09:34:18,458 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: loginMitarbeiter
            2006-11-17 09:34:18,459 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
            2006-11-17 09:34:18,459 DEBUG [org.hibernate.jdbc.ConnectionManager] opening JDBC connection
            2006-11-17 09:34:18,463 DEBUG [org.hibernate.util.JDBCExceptionReporter] Cannot open connection [???]
            org.jboss.util.NestedSQLException: Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=apps01/18, BranchQual=, localId=18]; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=apps01/18, BranchQual=, localId=18])
             at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:94)
             at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69)
             at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:417)
             at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
             at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
             at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1560)
             at org.hibernate.loader.Loader.doQuery(Loader.java:661)
             at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
             at org.hibernate.loader.Loader.doList(Loader.java:2144)
             at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2028)
             at org.hibernate.loader.Loader.list(Loader.java:2023)
             at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:393)
             at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
             at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
             at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
             at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
             at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:64)
             at de.hydro.gv.walzen.beans.HauptmenuBean.filter(HauptmenuBean.java:51)
             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:585)
             at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
             at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
             at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:37)
             at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
             at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:51)
             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:585)
             at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
             at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
             at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
             at org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:79)
             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:585)
             at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
             at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
             at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
             at org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:23)
             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:585)
             at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
             at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
             at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
             at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:55)
             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:585)
             at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
             at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
             at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
             at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
             at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
             at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
             at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:46)
             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:585)
             at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
             at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
             at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
             at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)
             at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
             at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
             at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
             at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
             at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
             at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
             at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:201)
             at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
             at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
             at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
             at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)
             at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
             at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
             at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:131)
             at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
             at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
             at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
             at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
             at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
             at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:203)
             at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
             at $Proxy108.filter(Unknown Source)
             at de.hydro.gv.walzen.interfaces.Hauptmenu$$FastClassByCGLIB$$4e50f324.invoke(<generated>)
             at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
             at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
             at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:68)
             at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
             at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39)
             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:585)
             at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
             at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
             at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
             at org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:28)
             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:585)
             at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
             at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
             at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
             at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
             at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
             at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
             at org.jboss.seam.intercept.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.java:77)
             at org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java:47)
             at org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$50c363a1.filter(<generated>)
             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:585)
             at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
             at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102)
             at org.jboss.seam.Component.callComponentMethod(Component.java:1738)
             at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1630)
             at org.jboss.seam.Component.getInstance(Component.java:1573)
             at org.jboss.seam.Component.getInstance(Component.java:1557)
             at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:45)
             at org.apache.myfaces.trinidadinternal.el.TrinidadVariableResolver.resolveVariable(TrinidadVariableResolver.java:52)
             at org.apache.myfaces.trinidadinternal.el.TrinidadVariableResolver.resolveVariable(TrinidadVariableResolver.java:52)
             at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42)
             at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
             at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
             at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
             at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
             at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
             at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:65)
             at org.apache.myfaces.trinidad.component.UIXComponentBase.getProperty(UIXComponentBase.java:1088)
             at org.apache.myfaces.trinidad.component.UIXIterator.getValue(UIXIterator.java:380)
             at org.apache.myfaces.trinidad.component.UIXCollection.getCollectionModel(UIXCollection.java:883)
             at org.apache.myfaces.trinidad.component.UIXCollection.getCollectionModel(UIXCollection.java:844)
             at org.apache.myfaces.trinidad.component.UIXCollection.getRowKey(UIXCollection.java:325)
             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:585)
             at com.sun.facelets.util.DevTools.writeAttributes(DevTools.java:240)
             at com.sun.facelets.util.DevTools.writeStart(DevTools.java:284)
             at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:189)
             at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:207)
             at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:207)
             at com.sun.facelets.util.DevTools.debugHtml(DevTools.java:133)
             at com.sun.facelets.tag.ui.UIDebug.writeDebugOutput(UIDebug.java:92)
             at com.sun.facelets.tag.ui.UIDebug.encodeBegin(UIDebug.java:81)
             at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:232)
             at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
             at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580)
             at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:178)
             at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
             at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:327)
             at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:291)
             at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:214)
             at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:90)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:67)
             at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:223)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
             at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
             at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
             at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
             at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
             at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
             at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
             at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
             at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
             at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
             at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
             at java.lang.Thread.run(Thread.java:595)
            Caused by: javax.resource.ResourceException: Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=apps01/18, BranchQual=, localId=18]
             at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:290)
             at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:396)
             at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
             at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
             ... 196 more
            2006-11-17 09:34:18,469 WARN [org.hibernate.util.JDBCExceptionReporter] SQL Error: 0, SQLState: null
            2006-11-17 09:34:18,469 ERROR [org.hibernate.util.JDBCExceptionReporter] Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=apps01/18, BranchQual=, localId=18]; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=apps01/18, BranchQual=, localId=18])
            2006-11-17 09:34:18,469 DEBUG [org.hibernate.ejb.AbstractEntityManagerImpl] mark transaction for rollback
            2006-11-17 09:34:18,470 DEBUG [org.jboss.seam.contexts.Contexts] found in conversation context: org.jboss.seam.core.persistenceContexts
            2006-11-17 09:34:18,472 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preRemoveVariable.beanHauptmenu
            2006-11-17 09:34:18,472 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postRemoveVariable.beanHauptmenu
            2006-11-17 09:34:18,471 DEBUG [org.jboss.seam.interceptors.RemoveInterceptor] Stateful component was removed: beanHauptmenu
            2006-11-17 09:34:18,472 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: listMenu
            2006-11-17 09:34:18,473 DEBUG [org.jboss.seam.Component] instantiating Seam component: beanHauptmenu
            2006-11-17 09:34:18,473 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
            2006-11-17 09:34:18,473 DEBUG [org.jboss.seam.Component] initializing new instance of: beanHauptmenu
            2006-11-17 09:34:18,474 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.beanHauptmenu
            2006-11-17 09:34:18,474 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.beanHauptmenu
            2006-11-17 09:34:18,474 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.beanHauptmenu
            2006-11-17 09:34:18,475 DEBUG [org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor] ++++ LongLivedSessionPropagationInterceptor
            2006-11-17 09:34:18,474 DEBUG [org.jboss.seam.Component] trying to inject with hierarchical context search: walzenDatabase
            2006-11-17 09:34:18,475 DEBUG [org.jboss.seam.contexts.Contexts] found in conversation context: walzenDatabase
            2006-11-17 09:34:18,475 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
            2006-11-17 09:34:18,476 DEBUG [org.jboss.seam.Component] trying to inject with hierarchical context search: loginMitarbeiter
            2006-11-17 09:34:18,476 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: loginMitarbeiter
            2006-11-17 09:34:18,476 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 1, globally: 1)
            2006-11-17 09:34:18,476 DEBUG [org.hibernate.jdbc.ConnectionManager] opening JDBC connection
            2006-11-17 09:34:18,476 DEBUG [org.hibernate.util.JDBCExceptionReporter] Cannot open connection [???]
            org.jboss.util.NestedSQLException: Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=apps01/18, BranchQual=, localId=18]; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=apps01/18, BranchQual=, localId=18])
             at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:94)
             at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69)
             at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:417)
             at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
             at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
             at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1560)
             at org.hibernate.loader.Loader.doQuery(Loader.java:661)
             at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
             at org.hibernate.loader.Loader.doList(Loader.java:2144)
             at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2028)
             at org.hibernate.loader.Loader.list(Loader.java:2023)
             at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:393)
             at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
             at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
             at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
             at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
             at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:64)
             at de.hydro.gv.walzen.beans.HauptmenuBean.filter(HauptmenuBean.java:51)
             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:585)
             at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
             at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
             at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:37)
             at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
             at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:51)
             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:585)
             at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
             at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
             at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
             at org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:79)
             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:585)
             at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
             at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
             at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
             at org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:23)
             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:585)
             at org.jboss.seam.util