Virgo and JNDI Data Sources [message #592707] |
Fri, 23 July 2010 17:19 |
Dustin McIlvain 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?
|
|
|
Powered by
FUDForum. Page generated in 0.02838 seconds