I'm running into this problem intermittently. It only clears up if I shutdown JBoss
server. Here code snippet that causes it:
HashMap metadata = new HashMap();
metadata.put(Bisocket.IS_CALLBACK_SERVER, "true");
boolean serverToClient = true;
remotingClient.addListener(callbackHandler, metadata, null,
serverToClient);
Caused by: java.io.IOException: Error initializing socket factory SSL context: 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.jboss.remoting.security.SSLSocketBuilder.loadKeyStore(SSLSocketBuilder.java:1548)
at
org.jboss.remoting.security.SSLSocketBuilder.loadTrustManagers(SSLSocketBuilder.java:1395)
at
org.jboss.remoting.security.SSLSocketBuilder.initializeSocketFactorySSLContext(SSLSocketBuilder.java:1326)
at
org.jboss.remoting.security.SSLSocketBuilder.createCustomSocketFactory(SSLSocketBuilder.java:451)
at
org.jboss.remoting.security.SSLSocketBuilder.createSSLSocketFactory(SSLSocketBuilder.java:431)
at
org.jboss.remoting.security.SSLSocketBuilder.createSSLSocketFactory(SSLSocketBuilder.java:381)
at org.jboss.remoting.AbstractInvoker.createSocketFactory(AbstractInvoker.java:307)
at
org.jboss.remoting.transport.sslbisocket.SSLBisocketClientInvoker.createSocketFactory(SSLBisocketClientInvoker.java:80)
at org.jboss.remoting.RemoteClientInvoker.(RemoteClientInvoker.java:46)
at
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.(MicroSocketClientInvoker.java:218)
at org.jboss.remoting.transport.socket.SocketClientInvoker.(SocketClientInvoker.java:72)
at
org.jboss.remoting.transport.bisocket.BisocketClientInvoker.(BisocketClientInvoker.java:157)
at
org.jboss.remoting.transport.sslbisocket.SSLBisocketClientInvoker.(SSLBisocketClientInvoker.java:66)
at
org.jboss.remoting.transport.sslbisocket.TransportClientFactory.createClientInvoker(TransportClientFactory.java:39)
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.jboss.remoting.InvokerRegistry.loadClientInvoker(InvokerRegistry.java:419)
at org.jboss.remoting.InvokerRegistry.createClientInvoker(InvokerRegistry.java:320)
at org.jboss.remoting.Client.connect(Client.java:459)
at
org.jboss.remoting.callback.ServerInvokerCallbackHandler.connect(ServerInvokerCallbackHandler.java:153)
at org.jboss.remoting.ServerInvoker.getCallbackHandler(ServerInvoker.java:1707)
at org.jboss.remoting.ServerInvoker.handleInternalInvocation(ServerInvoker.java:1371)
at
org.jboss.remoting.transport.bisocket.BisocketServerInvoker.handleInternalInvocation(BisocketServerInvoker.java:641)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:756)
at
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:387)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132306#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...