aspose 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Access Weblogic datasource using spring
 
Similar Threads
Srping+Hibernate bad configurated causing huge memory consumption
JNDI Lookup of Datasource
Spring 2.5 with Hibernate 3.0 error when creating dataSource for Hibernate SessionFactory
JDBCContext returning TransactionManager as null
Struts Validation in Spring Context