JBoss Community

EAR jars dependency

created by Cleiton Bonomini in JBoss AS 7 Development - View the full discussion

Hello,

 

 

I have a huge app, many jars are inside of the EAR's folder, at the root I mean.

So, I'm getting a lot of missing dependencies errors.

The question is: How do I make those jars see each others, and how do I make WAR's jars see those on EAR root?

 

I have over 100 jars and canno't deploy my app, is there a way to turn deployment.earname a global module, that could be found by ANY WAR/JAR?

 

Here is part of the LOG:

 

service jboss.module.service."deployment.MyApp-ByYou-11.8-SNAPSHOT.ear.MyApp-framework-hub-java-11.8.0-SNAPSHOT.jar".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.MyApp-ByYou-11.8-SNAPSHOT.ear.MyApp-framework-hub-java-11.8.0-SNAPSHOT.jar".main: JBAS018759: Failed to load module: deployment.MyApp-ByYou-11.8-SNAPSHOT.ear.MyApp-framework-hub-java-11.8.0-SNAPSHOT.jar:main

service jboss.module.service."deployment.MyApp-ByYou-11.8-SNAPSHOT.ear.MyApp-framework-ecmpublisher-java-11.8.0-SNAPSHOT.jar".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.MyApp-ByYou-11.8-SNAPSHOT.ear.MyApp-framework-ecmpublisher-java-11.8.0-SNAPSHOT.jar".main: JBAS018759: Failed to load module: deployment.MyApp-ByYou-11.8-SNAPSHOT.ear.MyApp-framework-ecmpublisher-java-11.8.0-SNAPSHOT.jar:main

service jboss.module.service."deployment.MyApp-ByYou-11.8-SNAPSHOT.ear.MyApp-framework-documentscentral-ws-java-11.8.0-SNAPSHOT.jar".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.MyApp-ByYou-11.8-SNAPSHOT.ear.MyApp-framework-documentscentral-ws-java-11.8.0-SNAPSHOT.jar".main: JBAS018759: Failed to load module: deployment.MyApp-ByYou-11.8-SNAPSHOT.ear.MyApp-framework-documentscentral-ws-java-11.8.0-SNAPSHOT.jar:main

service jboss.module.service."deployment.MyApp-ByYou-11.8-SNAPSHOT.ear.MyApp-specific-war-11.8.0-SNAPSHOT.war".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.MyApp-ByYou-11.8-SNAPSHOT.ear.MyApp-specific-war-11.8.0-SNAPSHOT.war".main: JBAS018759: Failed to load module: deployment.MyApp-ByYou-11.8-SNAPSHOT.ear.MyApp-specific-war-11.8.0-SNAPSHOT.war:main

 

 

Thanks in advance.

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community