0 Replies Latest reply on Aug 29, 2006 4:24 PM by Tomas Cirip

    Examples - booking example - NamingException: Local server i

    Tomas Cirip Newbie

      I am getting error while running booking example in Tomcat 5.5.17. Error is listed below. Any ideas?

      Tomas

      org.jboss.seam.InstantiationException: Could not instantiate Seam component: register
      at org.jboss.seam.Component.newInstance(Component.java:735)
      at org.jboss.seam.Component.newInstance(Component.java:1308)
      at org.jboss.seam.Component.getInstance(Component.java:1263)
      at org.jboss.seam.Component.getInstance(Component.java:1246)
      at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
      at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42)
      at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
      ...


      Caused by: javax.naming.NamingException: Local server is not initialized
      at org.jnp.interfaces.LocalOnlyContextFactory.getInitialContext(LocalOnlyContextFactory.java:45)
      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
      at javax.naming.InitialContext.init(InitialContext.java:223)
      at javax.naming.InitialContext.(InitialContext.java:197)
      at org.jboss.seam.util.Naming.getInitialContext(Naming.java:26)