-
1. Re: java.lang.NoClassDefFoundError: javax/naming/InitialContext
rkite01 Oct 27, 2011 4:35 PM (in response to rkite01)The idea is to have hot deployment of modules which seems to work. The problem is jars in the top level directory do not have visibility to javax.naming.InitialContext. Not sure why this is a problem. Going to try and get it working with static modules but not a big fan since JBoss will need to be restarted on compilations.
-
2. Re: java.lang.NoClassDefFoundError: javax/naming/InitialContext
rkite01 Oct 28, 2011 5:09 PM (in response to rkite01)It appears jar files in an ear which are not in the <ear>/lib directory and are not an ejb jar file referenced from application.xml have no access to any javax.* classes. It does not matter if the jar file is referenced by a MANIFEST.MF entry from the ejb jar file or not.
Why would a jar not have access to to javax.*. This appears to be a bug. I am using JBoss 7.0.2
-
3. Re: java.lang.NoClassDefFoundError: javax/naming/InitialContext
jaikiran Oct 29, 2011 10:48 AM (in response to rkite01)Replied in your other thread http://community.jboss.org/message/634123#634123