aspose file tools*
The moose likes BEA/Weblogic and the fly likes Possible to connect to a datasource on another WebLogic instance? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Possible to connect to a datasource on another WebLogic instance?" Watch "Possible to connect to a datasource on another WebLogic instance?" New topic
Author

Possible to connect to a datasource on another WebLogic instance?

Dave Alvarado
Ranch Hand

Joined: Jul 02, 2008
Posts: 436
Hi,

I'm using WebLogic 9.2.2. I am running a web application on machine A, and my co-worker has created a WebLogic datasource on machine B. Each machine runs its own instance of WebLogic. Is it possible to connect to the datasource from machine A? How would this be done?

Thanks, - Dave
Shikhar Madhok
Ranch Hand

Joined: Dec 18, 2006
Posts: 95
Never tried it. However I would think it would be possible. We have connected to a datasource on a weblogic server from a standalone program. I would assume the same can be used here. You need to provide the t3 url of the server having the datasource and then invoke it using the JNDI name.

HTH
Shikhar


He who asks a question is a fool for five minutes; he who does not ask a question remains a fool forever - Chinese proverb
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
You may use foreign JNDI provider.

http://edocs.bea.com/wls/docs92/jndi/jndi.html#wp477172
 
wood burning stoves
 
subject: Possible to connect to a datasource on another WebLogic instance?
 
Similar Threads
Can you help me?
Distributed Transactions
connecting to a remote PostgreSQL
HSQL DB Datasource
Weblogic Data source