4 Replies Latest reply on Oct 13, 2005 7:31 AM by 807581

    Trouble restarting 8.1 enterprise edition

    807581
      We have stopped the DAS domain in a machine with 4 cluster with a single instance in every cluster , after the restart we received this error .
      The instance are deployed in the same machine that contain the DAS.
      We didn't any file system change or any other thing.. we only executed

      asadmin stop-domain [domain name]
      asadmin start-domain --user [ouruser] [domain name]

      If we try to start instances from admin web-app we get this exception
      Operation 'start' failed in 'server' Config Mbean. Target exception
      
      message: error during JRMP connection establishment; nested exception
      is: javax.net.ssl.SSLHandshakeException:
      java.security.cert.CertificateException: The certificate chain from
      the server is not trusted
      Seems that the DAS could not comunicate with the agent due to a fail in the certificate
      Here is an extract of the DAS log:
      > > JRMP connection establishment; nested exception is:
      
      javax.net.ssl.SSLHandshakeException:
      java.security.cert.CertificateException: The certificate chain from
      the server is not trusted
      (In the last part of this post there is the partial log of the DAS.)

      We have tried to look to the certddb to list the certificate with
      ./certutil -L -d  [path to cert dir]-n s1as
      and the list seems to work fine (so we think the cert dbs are fine and we check all cert dbs of the instances).


      Any hint or suggestion before reinstalling the app server?

      Thanks in advance

      Stefano


      On the domain the content of log is:
       >[#|2005-07-21T17:58:59.627+0200|WARNING|sun-appserver-ee8.1|javax.ee.enterprise.system.tools.admin|_ThreadID=15;|EEADM0002:An
      
      exception occurred starting the server instance serverFOO.
      com.sun.enterprise.ee.admin.servermgmt.AgentException: error during
      JRMP connection establishment; nested exception is:
      javax.net.ssl.SSLHandshakeException:
      java.security.cert.CertificateException: The certificate chain from
      the server is not trusted
      at com.sun.enterprise.ee.admin.configbeans.NodeAgentsConfigBean.getRuntimeStatus(NodeAgentsConfigBean.java:166)
      at com.sun.enterprise.ee.admin.configbeans.NodeAgentsConfigBean.isRunning(NodeAgentsConfigBean.java:173)
      at com.sun.enterprise.ee.admin.configbeans.ServersConfigBean.startServerInstance(ServersConfigBean.java:317)
      at com.sun.enterprise.ee.admin.mbeans.ServerConfigMBean.start(ServerConfigMBean.java:76)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      .... and bla bla bla bla
       :|
        • 1. Re: Trouble restarting 8.1 enterprise edition
          807581
          Problem solved!
          System administrator changed the home and shell of user who launch the appserver.
          The user who launch the server need to do source of a file (we are on sparc solaris 9) and the file was not copied in the new user home.
          • 2. Re: Trouble restarting 8.1 enterprise edition
            807581
            Can you please tell me what file you have sourced? if possible can you copy the file. I am getting the same error starting the clustering server

            thanks in advance
            • 3. Re: Trouble restarting 8.1 enterprise edition
              807581
              The file was made by customer system administrator. :|

              The machine was a "test" machine given to us by our customer, now we had reinstalled (we formatted the HardDisk also) to set up the machine for production mode.

              The machine now is installed fresh Mint by our sytem admin (of our developing team) and he delete the mechanism of the file sourced files for a bettere machine maintenance.

              anyway check this:
              the user who launches the appserv.
              cat the file in the direcotory
              [appserv-installdir]/bin/asadmin
              and from this file check the location of file asenv.conf and the content of this file.
              check if all files are readable by launching user of appserv.

              ask your system admin to check if services ports patch level etc. etc. are configured and working on your machine.

              PS: i supposed in this post you are on solaris

              Hope it helps

              bye.
              Stefano.
              • 4. Re: Trouble restarting 8.1 enterprise edition
                807581
                update:
                Check also if the db cert of your appserv is not corrupted...

                bye.
                Stefano