0 Replies Latest reply on Aug 6, 2007 12:30 PM by Anthony JULOU

    Seam 2.0 beta : Booking example on tomcat 6 : Local server i

    Anthony JULOU Newbie


      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.