[jboss-jira] [JBoss JIRA] Updated: (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:52:13 EST 2011


     [ https://issues.jboss.org/browse/JBAS-8892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carl Roberts updated JBAS-8892:
-------------------------------

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


16:49:05,640 DEBUG [modules] Module module:org.jboss.as.aggregate:main defined by default
16:49:05,781 INFO  [logging] Removing bootstrap log handlers
16:49:07,000 INFO  [org.jboss.remoting] (pool-1-thread-1) JBoss Remoting version 3.1.0.Beta2
16:49:07,875 INFO  [org.jboss.as.jmx.JMXConnectorService] (pool-1-thread-2) Starting remote JMX connector
16:49:09,390 INFO  [org.apache.coyote.http11.Http11Protocol] (pool-1-thread-1) Starting Coyote HTTP/1.1 on http-8080
16:49:09,703 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (pool-1-thread-1) live server is starting..
16:49:09,796 WARNING [org.hornetq.core.server.impl.HornetQServerImpl] (pool-1-thread-1) Security risk! It has been detected that the cluster admin user and password have
not been changed from the installation default. Please see the HornetQ user guide, cluster chapter, for instructions on how to do this.
16:49:10,203 INFO  [org.jboss.as.connector] (pool-1-thread-2) Starting JCA Subsystem (JBoss IronJacamar 1.0.0.Beta3)
16:49:10,265 INFO  [org.jboss.as.deployment] (pool-1-thread-2) Activating deployment: jdbc-local.rar
16:49:10,328 WARN  [org.jboss.vfs] (pool-1-thread-2) VFS was unable to set the URLStreamHandlerFactory.  This will have unpredictable results
16:49:10,609 INFO  [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (pool-1-thread-1) Started Netty Acceptor version 3.2.1.Final-r2319 localhost:5445 for CORE protoc
l
16:49:10,625 INFO  [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (pool-1-thread-1) Started Netty Acceptor version 3.2.1.Final-r2319 localhost:5455 for CORE protoc
l
16:49:10,625 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (pool-1-thread-1) HornetQ Server version 2.1.2.Final (Colmeia, 120) started
16:49:11,031 INFO  [org.jboss.as.connector.deployer.radeployer] (pool-1-thread-2) Required license terms for file:/C:/java/jboss-7.0.0.Alpha1/standalone/tmp/vfs/deployme
t8fd40c46841880d3/jdbc-local.rar-824cb8cb9fbaa5a8/contents/
16:49:11,203 ERROR [org.jboss.as.connector.deployer.dsdeployer] (pool-1-thread-2) 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]

16:49:11,203 INFO  [org.jboss.as.deployment] (pool-1-thread-2) Activating deployment: jdbc-xa.rar
16:49:11,390 INFO  [org.jboss.as.connector.deployer.radeployer] (pool-1-thread-2) Required license terms for file:/C:/java/jboss-7.0.0.Alpha1/standalone/tmp/vfs/deployme
t8fd40c46841880d3/jdbc-xa.rar-e44d65dbfb7acab/contents/
16:49:11,468 INFO  [org.jboss.as.deployment] (pool-1-thread-2) Started FileSystemDeploymentService for directory C:\java\jboss-7.0.0.Alpha1\standalone\deployments
16:49:11,484 INFO  [org.jboss.as.server] (pool-1-thread-2) JBoss AS 7.0.0.Alpha1 "Halloween" started in 15297ms. - Services [Total: 151, On-demand: 7. Started: 144]

  was:
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>



> 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:
> 16:49:05,640 DEBUG [modules] Module module:org.jboss.as.aggregate:main defined by default
> 16:49:05,781 INFO  [logging] Removing bootstrap log handlers
> 16:49:07,000 INFO  [org.jboss.remoting] (pool-1-thread-1) JBoss Remoting version 3.1.0.Beta2
> 16:49:07,875 INFO  [org.jboss.as.jmx.JMXConnectorService] (pool-1-thread-2) Starting remote JMX connector
> 16:49:09,390 INFO  [org.apache.coyote.http11.Http11Protocol] (pool-1-thread-1) Starting Coyote HTTP/1.1 on http-8080
> 16:49:09,703 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (pool-1-thread-1) live server is starting..
> 16:49:09,796 WARNING [org.hornetq.core.server.impl.HornetQServerImpl] (pool-1-thread-1) Security risk! It has been detected that the cluster admin user and password have
> not been changed from the installation default. Please see the HornetQ user guide, cluster chapter, for instructions on how to do this.
> 16:49:10,203 INFO  [org.jboss.as.connector] (pool-1-thread-2) Starting JCA Subsystem (JBoss IronJacamar 1.0.0.Beta3)
> 16:49:10,265 INFO  [org.jboss.as.deployment] (pool-1-thread-2) Activating deployment: jdbc-local.rar
> 16:49:10,328 WARN  [org.jboss.vfs] (pool-1-thread-2) VFS was unable to set the URLStreamHandlerFactory.  This will have unpredictable results
> 16:49:10,609 INFO  [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (pool-1-thread-1) Started Netty Acceptor version 3.2.1.Final-r2319 localhost:5445 for CORE protoc
> l
> 16:49:10,625 INFO  [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (pool-1-thread-1) Started Netty Acceptor version 3.2.1.Final-r2319 localhost:5455 for CORE protoc
> l
> 16:49:10,625 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (pool-1-thread-1) HornetQ Server version 2.1.2.Final (Colmeia, 120) started
> 16:49:11,031 INFO  [org.jboss.as.connector.deployer.radeployer] (pool-1-thread-2) Required license terms for file:/C:/java/jboss-7.0.0.Alpha1/standalone/tmp/vfs/deployme
> t8fd40c46841880d3/jdbc-local.rar-824cb8cb9fbaa5a8/contents/
> 16:49:11,203 ERROR [org.jboss.as.connector.deployer.dsdeployer] (pool-1-thread-2) 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]
> 16:49:11,203 INFO  [org.jboss.as.deployment] (pool-1-thread-2) Activating deployment: jdbc-xa.rar
> 16:49:11,390 INFO  [org.jboss.as.connector.deployer.radeployer] (pool-1-thread-2) Required license terms for file:/C:/java/jboss-7.0.0.Alpha1/standalone/tmp/vfs/deployme
> t8fd40c46841880d3/jdbc-xa.rar-e44d65dbfb7acab/contents/
> 16:49:11,468 INFO  [org.jboss.as.deployment] (pool-1-thread-2) Started FileSystemDeploymentService for directory C:\java\jboss-7.0.0.Alpha1\standalone\deployments
> 16:49:11,484 INFO  [org.jboss.as.server] (pool-1-thread-2) JBoss AS 7.0.0.Alpha1 "Halloween" started in 15297ms. - Services [Total: 151, On-demand: 7. Started: 144]

--
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