File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes Access Weblogic datasource using spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Access Weblogic datasource using spring" Watch "Access Weblogic datasource using spring" New topic

Access Weblogic datasource using spring

Sundar Pari

Joined: May 04, 2011
Posts: 11
Hello Ranchers,

First of all: Is it possible to access the datasource without weblogic password? Application resides in the same box where the datasource is created..

I have searched enough to get a way to access a datasource which is configured using Weblogic 10.3 using spring.

I have created a datasource using admin console and it is working fine..

I have to connect to that datasource from my web application .. I am not getting any errors or I don't know where to see those errors in weblogic server.. It is not printing in the application and I couldn't see anything on cmd prompt window which is used to start the weblogic server.. I am trying to get the datsource using the following code.

Please let me know how to proceed further . And also I don't know what is the difference in access using a JNDI lookup in spring using <jee:jndi-lookup/>
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

There is no urgent.

"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
I agree. Here's the link:
subject: Access Weblogic datasource using spring
It's not a secret anymore!