This content has been marked as final.
Show 3 replies
-
1. Re: Not found: jndi.properties?
norman Mar 17, 2008 5:30 PM (in response to jebberwocky.jeffliu.potix.com)Are you running on JBoss? On JBoss, Seam should be finding the server-widejndi.properties in server/default/conf.
-
2. Re: Not found: jndi.properties?
jebberwocky.jeffliu.potix.com Mar 18, 2008 6:20 AM (in response to jebberwocky.jeffliu.potix.com)Hey Thank you much for your reply
It helps. I found out that there is jndi.properties under server/default/conf.
I found out that the difference in jndi.properties files is following:
My Seam 1.2 Configjava.naming.factory.initial=org.jnp.interfaces.LocalOnlyContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
My Seam 2.0 Config
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
When jndi sitting is
org.jnp.interfaces.NamingContextFactoryIt results following:
Caused by: javax.naming.NameNotFoundException: MyStatefulBean not bound
Do you have any idea why?
-
3. Re: Not found: jndi.properties?
pmuir Mar 19, 2008 11:53 AM (in response to jebberwocky.jeffliu.potix.com)You shouldn't need any jndi.properties deployed with your project. Are you deploying to a clean install of JBoss 4.2?