[JBoss-user] DB2 Connecting Problem remotely
hi all, DB2Driver loaded, but it is giving following exception,[DB2DS] XA Connection pool DB2DS bound to java:/DB2DS[XADataSourceLoader] Stoppedjava.lang.NullPointerException atorg.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource.java:178) atorg.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) atorg.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.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.(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] atorg.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource.java:178)[Configuration] atorg.jboss.jdbc.XADataSourceLoader.startService(XADataSourceLoader.java:407)[Configuration] atorg.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:106)[Configuration] at java.lang.reflect.Method.invoke(Native Method)[Configuration] atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)[Configuration] atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)[Configuration] atorg.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:836)[Configuration] at $Proxy0.start(Unknown Source)[Configuration] atorg.jboss.util.ServiceControl.start(ServiceControl.java:81)[Configuration] at java.lang.reflect.Method.invoke(Native Method)[Configuration] atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)[Configuration] atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.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(NativeMethod)[Configuration] at org.jboss.Main.main(Main.java:112) Can anyone tell me the solution Thanks in advance, --krishna * 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] DB2 Connecting Problem remotely
hi, DB2Driver loaded, but it is giving following exception,[DB2DS] XA Connection pool DB2DS bound to java:/DB2DS[XADataSourceLoader] Stoppedjava.lang.NullPointerException atorg.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource.java:178) atorg.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) atorg.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.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.(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] atorg.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource.java:178)[Configuration] atorg.jboss.jdbc.XADataSourceLoader.startService(XADataSourceLoader.java:407)[Configuration] atorg.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:106)[Configuration] at java.lang.reflect.Method.invoke(Native Method)[Configuration] atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)[Configuration] atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)[Configuration] atorg.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:836)[Configuration] at $Proxy0.start(Unknown Source)[Configuration] atorg.jboss.util.ServiceControl.start(ServiceControl.java:81)[Configuration] at java.lang.reflect.Method.invoke(Native Method)[Configuration] atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)[Configuration] atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.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(NativeMethod)[Configuration] at org.jboss.Main.main(Main.java:112) Can anyone tell me the solution--krishna * 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
Re: [JBoss-user] DB2 Connecting problem remotely
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.(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.(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 > > org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl > > not > > org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp l > > > 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
Re: [JBoss-user] DB2 Connecting problem remotely --- solved
David, Thanks. I modified in .jcml file which is jboss/conf/default directory. Now i modified the file jboss.jcml which is jboss/conf/tomat directory. I also changed the DataSourceClass which u mentioned. Now driver is loaded. Thanks again. --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 > > org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl > > not > > org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp l > > > david jencks > > > On 2001.09.18 07:32:27 -0400 Krishna Prasad wrote: > > John, > > I'm very happy for giving immediate reply. > > I tried the following way also. > > > > > name="DefaultDomain:service=JdbcProvider"> > > org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver,COM. ibm.db2.jdbc.app.DB2Driver > > > > > > Eventhough no DB2 driver loaded. > > Yeah, i'm sure that my DB driver name is > > "COM.ibm.db2.jdbc.app.DB2Driver". > > I attached my jboss.jcml file. Could you please suggest me what > > code i have to add. > > > > --Krishna > > > > > > > > - Original Message - > > From: John LYC > > To: [EMAIL PROTECTED] > > Sent: Tuesday, September 18, 2001 3:12 PM > > Subject: Re: [JBoss-user] DB2 Connecting problem remotely > > > > > > did you see yr DB driver being loaded > > from the code... > > i only see the default frivers being loaded > > > > also , you should have one instant of the follwoing mbean, the > > JdbcProvider mbean. > > from your code , you have this in yr jboss.jcml > > > > > >> name="DefaultDomain:service=JdbcProvider"> > >COM.ibm.db2.jdbc.app.DB2Driver > > > > > > according to the above code, the 2 default Driver should not have been > > loaded... > > please check, you might have added the above mbean and not remove the > > exsiting one. > > they are the same mbean and cannot co-exisit. > > > > if you still want the default dirver include yr driver to be loaded.. > > just add yr driver to the exisiting "jdbcProvider" mbean... remmber, > > onlye one "JdbcProvider" mbean can be there. the "drivers" attribute > > within the mbean is a comma delimited list of jdbc drivers > > check yr DB driver name too... are you shure it starts with uppercase > > "COM".. > > > > --- > > > >> name="DefaultDomain:service=JdbcProvider"> > >org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver,COM. ibm.db2.jdbc.app.DB2Driver > > > > > > -- > > > > john > > > > - Original Message - > > From: Krishna Prasad > > To: [EMAIL PROTECTED] > > Sent: Tuesday, September 18, 2001 4:42 PM > > Subject: Re: [JBoss-user] DB2 Connecting problem remotely > > > > > > Yes John, > > > > you are absolutely correct. I found the following lines, > > but not for DB2Driver, > > > > [JdbcProvider] Initializing > > [JdbcProvider] Loaded JDBC-driver:org.hsql.jdbcDriver > > [JdbcProvider] Loaded > > JDBC-driver:org.enhydra.instantdb.jdbc.idbDriver > > [JdbcProvider] Initialized > > > > > > > > [JdbcProvider] Starting > > [JdbcProvider] Started > > [HypersonicDatabase] Starting > > [HypersonicDatabase] Database started > > [HypersonicDatabase] Started > > > > > > > > [XADataSourceLoader] Starting > > [DefaultDS] XA Connec
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 org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl not org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl david jencks On 2001.09.18 07:32:27 -0400 Krishna Prasad wrote: > John, > I'm very happy for giving immediate reply. > I tried the following way also. > > name="DefaultDomain:service=JdbcProvider"> > name="Drivers">org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver,COM.ibm.db2.jdbc.app.DB2Driver > > > Eventhough no DB2 driver loaded. > Yeah, i'm sure that my DB driver name is > "COM.ibm.db2.jdbc.app.DB2Driver". > I attached my jboss.jcml file. Could you please suggest me what > code i have to add. > > --Krishna > > > > - Original Message - > From: John LYC > To: [EMAIL PROTECTED] > Sent: Tuesday, September 18, 2001 3:12 PM > Subject: Re: [JBoss-user] DB2 Connecting problem remotely > > > did you see yr DB driver being loaded > from the code... > i only see the default frivers being loaded > > also , you should have one instant of the follwoing mbean, the > JdbcProvider mbean. > from your code , you have this in yr jboss.jcml > > >name="DefaultDomain:service=JdbcProvider"> >COM.ibm.db2.jdbc.app.DB2Driver > > > according to the above code, the 2 default Driver should not have been > loaded... > please check, you might have added the above mbean and not remove the > exsiting one. > they are the same mbean and cannot co-exisit. > > if you still want the default dirver include yr driver to be loaded.. > just add yr driver to the exisiting "jdbcProvider" mbean... remmber, > onlye one "JdbcProvider" mbean can be there. the "drivers" attribute > within the mbean is a comma delimited list of jdbc drivers > check yr DB driver name too... are you shure it starts with uppercase > "COM".. > > --- > >name="DefaultDomain:service=JdbcProvider"> >name="Drivers">org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver,COM.ibm.db2.jdbc.app.DB2Driver > > > -- > > john > > - Original Message - > From: Krishna Prasad > To: [EMAIL PROTECTED] > Sent: Tuesday, September 18, 2001 4:42 PM > Subject: Re: [JBoss-user] DB2 Connecting problem remotely > > > Yes John, > > you are absolutely correct. I found the following lines, > but not for DB2Driver, > > [JdbcProvider] Initializing > [JdbcProvider] Loaded JDBC-driver:org.hsql.jdbcDriver > [JdbcProvider] Loaded > JDBC-driver:org.enhydra.instantdb.jdbc.idbDriver > [JdbcProvider] Initialized > > > > [JdbcProvider] Starting > [JdbcProvider] Started > [HypersonicDatabase] Starting > [HypersonicDatabase] Database started > [HypersonicDatabase] Started > > > > [XADataSourceLoader] Starting > [DefaultDS] XA Connection pool DefaultDS bound to > java:/DefaultDS > [Default] Server 1.4 is running > [Default] Press [Ctrl]+[C] to abort > [XADataSourceLoader] Started > . > > > Can any one tell me, What could be the reason? > The code for jdbc in jboss.jcml is, > > > > > >name="DefaultDomain:service=JdbcProvider"> > COM.ibm.db2.jdbc.app.DB2Driver > > name="DefaultDomain:service=XADataSource,name=DB2DS"> > name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl > > DB2DS > jdbc:db2://websphere:8080/demomall > wcs > wcs > > >name="DefaultDomain:service=Hypersonic">
Re: [JBoss-user] DB2 Connecting problem remotely
did you see yr DB driver being loaded from the code... i only see the default frivers being loaded also , you should have one instant of the follwoing mbean, the JdbcProvider mbean. from your code , you have this in yr jboss.jcml COM.ibm.db2.jdbc.app.DB2Driver according to the above code, the 2 default Driver should not have been loaded... please check, you might have added the above mbean and not remove the exsiting one. they are the same mbean and cannot co-exisit. if you still want the default dirver include yr driver to be loaded.. just add yr driver to the exisiting "jdbcProvider" mbean... remmber, onlye one "JdbcProvider" mbean can be there. the "drivers" attribute within the mbean is a comma delimited list of jdbc drivers check yr DB driver name too... are you shure it starts with uppercase "COM".. --- org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver,COM.ibm.db2.jdbc.app.DB2Driver -- john - Original Message - From: Krishna Prasad To: [EMAIL PROTECTED] Sent: Tuesday, September 18, 2001 4:42 PM Subject: Re: [JBoss-user] DB2 Connecting problem remotely Yes John, you are absolutely correct. I found the following lines, but not for DB2Driver, [JdbcProvider] Initializing [JdbcProvider] Loaded JDBC-driver:org.hsql.jdbcDriver [JdbcProvider] Loaded JDBC-driver:org.enhydra.instantdb.jdbc.idbDriver [JdbcProvider] Initialized [JdbcProvider] Starting [JdbcProvider] Started [HypersonicDatabase] Starting [HypersonicDatabase] Database started [HypersonicDatabase] Started [XADataSourceLoader] Starting [DefaultDS] XA Connection pool DefaultDS bound to java:/DefaultDS [Default] Server 1.4 is running [Default] Press [Ctrl]+[C] to abort [XADataSourceLoader] Started . Can any one tell me, What could be the reason? The code for jdbc in jboss.jcml is, COM.ibm.db2.jdbc.app.DB2Driver org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl DB2DS jdbc:db2://websphere:8080/demomall wcs wcs 1476 true default false InstantDB org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl jdbc:idb:../conf/default/instantdb.properties 120 10 false false false true 12 180 false false 1.0 0 DefaultDS org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl jdbc:HypersonicSQL:hsql://localhost:1476 120 sa 10 false false false true 12 180 false false 1.0 0 Help me out pls, --Krishna *DisclaimerThis 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 thismessage, or the taking of any action based on it, is strictly prohibited.*Visit us at http://www.mahindrabt.com
Re: [JBoss-user] DB2 Connecting problem remotely
Yes John, you are absolutely correct. I found the following lines, but not for DB2Driver, [JdbcProvider] Initializing [JdbcProvider] Loaded JDBC-driver:org.hsql.jdbcDriver [JdbcProvider] Loaded JDBC-driver:org.enhydra.instantdb.jdbc.idbDriver [JdbcProvider] Initialized [JdbcProvider] Starting [JdbcProvider] Started [HypersonicDatabase] Starting [HypersonicDatabase] Database started [HypersonicDatabase] Started [XADataSourceLoader] Starting [DefaultDS] XA Connection pool DefaultDS bound to java:/DefaultDS [Default] Server 1.4 is running [Default] Press [Ctrl]+[C] to abort [XADataSourceLoader] Started . Can any one tell me, What could be the reason? The code for jdbc in jboss.jcml is, COM.ibm.db2.jdbc.app.DB2Driver org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl DB2DS jdbc:db2://websphere:8080/demomall wcs wcs 1476 true default false InstantDB org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl jdbc:idb:../conf/default/instantdb.properties 120 10 false false false true 12 180 false false 1.0 0 DefaultDS org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl jdbc:HypersonicSQL:hsql://localhost:1476 120 sa 10 false false false true 12 180 false false 1.0 0 Help me out pls, --Krishna * 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
AW: [JBoss-user] DB2 Connecting problem remotely
Are you sure about the port number, anyway? jdbc:db2://servername:8080/demomall Usually embedded Tomcat listens for HTTP connections on this port. Second, the package name should be started with uppercase letters: import COM.ibm.db2.*; //maybe this is your problem -Ursprüngliche Nachricht-Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Krishna PrasadGesendet: Dienstag, 18. September 2001 08:56An: [EMAIL PROTECTED]Betreff: [JBoss-user] DB2 Connecting problem remotely Hi all, I'm trying to get connection DB2 7.1 which is in remote system. I copied db2java.zip lib/ext directory under JBoss directory. I followed the document http://www.jboss.org/documentation/HTML/ch04s11.html In jboss.jcml, added code is: COM.ibm.db2.jdbc.app.DB2Driver org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl DB2DS jdbc:db2://servername:8080/demomall user pwd After I started run_with_tomcat, i'm not able to find out whether the connection established or not. I tried to run my client program, then i got errors like: package import com.ibm.db2.* ; does not exist So, can anyone help me out from this problem. Thanx in advance, Krishna *DisclaimerThis 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 thismessage, or the taking of any action based on it, is strictly prohibited.*Visit us at http://www.mahindrabt.com
Re: [JBoss-user] DB2 Connecting problem remotely
check yr jboss after it has startup... it should tell you something abt whether the XADatasource is started or not.. or whether yr jdbc driver is loaded... look for the following.. -- [JdbcProvider] Initializing[JdbcProvider] Loaded JDBC-driver:com.sybase.jdbc2.jdbc.SybDriver[JdbcProvider] Initialized ... ... ... [JdbcProvider] Starting[JdbcProvider] Started[XADataSourceLoader] Starting[DefaultDS] XA Connection pool DefaultDS bound to java:/DefaultDS[XADataSourceLoader] Started ... -- if you dont see the above lines.. you most likey get some error msg from jboss paste it here... for everyone to have a better idea... John - Original Message - From: Krishna Prasad To: [EMAIL PROTECTED] Sent: Tuesday, September 18, 2001 2:55 PM Subject: [JBoss-user] DB2 Connecting problem remotely Hi all, I'm trying to get connection DB2 7.1 which is in remote system. I copied db2java.zip lib/ext directory under JBoss directory. I followed the document http://www.jboss.org/documentation/HTML/ch04s11.html In jboss.jcml, added code is: COM.ibm.db2.jdbc.app.DB2Driver org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl DB2DS jdbc:db2://servername:8080/demomall user pwd After I started run_with_tomcat, i'm not able to find out whether the connection established or not. I tried to run my client program, then i got errors like: package import com.ibm.db2.* ; does not exist So, can anyone help me out from this problem. Thanx in advance, Krishna *DisclaimerThis 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 thismessage, or the taking of any action based on it, is strictly prohibited.*Visit us at http://www.mahindrabt.com
[JBoss-user] DB2 Connecting problem remotely
Hi all, I'm trying to get connection DB2 7.1 which is in remote system. I copied db2java.zip lib/ext directory under JBoss directory. I followed the document http://www.jboss.org/documentation/HTML/ch04s11.html In jboss.jcml, added code is: COM.ibm.db2.jdbc.app.DB2Driver org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl DB2DS jdbc:db2://servername:8080/demomall user pwd After I started run_with_tomcat, i'm not able to find out whether the connection established or not. I tried to run my client program, then i got errors like: package import com.ibm.db2.* ; does not exist So, can anyone help me out from this problem. Thanx in advance, Krishna * 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