Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Exploded EAR and Glassfish
Exploded EAR and Glassfish [message #924379] Wed, 26 September 2012 20:00
Steve Hostettler is currently offline Steve HostettlerFriend
Messages: 1
Registered: September 2012
Junior Member
Hi all,

I have a simple ear that is composed of an EJB jar and a war file. I use maven for dependency management.
and the glassfish application server.

Every fine as long as I have the ejb project (open) in my workspace. The problems start when one of the ear dependency is pulled as a jar as for instance with the following configuration:

<?xml version="1.0" encoding="UTF-8"?>
<project-modules id="moduleCoreId" project-version="1.5.0">
    <wb-module deploy-name="MavenEnterpriseApp-ear-1.0-SNAPSHOT">
        <wb-resource deploy-path="/" source-path="/target/m2e-wtp/ear-resources"/>
        <wb-resource deploy-path="/" source-path="/src/main/application" tag="defaultRootSource"/>
        <dependent-module archiveName="MavenEnterpriseApp-web-1.0-SNAPSHOT.war" deploy-path="/" handle="module:/resource/MavenEnterpriseApp-web/MavenEnterpriseApp-web">
            <dependency-type>uses</dependency-type>
        </dependent-module>
        <dependent-module archiveName="MavenEnterpriseApp-ejb-1.0-SNAPSHOT.jar" deploy-path="/" handle="module:/classpath/var/M2_REPO/com/mycompany/MavenEnterpriseApp-ejb/1.0-SNAPSHOT/MavenEnterpriseApp-ejb-1.0-SNAPSHOT.jar">
            <dependency-type>uses</dependency-type>
        </dependent-module>
    </wb-module>
</project-modules>


then I get the following error message:

Expected to find an expanded directory for submodule MavenEnterpriseApp-ejb-1.0-SNAPSHOT.jar but found a JAR.  If this is a directory deployment be sure to expand all submodules.


this might not be the correct forum to ask my question but to be honest I struggling to find out where the problem is : wtp, m2e, m2e-wtp, glassfish connector, ...
I would like to be sure where to look at before starting to debug the plugins.

So far I was able to narrow down the problem to wtp + glassfish connector. That is no m2e and m2e-wtp,


Any idea of how to solve (or even to understand) the problem
Previous Topic:Creating a new wsdl using existing xsds
Next Topic:Zoom In / Zoom Out option for Eclipse Web page Editor
Goto Forum:
  


Current Time: Sat Apr 27 00:40:00 GMT 2024

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

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

Back to the top