aspose file tools
The moose likes Tomcat and the fly likes Global resource dependant of other global resource Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Global resource dependant of other global resource
 
Similar Threads
Global Resources
Problem with @Resource annotation (without web.xml)
registering a DB2 datasource in tomcat 5.5.4
SQLNestedException
Problem setting up Oracle connection pool