0 Replies Latest reply on Nov 12, 2003 5:53 PM by mrojas

    javax.naming.NameNotFoundException with nukes from cvs

    mrojas Newbie

      i'm compiling a cvs version of nukes to test the postgresql scripts with the latest changes (i've dowloaded it the past friday)

      all seems to compile ok, but when running jboss, i get the following when trying to deploy the nukes core:

      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:499)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:478)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)
      at org.jboss.nukes.system.JDBCDeploymentScanner.job(Unknown Source)
      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)


      and then :

      org.jboss.deployment.DeploymentException: Error in jbosscmp-jdbc.xml : datasource-mapping ${nukes.type-mapping} not found
      at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.(JDBCEntityMetaData.java:416)
      at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.(JDBCApplicationMetaData.java:258)
      at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:75)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:739)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:430)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:372)
      at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:160)
      at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:340)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
      at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:550)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
      at $Proxy13.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:394)
      at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
      .......

      i'm using JBoss [WonderLand] 3.2.2RC2 (build: CVSTag=JBoss_3_2_2_RC2 date=200307231513)
      on redhat 9 with postgresql 7.3