0 Replies Latest reply on Apr 23, 2002 8:25 AM by sandhya

    javax.naming.NameNotFoundException: demo.Demo not bound

    sandhya Newbie

      i am getting this exception when i am running java client in jboss3.0 beta.

      javax.naming.NameNotFoundException: demo.Demo not bound


      i have even added these lines of code

      Properties jBossProperties = new Properties();
      jBossProperties.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
      jBossProperties.put(Context.PROVIDER_URL, "localhost:1099");
      jBossProperties.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces");

      ---------------------------------
      the exception at my server side is
      ---------------------------------

      17:50:00,530 ERROR [MinervaNoTransCMFactory] Starting failed
      javax.naming.NameNotFoundException: TransactionManager not bound
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
      at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
      at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:365)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:349)
      at javax.naming.InitialContext.lookup(Unknown Source)
      at org.jboss.resource.ConnectionManagerFactoryLoader.startService(ConnectionManagerFactoryLo
      ader.java:227)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:160)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:777)
      at $Proxy2.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:341)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
      at $Proxy1.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:257)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:296)
      at org.jboss.deployment.MainDeployer.run(MainDeployer.java:259)
      at java.lang.Thread.run(Unknown Source)
      17:50:00,660 ERROR [ServiceController] JMException thrown during ServiceProxy operation start on mbe
      an jboss.jca:service=ConnectionManagerFactoryLoader,name=MinervaNoTransCMFactory
      javax.naming.NameNotFoundException: TransactionManager not bound
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
      at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
      at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:365)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:349)
      at javax.naming.InitialContext.lookup(Unknown Source)
      at org.jboss.resource.ConnectionManagerFactoryLoader.startService(ConnectionManagerFactoryLo
      ader.java:227)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:160)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:777)
      at $Proxy2.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:341)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
      at $Proxy1.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:257)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:296)
      at org.jboss.deployment.MainDeployer.run(MainDeployer.java:259)
      at java.lang.Thread.run(Unknown Source)
      17:50:00,680 ERROR [SARDeployer] operation failed
      javax.management.MBeanException: Exception thrown in operation start
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1644)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:777)
      at $Proxy2.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:341)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
      at $Proxy1.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:257)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:296)
      at org.jboss.deployment.MainDeployer.run(MainDeployer.java:259)
      at java.lang.Thread.run(Unknown Source)
      17:50:00,680 ERROR [MainDeployer] could not deploy :file:/D:/jboss-3.0.0beta/deploy/jbosscx.sar
      org.jboss.deployment.DeploymentException: Exception thrown in operation start; - nested throwable is
      : javax.management.MBeanException: Exception thrown in operation start
      javax.management.MBeanException: Exception thrown in operation start
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1644)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:777)
      at $Proxy2.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:341)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
      at $Proxy1.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:257)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:296)
      at org.jboss.deployment.MainDeployer.run(MainDeployer.java:259)
      at java.lang.Thread.run(Unknown Source)
      org.jboss.deployment.DeploymentException: Exception thrown in operation start; - nested throwable is
      : javax.management.MBeanException: Exception thrown in operation start
      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:262)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:296)
      at org.jboss.deployment.MainDeployer.run(MainDeployer.java:259)
      at java.lang.Thread.run(Unknown Source)
      17:50:00,720 ERROR [MainDeployer] Could not deploy: file:/D:/jboss-3.0.0beta/deploy/jbosscx.sar
      org.jboss.deployment.DeploymentException: Could not deploy: file:/D:/jboss-3.0.0beta/deploy/jbosscx.
      sar; - nested throwable is: org.jboss.deployment.DeploymentException: Exception thrown in operation
      start; - nested throwable is: javax.management.MBeanException: Exception thrown in operation start
      org.jboss.deployment.DeploymentException: Exception thrown in operation start; - nested throwable is
      : javax.management.MBeanException: Exception thrown in operation start
      javax.management.MBeanException: Exception thrown in operation start
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1644)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:777)
      at $Proxy2.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:341)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
      at $Proxy1.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:257)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:296)
      at org.jboss.deployment.MainDeployer.run(MainDeployer.java:259)
      at java.lang.Thread.run(Unknown Source)
      org.jboss.deployment.DeploymentException: Exception thrown in operation start; - nested throwable is
      : javax.management.MBeanException: Exception thrown in operation start
      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:262)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:296)
      at org.jboss.deployment.MainDeployer.run(MainDeployer.java:259)
      at java.lang.Thread.run(Unknown Source)
      org.jboss.deployment.DeploymentException: Could not deploy: file:/D:/jboss-3.0.0beta/deploy/jbosscx.
      sar; - nested throwable is: org.jboss.deployment.DeploymentException: Exception thrown in operation
      start; - nested throwable is: javax.management.MBeanException: Exception thrown in operation start
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:470)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:296)
      at org.jboss.deployment.MainDeployer.run(MainDeployer.java:259)
      at java.lang.Thread.run(Unknown Source)
      17:50:00,840 INFO [MainDeployer] Undeploying file:/D:/jboss-3.0.0beta/deploy/jmx-ejb-connector-serv
      er.sar
      17:50:00,840 INFO [MainDeployer] could not delete directory file:/D:/jboss-3.0.0beta/tmp/deploy/291
      .jmx-ejb-connector-server.sar restart will delete it
      17:50:00,840 INFO [MainDeployer] Undeployed file:/D:/jboss-3.0.0beta/deploy/jmx-ejb-connector-serve
      r.sar
      17:50:00,840 INFO [MainDeployer] Deploying: file:/D:/jboss-3.0.0beta/deploy/jmx-ejb-connector-serve
      r.sar
      17:50:00,960 INFO [MainDeployer] Undeploying file:/D:/jboss-3.0.0beta/deploy/hsqldb-default-service
      .xml
      17:50:00,960 INFO [HypersonicDatabase] Stopping
      17:50:01,201 ERROR [Default] java.lang.IllegalAccessError: try to access class org.hsqldb.Record fro
      m class org.hsqldb.Result
      17:50:01,481 ERROR [Default] at org.hsqldb.Result.add(Result.java:147)
      17:50:01,481 ERROR [Default] at org.hsqldb.DatabaseInformation.addRow(DatabaseInformation.java:89
      4)
      17:50:01,491 ERROR [Default] at org.hsqldb.DatabaseInformation.getScript(DatabaseInformation.java
      :837)
      17:50:01,491 ERROR [Default] at org.hsqldb.Database.getScript(Database.java:441)
      17:50:01,491 ERROR [Default] at org.hsqldb.Log.scriptToFile(Log.java:423)
      17:50:01,491 ERROR [Default] at org.hsqldb.Log.writeScript(Log.java:891)
      17:50:01,491 ERROR [Default] at org.hsqldb.Log.close(Log.java:267)
      17:50:01,491 ERROR [Default] at org.hsqldb.Database.close(Database.java:1301)
      17:50:01,491 ERROR [Default] at org.hsqldb.Database.processShutdown(Database.java:1344)
      17:50:01,511 ERROR [Default] at org.hsqldb.Database.execute(Database.java:285)
      17:50:01,511 ERROR [Default] at org.hsqldb.Embedded_ServerConnection.run(Embedded_ServerConnectio
      n.java:134)
      17:50:01,511 ERROR [Default] at java.lang.Thread.run(Unknown Source)