Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 86173 invoked from network); 3 Jan 2003 10:58:03 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 3 Jan 2003 10:58:03 -0000 Received: (qmail 19538 invoked by uid 97); 3 Jan 2003 10:59:27 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 19521 invoked by uid 97); 3 Jan 2003 10:59:26 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 19506 invoked by uid 50); 3 Jan 2003 10:59:25 -0000 Date: 3 Jan 2003 10:59:25 -0000 Message-ID: <20030103105925.19505.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 15776] New: - cannot use non default channel port in jk2 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15776 cannot use non default channel port in jk2 Summary: cannot use non default channel port in jk2 Product: Tomcat 4 Version: 4.1.18 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: Normal Priority: Other Component: Connector:Coyote JK 2 AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: lacostej@frisurf.no I was trying to use a non-default channel port (8019) in my tomcat 4.1.18 - apache 2.0.43 with jk2 configuration, following a working worklog of someone that had been happily using tomcat 4.1.12. I couldn't manage to set it up (see errors below). Using default port works perfecly. I believe there is a problem with non default port number. I would like somebody to test using a non default port with tomcat 4.1.18 and apache 2.0.43 Problem described in my emails titled: "tomcat/apache connector startup failure: NCDFE fpr org/apache/commons/logging/LogFactory" sent both to the tomcat-user and tomcat-dev list between the 30th of December and 3rd of Januray 2003. > Tomcat fails connecting initializing with the following error: > > SEVERE: Can't create apr > java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory > > As a consequence of this problem (I think it is related), I cannot > access the dynamic pages from apache. Tomcat works great > (http://localhost:8080/examples/) while http://localhost/examples/ > returns a 500 Error (Connection refused on port 8019 - errno 111). > > (nb: I modified the default port to be 8019 instead of 8009). > > I've tried several variations of the jk2.properties and > workers2.properties without success. Spent a lot of time on the mailing > lists archives without success neither. > > I moved the commons-logging.jar from $TOMCAT/server/lib/ to > $TOMCAT/common/lib as advised in some mails. This didn't work. > Even if if had worked, it seems it would have been inapropriate: > see http://issues.apache.org/bugzilla/show_bug.cgi?id=13689 > > I also used the attached jsp deployed in $TOMCAT/webapps/ROOT to see the > CLASSPATH which is outputed as > /usr/local/java/lib/tools.jar:/opt/tomcat/bin/bootstrap.jar > which seems normal to me. > > I didn't try to modify the CLASSPATH in catalina.sh as it doesn't seem > like the correct thing to do neither. > > It seems like this is a ClassLoader problem. If there is a way to enable > debugging for the class loader, I am also interested. I found this: > http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/loader.html > But didn't find yet how to use it. > > It seems that I am not the only one to have had this problem. I spent > already too much time on it so I will accept any idea/hints on how to > make this work. > > I am using > - linux OS (Mandrake 9.0) > - JDK 1.4.1_01-b01 > - tomcat-4.1.18-LE-jdk14.jar > - jakarta-tomcat-connectors-4.1.18-src.tar.gz > - Apache 2.0.43 > > Error details: > > INFO: Starting Coyote HTTP/1.1 on port 8080 > Dec 30, 2002 8:58:03 PM org.apache.jk.server.JkMain newHandler > SEVERE: Can't create apr > java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory > at org.apache.jk.apr.AprImpl.(AprImpl.java:340) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:140) > at org.apache.jk.server.JkMain.newHandler(JkMain.java:556) > at org.apache.jk.server.JkMain.start(JkMain.java:341) > at org.apache.jk.server.JkCoyoteHandler.start(JkCoyoteHandler.java:169) > at > org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:1056) > at > org.apache.catalina.core.StandardService.start(StandardService.java:506) > at > org.apache.catalina.core.StandardServer.start(StandardServer.java:2189) > at org.apache.catalina.startup.Catalina.start(Catalina.java:512) > at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) > at org.apache.catalina.startup.Catalina.process(Catalina.java:180) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) > Dec 30, 2002 8:58:03 PM org.apache.jk.common.ChannelSocket init > INFO: JK2: ajp13 listening on /0.0.0.0:8009 > Dec 30, 2002 8:58:03 PM org.apache.jk.server.JkMain start > INFO: Jk running ID=0 time=2/239 config=/opt/tomcat/conf/jk2.properties -- To unsubscribe, e-mail: For additional commands, e-mail: