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
EAR
root folder should contain onlyEJB
andWAR
jar files and other jar files should be placed in theEAR/lib
folder.
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
EAR
root folder ? - We've experienced stranges
java.lang.LinkageError
issues in someenterprise application
appearing just after theapplication server
restart.
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.