5 Replies Latest reply on Jun 3, 2005 1:46 PM by 807581

    Starting Sun one application server C4003

    807581
      Hello,

      I have trouble in trying to start server2 instance. I use Sun One Application server 7 in the Solaris 9 platform. When I start srever2 via administration console 'localhost:4848', I get the following error mesage:

      [16/May/2005:11:40:24] INFO ( 680): CORE1116: Sun ONE Application Server 7.0
      [16/May/2005:11:40:26] INFO ( 681): CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.4.2_05] from [Sun Microsystems Inc.]
      [16/May/2005:11:41:02] INFO ( 681): JMS5035: Timed out after 30000 milliseconds while trying to verify if the JMS service startup succeeded.
      [16/May/2005:11:41:02] INFO ( 681): JMS5036: More details may be available in the log file for the JMS service broker instance domain1_server2. Please refer to the JMS provider documentation for the exact location of this log file.
      [16/May/2005:11:41:02] SEVERE ( 681): JMS5024: JMS service startup failed.
      [16/May/2005:11:41:02] SEVERE ( 681): CORE5071: An error occured during initialization
      com.sun.appserv.server.ServerLifecycleException: [C4003]: Error occurred on connection creation. - caught java.net.ConnectException
           at com.iplanet.ias.jms.JmsProviderLifecycle.onInitialization(JmsProviderLifecycle.java:247)
           at com.iplanet.ias.server.ApplicationServer.onInitialization(ApplicationServer.java:206)
           at com.iplanet.ias.server.J2EERunner.confPreInit(J2EERunner.java:114)
      Caused by: com.sun.appserv.server.ServerLifecycleException: [C4003]: Error occurred on connection creation. - caught java.net.ConnectException
           at com.iplanet.ias.jms.JmsProviderLifecycle.onInitialization(JmsProviderLifecycle.java:231)
           ... 2 more
      Caused by: javax.jms.JMSException: [C4003]: Error occurred on connection creation. - caught java.net.ConnectException
           at com.sun.messaging.jmq.jmsclient.ExceptionHandler.getJMSException(ExceptionHandler.java:183)
           at com.sun.messaging.jmq.jmsclient.ExceptionHandler.handleException(ExceptionHandler.java:136)
           at com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(PortMapperClient.java:145)
           at com.sun.messaging.jmq.jmsclient.PortMapperClient.init(PortMapperClient.java:86)
           at com.sun.messaging.jmq.jmsclient.PortMapperClient.<init>(PortMapperClient.java:47)
           at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPConnectionHandler.<init>(TCPConnectionHandler.java:46)
           at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler.openConnection(TCPStreamHandler.java:101)
           at com.sun.messaging.jmq.jmsclient.ProtocolHandler.init(ProtocolHandler.java:505)
           at com.sun.messaging.jmq.jmsclient.ProtocolHandler.<init>(ProtocolHandler.java:934)
           at com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(ConnectionImpl.java:1482)
           at com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.java:403)
           at com.sun.messaging.jmq.jmsclient.ConnectionImpl.<init>(ConnectionImpl.java:234)
           at com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedConnectionImpl.java:33)
           at com.sun.messaging.jmq.jmsclient.QueueConnectionImpl.<init>(QueueConnectionImpl.java:32)
           at com.sun.messaging.ConnectionFactory.createQueueConnection(ConnectionFactory.java:72)
           at com.sun.messaging.jmq.admin.jmsspi.JMSAdminImpl.pingProvider(JMSAdminImpl.java:733)
           at com.iplanet.ias.jms.JmsProviderLifecycle.waitForJmsProvider(JmsProviderLifecycle.java:284)
           at com.iplanet.ias.jms.JmsProviderLifecycle.onInitialization(JmsProviderLifecycle.java:224)
           ... 2 more

      [16/May/2005:11:41:02] SEVERE ( 681): CORE3186: Failed to set configuration

      For server1 JMS port is 7676. server 1 is running. For server2, JMS port is 50705, server2 can not start.

      Any help is appreciated. Thanks. Caigen
        • 1. Re: Starting Sun one application server C4003
          807581
          So if you do telnet <portnumber> you do see information coming back from the jms service? If you try "telnet 50705" the request just hangs?

          If so, then take a look at the log file of you imqbrokerd instance, it should tell you why it is not starting. it may be running out of memory, or another issue. I beleive you will find the log files under
          <appservinstall>/imq/var/instances/<instanceName>/log

          Or if you installed it as package you may need to take a look at the /var/imq/...
          • 2. Re: Starting Sun one application server C4003
            807581
            Thanks for your help.

            Yes, 'telnet 50705' hangs.

            But there is no any record in the log file 'log.txt' under /var/imq/instances/domain1_server2/log.

            What should I do. Thanks for help.

            Caigen
            • 3. Re: Starting Sun one application server C4003
              807581
              try starting it manually,
              imqbrokerd -port 50705
              The trace in the display may give you a hint about what is happening. Please post back the information from the trace....
              • 4. Re: Starting Sun one application server C4003
                807581
                The 'imqbrokerd -port 50705' seems running well. But I can not start server2 by '/var/opt/SUNWappserver7/domains/domain1/server2/bin/startserv' with the same error message if I close 50705 broker.

                bash-2.05# imqbrokerd -port 50705
                [17/May/2005:14:10:45 MDT]
                ==================================================================
                Sun ONE Message Queue Copyright 2003
                Version: 3.0.1 SP3 (Build 5-a) Sun Microsystems, Inc.
                Compile: Mon Apr 5 00:31:48 PDT 2004 All Rights Reserved

                Use is subject to license terms. Third party software, including
                font technology, is copyrighted and licensed from Sun suppliers.
                Sun, Sun Microsystems, the Sun logo, Java, Solaris and iPlanet are
                trademarks or registered trademarks of Sun Microsystems, Inc. in
                the U.S. and other countries. All SPARC trademarks are used under
                license and are trademarks or registered trademarks of SPARC
                International, Inc. in the U.S. and other countries. Federal
                Acquisitions: Commercial Software - Government Users Subject to
                Standard License Terms and Conditions.
                This product includes code licensed from RSA Data Security.
                ==================================================================
                Java Runtime: 1.4.2_05 Sun Microsystems Inc. /usr/j2se/jre
                [17/May/2005:14:10:45 MDT] [B1060]: Loading persistent data...
                [17/May/2005:14:10:46 MDT] [B1039]: Broker "imqbroker@moss.nic-test.ualberta.ca:50705" ready.
                • 5. Re: Starting Sun one application server C4003
                  807581
                  Hi,

                  Sorry for the long delay, I wanted to access a Solaris box before coming back to this thread. Two things;

                  1. Do a startserv -configcheck
                  To make sure everything is in order.
                  2. Take a look in the config/server.xml file. Find the jms-service take and validate that all the entries in the tag are ok.