File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Access Weblogic datasource using spring" Watch "Access Weblogic datasource using spring" New topic
Author

Access Weblogic datasource using spring

Sundar Pari
Greenhorn

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.
 
Don't get me started about those stupid light bulbs.
 
subject: Access Weblogic datasource using spring