[
https://jira.jboss.org/jira/browse/JBSEAM-3577?page=com.atlassian.jira.pl...
]
Sean Burns commented on JBSEAM-3577:
------------------------------------
This fix should make it into 2.1.0 GA as well (it has not been released yet) .
It is fixed in trunk which is currently 2.1.1 ,so next snapshot will have it.
Seam Context not working in Servlets
-------------------------------------
Key: JBSEAM-3577
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3577
Project: Seam
Issue Type: Bug
Affects Versions: 2.1.0.CR1, 2.1.0.GA
Environment: JBoss 4.2.3, Seam 2.1.0 GA
Reporter: Sean Burns
Assignee: Pete Muir
Priority: Blocker
Fix For: 2.1.0.GA
I used to able to look up components with Component.getInstance(...) inside a servlet by
adding <web:context-filter url-pattern="/m/*" /> to the components.xml (in
Seam 2.0.X).
This has stopped working and now gives
"java.lang.IllegalStateException: No event context active"
This post relates
http://www.seamframework.org/Community/GettingAStatelessComponentFromASer...
and this one
http://www.seamframework.org/Community/210CR1ThrowsJavalangIllegalStateEx...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira