jboynes 2003/09/22 14:09:35
Modified: modules/core/src/java/org/apache/geronimo/client
Launcher.java
Log:
Applied Geronimo-91 from Jacek Laskowski
Patch to change the message in DeploymentException and expand the initial
storage size of AttributeList
Revision Changes Path
1.6 +3 -3
incubator-geronimo/modules/core/src/java/org/apache/geronimo/client/Launcher.java
Index: Launcher.java
===================================================================
RCS file:
/home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/client/Launcher.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- Launcher.java 8 Sep 2003 04:22:00 -0000 1.5
+++ Launcher.java 22 Sep 2003 21:09:35 -0000 1.6
@@ -220,7 +220,7 @@
Context compContext =
ComponentContextBuilder.buildContext(appClient);
try {
- AttributeList attrs = new AttributeList(2);
+ AttributeList attrs = new AttributeList(3);
attrs.add(new Attribute("MainClassName", mainClassName));
attrs.add(new Attribute("ClientURL", clientURL));
attrs.add(new Attribute("ComponentContext", compContext));
@@ -269,7 +269,7 @@
GeronimoAppClientLoader loader = new GeronimoAppClientLoader();
return loader.load(LoaderUtil.parseXML(reader));
} catch (Exception e) {
- throw new DeploymentException("Unable to load
application-client.xml", e);
+ throw new DeploymentException("Unable to load
geronimo-application-client.xml", e);
}
}