Results 1 to 3 of 3

Thread: Specific ssl error during tomcat startup

  1. #1
    owcjimbo is offline Starter Member
    Join Date
    Apr 2007
    Posts
    2
    Rep Power
    8

    Default Specific ssl error during tomcat startup

    I've been fighting this for days and just cant get it to work.. All ssl importing goes as expected, no errors "ignored" due to no errors received. Does anyone have any idea what is causing this?
    Thanks
    Jim

    This is what i get in the logs:

    Apr 25, 2007 4:15:17 PM org.apache.coyote.http11.Http11BaseProtocol init
    SEVERE: Error initializing endpoint
    java.io.IOException: Keystore was tampered with, or password was incorrect
    at sun.security.provider.JavaKeyStore.engineLoad(Java KeyStore.java:768)
    at java.security.KeyStore.load(KeyStore.java:1150)
    at org.apache.tomcat.util.net.jsse.JSSESocketFactory. getStore(JSSESocketFactory.java:282)
    at org.apache.tomcat.util.net.jsse.JSSESocketFactory. getKeystore(JSSESocketFactory.java:222)
    at org.apache.tomcat.util.net.jsse.JSSE14SocketFactor y.getKeyManagers(JSSE14SocketFactory.java:141)
    at org.apache.tomcat.util.net.jsse.JSSE14SocketFactor y.init(JSSE14SocketFactory.java:109)
    at org.apache.tomcat.util.net.jsse.JSSESocketFactory. createSocket(JSSESocketFactory.java:88)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.initEnd point(PoolTcpEndpoint.java:292)
    at org.apache.coyote.http11.Http11BaseProtocol.init(H ttp11BaseProtocol.java:141)
    at org.apache.catalina.connector.Connector.initialize (Connector.java:1016)
    at org.apache.catalina.core.StandardService.initializ e(StandardService.java:580)
    at org.apache.catalina.core.StandardServer.initialize (StandardServer.java:782)
    at org.apache.catalina.startup.Catalina.load(Catalina .java:503)
    at org.apache.catalina.startup.Catalina.load(Catalina .java:523)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.catalina.startup.Bootstrap.load(Bootstr ap.java:247)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:405)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.zimbra.cs.launcher.TomcatLauncher.start(Tomcat Launcher.java:52)
    at com.zimbra.cs.launcher.TomcatLauncher.main(TomcatL auncher.java:74)
    Apr 25, 2007 4:15:17 PM org.apache.catalina.startup.Catalina load
    SEVERE: Catalina.start
    LifecycleException: Protocol handler initialization failed: java.io.IOException: Keystore was tampered with, or password was incorrect
    at org.apache.catalina.connector.Connector.initialize (Connector.java:1018)
    at org.apache.catalina.core.StandardService.initializ e(StandardService.java:580)
    at org.apache.catalina.core.StandardServer.initialize (StandardServer.java:782)
    at org.apache.catalina.startup.Catalina.load(Catalina .java:503)
    at org.apache.catalina.startup.Catalina.load(Catalina .java:523)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.catalina.startup.Bootstrap.load(Bootstr ap.java:247)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:405)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.zimbra.cs.launcher.TomcatLauncher.start(Tomcat Launcher.java:52)
    at com.zimbra.cs.launcher.TomcatLauncher.main(TomcatL auncher.java:74)
    Apr 25, 2007 4:15:17 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 559 ms
    Apr 25, 2007 4:15:17 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Apr 25, 2007 4:15:17 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.15
    Apr 25, 2007 4:15:17 PM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    log4j:WARN No appenders could be found for logger (org.apache.catalina.startup.TldConfig).
    log4j:WARN Please initialize the log4j system properly.
    Apr 25, 2007 4:15:18 PM org.apache.catalina.startup.HostConfig deployDescriptor
    WARNING: A docBase /opt/zimbra/apache-tomcat-5.5.15/webapps/zimbra inside the host appBase has been specified, and will be ignored
    log4j:WARN No appenders could be found for logger (org.apache.catalina.session.ManagerBase).
    log4j:WARN Please initialize the log4j system properly.
    log4j:WARN No appenders could be found for logger (org.apache.catalina.session.ManagerBase).
    log4j:WARN Please initialize the log4j system properly.
    Zimbra server reserving server socket port=110 bindaddr=null ssl=false
    Zimbra server reserving server socket port=995 bindaddr=null ssl=true
    Fatal error: terminating: PrivilegedServlet init failed
    java.net.SocketException: Unbound server sockets not implemented
    at javax.net.ServerSocketFactory.createServerSocket(S erverSocketFactory.java:80)
    at com.zimbra.cs.util.NetUtil.newBoundServerSocket(Ne tUtil.java:107)
    at com.zimbra.cs.util.NetUtil.bindServerSocket(NetUti l.java:134)
    at com.zimbra.cs.util.NetUtil.bindSslTcpServerSocket( NetUtil.java:67)
    at com.zimbra.cs.servlet.PrivilegedServlet.init(Privi legedServlet.java:102)
    at javax.servlet.GenericServlet.init(GenericServlet.j ava:211)
    at org.apache.catalina.core.StandardWrapper.loadServl et(StandardWrapper.java:1105)
    at org.apache.catalina.core.StandardWrapper.load(Stan dardWrapper.java:932)
    at org.apache.catalina.core.StandardContext.loadOnSta rtup(StandardContext.java:3915)
    at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4176)
    at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:759)
    at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:739)
    at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:524)
    at org.apache.catalina.startup.HostConfig.deployDirec tory(HostConfig.java:910)
    at org.apache.catalina.startup.HostConfig.deployDirec tories(HostConfig.java:873)
    at org.apache.catalina.startup.HostConfig.deployApps( HostConfig.java:474)
    at org.apache.catalina.startup.HostConfig.start(HostC onfig.java:1118)
    at org.apache.catalina.startup.HostConfig.lifecycleEv ent(HostConfig.java:310)
    at org.apache.catalina.util.LifecycleSupport.fireLife cycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1020)
    at org.apache.catalina.core.StandardHost.start(Standa rdHost.java:718)
    at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1012)
    at org.apache.catalina.core.StandardEngine.start(Stan dardEngine.java:442)
    at org.apache.catalina.core.StandardService.start(Sta ndardService.java:450)
    at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:700)
    at org.apache.catalina.startup.Catalina.start(Catalin a.java:551)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:275)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:406)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.zimbra.cs.launcher.TomcatLauncher.start(Tomcat Launcher.java:52)
    at com.zimbra.cs.launcher.TomcatLauncher.main(TomcatL auncher.java:74)

  2. #2
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Hi Jim-
    I think there can be a couple of things at work here.
    1) There could be a perms issue. If this is the case, running zmfixperms located in the libexec dir should fix it
    2) Something happened to the keystore. Hopefully, you can regen cert with a csr because my advice would be to remove the keystore, and run the install script again.

  3. #3
    owcjimbo is offline Starter Member
    Join Date
    Apr 2007
    Posts
    2
    Rep Power
    8

    Default

    Thanks for the reply.
    I'll try that and get back to you.
    Jim

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Tomcat listen specific IP address
    By bibo in forum Administrators
    Replies: 2
    Last Post: 07-09-2007, 01:13 PM
  2. SSL certificate problem(?) Tomcat not working
    By akai in forum Installation
    Replies: 1
    Last Post: 07-02-2007, 02:43 PM
  3. IMAP Enable - Now Tomcat won't startup
    By Oman in forum Installation
    Replies: 4
    Last Post: 05-23-2007, 11:59 AM
  4. Replies: 2
    Last Post: 03-25-2007, 09:40 PM
  5. Help with tomcat ssl errors...
    By sgtstadanko in forum Administrators
    Replies: 4
    Last Post: 03-19-2007, 09:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •