[jboss-user] [JBoss Tools] - JBoss Dev Studio: jars from dependant projects disappearing from deployed wars

Mark Taylor do-not-reply at jboss.com
Thu Jul 19 16:40:31 EDT 2012

Mark Taylor [https://community.jboss.org/people/mtt_] created the discussion

"JBoss Dev Studio: jars from dependant projects disappearing from deployed wars"

To view the discussion, visit: https://community.jboss.org/message/749144#749144

We are evaluating JBoss Dev Studio for use in our projects.  We are running into the problem below.

For our applications we deploy and EJB 3.0 jar and several wars.  In Eclipse we have separate projects for the EJB and wars, as well as 2 utility projects.  Each war project has the two utility projects as dependancies.  We add the utility projects to the Deployment Assemblies for each web project.  When we publish the first project to JBoss, the utility jars go to WEB-INF/lib as they are supposed to.

The problem is that when we publish the next war it deploys with the jars in WEB-INF/lib, BUT the utility jars disappear from the first wars WEB-INF/lib.  Then start up fails because the first web app doesn't see the jars in the second web apps WEB-INF/lib folder.  Order is completely arbitrary.

The Deployment Assembly seems to be working correctly, it appears to be a problem with the JBoss management plugin removing what it believes to be extra jars.  Has anyone seen this before?

Reply to this message by going to Community

Start a new discussion in JBoss Tools at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120719/4c35eef0/attachment-0001.html 

More information about the jboss-user mailing list