The workaround I found for the jndi problem:
I explicitly created an instance of NamingContextFactory. To my
recollection, I got a ClassNotFoundException on NamingContextFactory when it
was called implicitly. I originally had:
Context c = new InitialContext(jndiProps);
I changed my code to:
NamingContextFactory f = new NamingContextFactory();
Context ctx = f.getInitialContext(jndiProps);
This seems to be working.
No, I have not found out the root causes yet, except through my debugging as
I mentioned before. This link:
http://eclipsewiki.swiki.net/114#eclipseClassloading does not seem to be
sufficient. I emphasize again that I have included the required jar files in
my plugin folder at runtime, and referenced it in my plugin.xml file...
Any other suggestions?
thanks,
Carmen
Carmen,
I have a similar problem trying to create an InitialContext to
communicate with JBoss. First, you mention you found a work around for
Example 1, could you please share it. Second, have you had any luck it
finding out what the root causes are?
Thanks,
Joel