*
The moose likes JDBC and the fly likes Getting Remote Datasource object to client using Weblogic Context Factory from remote Machine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Getting Remote Datasource object to client using Weblogic Context Factory from remote Machine" Watch "Getting Remote Datasource object to client using Weblogic Context Factory from remote Machine" New topic
Author

Getting Remote Datasource object to client using Weblogic Context Factory from remote Machine

hemanth neelam
Greenhorn

Joined: Jul 21, 2010
Posts: 1
I've written a simple java class in my client machine to get jdbc datasource using weblogic jndi context created in weblogic server which is hosted in remote machine. I'm facing a small problem to get this datasource object. Can any one please help to sort it out?

I've included the below list of jars in my classpath. Please let me know if i have to include any other jars or to remove from the jars.

The weblogic version which i'm using is weblogic 11g. I've attached source code for your reference.

com.bea.core.transaction_2.6.0.0.jar
com.bea.core.weblogic.security.identity_1.1.2.0.jar
weblogic.jar
wlclient.jar


Please help me it's very urgent.

Below is the code for your reference.

 
 
subject: Getting Remote Datasource object to client using Weblogic Context Factory from remote Machine
 
Similar Threads
Hello world example using EJB 3
JNDI not creating for EJB Local interfaces example
Oracle10gDataStoreHelper
Access Datasouce in java main method
WAS 6.1 JDBC problem