1 Reply Latest reply on Nov 9, 2011 4:55 AM by Jens Mander

    How to configure datasource in Jboss7?

    pavithra mohan Newbie

      I am new to Jboss. I am trying to create a datasource. I have added the following code in the standalone.xml:

      <datasource jndi-name="java:/sss" enabled="true" use-java-context="true" pool-name="sss">
      <driver> ojdbc14.jar</driver>
      <driver name="ojdbc14.jar" module="com.oracle">

      I have placed my ojdbc14.jar in the following path, \jboss-as-web-7.0.2.Final\modules\com\oracle\main.

      I have persisted module.xml, as follows in the same path.

      <module xmlns="urn:jboss:module:1.0" name="com.oracle"> 
      <resource-root path="ojdbc14.jar"/>
      <module name="javax.api"/>
      <module name="javax.transaction.api"/>

      But I get the error as follows,

      ERROR [stderr] Exception in thread "Controller Boot Thread" java.la ng.RuntimeException: org.jboss.as.controller.persistence.ConfigurationPersistenc eException: Failed to parse configuration

      Can any one please help me in solving this error?.