Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [equinox-dev] App server classpath

Hey Emmanuel,

 

Great to see you using Equinox.  These kinds of questions are best asked on the Equinox newsgroup

                http://www.eclipse.org/newsportal/thread.php?group=eclipse.technology.equinox

There you will find a diverse user community who may have had the same issue and have solutions or, conversely, will benefit from your questions and their answers.

 

When your issues are resolved, please consider writing about your experiences on the newsgroup and/or wiki .

Jeff

 

From: equinox-dev-bounces@xxxxxxxxxxx [mailto:equinox-dev-bounces@xxxxxxxxxxx] On Behalf Of Emmanuel Potvin
Sent: Wednesday, April 02, 2008 3:05 PM
To: 'Equinox development mailing list'
Subject: [equinox-dev] App server classpath

 

When I execute

 

InitialContext context = new InitialContext();

 

Inside a bundle deployed in a web app in jboss, I got a :

 

javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]

 

The same line inside a servlet method works fine. How can I tell my bundle to search inside jboss libraries??

 

Emmanuel


Back to the top