wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Global resource dependant of other global resource Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Global resource dependant of other global resource" Watch "Global resource dependant of other global resource" New topic
Author

Global resource dependant of other global resource

Juanjo Ica
Greenhorn

Joined: Jun 04, 2012
Posts: 1
Hi

I've configured a global datasouce resource in server.xml. I can use this datasource in web applications. But I'd like to use this datasource resource in other global resource that is declared just beneath the datasource:



How can I use the "jdbc/globalLiferayPool" inside the "my/factory" one? I've tried this:


without success.

Is it possible? maybe the first resource is not created yet...? If anyone could help with this I'd be grateful
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Global resource dependant of other global resource
 
Similar Threads
Problem setting up Oracle connection pool
Problem with @Resource annotation (without web.xml)
registering a DB2 datasource in tomcat 5.5.4
Global Resources
SQLNestedException