1 2 Previous Next 17 Replies Latest reply: Feb 20, 2011 12:28 PM by jaikiran pai RSS

javax.ejb.EJBException: javax.persistence.TransactionRequiredException

Diego Rivera Newbie

Hello, everyone!

 

I'm migrating an application from Glassfish 3.0.1 to JBoss 6.0.0 Final.  To expedite the migration and avoid a rather hefty persistence layer refactor I'm using EclipseLink 2.1.2 as the JPA provider.  Needless to say the application works fine in Glassfish.  Anyway...

 

The application uses EJB 3.1 in a WAR (Servlet 3.0, JSF 2.0), and JPA 2.0 persistence. I have already defined the DataSources needed (included below).

 

I've almost got it running in JBoss 6.  But I have a very strange issue regarding transactions not being properly enlisted by the persistence manager (or, at least, that's what it seems).  I keep getting javax.ejb.EJBException: javax.persistence.TransactionRequiredException

 

Here's the (pseudo) code description-stack-thing:

 

Initializer.contextInitialized() -> EJB1.init() <Transaction.REQUIRED> -> EJB2.init() <Transaction.REQUIRES_NEW> -> EntityManager.createNamedQuery()

 

I've confirmed that the code invocation does get as far as the createNamedQuery() call because of trace logging I put in place.  The problem seems to be that EclipseLink is complaining that it can't find a transaction which should obviously be there.

 

I've added the "eclipselink.transaction.join-existing" configuration to EclipseLink, and produced no change.  I've also turned up the logging in EL in an attempt to determine where the problem is.  Eclipselink is finding the correct data source (I can see that from its logs) - it's joining the transaction it seems to be having trouble with.

 

This is the datasource declaration in question:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<datasources>

        <local-tx-datasource>

                <jndi-name>MyDS</jndi-name>

                <connection-url>jdbc:postgresql://localhost:5432/mydb</connection-url>

                <driver-class>org.postgresql.Driver</driver-class>

                <user-name>mydb</user-name>

                <password>mydb</password>

                <check-valid-connection-sql>select 1</check-valid-connection-sql>

                <metadata>

                        <type-mapping>PostgreSQL 8.0</type-mapping>

                </metadata>

 

                <min-pool-size>8</min-pool-size>

                <max-pool-size>32</max-pool-size>

                <idle-timeout-minutes>30</idle-timeout-minutes>

                <prefill>true</prefill>

        </local-tx-datasource>

</datasources>

The JDBC driver jar is in the right place, the datasource is shown as active in the admin console, etc.

 

