hi,

        DB2Driver loaded, but it is giving following exception,

[DB2DS] XA Connection pool DB2DS bound to java:/DB2DS
[XADataSourceLoader] Stopped
java.lang.NullPointerException
 at
org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource.java:
178)
 at
org.jboss.jdbc.XADataSourceLoader.startService(XADataSourceLoader.java:407)
 at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:106)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
 at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
 at
org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(Configurati
onService.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:1628)
 at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
 at org.jboss.Main.<init>(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(XADataSourceLoader.java:407)
[Configuration]  at
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:106)
[Configuration]  at java.lang.reflect.Method.invoke(Native Method)
[Configuration]  at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Configuration]  at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Configuration]  at
org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(Configurati
onService.java:836)
[Configuration]  at $Proxy0.start(Unknown Source)
[Configuration]  at
org.jboss.util.ServiceControl.start(ServiceControl.java:81)
[Configuration]  at java.lang.reflect.Method.invoke(Native Method)
[Configuration]  at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Configuration]  at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Configuration]  at org.jboss.Main.<init>(Main.java:210)
[Configuration]  at org.jboss.Main$1.run(Main.java:116)
[Configuration]  at java.security.AccessController.doPrivileged(Native
Method)
[Configuration]  at org.jboss.Main.main(Main.java:112)



            Can anyone tell me the solution

--krishna



----- Original Message -----
From: David Jencks <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 18, 2001 6:15 PM
Subject: Re: [JBoss-user] DB2 Connecting problem remotely


> 2 comments
>
>
> 1. If you are running embedded tomcat version of jboss there is a
different
> configuration directory I believe with its own copy of jboss.jcml.
Perhaps
> you are modifying the wrong one.  If there is no indication of jboss
trying
> to load your XADataSourceLoader this is likely the case.
>
> 2. Instead of following the (written for 2.2) documentation, follow the
> (working) hypersonic example and use
>
>          <attribute
name="DataSourceClass">org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl</attr
ibute>
>
> not
>
>      <attribute
name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp
l</attribute>
>
>
> david jencks



*********************************************************
Disclaimer

This message (including any attachments) contains 
confidential information intended for a specific 
individual and purpose, and is protected by law. 
If you are not the intended recipient, you should 
delete this message and are hereby notified that 
any disclosure, copying, or distribution of this
message, or the taking of any action based on it, 
is strictly prohibited.

*********************************************************
Visit us at http://www.mahindrabt.com

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to