1 Reply Latest reply on Dec 13, 2002 1:11 PM by Juha Lindfors

    NameNotFoundException while deploying

    Bonkers Newbie

      Hi,

      I try this example3 from http://www.roseindia.net/jboss/
      I found some mistakes and now I deployed it. My problem is that I get a NameNotFoundException and I dont know where I should look for the error.

      Please help, thnaks a lot!

      Here the Exception:

      15:04:23,368 INFO [Engine] StandardManager[/example3]: Seeding random number generator class java.security.SecureRandom
      15:04:23,368 INFO [Engine] StandardManager[/example3]: Seeding of random number generator has been completed
      15:04:23,727 ERROR [STDERR] javax.naming.NameNotFoundException: test not bound
      15:04:23,727 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
      15:04:23,727 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
      15:04:23,727 ERROR [STDERR] at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
      15:04:23,727 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServer.java:253)
      15:04:23,727 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServer.java:256)
      15:04:23,727 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:464)
      15:04:23,727 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:443)
      15:04:23,727 ERROR [STDERR] at javax.naming.InitialContext.lookup(InitialContext.java:347)
      15:04:23,743 ERROR [STDERR] at test.session.SessionTestServlet.init(SessionTestServlet.java:29)
      15:04:23,743 ERROR [STDERR] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:924)
      15:04:23,743 ERROR [STDERR] at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
      15:04:23,743 ERROR [STDERR] at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3341)
      15:04:23,743 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:3534)
      15:04:23,743 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
      15:04:23,743 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
      15:04:23,743 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
      15:04:23,743 ERROR [STDERR] at org.jboss.web.catalina.EmbeddedCatalinaService41.createWebContext(EmbeddedCatalinaService41.java:432)
      15:04:23,743 ERROR [STDERR] at org.jboss.web.catalina.EmbeddedCatalinaService41.performDeploy(EmbeddedCatalinaService41.java:306)
      15:04:23,743 ERROR [STDERR] at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:300)
      15:04:23,743 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:807)
      15:04:23,743 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:799)
      15:04:23,743 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:621)
      15:04:23,743 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:585)
      15:04:23,743 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
      15:04:23,743 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      15:04:23,743 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      15:04:23,743 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      15:04:23,743 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      15:04:23,743 ERROR [STDERR] at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      15:04:23,743 ERROR [STDERR] at $Proxy4.deploy(Unknown Source)
      15:04:23,743 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:435)
      15:04:23,743 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:561)
      15:04:23,743 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:212)
      15:04:23,743 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:225)
      15:04:23,743 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:202)
      15:04:23,743 INFO [Engine] StandardWrapper[/example3:default]: Loading container servlet default
      15:04:23,743 INFO [Engine] StandardWrapper[/example3:invoker]: Loading container servlet invoker
      15:04:23,759 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.4/server/default/deploy/example3.ear