Problem deploying EAR: Module Dependencies referencing using "Add Variable"
655170Sep 2 2008 — edited Nov 3 2008Hello!
I'm using Eclipse Ganymede, BEA/Oracle Weblogic 10.0 MP1 and the Eclipse Java EE and Web Developer Tools 3.0.1.
The Weblogic server is integrated in Eclipse with the Oracle WebLogic Server Support Plugin. I also tried the new Oracle Enterprise Pack.
In both environments I have problems while deploying my EAR consisting of several EJB modules and a WAR module. The modules share several JARs, which I reference in the EAR project in the Java EE Module Dependencies Dialog. If I reference them by using "Add External JARs..." the classes of the shared JARs are found while deploying the EAR in the integrated Weblogic, however using "Add Variable..." the classses are not found.
The latter approach results in the following entry in the <em>./settings/org.eclipse.wst.common.component file</em>
<em><dependent-module deploy-path="/" handle="module:/classpath/var/WORKSPACE_LOC/ears/lib/custom/commons-logging-1.1.1.jar">
<dependency-type>uses</dependency-type>
</dependent-module></em>
If I export the EAR project with the export command in Eclipse, the generated EAR file is deployable in a standalone Weblogic instance.
Does anybody have similar problems or a solution?
Thanks in advance.