openejb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgallim...@apache.org
Subject svn commit: r1070316 - /openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/RemoteServer.java
Date Sun, 13 Feb 2011 22:30:38 GMT
Author: jgallimore
Date: Sun Feb 13 22:30:38 2011
New Revision: 1070316

URL: http://svn.apache.org/viewvc?rev=1070316&view=rev
Log:
Adding tomcat-juli.jar to classpath so RemoteServer can start Tomcat 7 correctly

Modified:
    openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/RemoteServer.java

Modified: openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/RemoteServer.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/RemoteServer.java?rev=1070316&r1=1070315&r2=1070316&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/RemoteServer.java
(original)
+++ openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/RemoteServer.java
Sun Feb 13 22:30:38 2011
@@ -136,6 +136,7 @@ public class RemoteServer {
                 } else {
                     File bin = new File(home, "bin");
                     File bootstrapJar = new File(bin, "bootstrap.jar");
+                    File juliJar = new File(bin, "tomcat-juli.jar");
                     File commonsLoggingJar = new File(bin, "commons-logging-api.jar");
 
                     File conf = new File(home, "conf");
@@ -165,7 +166,7 @@ public class RemoteServer {
                                 "-Dcatalina.home=" + home.getAbsolutePath(),
                                 "-Dopenejb.servicemanager.enabled=" + Boolean.getBoolean("openejb.servicemanager.enabled"),
 
-                                "-classpath", bootstrapJar.getAbsolutePath() + ":" + commonsLoggingJar.getAbsolutePath(),
+                                "-classpath", bootstrapJar.getAbsolutePath() + ":" + juliJar.getAbsolutePath()
+ ":"+ commonsLoggingJar.getAbsolutePath(),
 
                                 "org.apache.catalina.startup.Bootstrap", "start"
                         };
@@ -185,7 +186,7 @@ public class RemoteServer {
                                 "-Dcatalina.home=" + home.getAbsolutePath(),
                                 "-Dopenejb.servicemanager.enabled=" + Boolean.getBoolean("openejb.servicemanager.enabled"),
 
-                                "-classpath", bootstrapJar.getAbsolutePath() + ":" + commonsLoggingJar.getAbsolutePath(),
+                                "-classpath", bootstrapJar.getAbsolutePath() + ":" + juliJar.getAbsolutePath()
+ ":" + commonsLoggingJar.getAbsolutePath(),
 
                                 "org.apache.catalina.startup.Bootstrap", "start"
                         };



Mime
View raw message