6 Replies Latest reply on Oct 11, 2011 6:09 AM by kumaran d

    JBoss 7 AS  + JPA + missing [ jboss.naming.context.java.java:]

    kumaran d Newbie

      Missing JNDI for the Datasoure error occurs while deploying the application  which looks up the datasource from JPA Unit.

       

      Using SQL-server jdbc driver and created the datasource.

       

      Error message from the console

       

       

      18:11:25,222 INFO  [org.jboss.as.server.controller] (HttpManagementService-threads - 10) Deployment of "core-api-1.0.0.1-SNAPSHOT.war" was rolled back with failure message {"Services with missing/unavailable dependencies" => ["jboss.persistenceunit.\"core-api-1.0.0.1-SNAPSHOT.war#DCJpaUnit\"

      ,"jboss.deployment.unit.\"core-api-1.0.0.1-SNAPSHOT.war\".jndiDependencyService missing [ jboss.naming.context.java.module.\"core-api-1.0.0.1-SNAPSHOT\".\"core-api-1.0.0.1-SNAPSHOT\".env/persistence/DKJpaUnit ]","jboss.persistenceunit.\"core-api-1.0.0.1-SNAPSHOT.war#DKJpaUnit\" missing [ jboss.naming.context.java.java:DKDS ]"]}

      18:11:25,237 INFO  [org.jboss.weld] (MSC service thread 1-3) Stopping weld service

      18:11:34,472 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) Stopped deployment core-api-1.0.0.1-SNAPSHOT.war in 9257ms