My problem is that I am unable to start the JBOSS+Tomcat server properly and I get a NullpointerException and J2eeDeploymentException
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   sona_arora
Posted On:   Thursday, September 27, 2001 02:17 AM

When running Jboss2.4.0_tomcat3.2.1 in which tomcat is embedded in JbossI am trying to use the weblogic driver to create a connection pool to MS SQL. The name of the connection pool is WorldteqPool.The weblogic driver does get loaded but this is the error that I get: All Rights Reserved. [Default] Server 1.4 is running [Default] Press [Ctrl]+[C] to abort [XADataSourceLoader] Started [XADataSourceLoader] Starting [WorldTeqPool] XA Connection pool WorldTeqPool bound to java:/WorldTeqPool [XADataSourceLoader] Stopped java.lang.NullPointerException at org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSourc e.java:178) at or   More>>

When running Jboss2.4.0_tomcat3.2.1 in which tomcat is embedded in JbossI am trying to use the weblogic driver to create a connection pool to MS SQL.
The name of the connection pool is WorldteqPool.The weblogic driver does get loaded but this is the error that I get:


All Rights Reserved.

[Default] Server 1.4 is running
[Default] Press [Ctrl]+[C] to abort

[XADataSourceLoader] Started

[XADataSourceLoader] Starting

[WorldTeqPool] XA Connection pool WorldTeqPool bound to java:/WorldTeqPool
[XADataSourceLoader] Stopped

java.lang.NullPointerException
at org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSourc
e.java:178)
at org.jboss.jdbc.XADataSourceLoader.startService(XADataSourceLoader.jav
a:407)
at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:107
)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
28)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(Conf
igurationService.java:836)
at $Proxy0.start(Unknown Source)
at org.jboss.util.ServiceControl.start(ServiceControl.java:81)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
28)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at org.jboss.Main. (Main.java:210)
at org.jboss.Main$1.run(Main.java:116)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.Main.main(Main.java:112)
[Configuration] java.lang.NullPointerException
[Configuration] at org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection
(XAPoolDataSource.java:178)
[Configuration] at org.jboss.jdbc.XADataSourceLoader.startService(XAData
SourceLoader.java:407)
[Configuration] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBean
Support.java:107)
[Configuration] at java.lang.reflect.Method.invoke(Native Method)
[Configuration] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
rverImpl.java:1628)
[Configuration] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
rverImpl.java:1523)
[Configuration] at org.jboss.configuration.ConfigurationService$ServiceP
roxy.invoke(ConfigurationService.java:836)
[Configuration] at $Proxy0.start(Unknown Source)
[Configuration] at org.jboss.util.ServiceControl.start(ServiceControl.ja
va:81)
[Configuration] at java.lang.reflect.Method.invoke(Native Method)
[Configuration] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
rverImpl.java:1628)
[Configuration] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
rverImpl.java:1523)
[Configuration] at org.jboss.Main. (Main.java:210)
[Configuration] at org.jboss.Main$1.run(Main.java:116)
[Configuration] at java.security.AccessController.doPrivileged(Native Me
thod)


[Container factory] Deployed application: file:/C:/JBossTomcat/jboss/tmp/deploy/
Default/tomcat-test.ear
[J2EE Deployer Default] Unable to stop module tomcat-test.war: DefaultDomain:ser
vice=EmbeddedTomcat
[J2EE Deployer Default] Stopping module tomcat-test.ear
[Container factory] Undeploying:file:/C:/JBossTomcat/jboss/tmp/deploy/Default/to
mcat-test.ear
[ContainerManagement] Stopping
[ContainerManagement] Stopped
[ContainerManagement] Destroying
[ContainerManagement] Destroyed
[ContainerManagement] Destroying
[ContainerManagement] Destroyed
[ContainerManagement] Stopping
[ContainerManagement] Stopped
[ContainerManagement] Destroying
[ContainerManagement] Destroyed
[ContainerManagement] Destroying
[ContainerManagement] Destroyed
[Container factory] Undeployed application: file:/C:/JBossTomcat/jboss/tmp/deplo
y/Default/tomcat-test.ear
[J2EE Deployer Default] unable to stop application tomcat-test.ear: org.jboss.de
ployment.J2eeDeploymentException: Error(s) on stopping application tomcat-test.e
ar:
Unable to stop module tomcat-test.war: fatal error while calling :service=Embedd
edTomcat: DefaultDomain:service=EmbeddedTomcat/n
[J2EE Deployer Default] Destroying application tomcat-test.ear
[AutoDeployer] Deployment failed:file:/C:/JBossTomcat/jboss/deploy/tomcat-test.e
ar
[AutoDeployer] org.jboss.deployment.J2eeDeploymentException: application contain
s war files but no web container available
[AutoDeployer] at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.j
ava:493)
[AutoDeployer] at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeploy
er.java:464)
[AutoDeployer] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:20
8)
[AutoDeployer] at java.lang.reflect.Method.invoke(Native Method)
[AutoDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1628)
[AutoDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1523)
[AutoDeployer] at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:379)
[AutoDeployer] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:217)
[AutoDeployer] at org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:353
)
[AutoDeployer] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.
java:107)
[AutoDeployer] at java.lang.reflect.Method.invoke(Native Method)
[AutoDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1628)
[AutoDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1523)
[AutoDeployer] at org.jboss.configuration.ConfigurationService$ServiceProxy.inv
oke(ConfigurationService.java:836)
[AutoDeployer] at $Proxy0.start(Unknown Source)
[AutoDeployer] at org.jboss.util.ServiceControl.start(ServiceControl.java:81)
[AutoDeployer] at java.lang.reflect.Method.invoke(Native Method)
[AutoDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1628)
[AutoDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1523)
[AutoDeployer] at org.jboss.Main. (Main.java:210)
[AutoDeployer] at org.jboss.Main$1.run(Main.java:116)
[AutoDeployer] at java.security.AccessController.doPrivileged(Native Method)
[AutoDeployer] at org.jboss.Main.main(Main.java:112)


Please let me know where I could be going wrong.
Thanks in advance

   <<Less
About | Sitemap | Contact