3 Replies Latest reply on Apr 29, 2013 11:12 AM by kishore middleware

    Please help me in deploying JDBC application

    kishore middleware Newbie

      Hi All,


      I am a websphere  admin, now we are in migration to JBoss AS 7. I want to test  a sample JDBC aplication. While deplooying  sample application( also attached) i am receiving below exception.


      "10:18:00,873 ERROR [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS015870: Deploy of deployment "Dbtest.war" was rolled back with the following failure message: {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.Dbtest.Dbtest.env.jdbc.oracleds is missing [jboss.naming.context.java.oracleds]"]}"


      Please help me to work it out.


      Proceedure i followd:


      1)  Copied ojdc6.jar into deployments directory.

      2)  Updated standalone-ha.xml with following Datasource information, it worked fine.


      <datasource jndi-name="java:jboss/datasources/oracleds" pool-name="sss" enabled="true" use-java-context="true">








      3) My web.xml is below:



      <display-name>HelloWorld Application</display-name>


              This is a simple web application with a source code organization

              based on the recommendations of the Application Developer's Guide.















               <!-- Point to the jndi name of the datasource -->




      4) My jboss-web.xml is below:












      Finally when i copy the war file deployments directory i am receiving the error.


      Thanks in advance,