[jboss-user] [JBoss Microcontainer] - WEB/INF/lib not scanned for jars

Alan Nisbet do-not-reply at jboss.com
Tue Aug 16 12:04:52 EDT 2011


Alan Nisbet [http://community.jboss.org/people/nizzy] created the discussion

"WEB/INF/lib not scanned for jars"

To view the discussion, visit: http://community.jboss.org/message/621297#621297

--------------------------------------------------------------
Hi All,

Bear with me here, I'm not sure how best to even describe my problem as I suspect its to do with our setup rather than a JBoss problem, just hoping someone can point me in the right direction or suggest how best to debug the issue.

Deployed a WAR file to JBoss 5.1.0
Using JAAS for loging/logout

During log-in we use a custom logging system to record the log-in from our LogingModule (extends org.jboss.security.auth.spi.AbstractServerLoginModule). These logging jars are present in the WEB-INF/lib directory of our WAR file. This works fine.

I updated our logout procedure to call session.invalidate() to clear the Authentication Cache. However when the logout method is executed, called from the same LogingModule class, I get a ClassNotFoundException, when I examine the stacktrace the WEB-INF/lib directory is not being scanned for the relevant jars. 

Only  server/node/lib, common/lib are scanned.

See attached file for stacktrace.

Regards Alan.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/621297#621297]

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110816/cc825b04/attachment.html 


More information about the jboss-user mailing list