You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2008/05/11 15:28:02 UTC

DO NOT REPLY [Bug 44968] New: say in error message which keystore causes the problems

https://issues.apache.org/bugzilla/show_bug.cgi?id=44968

           Summary: say in error message which keystore causes the problems
           Product: Tomcat 6
           Version: 6.0.16
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connectors
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: hauser@acm.org


since a server.xml may have multiple keystores, if there are problems, say
which one is the culprit.

i.e. in org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(String type,
String path, String pass) in the catch blocks, cite at least the "type", and
"path", better even also the '<Service name' and '<Connector port'



May 10, 2008 8:03:10 AM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.io.IOException: Keystore was tampered with, or password was incorrect
        at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:768)
        at java.security.KeyStore.load(KeyStore.java:1150)
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(JSSESocketFactory.java:321)
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeystore(JSSESocketFactory.java:261)
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeyManagers(JSSESocketFactory.java:412)
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:383)
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:127)
        at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:496)
        at
org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:177)
        at
org.apache.catalina.connector.Connector.initialize(Connector.java:1059)
        at
org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
        at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:792)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:518)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:538)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 44968] say in error message which keystore causes the problems

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44968





--- Comment #1 from Mark Thomas <ma...@apache.org>  2008-05-13 15:34:16 PST ---
Service name and port are a little tricky. I have added type and path.

This has been committed to trunk and proposed for 6.0.x


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 44968] say in error message which keystore causes the problems

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44968


Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #2 from Mark Thomas <ma...@apache.org>  2008-05-16 00:29:29 PST ---
This has been applied to 6.0.x and will be in 6.0.17 onwards.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org