Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Proposal for global JNDI support in future Virgo releases
Proposal for global JNDI support in future Virgo releases [message #1703990] Thu, 06 August 2015 12:40
GianMaria Romanato is currently offline GianMaria RomanatoFriend
Messages: 72
Registered: July 2009

when I first started using Virgo more than 2 years ago, I had trouble finding a convenient approach for establishing database connections using EclipseLink.

To cut a long story short, I eventually ended up implementing a fragment for the catalina bundle in order to register a custom InitialContextFactoryBuilder in the JNDI SPI that would be just a proxy over Tomcat JNDI support, so that I could use plain old InitialContext().lookup() in Virgo to lookup resources declared in tomcat-server.xml

I understand that this is not 100% OSGi aware, but the other two OSGi App Servers I know of, Apache Karaf and WebSphere Liberty, both provide an optional feature that enables the same behaviour, and IMHO this largely reduces the learning curve for new users.

So, I would like to ask the project team to evaluate the possibility to include a similar feature OOTB in Virgo 3.7.x.
If you are interested, I can share the code and I am also willing to help out in the implementation.


Developing for Virgo using PDE:
Global JNDI in Virgo:
Hyperic to monitor Virgo:
Profile Virgo with JProfiler
Previous Topic:Neo4j on Eclipse Virgo
Next Topic:Virgo 3.6.4 and Debian package or puppet integration
Goto Forum:

Current Time: Thu May 13 00:47:46 GMT 2021

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

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

Back to the top