Thanks. I did read that Wiki page earlier. That class is in fact in the jar and 
the jar is in in my classpath, so I can't figure out why I'm getting a 
NoClassDefFoundError.

Can you elaborate on what the value of Context.SECURITY_PROTOCOL should be? The 
doc says "name of the JAAS login module". Should I put "java:/jaas/other" for 
this? Or just "other"? I tried them both, but I'm not getting past the 
NoClassDefFound problem.

Here's the rest of the stack trace:
Exception in thread "main" java.lang.NoClassDefFoundError: 
org/jboss/security/jndi/SecurityAssociationActions
        at 
org.jboss.security.jndi.JndiLoginInitialContextFactory.getInitialContext(JndiLoginInitialContextFactory.java:64)
        at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
        at 
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
        at javax.naming.InitialContext.init(InitialContext.java:223)
        at javax.naming.InitialContext.(InitialContext.java:197)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918744#3918744

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918744


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to