Updated to Tomcat 7.3.x and service will not start properly
JAZZ starts fine from the program files, manually, however, now when I attempt to run Apache as a Windows service, I get this in the Tomcat error log:
2013-04-08 03:32:53 Commons Daemon procrun stderr initialized
Apr 8, 2013 3:32:54 AM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version 1.4.6.
Apr 8, 2013 3:32:54 AM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Apr 8, 2013 3:32:55 AM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFO: OpenSSL successfully initialized (OpenSSL 1.0.1d 5 Feb 2013)
Apr 8, 2013 3:32:55 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-80"]
Apr 8, 2013 3:32:55 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-443"]
Apr 8, 2013 3:32:55 AM org.apache.coyote.AbstractProtocol init
SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-apr-443"]
Throwable occurred: java.lang.Exception: Connector attribute SSLCertificateFile must be defined when using SSL with APR
at org.apache.tomcat.util.net.AprEndpoint.bind(AprEndpoint.java:507)
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:610)
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:429)
at org.apache.catalina.connector.Connector.initInternal(Connector.java:981)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:814)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.startup.Catalina.load(Catalina.java:633)
at org.apache.catalina.startup.Catalina.load(Catalina.java:658)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)
Apr 8, 2013 3:32:55 AM org.apache.catalina.core.StandardService initInternal
SEVERE: Failed to initialize connector [Connector[HTTP/1.1-443]]
Throwable occurred: org.apache.catalina.LifecycleException: Failed to initialize component [Connector[HTTP/1.1-443]]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106)
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:814)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.startup.Catalina.load(Catalina.java:633)
at org.apache.catalina.startup.Catalina.load(Catalina.java:658)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)
Caused by: org.apache.catalina.LifecycleException: Protocol handler initialization failed
at org.apache.catalina.connector.Connector.initInternal(Connector.java:983)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
... 12 more
Caused by: java.lang.Exception: Connector attribute SSLCertificateFile must be defined when using SSL with APR
at org.apache.tomcat.util.net.AprEndpoint.bind(AprEndpoint.java:507)
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:610)
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:429)
at org.apache.catalina.connector.Connector.initInternal(Connector.java:981)
... 13 more
Apr 8, 2013 3:32:55 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-apr-9009"]
Apr 8, 2013 3:32:55 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1668 ms
Apr 8, 2013 3:32:55 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Apr 8, 2013 3:32:55 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.39
Apr 8, 2013 3:32:56 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive E:\IBM\JazzTeamServer402\server\tomcat\webapps\admin.war
Apr 8, 2013 3:32:58 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive E:\IBM\JazzTeamServer402\server\tomcat\webapps\ccm.war
Apr 8, 2013 3:33:06 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive E:\IBM\JazzTeamServer402\server\tomcat\webapps\clmhelp.war
Apr 8, 2013 3:33:10 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive E:\IBM\JazzTeamServer402\server\tomcat\webapps\converter.war
Apr 8, 2013 3:33:11 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive E:\IBM\JazzTeamServer402\server\tomcat\webapps\jts.war
Has anyone else seen this? I need to get this working, because the server logs me out automatically if there is no activity for an hour.
4 answers
Comments
Thanks Eric, however, I upgraded JAZZ to 4.0.2, which uses Tomcat 7.0.28 I think. I had to update Tomcat to 7.0.3x, and that seems to be causing the issue. Everything is the same, except the Tomcat version.
so this could the SSL certificate.
http://www-01.ibm.com/support/docview.wss?uid=swg21448666
What java options do you have in your new tomcat7w? There is the following link which talks about a similar issue.
http://www-01.ibm.com/support/docview.wss?uid=swg21460726