[jboss-user] [Snowdrop] - Re: Class loader issues

antonio gonzalez do-not-reply at jboss.com
Thu Oct 20 15:14:12 EDT 2011


antonio gonzalez [http://community.jboss.org/people/bluesockets] created the discussion

"Re: Class loader issues"

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

--------------------------------------------------------------
This particular deployment looks like its missing net.sf.ehcache.CacheManager, possibly ehcache-1.2.jar from the snowdrop install. Are you familiar with the jboss as 7 module stucture to handle classpaths? In a nutshell the modules folder works like a maven repository, you can stick jars in there for jboss to pick them up and load them on the fly. The exception at the bottom seems to complain that its trying to load that jar and it expects it in the modules hierarchy but it doesnt seem to find it. If you're sure its there, then the modules.xml file might either be referencing the package location incorrectly or it might have a different labelled name or something might not be jiving with expected mappings. If the jar is missing from the modules, then you'll definitely want to add it and try again.


Also, one quick thing you might wanna change (won't solve your dependency problem) - you're deploying into /C:/development/jboss-as-7.0.2/jboss-as-7.0.2.Final/bin/content/ when you probably want to be deploying into /C:/development/jboss-as-7.0.2/jboss-as-7.0.2.Final/standalone/deployments/ since the latter is the more standard location.
--------------------------------------------------------------

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

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

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


More information about the jboss-user mailing list