7 Replies Latest reply on Jun 15, 2003 5:28 PM by deragon

    Newbie:  javax.naming.NameNotFoundException: @nukes.datasour

    deragon Newbie

      Greetings.


      Newbie here to JBoss & Nukes (that doesn't help does it?). Still, I followed the instructions on how to install Nukes at:

      http://www.jboss.org/index.html?module=html&op=userdisplay&id=developers/projects/nukes/tutorial

      I did one change: I reconfigured (or so I think) JBoss & Nukes to use mySQL instead of HSQL. Maybe something is missing there. Here are the errors I get when running JBOSS:

      08:46:35,955 WARN [MainDeployer] The manifest entry in file:/perm/web/jboss-3.2.1/server/default/tmp/deploy/server/default/deploy/nukes.ear/24.nukes.ear-contents/commons-logging-api.jar references URL file:/perm/web/jboss-3.2.1/server/default/tmp/deploy/server/default/deploy/nukes.ear/24.nukes.ear-contents/log4j.jar which could not be opened, entry ignored
      08:46:35,959 WARN [MainDeployer] The manifest entry in file:/perm/web/jboss-3.2.1/server/default/tmp/deploy/server/default/deploy/nukes.ear/24.nukes.ear-contents/commons-logging-api.jar references URL file:/perm/web/jboss-3.2.1/server/default/tmp/deploy/server/default/deploy/nukes.ear/24.nukes.ear-contents/log4j-core.jar which could not be opened, entry ignored

      [...deleted lines...]

      javax.naming.NameNotFoundException: @nukes.datasource@ 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:492)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:471)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)
      at org.jboss.nukes.system.JDBCDeploymentScanner.scan(Unknown Source)
      at org.jboss.nukes.system.JDBCDeploymentScanner$1.run(Unknown Source)
      at java.util.TimerThread.mainLoop(Timer.java:432)
      at java.util.TimerThread.run(Timer.java:382)

      For the first batch of errors, the referenced files really do not exist. As for the nukes.datasource problem, I have no clue what the is missing in my config.

      Anybody got a clue what is missing? I am using the latest 3.2.1 JBoss and extracted Nukes from CVS yesterday afternoon.

      Sincerely,
      Hans Deragon