Can jar files be added to the root of an EAR file?
Issue
- From the document at https://docs.jboss.org/author/display/AS71/Class+Loading+in+AS7 it appears the
EARroot folder should contain onlyEJBandWARjar files and other jar files should be placed in theEAR/libfolder.
Could you clarify whether or not this is a mandatory packaging policy ? - Is it OK to package regular (non-ejb, non-war) jar files in the
EARroot folder ? - We've experienced stranges
java.lang.LinkageErrorissues in someenterprise applicationappearing just after theapplication serverrestart.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 5.x
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.