[jboss-jira] [JBoss JIRA] Created: (JBAS-8892) Error during deployment of null while deploying JDBC data source

Carl Roberts (JIRA) jira-events at lists.jboss.org
Wed Feb 16 16:35:13 EST 2011


Error during deployment of null while deploying JDBC data source
----------------------------------------------------------------

                 Key: JBAS-8892
                 URL: https://issues.jboss.org/browse/JBAS-8892
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Deployers
    Affects Versions: 7.0.0.Alpha1
         Environment: Windows XP
            Reporter: Carl Roberts
            Assignee: Ales Justin
             Fix For: 7.0.0.Alpha2


When I try to define a JDBC data source in standalone.xml file I get this error:


15:53:48,484 ERROR [org.jboss.as.connector.deployer.dsdeployer] (pool-1-thread-1) Error during the deployment of null: java.lang.NullPointerException
        at org.jboss.jca.deployers.common.AbstractDsDeployer.createObjectsAndInjectValue(AbstractDsDeployer.java:157)
        at org.jboss.as.connector.deployers.processors.DsDeploymentProcessor$AS7Deployer.doDeploy(DsDeploymentProcessor.java:189)
        at org.jboss.as.connector.deployers.processors.DsDeploymentProcessor.processDeployment(DsDeploymentProcessor.java:116)
        at org.jboss.as.deployment.chain.DeploymentChainImpl.processDeployment(DeploymentChainImpl.java:60)
        at org.jboss.as.model.ServerDeploymentStartStopHandler.activate(ServerDeploymentStartStopHandler.java:201)
        at org.jboss.as.model.ServerDeploymentStartStopHandler.deploy(ServerDeploymentStartStopHandler.java:88)
        at org.jboss.as.model.ServerDeploymentStartStopHandler.deploy(ServerDeploymentStartStopHandler.java:72)
        at org.jboss.as.connector.subsystems.datasources.JDBCRARDeployService.start(JDBCRARDeployService.java:65)
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:923)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_11]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_11]
        at java.lang.Thread.run(Thread.java:619) [:1.6.0_11]


The data source is defined as follows:

         <subsystem xmlns="urn:jboss:domain:datasources:1.0">
            <datasources>
                <datasource jndi-name="OracleDS" enabled="true" use-java-context="true" pool-name="OracleDS">
                    <connection-url>jdbc:oracle:thin:@127.0.0.1:1521:IDMAKER</connection-url>
                    <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
                    <module>com.database.oracle</module>
                    <pool>
                        <prefill>false</prefill>
                        <use-strict-min>false</use-strict-min>
                    </pool>
                    <security>
                        <user-name>dmkr_admin</user-name>
                        <password>Admin12</password>
                    </security>
                    <validation>
                        <validate-on-match>false</validate-on-match>
                        <background-validation>false</background-validation>
                        <useFastFail>false</useFastFail>
                    </validation>
                    <time-out>
                        <set-tx-query-timeout>false</set-tx-query-timeout>
                    </time-out>
                    <statement>
                        <share-prepared-statements>false</share-prepared-statements>
                    </statement>
                </datasource>
            </datasources>
        </subsystem>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list