I've not tested using an XA datasource because I'd just as soon avoid the overhead if I can (since I don't need it).  This is my persistence.xml:

<?xml version="1.0" encoding="UTF-8"?>

<persistence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0"

          xmlns="http://java.sun.com/xml/ns/persistence" xmlns:jpa="http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"

          xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">

          <persistence-unit name="Persistence Core">

                    <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>

                    <jta-data-source>java:/MyDS</jta-data-source>

                    <shared-cache-mode>NONE</shared-cache-mode>

                    <properties>

               <property name="eclipselink.logging.level" value="ALL"/>

                              <property name="eclipselink.target-database" value="PostgreSQL"/>

                              <property name="eclipselink.weaving.changetracking" value="false"/>

               <!-- BEGIN PROPERTIES NEEDED FOR JBOSS COMPATIBILITY -->

               <property name="eclipselink.transaction.join-existing" value="true"/>

            </properties>

          </persistence-unit>

</persistence>

 

Maybe I'm missing something in jboss-web.xml? This is the one I'm using...

 

<?xml version="1.0" encoding="UTF-8"?> 

<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 3.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_5_0.dtd">

<jboss-web>

          <context-root>/</context-root>

</jboss-web>

 

As you can see, no funkyness there... maybe that's the problem?

 

The other problem I was having was that originally I was using a @Startup @Singleton bean with a @PostConstruct method, and was getting exceptions regarding @PostConstruct being called on a newly created bean. Thus, I switched to the WebListener-based startup model that I'm currently using (which should work just the same anyway).

 

Thanks!

  • 1. Re: javax.ejb.EJBException: javax.persistence.TransactionRequiredException
    Diego Rivera Newbie

    More news, tested with an XA DataSource - still no luck

     

    Help?

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>

    <datasources>

            <xa-datasource>

                    <xa-datasource-class>org.postgresql.xa.PGXADataSource</xa-datasource-class>

                    <xa-resource-timeout>0</xa-resource-timeout>

                    <xa-datasource-property name="ServerName">localhost</xa-datasource-property>

                    <xa-datasource-property name="DatabaseName">mydb</xa-datasource-property>

                    <xa-datasource-property name="User">mydb</xa-datasource-property>

                    <xa-datasource-property name="Password">mydb</xa-datasource-property>

                    <track-connection-by-tx/>

                    <no-tx-separate-pools/>

     

                    <jndi-name>MyDS</jndi-name>

                    <use-java-context>true</use-java-context>

                    <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>

                    <check-valid-connection-sql>select 1</check-valid-connection-sql>

                    <metadata>

                            <type-mapping>PostgreSQL 8.0</type-mapping>

                    </metadata>

     

                    <min-pool-size>8</min-pool-size>

                    <max-pool-size>32</max-pool-size>

                    <idle-timeout-minutes>30</idle-timeout-minutes>

                    <prefill>true</prefill>

            </xa-datasource>

    </datasources>

     

     

    UPDATE: I also found https://issues.jboss.org/browse/EJBTHREE-2227 which seems to indicate the @Startup problem is a known bug in JBoss 6.0.0 Final, and will be fixed in 6.0.1

  • 2. javax.ejb.EJBException: javax.persistence.TransactionRequiredException
    jaikiran pai Master

    Diego Rivera wrote:

     


    The other problem I was having was that originally I was using a @Startup @Singleton bean with a @PostConstruct method, and was getting exceptions regarding @PostConstruct being called on a newly created bean.

    What kind of errors? Can you please post the entire exception stacktrace?

     

    Diego Rivera wrote:

     


    I've almost got it running in JBoss 6.  But I have a very strange issue regarding transactions not being properly enlisted by the persistence manager (or, at least, that's what it seems).  I keep getting javax.ejb.EJBException: javax.persistence.TransactionRequiredException

     

    Can you please post the entire exception stacktrace?

  • 3. Re: javax.ejb.EJBException: javax.persistence.TransactionRequiredException
    Diego Rivera Newbie

    First, the latter problem with EclipseLink is solved by using static weaving, and setting the "target-server" property accordingly ("JBoss"). The EclipseLink folks confirmed that this is required for JBoss since it doesn't support dynamic weaving. So I can get the app to deploy fine now (after changing the @Startup bean to be started from ServletContextListener).

     

    I've reverted the change, and it seems that the old EclipseLink issue might have been the trigger for the @Startup problems (I've since been able to successfully deploy the application using @Startup @PostConstruct).  However, I do still get problems with @PostConstruct when accessing a JSF 2.0 page that needs a @ConversationScoped bean:

    09:14:47,316 ERROR [STDERR] java.lang.IllegalStateException: A request must be associated with the context in order to load the known conversations

    09:14:47,316 ERROR [STDERR]           at org.jboss.weld.context.AbstractConversationContext.getConversationMap(AbstractConversationContext.java:393)

    09:14:47,316 ERROR [STDERR]           at org.jboss.weld.context.AbstractConversationContext.getConversation(AbstractConversationContext.java:381)

    09:14:47,317 ERROR [STDERR]           at org.jboss.weld.jsf.WeldPhaseListener.activateConversations(WeldPhaseListener.java:105)

    09:14:47,317 ERROR [STDERR]           at org.jboss.weld.jsf.WeldPhaseListener.beforePhase(WeldPhaseListener.java:84)

    09:14:47,317 ERROR [STDERR]           at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:224)

    09:14:47,317 ERROR [STDERR]           at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:95)

    09:14:47,317 ERROR [STDERR]           at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:107)

    09:14:47,317 ERROR [STDERR]           at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)

    09:14:47,317 ERROR [STDERR]           at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308)

    09:14:47,317 ERROR [STDERR]           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)

    09:14:47,317 ERROR [STDERR]           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)

    09:14:47,317 ERROR [STDERR]           at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:734)

    09:14:47,317 ERROR [STDERR]           at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:541)

    09:14:47,317 ERROR [STDERR]           at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:479)

    09:14:47,317 ERROR [STDERR]           at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:407)

    09:14:47,317 ERROR [STDERR]           at org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:317)

    09:14:47,317 ERROR [STDERR]           at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:242)

    09:14:47,317 ERROR [STDERR]           at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:559)

    09:14:47,317 ERROR [STDERR]           at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)

    09:14:47,317 ERROR [STDERR]           at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)

    09:14:47,317 ERROR [STDERR]           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

    09:14:47,317 ERROR [STDERR]           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

    09:14:47,317 ERROR [STDERR]           at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

    09:14:47,317 ERROR [STDERR]           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

    09:14:47,317 ERROR [STDERR]           at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)

    09:14:47,317 ERROR [STDERR]           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)

    09:14:47,317 ERROR [STDERR]           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)

    09:14:47,317 ERROR [STDERR]           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)

    09:14:47,317 ERROR [STDERR]           at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)

    09:14:47,317 ERROR [STDERR]           at java.lang.Thread.run(Thread.java:662)

    09:14:47,427 INFO  [STDOUT] 2011-02-01 09:14:47,427 INFO: Started a new conversation with ID = 1

    09:14:47,451 SEVERE [javax.enterprise.resource.webcontainer.jsf.application] Error Rendering View[/test/index.xhtml]: javax.el.ELException: /WEB-INF/templates/page/base.xhtml: org.jboss.weld.exceptions.WeldException: WELD-000049 Unable to invoke [method] @PostConstruct protected com.ihealthtechnologies.teos.ConversationController.init() on com.ihealthtechnologies.teos.ConversationController@3a993f

              at com.sun.faces.facelets.compiler.TextInstruction.write(TextInstruction.java:85) [:2.0.3-SNAPSHOT]

              at com.sun.faces.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:78) [:2.0.3-SNAPSHOT]

              at com.sun.faces.facelets.compiler.UILeaf.encodeAll(UILeaf.java:179) [:2.0.3-SNAPSHOT]

              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646) [:2.0.3-SNAPSHOT]

              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646) [:2.0.3-SNAPSHOT]

              at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:389) [:2.0.3-SNAPSHOT]

              at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:127) [:2.0.3-SNAPSHOT]

              at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:269) [:2.0.3-SNAPSHOT]

              at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:117) [:2.0.3-SNAPSHOT]

              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97) [:2.0.3-SNAPSHOT]

              at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135) [:2.0.3-SNAPSHOT]

              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:309) [:2.0.3-SNAPSHOT]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.Final]

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]

              at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67) [:6.0.0.Final]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.Final]

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]

              at com.erudicity.toolkit.web.filter.UniqueFilter.doFilter(UniqueFilter.java:202) [:]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.Final]

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:6.0.0.Final]

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:6.0.0.Final]

              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0.Final]

              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [:6.0.0.Final]

              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0.Final]

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0.Final]

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:6.0.0.Final]

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.0.0.Final]

              at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0.Final]

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.0.0.Final]

              at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0.Final]

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.0.0.Final]

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.0.0.Final]

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654) [:6.0.0.Final]

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.Final]

              at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]

    Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049 Unable to invoke [method] @PostConstruct protected com.ihealthtechnologies.teos.ConversationController.init() on com.ihealthtechnologies.teos.ConversationController@3a993f

              at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:595) [:6.0.0.Final]

              at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.postConstruct(ManagedBean.java:200) [:6.0.0.Final]

              at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:340) [:6.0.0.Final]

              at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:121) [:6.0.0.Final]

              at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:99) [:6.0.0.Final]

              at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:87) [:6.0.0.Final]

              at com.ihealthtechnologies.teos.org$jboss$weld$bean-jboss$classloader:id="vfs:$$$opt$jboss$server$default$deploy$teos-1$0$0$war"-ManagedBean-class_com$ihealthtechnologies$teos$ConversationController_$$_WeldClientProxy.getCurrentEnvironment(org$jboss$weld$bean-jboss$classloader:id="vfs:$$$opt$jboss$server$default$deploy$teos-1$0$0$war"-ManagedBean-class_com$ihealthtechnologies$teos$ConversationController_$$_WeldClientProxy.java)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_22]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_22]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_22]

              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_22]

              at javax.el.BeanELResolver.getValue(BeanELResolver.java:302) [:1.0.0.Final]

              at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175) [:1.0.0.Final]

              at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:71) [:2.0.3-SNAPSHOT]

              at org.apache.el.parser.AstValue.getValue(AstValue.java:134) [:6.0.0.Final]

              at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:187) [:6.0.0.Final]

              at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:55) [:6.0.0.Final]

              at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:55) [:6.0.0.Final]

              at com.sun.faces.facelets.el.ELText$ELTextVariable.writeText(ELText.java:220) [:2.0.3-SNAPSHOT]

              at com.sun.faces.facelets.compiler.TextInstruction.write(TextInstruction.java:82) [:2.0.3-SNAPSHOT]

              ... 35 more

    Caused by: java.lang.reflect.InvocationTargetException

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_22]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_22]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_22]

              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_22]

              at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305) [:6.0.0.Final]

              at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54) [:6.0.0.Final]

              at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163) [:6.0.0.Final]

              at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299) [:6.0.0.Final]

              at org.jboss.weld.introspector.jlr.WeldMethodImpl.invoke(WeldMethodImpl.java:193) [:6.0.0.Final]

              at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:591) [:6.0.0.Final]

              ... 54 more

    Caused by: javax.ejb.EJBException: java.lang.IllegalStateException: No valid security context for the caller identity

              at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:183) [:0.0.1]

              at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:251) [:0.0.1]

              at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.required(CMTTxInterceptor.java:349) [:0.0.1]

              at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.invoke(CMTTxInterceptor.java:209) [:0.0.1]

              at org.jboss.ejb3.tx2.aop.CMTTxInterceptorWrapper.invoke(CMTTxInterceptorWrapper.java:52) [:0.0.1]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) [:1.0.0.GA]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) [:1.0.3]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:182) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.core.context.CurrentInvocationContextInterceptor.invoke(CurrentInvocationContextInterceptor.java:47) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67) [:1.0.1]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.interceptor.EJB3TCCLInterceptor.invoke(EJB3TCCLInterceptor.java:86) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:323) [:1.7.17]

              at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:156) [:1.7.17]

              at org.jboss.ejb3.nointerface.impl.invocationhandler.NoInterfaceViewInvocationHandler.invokeEndpoint(NoInterfaceViewInvocationHandler.java:143) [:6.0.0.Final]

              at org.jboss.ejb3.nointerface.impl.invocationhandler.NoInterfaceViewInvocationHandler.access$000(NoInterfaceViewInvocationHandler.java:54) [:6.0.0.Final]

              at org.jboss.ejb3.nointerface.impl.invocationhandler.NoInterfaceViewInvocationHandler$1.invoke(NoInterfaceViewInvocationHandler.java:103) [:6.0.0.Final]

              at org.jboss.ejb3.sis.reflect.InterceptorInvocationHandler$1.proceed(InterceptorInvocationHandler.java:84) [:1.0.0-alpha-1]

              at org.jboss.ejb3.sis.InterceptorAssembly$1.proceed(InterceptorAssembly.java:82) [:1.0.0-alpha-1]

              at org.jboss.ejb3.nointerface.impl.async.AsyncClientInterceptor.invoke(AsyncClientInterceptor.java:119) [:6.0.0.Final]

              at org.jboss.ejb3.sis.InterceptorAssembly$1.proceed(InterceptorAssembly.java:74) [:1.0.0-alpha-1]

              at org.jboss.ejb3.nointerface.impl.invocationhandler.ObjectMethodsInterceptor.invoke(ObjectMethodsInterceptor.java:78) [:6.0.0.Final]

              at org.jboss.ejb3.sis.InterceptorAssembly$1.proceed(InterceptorAssembly.java:74) [:1.0.0-alpha-1]

              at org.jboss.ejb3.sis.InterceptorAssembly.invoke(InterceptorAssembly.java:90) [:1.0.0-alpha-1]

              at org.jboss.ejb3.sis.reflect.InterceptorInvocationHandler.invoke(InterceptorInvocationHandler.java:110) [:1.0.0-alpha-1]

              at org.jboss.ejb3.nointerface.impl.invocationhandler.NoInterfaceViewInvocationHandler.invoke(NoInterfaceViewInvocationHandler.java:115) [:6.0.0.Final]

              at org.jboss.ejb3.proxy.javassist.JavassistInvocationHandlerAdapter.invoke(JavassistInvocationHandlerAdapter.java:71) [:1.0.0-alpha-1]

              at com.ihealthtechnologies.teos.persistence.DAOSystemUser_$$_javassist_30.getCurrentSystemUser(DAOSystemUser_$$_javassist_30.java) [:]

              at com.ihealthtechnologies.teos.ConversationController.resetClocks(ConversationController.java:167) [:]

              at com.ihealthtechnologies.teos.ConversationController.init(ConversationController.java:161) [:]

              ... 64 more

    Caused by: java.lang.IllegalStateException: No valid security context for the caller identity

              at org.jboss.ejb3.EJBContextImpl.getCallerPrincipal(EJBContextImpl.java:143) [:1.7.17]

              at com.ihealthtechnologies.teos.persistence.DAOSystemUser.getCurrentSystemUser(DAOSystemUser.java:55) [:]

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_22]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_22]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_22]

              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_22]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.interceptors.container.ContainerMethodInvocationWrapper.invokeNext(ContainerMethodInvocationWrapper.java:72) [:1.1.3]

              at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor$InvocationContext.proceed(InvocationContextInterceptor.java:127) [:1.1.3]

              at org.jboss.weld.integration.ejb.interceptor.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:151) [:6.0.0.Final]

              at org.jboss.weld.integration.ejb.interceptor.Jsr299BindingsInterceptor.doAroundInvoke(Jsr299BindingsInterceptor.java:122) [:6.0.0.Final]

              at sun.reflect.GeneratedMethodAccessor363.invoke(Unknown Source) [:1.6.0_22]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_22]

              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_22]

              at org.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor.invoke(EJB3InterceptorInterceptor.java:80) [:1.1.3]

              at org.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor.invoke(EJB3InterceptorInterceptor.java:71) [:1.1.3]

              at org.jboss.ejb3.interceptors.container.ContainerMethodInvocationWrapper.invokeNext(ContainerMethodInvocationWrapper.java:62) [:1.1.3]

              at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor$InvocationContext.proceed(InvocationContextInterceptor.java:127) [:1.1.3]

              at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:46) [:6.0.0.Final]

              at sun.reflect.GeneratedMethodAccessor362.invoke(Unknown Source) [:1.6.0_22]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_22]

              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_22]

              at org.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor.invoke(EJB3InterceptorInterceptor.java:80) [:1.1.3]

              at org.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor.invoke(EJB3InterceptorInterceptor.java:71) [:1.1.3]

              at org.jboss.ejb3.interceptors.container.ContainerMethodInvocationWrapper.invokeNext(ContainerMethodInvocationWrapper.java:62) [:1.1.3]

              at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:76) [:1.1.3]

              at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:62) [:1.1.3]

              at sun.reflect.GeneratedMethodAccessor361.invoke(Unknown Source) [:1.6.0_22]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_22]

              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_22]

              at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:74) [:1.1.3]

              at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_29383158.invoke(InvocationContextInterceptor_z_fillMethod_29383158.java) [:]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:90) [:1.1.3]

              at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_29383158.invoke(InvocationContextInterceptor_z_setup_29383158.java) [:]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.async.impl.interceptor.AsynchronousServerInterceptor.invoke(AsynchronousServerInterceptor.java:128) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) [:1.0.3]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.core.context.SessionInvocationContextAdapter.proceed(SessionInvocationContextAdapter.java:95) [:1.7.17]

              at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:247) [:0.0.1]

              ... 102 more

     

     

    09:14:47,489 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception: java.lang.IllegalStateException: No valid security context for the caller identity

              at org.jboss.ejb3.EJBContextImpl.getCallerPrincipal(EJBContextImpl.java:143) [:1.7.17]

              at com.ihealthtechnologies.teos.persistence.DAOSystemUser.getCurrentSystemUser(DAOSystemUser.java:55) [:]

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_22]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_22]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_22]

              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_22]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.interceptors.container.ContainerMethodInvocationWrapper.invokeNext(ContainerMethodInvocationWrapper.java:72) [:1.1.3]

              at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor$InvocationContext.proceed(InvocationContextInterceptor.java:127) [:1.1.3]

              at org.jboss.weld.integration.ejb.interceptor.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:151) [:6.0.0.Final]

              at org.jboss.weld.integration.ejb.interceptor.Jsr299BindingsInterceptor.doAroundInvoke(Jsr299BindingsInterceptor.java:122) [:6.0.0.Final]

              at sun.reflect.GeneratedMethodAccessor363.invoke(Unknown Source) [:1.6.0_22]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_22]

              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_22]

              at org.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor.invoke(EJB3InterceptorInterceptor.java:80) [:1.1.3]

              at org.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor.invoke(EJB3InterceptorInterceptor.java:71) [:1.1.3]

              at org.jboss.ejb3.interceptors.container.ContainerMethodInvocationWrapper.invokeNext(ContainerMethodInvocationWrapper.java:62) [:1.1.3]

              at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor$InvocationContext.proceed(InvocationContextInterceptor.java:127) [:1.1.3]

              at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:46) [:6.0.0.Final]

              at sun.reflect.GeneratedMethodAccessor362.invoke(Unknown Source) [:1.6.0_22]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_22]

              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_22]

              at org.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor.invoke(EJB3InterceptorInterceptor.java:80) [:1.1.3]

              at org.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor.invoke(EJB3InterceptorInterceptor.java:71) [:1.1.3]

              at org.jboss.ejb3.interceptors.container.ContainerMethodInvocationWrapper.invokeNext(ContainerMethodInvocationWrapper.java:62) [:1.1.3]

              at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:76) [:1.1.3]

              at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:62) [:1.1.3]

              at sun.reflect.GeneratedMethodAccessor361.invoke(Unknown Source) [:1.6.0_22]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_22]

              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_22]

              at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:74) [:1.1.3]

              at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_29383158.invoke(InvocationContextInterceptor_z_fillMethod_29383158.java) [:]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:90) [:1.1.3]

              at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_29383158.invoke(InvocationContextInterceptor_z_setup_29383158.java) [:]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.async.impl.interceptor.AsynchronousServerInterceptor.invoke(AsynchronousServerInterceptor.java:128) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) [:1.0.3]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.core.context.SessionInvocationContextAdapter.proceed(SessionInvocationContextAdapter.java:95) [:1.7.17]

              at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:247) [:0.0.1]

              at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.required(CMTTxInterceptor.java:349) [:0.0.1]

              at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.invoke(CMTTxInterceptor.java:209) [:0.0.1]

              at org.jboss.ejb3.tx2.aop.CMTTxInterceptorWrapper.invoke(CMTTxInterceptorWrapper.java:52) [:0.0.1]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) [:1.0.0.GA]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) [:1.0.3]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:182) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.core.context.CurrentInvocationContextInterceptor.invoke(CurrentInvocationContextInterceptor.java:47) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67) [:1.0.1]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.interceptor.EJB3TCCLInterceptor.invoke(EJB3TCCLInterceptor.java:86) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:323) [:1.7.17]

              at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:156) [:1.7.17]

              at org.jboss.ejb3.nointerface.impl.invocationhandler.NoInterfaceViewInvocationHandler.invokeEndpoint(NoInterfaceViewInvocationHandler.java:143) [:6.0.0.Final]

              at org.jboss.ejb3.nointerface.impl.invocationhandler.NoInterfaceViewInvocationHandler.access$000(NoInterfaceViewInvocationHandler.java:54) [:6.0.0.Final]

              at org.jboss.ejb3.nointerface.impl.invocationhandler.NoInterfaceViewInvocationHandler$1.invoke(NoInterfaceViewInvocationHandler.java:103) [:6.0.0.Final]

              at org.jboss.ejb3.sis.reflect.InterceptorInvocationHandler$1.proceed(InterceptorInvocationHandler.java:84) [:1.0.0-alpha-1]

              at org.jboss.ejb3.sis.InterceptorAssembly$1.proceed(InterceptorAssembly.java:82) [:1.0.0-alpha-1]

              at org.jboss.ejb3.nointerface.impl.async.AsyncClientInterceptor.invoke(AsyncClientInterceptor.java:119) [:6.0.0.Final]

              at org.jboss.ejb3.sis.InterceptorAssembly$1.proceed(InterceptorAssembly.java:74) [:1.0.0-alpha-1]

              at org.jboss.ejb3.nointerface.impl.invocationhandler.ObjectMethodsInterceptor.invoke(ObjectMethodsInterceptor.java:78) [:6.0.0.Final]

              at org.jboss.ejb3.sis.InterceptorAssembly$1.proceed(InterceptorAssembly.java:74) [:1.0.0-alpha-1]

              at org.jboss.ejb3.sis.InterceptorAssembly.invoke(InterceptorAssembly.java:90) [:1.0.0-alpha-1]

              at org.jboss.ejb3.sis.reflect.InterceptorInvocationHandler.invoke(InterceptorInvocationHandler.java:110) [:1.0.0-alpha-1]

              at org.jboss.ejb3.nointerface.impl.invocationhandler.NoInterfaceViewInvocationHandler.invoke(NoInterfaceViewInvocationHandler.java:115) [:6.0.0.Final]

              at org.jboss.ejb3.proxy.javassist.JavassistInvocationHandlerAdapter.invoke(JavassistInvocationHandlerAdapter.java:71) [:1.0.0-alpha-1]

              at com.ihealthtechnologies.teos.persistence.DAOSystemUser_$$_javassist_30.getCurrentSystemUser(DAOSystemUser_$$_javassist_30.java) [:]

              at com.ihealthtechnologies.teos.ConversationController.resetClocks(ConversationController.java:167) [:]

              at com.ihealthtechnologies.teos.ConversationController.init(ConversationController.java:161) [:]

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_22]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_22]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_22]

              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_22]

              at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305) [:6.0.0.Final]

              at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54) [:6.0.0.Final]

              at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163) [:6.0.0.Final]

              at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299) [:6.0.0.Final]

              at org.jboss.weld.introspector.jlr.WeldMethodImpl.invoke(WeldMethodImpl.java:193) [:6.0.0.Final]

              at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:591) [:6.0.0.Final]

              at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.postConstruct(ManagedBean.java:200) [:6.0.0.Final]

              at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:340) [:6.0.0.Final]

              at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:121) [:6.0.0.Final]

              at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:99) [:6.0.0.Final]

              at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:87) [:6.0.0.Final]

              at com.ihealthtechnologies.teos.org$jboss$weld$bean-jboss$classloader:id="vfs:$$$opt$jboss$server$default$deploy$teos-1$0$0$war"-ManagedBean-class_com$ihealthtechnologies$teos$ConversationController_$$_WeldClientProxy.getCurrentEnvironment(org$jboss$weld$bean-jboss$classloader:id="vfs:$$$opt$jboss$server$default$deploy$teos-1$0$0$war"-ManagedBean-class_com$ihealthtechnologies$teos$ConversationController_$$_WeldClientProxy.java)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_22]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_22]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_22]

              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_22]

              at javax.el.BeanELResolver.getValue(BeanELResolver.java:302) [:1.0.0.Final]

              at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175) [:1.0.0.Final]

              at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:71) [:2.0.3-SNAPSHOT]

              at org.apache.el.parser.AstValue.getValue(AstValue.java:134) [:6.0.0.Final]

              at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:187) [:6.0.0.Final]

              at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:55) [:6.0.0.Final]

              at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:55) [:6.0.0.Final]

              at com.sun.faces.facelets.el.ELText$ELTextVariable.writeText(ELText.java:220) [:2.0.3-SNAPSHOT]

              at com.sun.faces.facelets.compiler.TextInstruction.write(TextInstruction.java:82) [:2.0.3-SNAPSHOT]

              at com.sun.faces.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:78) [:2.0.3-SNAPSHOT]

              at com.sun.faces.facelets.compiler.UILeaf.encodeAll(UILeaf.java:179) [:2.0.3-SNAPSHOT]

              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646) [:2.0.3-SNAPSHOT]

              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646) [:2.0.3-SNAPSHOT]

              at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:389) [:2.0.3-SNAPSHOT]

              at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:127) [:2.0.3-SNAPSHOT]

              at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:269) [:2.0.3-SNAPSHOT]

              at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:117) [:2.0.3-SNAPSHOT]

              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97) [:2.0.3-SNAPSHOT]

              at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135) [:2.0.3-SNAPSHOT]

              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:309) [:2.0.3-SNAPSHOT]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.Final]

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]

              at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67) [:6.0.0.Final]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.Final]

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]

              at com.erudicity.toolkit.web.filter.UniqueFilter.doFilter(UniqueFilter.java:202) [:]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.Final]

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]

              at org.apache.catalina.core.StandardWr

    09:14:47,316 ERROR [STDERR] java.lang.IllegalStateException: A request must be associated with the context in order to load the known conversations

    09:14:47,316 ERROR [STDERR]           at org.jboss.weld.context.AbstractConversationContext.getConversationMap(AbstractConversationContext.java:393)

    09:14:47,316 ERROR [STDERR]           at org.jboss.weld.context.AbstractConversationContext.getConversation(AbstractConversationContext.java:381)

    09:14:47,317 ERROR [STDERR]           at org.jboss.weld.jsf.WeldPhaseListener.activateConversations(WeldPhaseListener.java:105)

    09:14:47,317 ERROR [STDERR]           at org.jboss.weld.jsf.WeldPhaseListener.beforePhase(WeldPhaseListener.java:84)

    09:14:47,317 ERROR [STDERR]           at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:224)

    09:14:47,317 ERROR [STDERR]           at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:95)

    09:14:47,317 ERROR [STDERR]           at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:107)

    09:14:47,317 ERROR [STDERR]           at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)

    09:14:47,317 ERROR [STDERR]           at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308)

    09:14:47,317 ERROR [STDERR]           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)

    09:14:47,317 ERROR [STDERR]           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)

    09:14:47,317 ERROR [STDERR]           at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:734)

    09:14:47,317 ERROR [STDERR]           at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:541)

    09:14:47,317 ERROR [STDERR]           at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:479)

    09:14:47,317 ERROR [STDERR]           at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:407)

    09:14:47,317 ERROR [STDERR]           at org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:317)

    09:14:47,317 ERROR [STDERR]           at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:242)

    09:14:47,317 ERROR [STDERR]           at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:559)

    09:14:47,317 ERROR [STDERR]           at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)

    09:14:47,317 ERROR [STDERR]           at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)

    09:14:47,317 ERROR [STDERR]           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

    09:14:47,317 ERROR [STDERR]           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

    09:14:47,317 ERROR [STDERR]           at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

    09:14:47,317 ERROR [STDERR]           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

    09:14:47,317 ERROR [STDERR]           at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)

    09:14:47,317 ERROR [STDERR]           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)

    09:14:47,317 ERROR [STDERR]           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)

    09:14:47,317 ERROR [STDERR]           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)

    09:14:47,317 ERROR [STDERR]           at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)

    09:14:47,317 ERROR [STDERR]           at java.lang.Thread.run(Thread.java:662)

    09:14:47,427 INFO  [STDOUT] 2011-02-01 09:14:47,427 INFO: Started a new conversation with ID = 1

    09:14:47,451 SEVERE [javax.enterprise.resource.webcontainer.jsf.application] Error Rendering View[/test/index.xhtml]: javax.el.ELException: /WEB-INF/templates/page/base.xhtml: org.jboss.weld.exceptions.WeldException: WELD-000049 Unable to invoke [method] @PostConstruct protected com.ihealthtechnologies.teos.ConversationController.init() on com.ihealthtechnologies.teos.ConversationController@3a993f

              at com.sun.faces.facelets.compiler.TextInstruction.write(TextInstruction.java:85) [:2.0.3-SNAPSHOT]

              at com.sun.faces.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:78) [:2.0.3-SNAPSHOT]

              at com.sun.faces.facelets.compiler.UILeaf.encodeAll(UILeaf.java:179) [:2.0.3-SNAPSHOT]

              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646) [:2.0.3-SNAPSHOT]

              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646) [:2.0.3-SNAPSHOT]

              at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:389) [:2.0.3-SNAPSHOT]

              at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:127) [:2.0.3-SNAPSHOT]

              at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:269) [:2.0.3-SNAPSHOT]

              at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:117) [:2.0.3-SNAPSHOT]

              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97) [:2.0.3-SNAPSHOT]

              at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135) [:2.0.3-SNAPSHOT]

              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:309) [:2.0.3-SNAPSHOT]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.Final]

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]

              at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67) [:6.0.0.Final]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.Final]

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]

              at com.erudicity.toolkit.web.filter.UniqueFilter.doFilter(UniqueFilter.java:202) [:]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.Final]

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:6.0.0.Final]

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:6.0.0.Final]

              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0.Final]

              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [:6.0.0.Final]

              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0.Final]

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0.Final]

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:6.0.0.Final]

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.0.0.Final]

              at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0.Final]

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.0.0.Final]

              at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0.Final]

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.0.0.Final]

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.0.0.Final]

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654) [:6.0.0.Final]

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.Final]

              at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]

    Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049 Unable to invoke [method] @PostConstruct protected com.ihealthtechnologies.teos.ConversationController.init() on com.ihealthtechnologies.teos.ConversationController@3a993f

              at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:595) [:6.0.0.Final]

              at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.postConstruct(ManagedBean.java:200) [:6.0.0.Final]

              at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:340) [:6.0.0.Final]

              at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:121) [:6.0.0.Final]

              at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:99) [:6.0.0.Final]

              at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:87) [:6.0.0.Final]

              at com.ihealthtechnologies.teos.org$jboss$weld$bean-jboss$classloader:id="vfs:$$$opt$jboss$server$default$deploy$teos-1$0$0$war"-ManagedBean-class_com$ihealthtechnologies$teos$ConversationController_$$_WeldClientProxy.getCurrentEnvironment(org$jboss$weld$bean-jboss$classloader:id="vfs:$$$opt$jboss$server$default$deploy$teos-1$0$0$war"-ManagedBean-class_com$ihealthtechnologies$teos$ConversationController_$$_WeldClientProxy.java)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_22]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_22]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_22]

              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_22]

              at javax.el.BeanELResolver.getValue(BeanELResolver.java:302) [:1.0.0.Final]

              at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175) [:1.0.0.Final]

              at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:71) [:2.0.3-SNAPSHOT]

              at org.apache.el.parser.AstValue.getValue(AstValue.java:134) [:6.0.0.Final]

              at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:187) [:6.0.0.Final]

              at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:55) [:6.0.0.Final]

              at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:55) [:6.0.0.Final]

              at com.sun.faces.facelets.el.ELText$ELTextVariable.writeText(ELText.java:220) [:2.0.3-SNAPSHOT]

              at com.sun.faces.facelets.compiler.TextInstruction.write(TextInstruction.java:82) [:2.0.3-SNAPSHOT]

              ... 35 more

    Caused by: java.lang.reflect.InvocationTargetException

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_22]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_22]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_22]

              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_22]

              at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305) [:6.0.0.Final]

              at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54) [:6.0.0.Final]

              at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163) [:6.0.0.Final]

              at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299) [:6.0.0.Final]

              at org.jboss.weld.introspector.jlr.WeldMethodImpl.invoke(WeldMethodImpl.java:193) [:6.0.0.Final]

              at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:591) [:6.0.0.Final]

              ... 54 more

    Caused by: javax.ejb.EJBException: java.lang.IllegalStateException: No valid security context for the caller identity

              at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:183) [:0.0.1]

              at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:251) [:0.0.1]

              at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.required(CMTTxInterceptor.java:349) [:0.0.1]

              at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.invoke(CMTTxInterceptor.java:209) [:0.0.1]

              at org.jboss.ejb3.tx2.aop.CMTTxInterceptorWrapper.invoke(CMTTxInterceptorWrapper.java:52) [:0.0.1]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) [:1.0.0.GA]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) [:1.0.3]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:182) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.core.context.CurrentInvocationContextInterceptor.invoke(CurrentInvocationContextInterceptor.java:47) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67) [:1.0.1]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.interceptor.EJB3TCCLInterceptor.invoke(EJB3TCCLInterceptor.java:86) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:323) [:1.7.17]

              at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:156) [:1.7.17]

              at org.jboss.ejb3.nointerface.impl.invocationhandler.NoInterfaceViewInvocationHandler.invokeEndpoint(NoInterfaceViewInvocationHandler.java:143) [:6.0.0.Final]

              at org.jboss.ejb3.nointerface.impl.invocationhandler.NoInterfaceViewInvocationHandler.access$000(NoInterfaceViewInvocationHandler.java:54) [:6.0.0.Final]

              at org.jboss.ejb3.nointerface.impl.invocationhandler.NoInterfaceViewInvocationHandler$1.invoke(NoInterfaceViewInvocationHandler.java:103) [:6.0.0.Final]

              at org.jboss.ejb3.sis.reflect.InterceptorInvocationHandler$1.proceed(InterceptorInvocationHandler.java:84) [:1.0.0-alpha-1]

              at org.jboss.ejb3.sis.InterceptorAssembly$1.proceed(InterceptorAssembly.java:82) [:1.0.0-alpha-1]

              at org.jboss.ejb3.nointerface.impl.async.AsyncClientInterceptor.invoke(AsyncClientInterceptor.java:119) [:6.0.0.Final]

              at org.jboss.ejb3.sis.InterceptorAssembly$1.proceed(InterceptorAssembly.java:74) [:1.0.0-alpha-1]

              at org.jboss.ejb3.nointerface.impl.invocationhandler.ObjectMethodsInterceptor.invoke(ObjectMethodsInterceptor.java:78) [:6.0.0.Final]

              at org.jboss.ejb3.sis.InterceptorAssembly$1.proceed(InterceptorAssembly.java:74) [:1.0.0-alpha-1]

              at org.jboss.ejb3.sis.InterceptorAssembly.invoke(InterceptorAssembly.java:90) [:1.0.0-alpha-1]

              at org.jboss.ejb3.sis.reflect.InterceptorInvocationHandler.invoke(InterceptorInvocationHandler.java:110) [:1.0.0-alpha-1]

              at org.jboss.ejb3.nointerface.impl.invocationhandler.NoInterfaceViewInvocationHandler.invoke(NoInterfaceViewInvocationHandler.java:115) [:6.0.0.Final]

              at org.jboss.ejb3.proxy.javassist.JavassistInvocationHandlerAdapter.invoke(JavassistInvocationHandlerAdapter.java:71) [:1.0.0-alpha-1]

              at com.ihealthtechnologies.teos.persistence.DAOSystemUser_$$_javassist_30.getCurrentSystemUser(DAOSystemUser_$$_javassist_30.java) [:]

              at com.ihealthtechnologies.teos.ConversationController.resetClocks(ConversationController.java:167) [:]

              at com.ihealthtechnologies.teos.ConversationController.init(ConversationController.java:161) [:]

              ... 64 more

    Caused by: java.lang.IllegalStateException: No valid security context for the caller identity

              at org.jboss.ejb3.EJBContextImpl.getCallerPrincipal(EJBContextImpl.java:143) [:1.7.17]

              at com.ihealthtechnologies.teos.persistence.DAOSystemUser.getCurrentSystemUser(DAOSystemUser.java:55) [:]

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_22]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_22]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_22]

              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_22]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.interceptors.container.ContainerMethodInvocationWrapper.invokeNext(ContainerMethodInvocationWrapper.java:72) [:1.1.3]

              at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor$InvocationContext.proceed(InvocationContextInterceptor.java:127) [:1.1.3]

              at org.jboss.weld.integration.ejb.interceptor.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:151) [:6.0.0.Final]

              at org.jboss.weld.integration.ejb.interceptor.Jsr299BindingsInterceptor.doAroundInvoke(Jsr299BindingsInterceptor.java:122) [:6.0.0.Final]

              at sun.reflect.GeneratedMethodAccessor363.invoke(Unknown Source) [:1.6.0_22]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_22]

              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_22]

              at org.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor.invoke(EJB3InterceptorInterceptor.java:80) [:1.1.3]

              at org.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor.invoke(EJB3InterceptorInterceptor.java:71) [:1.1.3]

              at org.jboss.ejb3.interceptors.container.ContainerMethodInvocationWrapper.invokeNext(ContainerMethodInvocationWrapper.java:62) [:1.1.3]

              at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor$InvocationContext.proceed(InvocationContextInterceptor.java:127) [:1.1.3]

              at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:46) [:6.0.0.Final]

              at sun.reflect.GeneratedMethodAccessor362.invoke(Unknown Source) [:1.6.0_22]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_22]

              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_22]

              at org.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor.invoke(EJB3InterceptorInterceptor.java:80) [:1.1.3]

              at org.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor.invoke(EJB3InterceptorInterceptor.java:71) [:1.1.3]

              at org.jboss.ejb3.interceptors.container.ContainerMethodInvocationWrapper.invokeNext(ContainerMethodInvocationWrapper.java:62) [:1.1.3]

              at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:76) [:1.1.3]

              at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:62) [:1.1.3]

              at sun.reflect.GeneratedMethodAccessor361.invoke(Unknown Source) [:1.6.0_22]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_22]

              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_22]

              at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:74) [:1.1.3]

              at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_29383158.invoke(InvocationContextInterceptor_z_fillMethod_29383158.java) [:]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:90) [:1.1.3]

              at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_29383158.invoke(InvocationContextInterceptor_z_setup_29383158.java) [:]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.async.impl.interceptor.AsynchronousServerInterceptor.invoke(AsynchronousServerInterceptor.java:128) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) [:1.0.3]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.core.context.SessionInvocationContextAdapter.proceed(SessionInvocationContextAdapter.java:95) [:1.7.17]

              at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:247) [:0.0.1]

              ... 102 more

     

     

    09:14:47,489 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception: java.lang.IllegalStateException: No valid security context for the caller identity

              at org.jboss.ejb3.EJBContextImpl.getCallerPrincipal(EJBContextImpl.java:143) [:1.7.17]

              at com.ihealthtechnologies.teos.persistence.DAOSystemUser.getCurrentSystemUser(DAOSystemUser.java:55) [:]

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_22]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_22]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_22]

              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_22]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.interceptors.container.ContainerMethodInvocationWrapper.invokeNext(ContainerMethodInvocationWrapper.java:72) [:1.1.3]

              at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor$InvocationContext.proceed(InvocationContextInterceptor.java:127) [:1.1.3]

              at org.jboss.weld.integration.ejb.interceptor.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:151) [:6.0.0.Final]

              at org.jboss.weld.integration.ejb.interceptor.Jsr299BindingsInterceptor.doAroundInvoke(Jsr299BindingsInterceptor.java:122) [:6.0.0.Final]

              at sun.reflect.GeneratedMethodAccessor363.invoke(Unknown Source) [:1.6.0_22]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_22]

              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_22]

              at org.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor.invoke(EJB3InterceptorInterceptor.java:80) [:1.1.3]

              at org.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor.invoke(EJB3InterceptorInterceptor.java:71) [:1.1.3]

              at org.jboss.ejb3.interceptors.container.ContainerMethodInvocationWrapper.invokeNext(ContainerMethodInvocationWrapper.java:62) [:1.1.3]

              at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor$InvocationContext.proceed(InvocationContextInterceptor.java:127) [:1.1.3]

              at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:46) [:6.0.0.Final]

              at sun.reflect.GeneratedMethodAccessor362.invoke(Unknown Source) [:1.6.0_22]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_22]

              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_22]

              at org.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor.invoke(EJB3InterceptorInterceptor.java:80) [:1.1.3]

              at org.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor.invoke(EJB3InterceptorInterceptor.java:71) [:1.1.3]

              at org.jboss.ejb3.interceptors.container.ContainerMethodInvocationWrapper.invokeNext(ContainerMethodInvocationWrapper.java:62) [:1.1.3]

              at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:76) [:1.1.3]

              at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:62) [:1.1.3]

              at sun.reflect.GeneratedMethodAccessor361.invoke(Unknown Source) [:1.6.0_22]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_22]

              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_22]

              at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:74) [:1.1.3]

              at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_29383158.invoke(InvocationContextInterceptor_z_fillMethod_29383158.java) [:]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:90) [:1.1.3]

              at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_29383158.invoke(InvocationContextInterceptor_z_setup_29383158.java) [:]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.async.impl.interceptor.AsynchronousServerInterceptor.invoke(AsynchronousServerInterceptor.java:128) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) [:1.0.3]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.core.context.SessionInvocationContextAdapter.proceed(SessionInvocationContextAdapter.java:95) [:1.7.17]

              at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:247) [:0.0.1]

              at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.required(CMTTxInterceptor.java:349) [:0.0.1]

              at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.invoke(CMTTxInterceptor.java:209) [:0.0.1]

              at org.jboss.ejb3.tx2.aop.CMTTxInterceptorWrapper.invoke(CMTTxInterceptorWrapper.java:52) [:0.0.1]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) [:1.0.0.GA]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) [:1.0.3]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:182) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.core.context.CurrentInvocationContextInterceptor.invoke(CurrentInvocationContextInterceptor.java:47) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67) [:1.0.1]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.interceptor.EJB3TCCLInterceptor.invoke(EJB3TCCLInterceptor.java:86) [:1.7.17]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.1.GA]

              at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:323) [:1.7.17]

              at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:156) [:1.7.17]

              at org.jboss.ejb3.nointerface.impl.invocationhandler.NoInterfaceViewInvocationHandler.invokeEndpoint(NoInterfaceViewInvocationHandler.java:143) [:6.0.0.Final]

              at org.jboss.ejb3.nointerface.impl.invocationhandler.NoInterfaceViewInvocationHandler.access$000(NoInterfaceViewInvocationHandler.java:54) [:6.0.0.Final]

              at org.jboss.ejb3.nointerface.impl.invocationhandler.NoInterfaceViewInvocationHandler$1.invoke(NoInterfaceViewInvocationHandler.java:103) [:6.0.0.Final]

              at org.jboss.ejb3.sis.reflect.InterceptorInvocationHandler$1.proceed(InterceptorInvocationHandler.java:84) [:1.0.0-alpha-1]

              at org.jboss.ejb3.sis.InterceptorAssembly$1.proceed(InterceptorAssembly.java:82) [:1.0.0-alpha-1]

              at org.jboss.ejb3.nointerface.impl.async.AsyncClientInterceptor.invoke(AsyncClientInterceptor.java:119) [:6.0.0.Final]

              at org.jboss.ejb3.sis.InterceptorAssembly$1.proceed(InterceptorAssembly.java:74) [:1.0.0-alpha-1]

              at org.jboss.ejb3.nointerface.impl.invocationhandler.ObjectMethodsInterceptor.invoke(ObjectMethodsInterceptor.java:78) [:6.0.0.Final]

              at org.jboss.ejb3.sis.InterceptorAssembly$1.proceed(InterceptorAssembly.java:74) [:1.0.0-alpha-1]

              at org.jboss.ejb3.sis.InterceptorAssembly.invoke(InterceptorAssembly.java:90) [:1.0.0-alpha-1]

              at org.jboss.ejb3.sis.reflect.InterceptorInvocationHandler.invoke(InterceptorInvocationHandler.java:110) [:1.0.0-alpha-1]

              at org.jboss.ejb3.nointerface.impl.invocationhandler.NoInterfaceViewInvocationHandler.invoke(NoInterfaceViewInvocationHandler.java:115) [:6.0.0.Final]

              at org.jboss.ejb3.proxy.javassist.JavassistInvocationHandlerAdapter.invoke(JavassistInvocationHandlerAdapter.java:71) [:1.0.0-alpha-1]

              at com.ihealthtechnologies.teos.persistence.DAOSystemUser_$$_javassist_30.getCurrentSystemUser(DAOSystemUser_$$_javassist_30.java) [:]

              at com.ihealthtechnologies.teos.ConversationController.resetClocks(ConversationController.java:167) [:]

              at com.ihealthtechnologies.teos.ConversationController.init(ConversationController.java:161) [:]

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_22]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_22]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_22]

              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_22]

              at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305) [:6.0.0.Final]

              at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54) [:6.0.0.Final]

              at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163) [:6.0.0.Final]

              at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299) [:6.0.0.Final]

              at org.jboss.weld.introspector.jlr.WeldMethodImpl.invoke(WeldMethodImpl.java:193) [:6.0.0.Final]

              at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:591) [:6.0.0.Final]

              at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.postConstruct(ManagedBean.java:200) [:6.0.0.Final]

              at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:340) [:6.0.0.Final]

              at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:121) [:6.0.0.Final]

              at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:99) [:6.0.0.Final]

              at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:87) [:6.0.0.Final]

              at com.ihealthtechnologies.teos.org$jboss$weld$bean-jboss$classloader:id="vfs:$$$opt$jboss$server$default$deploy$teos-1$0$0$war"-ManagedBean-class_com$ihealthtechnologies$teos$ConversationController_$$_WeldClientProxy.getCurrentEnvironment(org$jboss$weld$bean-jboss$classloader:id="vfs:$$$opt$jboss$server$default$deploy$teos-1$0$0$war"-ManagedBean-class_com$ihealthtechnologies$teos$ConversationController_$$_WeldClientProxy.java)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_22]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_22]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_22]

              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_22]

              at javax.el.BeanELResolver.getValue(BeanELResolver.java:302) [:1.0.0.Final]

              at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175) [:1.0.0.Final]

              at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:71) [:2.0.3-SNAPSHOT]

              at org.apache.el.parser.AstValue.getValue(AstValue.java:134) [:6.0.0.Final]

              at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:187) [:6.0.0.Final]

              at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:55) [:6.0.0.Final]

              at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:55) [:6.0.0.Final]

              at com.sun.faces.facelets.el.ELText$ELTextVariable.writeText(ELText.java:220) [:2.0.3-SNAPSHOT]

              at com.sun.faces.facelets.compiler.TextInstruction.write(TextInstruction.java:82) [:2.0.3-SNAPSHOT]

              at com.sun.faces.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:78) [:2.0.3-SNAPSHOT]

              at com.sun.faces.facelets.compiler.UILeaf.encodeAll(UILeaf.java:179) [:2.0.3-SNAPSHOT]

              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646) [:2.0.3-SNAPSHOT]

              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646) [:2.0.3-SNAPSHOT]

              at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:389) [:2.0.3-SNAPSHOT]

              at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:127) [:2.0.3-SNAPSHOT]

              at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:269) [:2.0.3-SNAPSHOT]

              at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:117) [:2.0.3-SNAPSHOT]

              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97) [:2.0.3-SNAPSHOT]

              at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135) [:2.0.3-SNAPSHOT]

              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:309) [:2.0.3-SNAPSHOT]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.Final]

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]

              at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67) [:6.0.0.Final]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.Final]

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]

              at com.erudicity.toolkit.web.filter.UniqueFilter.doFilter(UniqueFilter.java:202) [:]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.Final]

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:6.0.0.Final]

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:6.0.0.Final]

              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0.Final]

              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [:6.0.0.Final]

              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0.Final]

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0.Final]

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:6.0.0.Final]

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.0.0.Final]

              at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0.Final]

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.0.0.Final]

              at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0.Final]

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.0.0.Final]

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.0.0.Final]

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654) [:6.0.0.Final]

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.Final]

              at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]

    apperValve.invoke(StandardWrapperValve.java:275) [:6.0.0.Final]

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:6.0.0.Final]

              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0.Final]

              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [:6.0.0.Final]

              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0.Final]

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0.Final]

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:6.0.0.Final]

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.0.0.Final]

              at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0.Final]

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.0.0.Final]

              at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0.Final]

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.0.0.Final]

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.0.0.Final]

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654) [:6.0.0.Final]

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.Final]

              at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]

     

     

    I'm also getting errors while attempting form-based authentication:

    java.lang.IllegalStateException: Must call associate() before calling activate()

    org.jboss.weld.context.AbstractConversationContext.activate(AbstractConversationContext.java:273)

    org.jboss.weld.jsf.WeldPhaseListener.activateConversations(WeldPhaseListener.java:110)

    org.jboss.weld.jsf.WeldPhaseListener.beforePhase(WeldPhaseListener.java:84)

    com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:224)

    com.sun.faces.lifecycle.Phase.doPhase(Phase.java:95)

    com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:107)

    com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)

    javax.faces.webapp.FacesServlet.service(FacesServlet.java:308)

     

     

    Any help will be greatly appreciated!

  • 4. Re: javax.ejb.EJBException: javax.persistence.TransactionRequiredException
    Nicklas Karlsson Master

    Whoa that's some stack trace. If I'm understanding you correctly, you're calling a @ConversationScoped bean in a @PostConstruct method of a @Startup @Singleton bean?

     

    That could be a problem since the conversation scope is not active at that point (there is no request and no session to store the conversation scoped instance in)

     

    Show some more code, it might help.

  • 5. Re: javax.ejb.EJBException: javax.persistence.TransactionRequiredException
    Diego Rivera Newbie

    To clarify: the above isn't from the @Startup @Singleton @PostConstruct - that has "resolved itself" (probably because we managed to fix what now seems to have been the root issue - I've been unable to reproduce it since switching to static weaving).

     

    The @ConversationScoped @PostConstruct is happening from a JSF component which accesses said bean.  Thus, there is a request, and there is already a (putative) session (or, should be created by the container if it doesn't exist).

     

    Think of it this way:

    <page.xhtml>

    ...

    <h:outputText value="#{conversation.someValue}"/>

    ...

    </page.xhtml>

     

    And

    @Named

    @ConversationScoped

    public class Conversation implements Serializable {

     

      @Inject

       private Conversation conversation;

       

      @PostConstruct

              protected void init() {

                        if (this.conversation.isTransient()) {

              this.conversation.begin();

              // FIXME: Unelegant workaround since JBoss has no default injector for HttpSession

              // As I understand it, this violates Servlet and CDI specs for JEE6

              ExternalContext ctx = FacesContext.getCurrentInstance().getExternalContext();

              HttpServletRequest req = HttpServletRequest.class.cast(ctx.getRequest());

              HttpSession session = req.getSession(true);

              this.conversation.setTimeout(session.getMaxInactiveInterval() * 1000);

          }

      }

     

        public String getSomeValue() { return "bla"; }

    }

     

    When one hits page.xhtml is when we get the above stack trace for @ConversationScoped @PostConstruct blablabla...

     

    We also get the other "associate() before activate()" error on our form authentication page, and that one doesn't touch the conversation.

     

    If we can fix these, I think we have a legitimate shot at finishing our port (and then I'll ask some rather silly questions about how to properly do JNDI name mapping so I can avoid code changes - all the docs I've found date back to JBoss 3 or earlier).

  • 6. Re: javax.ejb.EJBException: javax.persistence.TransactionRequiredException
    Nicklas Karlsson Master

    Hmm. The conversation context is associated in the WeldListener. Can you put a breakpoint in requestInitialized and see that it's hit?

  • 7. Re: javax.ejb.EJBException: javax.persistence.TransactionRequiredException
    Diego Rivera Newbie

    You mean in the JBoss code, right?

     

    I'm afraid it'll have to wait a few days - I have some critical deadlines to meet right now and I plain don't have time to go through a JBoss debugging session... sorry

     

    I'll be sure to help you with this when I can, though.

  • 8. javax.ejb.EJBException: javax.persistence.TransactionRequiredException
    Nicklas Karlsson Master

    Help *me*? You're the one who started the thread, I'm in no hurry ;-)

  • 9. javax.ejb.EJBException: javax.persistence.TransactionRequiredException
    Diego Rivera Newbie

    Sorry about that - I've just never been asked to debug code I didn't write before.  I'll get on this as soon as I can and get you the info.

     

    What I meant about "help you" is that you definitely needed this info to help me further

     

    Cheers.

  • 10. Re: javax.ejb.EJBException: javax.persistence.TransactionRequiredException
    Ignacio de Cordoba Novice

    Hello Diego,

    did you get to solve this?

    I'm having a similar problem when porting an application I have running in Glassfish v3 to JBoss 6. I am trying to use the JDBC org.jboss.security.auth.spi.DatabaseServerLoginModule login module.

    App uses JSF2 facelets and CDI Named beans (No old JSF Managed Beans)

     

    Here is the stack trace; thanks for any ideas/directions

     

    01:39:55,020 WARN  [org.apache.catalina.authenticator.FormAuthenticator] Unexpected error forwarding to login page: javax.servlet.ServletException: Must call associate() before calling activate()

              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:321) [:2.0.3-]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.Final]

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]

              at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:115) [:]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.Final]

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]

              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:734) [:6.0.0.Final]

              at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:541) [:6.0.0.Final]

              at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:479) [:6.0.0.Final]

              at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:407) [:6.0.0.Final]

              at org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:317) [:6.0.0.Final]

              at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:242) [:6.0.0.Final]

              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:559) [:6.0.0.Final]

              at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.Final]

              at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.Final]

              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0.Final]

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0.Final]

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:6.0.0.Final]

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.0.0.Final]

              at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567) [:6.0.0.Final]

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.0.0.Final]

              at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0.Final]

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.0.0.Final]

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.0.0.Final]

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654) [:6.0.0.Final]

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.Final]

              at java.lang.Thread.run(Thread.java:680) [:1.6.0_22]

    Caused by: java.lang.IllegalStateException: Must call associate() before calling activate()

              at org.jboss.weld.context.AbstractConversationContext.activate(AbstractConversationContext.java:273) [:6.0.0.Final]

              at org.jboss.weld.jsf.WeldPhaseListener.activateConversations(WeldPhaseListener.java:110) [:6.0.0.Final]

              at org.jboss.weld.jsf.WeldPhaseListener.beforePhase(WeldPhaseListener.java:84) [:6.0.0.Final]

              at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:224) [:2.0.3-]

              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:95) [:2.0.3-]

              at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:107) [:2.0.3-]

              at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114) [:2.0.3-]

              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308) [:2.0.3-]

              ... 26 more

  • 11. Re: javax.ejb.EJBException: javax.persistence.TransactionRequiredException
    jaikiran pai Master

    Ignacio, please continue your discussion in the other thread that you started http://community.jboss.org/message/588508#588508

  • 12. Re: javax.ejb.EJBException: javax.persistence.TransactionRequiredException
    Ignacio de Cordoba Novice

    Thanks Jaikiran,

    in case Diego might have found a solution for his problem, should he answer me here as i asked him or in my thread?

     

    Ignacio

  • 13. Re: javax.ejb.EJBException: javax.persistence.TransactionRequiredException
    Diego Rivera Newbie

    Ignacio,

     

    I have not found (nor, really, looked really hard) for a solution to that problem.  For now, the customer has discarded JBoss 6 as an alternative since besides this issue, it's not supported other than by the community, and this is insufficient for their needs.

     

    Importantly, I recall finding a JIRA ticket describing the issue, and that it would be fixed for 6.0.1 (release on/about March 18 next).

     

    This seems to be related to the use of form-based authentication.  If you're using that, you might try switching temporarily to BASIC authentication to see if that fixes, or at least allows you to further isolate the problem.

     

    Cheers.

  • 14. Re: javax.ejb.EJBException: javax.persistence.TransactionRequiredException
    Ignacio de Cordoba Novice

    Thanks Diego,

    yes, i've digged on the exception and also found it is related to Form auth (also appears when forwarding to error pages).

    As you suggest, I'll try basic auth in JBoss while maintain Form auth in Glassfish and wait for 6.0.1

     

    Regards,

    Ignacio

1 2 Previous Next