geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r578965 - /geronimo/server/branches/2.0/modules/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java
Date Mon, 24 Sep 2007 21:01:58 GMT
Author: dblevins
Date: Mon Sep 24 14:01:57 2007
New Revision: 578965

URL: http://svn.apache.org/viewvc?rev=578965&view=rev
Log:
Blank out the EjbJar before configuration to ensure alt DDs can be supported

Modified:
    geronimo/server/branches/2.0/modules/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java

Modified: geronimo/server/branches/2.0/modules/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.0/modules/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java?rev=578965&r1=578964&r2=578965&view=diff
==============================================================================
--- geronimo/server/branches/2.0/modules/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java
(original)
+++ geronimo/server/branches/2.0/modules/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java
Mon Sep 24 14:01:57 2007
@@ -200,6 +200,7 @@
 
         // add the ejb-jar.xml altDD plan
         if (specDDUrl != null) {
+            ejbModule.setEjbJar(null);
             ejbModule.getAltDDs().put("ejb-jar.xml", specDDUrl);
         }
 
@@ -501,7 +502,7 @@
             TemporaryClassLoader temporaryClassLoader = new TemporaryClassLoader(new URL[0],
classLoader);
 
             // create an openejb app module for the ear containing all ejb modules
-            AppModule appModule = new AppModule(classLoader, ejbModule.getEjbModule().getModuleId());
+            AppModule appModule = new AppModule(classLoader, earContext.getConfigID().toString());
             for (EjbModule module : earData.getEjbModuels()) {
                 module.setClassLoader(temporaryClassLoader);
                 appModule.getEjbModules().add(module.getEjbModule());



Mime
View raw message