Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[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