[jboss-user] [JBoss Seam] - Re: Seam Bean not instantiated

mugwump do-not-reply at jboss.com
Fri Sep 1 03:19:26 EDT 2006


Hi Bernd, how is business?! (you may remember me from Karlsruhe...), 

seam can really drive you nuts: Checking the web.xml and the components.xml for the jndi-pattern may help. web.xml has a context-param for the jndi-pattern, while components.xml has a property for the org.jboss.seam.core.init-Component. 

And the jndi-pattern is sensitive to run inside jboss or only in the embedded container - inside jboss you need the <ear-name>/${ejbName}/local, while inside the embedded container you have to omit the ear-name. (that's why the jndi-pattern is usually replaced by ant for testing/deployment).

Especially the fact, that seam fails silently if it can't resolve names can drive you crazy - a typical symptom for this is a "Conversion Error" on the webpage (and nothing in the logs), if you use entities that can't be found...

hope this helps
stf 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968849#3968849

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968849



More information about the jboss-user mailing list