If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > WebSphere Portal Server connect to DB2???

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-22-05, 03:32
hsrock hsrock is offline
Registered User
 
Join Date: Sep 2005
Posts: 6
WebSphere Portal Server connect to DB2???

Hi All,
When I connect to DB2 Server in jBoss Server, I use file db2-ds.xml like this and put it in deploy directory:

<datasources>
<local-tx-datasource>
<jndi-name>DB2_2</jndi-name>
<connection-url>jdbc:db2://ndnghiem/TEST</connection-url>
<driver-class>COM.ibm.db2.jdbc.net.DB2Driver</driver-class>
<user-name>db2admin</user-name>
<password>123456</password>
<schema>TEST</schema>
</local-tx-datasource>
</datasources>

so, how can I connect to DB2 Server in WebSphere Portal Server? Can I use that db2-ds.xml file, if can, where must I put it in?

Please help me.
Thanks alot.
Rock.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On