[jboss-user] [JBoss Seam] - Seam 2.0 beta : Booking example on tomcat 6 : Local server i

julou do-not-reply at jboss.com
Mon Aug 6 12:30:51 EDT 2007


Since I have done migration from Seam 1.2 to Seam 2.0 beta with an application like Booking Example with Javabean, I've got the error message:

ERROR 06-08 18:04:45,265 (NamingHelper.java:getInitialContext:33)  -Could not obtain initial context
javax.naming.NamingException: Local server is not initialized
	at org.jnp.interfaces.LocalOnlyContextFactory.getInitialContext(LocalOnlyContextFactory.java:45)
	at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)

My configuration was using a jboss-beans.xml file which has been removed from Seam 2.0, the Jndi Server SingletonNamingServer does not exist anymore. Have you an idea from solving that probleme of connecting my datasource without that SingletonNamingServer class ? 
I have tried to connect by a resource of  in server.xml but in that cas I get the error message "jndi ressource is read only"
Thanks.

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

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



More information about the jboss-user mailing list