DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39997>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39997 Summary: JSVC and APR do not work together for HTTPS connector Product: Tomcat 5 Version: 5.5.17 Platform: Other OS/Version: Linux Status: NEW Severity: major Priority: P1 Component: Connector:HTTP AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] I use jsvc started by root that forks to a process owned by tomcat user. The server runs on port 80 and 443. Using jsvc works fine with apr for http (port 80), but for https (port 443) it doesn't. Either it takes ages to run (as stated by more than one user on tomcat-users as we may see below) or it simply freezes: http://www.nabble.com/Http11AprProtocol-took-2-hr-to-init-on-http-443-tf1810268.html#a4950939 If we run http with apr protocol, but https as basic protocol, as suggested above, it works perfectly. When using jsvc, we have a warning for the JDK, due to some permission problem: Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed And this seems to be a jsvc bug related to the lack of permission by the non-admin user (in my case, tomcat), as we can see here: http://issues.apache.org/bugzilla/show_bug.cgi?id=38633 For jvsc without apr, everything works fine. The same for apr without jvsc (running as root user). But SSL simply does not work for me when both are used. Running "kill -3 pid" for the tomcat process returns the following stack trace: "main" prio=1 tid=0x08bc6f78 nid=0x966 runnable [0xbf8d4000..0xbf8d4e48] at org.apache.tomcat.jni.SSL.initialize(Native Method) at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:628) at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.jav a:115) at org.apache.catalina.connector.Connector.initialize(Connector.java:101 6) at org.apache.catalina.core.StandardService.initialize(StandardService.j ava:580) - locked <0x891e1ce8> (a [Lorg.apache.catalina.connector.Connector;) at org.apache.catalina.core.StandardServer.initialize(StandardServer.jav a:791) at org.apache.catalina.startup.Catalina.load(Catalina.java:503) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:266) at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:281) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java :160) Please tell me if you need further information. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]