Win a copy of Terraform in Action this week in the Cloud forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

 
reply
    Bookmark Topic Watch Topic
  • New Topic