Categories
EDIINT AS2 Java Mendelson AS2 solution Microsoft Windows 7 Windows Server 2008 Windows Vista Windows XP

mendelson AS2 solution – “…Caused by: java.security.UnrecoverableKeyException: Password verification failed”

After mendelson AS2 solution upgrade when you lauch

java -jar start.jar etc/jetty.xml etc/jetty-ssl.xml

from Command Prompt Window (Start -> Run -> cmd) to unable SSL configuration for the Jetty Server show the following lines:


1906 [main] INFO org.mortbay.log – Started SelectChannelConnector@0.0.0.0:8080
1922 [main] WARN org.mortbay.log – failed SslSocketConnector@0.0.0.0:8443: java.
io.IOException: Keystore was tampered with, or password was incorrect
1922 [main] WARN org.mortbay.log – failed Server@16ef71: java.io.IOException: Ke
ystore was tampered with, or password was incorrect
1922 [main] WARN org.mortbay.log – EXCEPTION
java.io.IOException: Keystore was tampered with, or password was incorrect
at sun.security.provider.JavaKeyStore.engineLoad(Unknown Source)
at sun.security.provider.JavaKeyStore$JKS.engineLoad(Unknown Source)
at java.security.KeyStore.load(Unknown Source)
at org.mortbay.jetty.security.SslSocketConnector.createFactory(SslSocket
Connector.java:240)
at org.mortbay.jetty.security.SslSocketConnector.newServerSocket(SslSock
etConnector.java:448)
at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
at org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:28
3)
at org.mortbay.jetty.bio.SocketConnector.doStart(SocketConnector.java:14
7)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
at org.mortbay.jetty.Server.doStart(Server.java:235)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mortbay.start.Main.invokeMain(Main.java:194)
at org.mortbay.start.Main.start(Main.java:534)
at org.mortbay.start.Main.start(Main.java:441)
at org.mortbay.start.Main.main(Main.java:119)
Caused by: java.security.UnrecoverableKeyException: Password verification failed

… 20 more

Cause:

The passwords stored in
..\mendelson\opensource\as2\jetty\etc\jetty-ssl.xml
are incorrect.

Solution:

Insert the correct passwords or replace the file jetty-ssl.xml from a backup.

Did my solution solve your problem?

Categories
HOW TO Microsoft Windows 7 Windows Vista Windows XP

HOW TO get the Process ID (PID) of a Service

Start Command Prompt Window (Start -> Run -> cmd) and execute the following command:

tasklist /svc

Otherwise, if you know the Service Name you can use

sc queryex {Service Name}

Did my HOW TO help you? Leave a reply.