Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Virgo and JNDI Data Sources
Virgo and JNDI Data Sources [message #592707] Fri, 23 July 2010 17:19
Dustin McIlvain is currently offline Dustin McIlvainFriend
Messages: 2
Registered: July 2010
Junior Member
I am working on migrating from Tomcat 5.5 to Virgo and I am having problems getting JNDI Data Sources to work. The documentation seems to imply that JNDI should work but as of yet I have been unsuccessful. I have added the necessary configuration to the tomcat-server.xml and added a context.xml to the configuration directory but I continue to get the "Name jdbc not bound in this context" exception.

I have added the following to the tomcat-server.xml and context.xml files.


server.xml
<GlobalNamingResources>
<Resource auth="Container" driverClassName="..." scope="Shareable" ... />
<ResourceLink global="..." name="..." type="javax.sql.datasource" />
</GlobalNamingResources>

context.xml
<ResourceLink global="..." name="..." type="javax.sql.datasource" />


I guess the main question here is does Virgo even support this or do I need to roll my own way to access a set of global connection pools?
Previous Topic:bundle.getResources("") throw NPE
Next Topic:Problem Running HazelCast
Goto Forum:
  


Current Time: Wed Nov 26 00:48:00 GMT 2014

Powered by FUDForum. Page generated in 0.02323 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software