Hi all,

Have been going through steps to upgrade a product residing on Tomcat (on
Windows Server 2003) to the newest version. Previously, our upgrade path
went to 6.0 but now we've taken it to 6.0.28 on another server and I'm
encountering errors that I can't seem to trace. I've been all over Google
and other resources for about a week now trying to figure it out, and this
is my last resort. I appreciate any help you can give!

for the record, the "keytool" app in the JDK (1.6.0_18) was used to generate
a key and CSR, which we sent to VeriSign and received the certificate back.
We then imported the intermediate CA for VeriSign and the certificate that
VeriSign sent us. All of these operations were completed according to
directions given to us by VeriSign, and all operations were noted by the
tool to have been completed successfully.

Detailed information can be found below; Please let me know if I can provide
any additional information that will help. Thank you!

--
Sean

-------------------------------------------

Our Tomcat Connector (only connector in the file):

     <Connector
        port="8443"
protocol="HTTP/1.1"
protocols="TLSv1"
SSLEnabled="true"
enableLookups="false"
acceptCount="100"
        maxThreads="200"
scheme="https"
keystoreFile="d:\keystore\.keystore"
keystorePass="[redacted]"
        secure="true"
clientAuth="false"
sslProtocol="TLSv1"
cipher="AES"
allowUnsafeLegacyRenegotiation="false"
/>

-------------------------------------------


The full startup output of Tomcat 6.0.28:

Sep 23, 2010 2:03:50 PM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
Sep 23, 2010 2:03:50 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters
[false], ra
ndom [true].
Sep 23, 2010 2:03:50 PM org.apache.catalina.startup.SetAllPropertiesRule
begin
WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property
'keys
toreFile' to 'd:\keystore\.keystore' did not find a matching property.
Sep 23, 2010 2:03:50 PM org.apache.catalina.startup.SetAllPropertiesRule
begin
WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property
'keys
torePass' to '[redacted]' did not find a matching property.
Sep 23, 2010 2:03:50 PM org.apache.catalina.startup.SetAllPropertiesRule
begin
WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property
'clie
ntAuth' to 'false' did not find a matching property.
Sep 23, 2010 2:03:50 PM org.apache.catalina.startup.SetAllPropertiesRule
begin
WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property
'ciph
er' to 'AES' did not find a matching property.
Sep 23, 2010 2:03:50 PM org.apache.catalina.startup.SetAllPropertiesRule
begin
WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property
'allo
wUnsafeLegacyRenegotiation' to 'false' did not find a matching property.
Sep 23, 2010 2:03:51 PM org.apache.coyote.http11.Http11AprProtocol init
SEVERE: Error initializing endpoint
java.lang.Exception: No Certificate file specified or invalid file format
        at org.apache.tomcat.jni.SSLContext.setCertificate(Native Method)
        at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:721)
        at
org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.jav
a:107)
        at
org.apache.catalina.connector.Connector.initialize(Connector.java:101
4)
        at
org.apache.catalina.core.StandardService.initialize(StandardService.j
ava:680)
        at
org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
a:795)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
        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:597)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Sep 23, 2010 2:03:51 PM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException:  Protocol handler initialization failed:
java.lang.Exception
: No Certificate file specified or invalid file format
        at
org.apache.catalina.connector.Connector.initialize(Connector.java:101
6)
        at
org.apache.catalina.core.StandardService.initialize(StandardService.j
ava:680)
        at
org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
a:795)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
        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:597)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Sep 23, 2010 2:03:51 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 650 ms
Sep 23, 2010 2:03:51 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 23, 2010 2:03:51 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.28
Sep 23, 2010 2:03:51 PM org.apache.catalina.startup.HostConfig
deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
Sep 23, 2010 2:03:51 PM org.apache.catalina.startup.HostConfig
deployDescriptor
INFO: Deploying configuration descriptor manager.xml
Sep 23, 2010 2:03:51 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory docs
Sep 23, 2010 2:03:51 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory examples
Sep 23, 2010 2:03:51 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory ROOT
Sep 23, 2010 2:03:51 PM org.apache.coyote.http11.Http11AprProtocol start
SEVERE: Error starting endpoint
java.lang.Exception: Socket bind failed: [730048] Only one usage of each
socket
address (protocol/network address/port) is normally permitted.
        at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:647)
        at
org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:754)
        at
org.apache.coyote.http11.Http11AprProtocol.start(Http11AprProtocol.ja
va:137)
        at
org.apache.catalina.connector.Connector.start(Connector.java:1087)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:5
34)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
        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:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Sep 23, 2010 2:03:51 PM org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start:
LifecycleException:  service.getName(): "Catalina";  Protocol handler start
fail
ed: java.lang.Exception: Socket bind failed: [730048] Only one usage of each
soc
ket address (protocol/network address/port) is normally permitted.
        at
org.apache.catalina.connector.Connector.start(Connector.java:1094)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:5
34)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
        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:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Sep 23, 2010 2:03:51 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 504 ms

--
Sean

Reply via email to