|
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:
<mbean code="org.jboss.jdbc.JdbcProvider"
name="DefaultDomain:service=JdbcProvider">
<attribute name="Drivers">COM.ibm.db2.jdbc.app.DB2Driver</attribute> </mbean> <mbean code="org.jboss.jdbc.XADataSourceLoader" name="DefaultDomain:service=XADataSource,name=DB2DS"> <attribute name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl</attribute> <attribute name="PoolName">DB2DS</attribute> <attribute name="URL">jdbc:db2://servername:8080/demomall</attribute> <attribute name="JDBCUser">user</attribute> <attribute name="Password">pwd</attribute> </mbean> 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 |
- AW: [JBoss-user] DB2 Connecting problem remotely Krishna Prasad
- AW: [JBoss-user] DB2 Connecting problem remotely Dragos Haiduc
- Re: [JBoss-user] DB2 Connecting problem remotely John LYC
- Re: [JBoss-user] DB2 Connecting problem remotely Krishna Prasad
- Re: [JBoss-user] DB2 Connecting problem remotely John LYC
- Re: [JBoss-user] DB2 Connecting problem remotely David Jencks
- Re: [JBoss-user] DB2 Connecting problem remotely Krishna Prasad
- [JBoss-user] DB2 Connecting Problem remotely Krishna Prasad
- [JBoss-user] DB2 Connecting Problem remotely Krishna Prasad
