Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Jar missing from Ear
Jar missing from Ear [message #847624] Tue, 17 April 2012 13:46 Go to next message
Jasper Floor is currently offline Jasper FloorFriend
Messages: 5
Registered: July 2009
Junior Member
I have an ear project which has 3 other other projects in its deployment assembly. One is a web project, one is an ejb project and the last is a utility project which contains only interfaces. (see below for org.eclipse.wst.common.component)

I can add this to a jboss 6.x server. If you unfold the application in the server view it seems like it knows the jar is supposed to be there. It is missing however if you actually look in the deployed ear.

According to a colleague of mine (on another continent) it works for him. I can't get it to work for love or money.

Any ideas?

org.eclipse.wst.common.component :

<?xml version="1.0" encoding="UTF-8"?>
<project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="m4n_solr">
<wb-resource deploy-path="/" source-path="/EarContent"/>
<dependent-module archiveName="m4n_solr_web.war" deploy-path="/" handle="module:/resource/m4n_solr_web/m4n_solr_web">
<dependent-object/>
<dependency-type>uses</dependency-type>
</dependent-module>
<dependent-module archiveName="m4n_solr_ejb.jar" deploy-path="/" handle="module:/resource/m4n_solr_ejb/m4n_solr_ejb">
<dependent-object/>
<dependency-type>uses</dependency-type>
</dependent-module>
<dependent-module archiveName="m4n_solr_ejb_client.jar" deploy-path="/lib" handle="module:/resource/m4n_solr_ejb_client/m4n_solr_ejb_client">
<dependency-type>uses</dependency-type>
</dependent-module>
</wb-module>
</project-modules>
Re: Jar missing from Ear [message #847706 is a reply to message #847624] Tue, 17 April 2012 15:16 Go to previous messageGo to next message
Jasper Floor is currently offline Jasper FloorFriend
Messages: 5
Registered: July 2009
Junior Member
Took a fresh eclipse build 20120216-1857 (same as what I was using).
New workspace, new clone even a new jboss instance.
This solved the problem but I don't know what caused it.
Re: Jar missing from Ear [message #848778 is a reply to message #847706] Wed, 18 April 2012 15:09 Go to previous message
Jasper Floor is currently offline Jasper FloorFriend
Messages: 5
Registered: July 2009
Junior Member
And now my new workspace is doing the same thing!
Previous Topic:HTMLWYSIWYG editor
Next Topic:"WindowsIEBrowser" looks strange because it holds IE in it
Goto Forum:
  


Current Time: Fri Dec 26 08:03:20 GMT 2014

Powered by FUDForum. Page generated in 0.02090 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software