-
1. Re: Seam 3.1 NPE in TransactionServletListener on Websphere 8
lightguard Mar 1, 2012 9:26 PM (in response to tmanning)If you cannot inject into ServletListeners, that's a bug in WAS, as I'm pretty sure with Servlet 3.0 you can.
As for the other stuff, we know there are problems with OWB.
-
2. Re: Seam 3.1 NPE in TransactionServletListener on Websphere 8
chkal Mar 2, 2012 11:46 AM (in response to lightguard)Jason is right. It seems like WAS isn't injecting into servlet listeners. It's actually exactly the same issue Tomcat users are currently running into:
https://issues.jboss.org/browse/SEAMTRANSACTION-15
Perhaps it's worth thinking about if it's possible to add some kind off fallback behaviour to that class for situations in which the injection doesn't work correctly. I'm just thinking loud about this because currently Seam Tranaction is completely unusable on Tomcat and WAS.
Could you try to add this to your web.xml:
<context-param> <param-name>org.jboss.seam.transaction.disableListener</param-name> <param-value>true</param-value> </context-param>
Christian
-
3. Re: Seam 3.1 NPE in TransactionServletListener on Websphere 8
tmanning Mar 2, 2012 12:41 PM (in response to chkal)That worked! Thanks so much - spent way too much time on that one.
Jason, would you happen to know if there's a way to filter for known issues affecting Seam on OWB? When I encounter these it's sometimes difficult to determine whether they're issues with Seam or issues with OWB.
Being unable to inject into ServletListeners seems like a significant issue if it's indeed part of the spec (I haven't researched this).
-
4. Re: Seam 3.1 NPE in TransactionServletListener on Websphere 8
lightguard Mar 2, 2012 1:01 PM (in response to tmanning)That part was in the docs
WRT to the OWB issues, to my knowledge we have had very few people using Seam 3 with OWB, so there probably isn't a label or anything in JIRA to use. This would be a good time to start a label though.
Also, as work on Seam 3 is slowing down, DeltaSpike will be the place to go for truely portable extensions. We have people from Apache, Red Hat, Oracle and others in the community. Anything produced from DeltaSpike will truely be portable.