[
http://jira.jboss.com/jira/browse/JBSEAM-760?page=comments#action_12352195 ]
Alex Kozlenkov commented on JBSEAM-760:
---------------------------------------
Hi Gavin,
Having just recompiled Seam and added the new jcaptcha dependency, I'm
still encountering the same issue.
Cheers,
Alex Kozlenkov
Advanced Technology Group
Office: +44 20 8834 6854
Yahoo! Messenger: alex.kozlenkov
Betfair Limited | Winslow Road | Hammersmith Embankment | London | W6
9HP
Company No. 5140986
Â
The information in this e-mail and any attachment is confidential and is
intended only for the named recipient(s). The e-mail may not be
disclosed or used by any person other than the addressee, nor may it be
copied in any way. If you are not a named recipient please notify the
sender immediately and delete any copies of this message. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden. Any view or opinions presented are solely
those of the author and do not necessarily represent those of the
company.
Setting <distributable /> in web.xml results in
java.lang.IllegalStateException in logs, application works otherwise
--------------------------------------------------------------------------------------------------------------------
Key: JBSEAM-760
URL:
http://jira.jboss.com/jira/browse/JBSEAM-760
Project: JBoss Seam
Issue Type: Bug
Components: Security
Environment: Microsoft Vista with Java 6 SDK, JBoss 4.0.5.GA EJB3 and EJB3
Clustered
Reporter: Alex Kozlenkov
Assigned To: Gavin King
Priority: Critical
Fix For: 1.1.6.GA
A very simple application using the new 1.1.5 level security features produces a
java.lang.IllegalStateException when <distributable /> is included in web.xml. The
application works perfectly wikthout this setting and even with <distributable />
the exception seems to be non-fatal. The stack trace follows:
09:58:11,169 ERROR [[/helloworld]] Session attribute event listener threw exception
java.lang.IllegalStateException: No application context active
at org.jboss.seam.Component.forName(Component.java:1586)
at org.jboss.seam.Component.getInstance(Component.java:1636)
at org.jboss.seam.Component.getInstance(Component.java:1631)
at org.jboss.seam.Component.getInstance(Component.java:1608)
at org.jboss.seam.Component.getInstance(Component.java:1603)
at org.jboss.seam.persistence.PersistenceProvider.instance(PersistenceProvider.java:45)
at
org.jboss.seam.core.ManagedPersistenceContext.sessionWillPassivate(ManagedPersistenceContext.java:104)
at
org.jboss.web.tomcat.tc5.session.ClusteredSession.passivate(ClusteredSession.java:896)
at
org.jboss.web.tomcat.tc5.session.JBossCacheManager.storeSession(JBossCacheManager.java:642)
at
org.jboss.web.tomcat.tc5.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:49)
at
org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:98)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:619)
Using a custom phase listener to trace JSF shows that the exception is wedged between a
registration page that successfully creates a new account and a login page to which the
user is redirected on success. The login page is successfully presented as well.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira