2 Replies Latest reply on Nov 10, 2005 9:52 PM by cg24

    Can not shutdown server on AIX

    cg24

      Hi all,

      I have set Jboss up to work over SSL. Everything works perfectly and I can start and shut down my JBoss servers via command line in a windows environment. However, in our AIX environment I'm always issued with the following error when attempting shutdown:

      Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
      at $Proxy1.shutdown(Unknown Source)
      at org.jboss.Shutdown.main(Shutdown.java:225)
      Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
      javax.net.ssl.SSLHandshakeException: protocol version
      at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:292)
      at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:189)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:117)
      at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
      at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:118)
      at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:227)
      at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:167)
      at org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor.invoke(InvokerAdaptorClientInterceptor.java:51)
      at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
      at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:59)
      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
      at $Proxy0.invoke(Unknown Source)
      at org.jboss.Shutdown$ServerProxyHandler.invoke(Shutdown.java:254)
      ... 2 more
      Caused by: javax.net.ssl.SSLHandshakeException: protocol version
      at com.ibm.jsse.bs.a(Unknown Source)
      at com.ibm.jsse.b.a(Unknown Source)
      at com.ibm.jsse.b.write(Unknown Source)
      at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:86)
      at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:144)
      at java.io.DataOutputStream.flush(DataOutputStream.java:126)
      at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
      ... 14 more


      The command I use is shutdown.sh -s myhost:myport#

      Any ideas?

        • 1. Re: Can not shutdown server on AIX
          cg24

          I can also shut down remotely, the instance running on AIX from a windows machine.

          • 2. Re: Can not shutdown server on AIX
            cg24

            I figured this out. The issue was that I was using SSL and the JRE from which I was attempting to use the shutdown.sh from on AIX did not have the required certificate trusted. However, I did have it trusted in my windows machine and hence why I can shut it down.