Startup failed: Timed out waiting for signal

Naveen KVM
2008-05-19
2012-12-11
  • Naveen KVM
    Naveen KVM
    2008-05-19

    This is my wrapper.log:

    STATUS | wrapper  | 2008/05/19 15:46:59 | Launching a JVM...
    INFO   | jvm 2    | 2008/05/19 15:47:01 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
    INFO   | jvm 2    | 2008/05/19 15:47:01 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
    INFO   | jvm 2    | 2008/05/19 15:47:01 |
    INFO   | jvm 2    | 2008/05/19 15:47:02 | DEV_LOG4J value is: ../bin/log4j.properties
    INFO   | jvm 2    | 2008/05/19 15:47:03 | Error in DeploymentProperties.getParameter : could not access log4j.properties
    INFO   | jvm 2    | 2008/05/19 15:47:03 | Systerm reported error : javax.naming.NameNotFoundException: No object bound for java:comp/env
    INFO   | jvm 2    | 2008/05/19 15:47:03 | Assinging default value
    INFO   | jvm 2    | 2008/05/19 15:47:03 | proxy properties path is: ../bin/proxySettings.properties
    INFO   | jvm 2    | 2008/05/19 15:47:03 | <IHub><INFO ><19/May/08 15:47:03 BST>Entered EPYXMessageListener !!                                                      
    INFO   | jvm 2    | 2008/05/19 15:47:03 | proxy properties path is: ../bin/proxySettings.properties
    INFO   | jvm 2    | 2008/05/19 15:47:03 | <IHub><INFO ><19/May/08 15:47:03 BST>Provider url while getting topic connection is: t3://10.87.23.219:17111             
    ERROR  | wrapper  | 2008/05/19 15:47:33 | Startup failed: Timed out waiting for signal from JVM.
    ERROR  | wrapper  | 2008/05/19 15:47:33 | JVM did not exit on request, terminated
    STATUS | wrapper  | 2008/05/19 15:47:38 | Launching a JVM...
    INFO   | jvm 3    | 2008/05/19 15:47:40 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
    INFO   | jvm 3    | 2008/05/19 15:47:40 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
    INFO   | jvm 3    | 2008/05/19 15:47:40 |
    INFO   | jvm 3    | 2008/05/19 15:47:41 | DEV_LOG4J value is: ../bin/log4j.properties
    INFO   | jvm 3    | 2008/05/19 15:47:42 | Error in DeploymentProperties.getParameter : could not access log4j.properties
    INFO   | jvm 3    | 2008/05/19 15:47:42 | Systerm reported error : javax.naming.NameNotFoundException: No object bound for java:comp/env
    INFO   | jvm 3    | 2008/05/19 15:47:42 | Assinging default value
    INFO   | jvm 3    | 2008/05/19 15:47:42 | proxy properties path is: ../bin/proxySettings.properties
    INFO   | jvm 3    | 2008/05/19 15:47:42 | <IHub><INFO ><19/May/08 15:47:42 BST>Entered EPYXMessageListener !!                                                      
    INFO   | jvm 3    | 2008/05/19 15:47:42 | proxy properties path is: ../bin/proxySettings.properties
    INFO   | jvm 3    | 2008/05/19 15:47:42 | <IHub><INFO ><19/May/08 15:47:42 BST>Provider url while getting topic connection is: t3://10.87.23.219:17111             
    STATUS | wrapper  | 2008/05/19 15:48:23 | --> Wrapper Started as Console
    STATUS | wrapper  | 2008/05/19 15:48:23 | Launching a JVM...
    INFO   | jvm 1    | 2008/05/19 15:48:25 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
    INFO   | jvm 1    | 2008/05/19 15:48:25 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
    INFO   | jvm 1    | 2008/05/19 15:48:25 |
    INFO   | jvm 1    | 2008/05/19 15:48:25 | DEV_LOG4J value is: ../bin/log4j.properties
    INFO   | jvm 1    | 2008/05/19 15:48:26 | Error in DeploymentProperties.getParameter : could not access log4j.properties
    INFO   | jvm 1    | 2008/05/19 15:48:26 | Systerm reported error : javax.naming.NameNotFoundException: No object bound for java:comp/env
    INFO   | jvm 1    | 2008/05/19 15:48:26 | Assinging default value
    INFO   | jvm 1    | 2008/05/19 15:48:27 | proxy properties path is: ../bin/proxySettings.properties
    INFO   | jvm 1    | 2008/05/19 15:48:27 | <IHub><INFO ><19/May/08 15:48:26 BST>Entered EPYXMessageListener !!                                                      
    INFO   | jvm 1    | 2008/05/19 15:48:27 | proxy properties path is: ../bin/proxySettings.properties
    INFO   | jvm 1    | 2008/05/19 15:48:27 | <IHub><INFO ><19/May/08 15:48:26 BST>Provider url while getting topic connection is: t3://10.87.23.219:17111             
    STATUS | wrapper  | 2008/05/19 15:48:33 | CTRL-C trapped.  Shutting down.
    ERROR  | wrapper  | 2008/05/19 15:48:33 | JVM exited while starting the application.
    STATUS | wrapper  | 2008/05/19 15:48:33 | <-- Wrapper Stopped

    This is my wrapper.conf:

    #********************************************************************
    # TestWrapper Properties
    #
    # NOTE - Please use src/conf/wrapper.conf.in as a template for your
    #        own application rather than the values used for the
    #        TestWrapper sample.
    #********************************************************************
    # Java Application
    wrapper.java.command=java

    # Java Main class.  This class must implement the WrapperListener interface
    #  or guarantee that the WrapperManager class is initialized.  Helper
    #  classes are provided to do this for you.  See the Integration section
    #  of the documentation for details.

    wrapper.java.mainclass=com.centrica.mti.client.Main

    # Java Classpath (include wrapper.jar)  Add class path elements as
    #  needed starting from 1
    wrapper.java.classpath.1=../lib/wrapper.jar
    wrapper.java.classpath.2=../lib/wrappertest.jar
    wrapper.java.classpath.3=../lib/weblogic.jar
    wrapper.java.classpath.4=../lib/webservices.jar
    wrapper.java.classpath.5=../lib/activation.jar
    wrapper.java.classpath.6=../lib/axis.jar
    wrapper.java.classpath.7=../lib/classes12.jar
    wrapper.java.classpath.8=../lib/comm.jar
    wrapper.java.classpath.9=../lib/commons-beanutils.jar
    wrapper.java.classpath.10=../lib/commons-codec-1.3.jar
    wrapper.java.classpath.11=../lib/commons-discovery-0.2.jar
    wrapper.java.classpath.12=../lib/commons-logging.jar
    wrapper.java.classpath.13=../lib/commons-pool-1.2.jar
    wrapper.java.classpath.14=../lib/dom4j-1.6.1.jar
    wrapper.java.classpath.15=../lib/j2ee.jar
    wrapper.java.classpath.16=../lib/jaxen-1.1-beta-2.jar
    wrapper.java.classpath.17=../lib/jaxrpc.jar
    wrapper.java.classpath.18=../lib/jaxrpc-impl.jar
    wrapper.java.classpath.19=../lib/jcert.jar
    wrapper.java.classpath.20=../lib/jnet.jar
    wrapper.java.classpath.21=../lib/jsse.jar
    wrapper.java.classpath.22=../lib/log4j-1.2.8.jar
    wrapper.java.classpath.23=../lib/mail.jar
    wrapper.java.classpath.24=../lib/serializer.jar
    wrapper.java.classpath.25=../lib/soap.jar
    wrapper.java.classpath.26=../lib/webserviceutils.jar
    wrapper.java.classpath.27=../lib/ws-commons-util-1.0.1.jar
    wrapper.java.classpath.28=../lib/wsdl4j.jar
    wrapper.java.classpath.29=../lib/xalan.jar
    wrapper.java.classpath.30=../lib/xbean_xpath.jar
    wrapper.java.classpath.31=../lib/xbean.jar
    wrapper.java.classpath.32=../lib/xerces.jar
    wrapper.java.classpath.33=../lib/xercesImpl.jar
    wrapper.java.classpath.34=../lib/xml-apis.jar
    wrapper.java.classpath.35=../lib/xpath.jar
    wrapper.java.classpath.36=../lib/xsltc.jar
    wrapper.java.classpath.36=../lib/commons-httpclient-3.1.jar
    wrapper.java.classpath.37=../classes

    # Java Library Path (location of Wrapper.DLL or libwrapper.so)
    wrapper.java.library.path.1=../lib

    # Java Additional Parameters
    #wrapper.java.additional.1=

    # Initial Java Heap Size (in MB)
    #wrapper.java.initmemory=3

    # Maximum Java Heap Size (in MB)
    #wrapper.java.maxmemory=64

    # Application parameters.  Add parameters as needed starting from 1
    #wrapper.app.parameter.1=

    #********************************************************************
    # Wrapper Logging Properties
    #********************************************************************
    # Format of output for the console.  (See docs for formats)
    wrapper.console.format=PM

    # Log Level for console output.  (See docs for log levels)
    wrapper.console.loglevel=INFO

    # Log file to use for wrapper output logging.
    wrapper.logfile=../logs/wrapper.log

    # Format of output for the log file.  (See docs for formats)
    wrapper.logfile.format=LPTM

    # Log Level for log file output.  (See docs for log levels)
    wrapper.logfile.loglevel=INFO

    # Maximum size that the log file will be allowed to grow to before
    #  the log is rolled. Size is specified in bytes.  The default value
    #  of 0, disables log rolling.  May abbreviate with the 'k' (kb) or
    #  'm' (mb) suffix.  For example: 10m = 10 megabytes.
    wrapper.logfile.maxsize=0

    # Maximum number of rolled log files which will be allowed before old
    #  files are deleted.  The default value of 0 implies no limit.
    wrapper.logfile.maxfiles=0

    # Log Level for sys/event log output.  (See docs for log levels)
    wrapper.syslog.loglevel=NONE

    #********************************************************************
    # Wrapper Windows Properties
    #********************************************************************
    # Title to use when running as a console
    wrapper.console.title=EPYX Car Booking service

    #********************************************************************
    # Wrapper Windows NT/2000/XP Service Properties
    #********************************************************************
    # WARNING - Do not modify any of these properties when an application
    #  using this configuration file has been installed as a service.
    #  Please uninstall the service before modifying this section.  The
    #  service can then be reinstalled.

    # Name of the service
    wrapper.ntservice.name=EPYX Car Hire service

    # Display name of the service
    wrapper.ntservice.displayname=EPYX Listener Service

    # Description of the service
    wrapper.ntservice.description=EPYX Listener Service Description

    # Service dependencies.  Add dependencies as needed starting from 1
    wrapper.ntservice.dependency.1=

    # Mode in which the service is installed.  AUTO_START or DEMAND_START
    wrapper.ntservice.starttype=AUTO_START

    # Allow the service to interact with the desktop.
    wrapper.ntservice.interactive=false

    wrapper.java.additional.1=-Dlog4J=../bin/log4j.properties
    wrapper.java.additional.2=-DError.xml=../bin/Error.xml
    wrapper.java.additional.3=-Dloader.properties=../bin/loader.properties
    wrapper.java.additional.4=-DproxyProps=../bin/proxySettings.properties

    #wrapper.on_exit.default=RESTART
    wrapper.shutdown.timeout=120000

     
    • Leif Mortenson
      Leif Mortenson
      2008-05-19

      This was answered the first time it was posted here:
      https://sourceforge.net/forum/message.php?msg_id=4972194

      Cheers,
      Leif

       
    • Naveen KVM
      Naveen KVM
      2008-05-20

      Hi Leif,
                Thanks a lot for your kind help. Will try and let u know the result :-)
      Regards,
      Naveen.

       
    • Naveen KVM
      Naveen KVM
      2008-05-20

      Hi I have tried (first integration method with out JBOSS)it but the problem is:

      STATUS | wrapper  | 2008/05/20 10:12:40 | --> Wrapper Started as Console
      STATUS | wrapper  | 2008/05/20 10:12:40 | Launching a JVM...
      INFO   | jvm 1    | 2008/05/20 10:12:42 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
      INFO   | jvm 1    | 2008/05/20 10:12:42 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
      INFO   | jvm 1    | 2008/05/20 10:12:42 |
      INFO   | jvm 1    | 2008/05/20 10:12:42 | DEV_LOG4J value is: ../bin/log4j.properties
      INFO   | jvm 1    | 2008/05/20 10:12:43 | Error in DeploymentProperties.getParameter : could not access log4j.properties
      INFO   | jvm 1    | 2008/05/20 10:12:43 | Systerm reported error : javax.naming.NameNotFoundException: No object bound for java:comp/env
      INFO   | jvm 1    | 2008/05/20 10:12:43 | Assinging default value
      INFO   | jvm 1    | 2008/05/20 10:12:43 | proxy properties path is: ../bin/proxySettings.properties
      INFO   | jvm 1    | 2008/05/20 10:12:43 | <IHub><INFO ><20/May/08 10:12:43 BST>Entered EPYXMessageListener !!                                                      
      INFO   | jvm 1    | 2008/05/20 10:12:43 | proxy properties path is: ../bin/proxySettings.properties
      INFO   | jvm 1    | 2008/05/20 10:12:43 | <IHub><INFO ><20/May/08 10:12:43 BST>Provider url while getting topic connection is: t3://10.87.0.236:17111              
      INFO   | jvm 1    | 2008/05/20 10:12:48 | <IHub><ERROR><20/May/08 10:12:48 BST>Exception while getting topicconnection!!                                           
      INFO   | jvm 1    | 2008/05/20 10:12:48 | javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://10.87.0.236:17111: Destination unreachable; nested exception is:
      INFO   | jvm 1    | 2008/05/20 10:12:48 |     java.net.ConnectException: Connection refused: connect; No available router to destination]
      INFO   | jvm 1    | 2008/05/20 10:12:48 |     at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:47)
      INFO   | jvm 1    | 2008/05/20 10:12:48 |     at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:617)
      INFO   | jvm 1    | 2008/05/20 10:12:48 |     at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:332)
      INFO   | jvm 1    | 2008/05/20 10:12:48 |     at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:221)
      INFO   | jvm 1    | 2008/05/20 10:12:48 |     at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:149)
      INFO   | jvm 1    | 2008/05/20 10:12:48 |     at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
      INFO   | jvm 1    | 2008/05/20 10:12:48 |     at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
      INFO   | jvm 1    | 2008/05/20 10:12:48 |     at javax.naming.InitialContext.init(Unknown Source)
      INFO   | jvm 1    | 2008/05/20 10:12:48 |     at javax.naming.InitialContext.<init>(Unknown Source)
      INFO   | jvm 1    | 2008/05/20 10:12:48 |     at com.centrica.mti.client.EPYXMessageListener.getTopicConnection(EPYXMessageListener.java:101)
      INFO   | jvm 1    | 2008/05/20 10:12:48 |     at com.centrica.mti.client.EPYXMessageListener.init(EPYXMessageListener.java:77)
      INFO   | jvm 1    | 2008/05/20 10:12:48 |     at com.centrica.mti.client.EPYXMessageListener.main(EPYXMessageListener.java:375)
      INFO   | jvm 1    | 2008/05/20 10:12:48 |     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      INFO   | jvm 1    | 2008/05/20 10:12:48 |     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      INFO   | jvm 1    | 2008/05/20 10:12:48 |     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      INFO   | jvm 1    | 2008/05/20 10:12:48 |     at java.lang.reflect.Method.invoke(Unknown Source)
      INFO   | jvm 1    | 2008/05/20 10:12:48 |     at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
      INFO   | jvm 1    | 2008/05/20 10:12:48 |     at java.lang.Thread.run(Unknown Source)
      INFO   | jvm 1    | 2008/05/20 10:12:48 | Caused by: java.net.ConnectException: t3://10.87.0.236:17111: Destination unreachable; nested exception is:
      INFO   | jvm 1    | 2008/05/20 10:12:48 |     java.net.ConnectException: Connection refused: connect; No available router to destination
      INFO   | jvm 1    | 2008/05/20 10:12:48 |     at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:180)
      INFO   | jvm 1    | 2008/05/20 10:12:48 |     at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:262)
      INFO   | jvm 1    | 2008/05/20 10:12:48 |     at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:323)
      INFO   | jvm 1    | 2008/05/20 10:12:48 |     ... 15 more
      INFO   | jvm 1    | 2008/05/20 10:12:48 | <IHub><INFO ><20/May/08 10:12:48 BST>Provider url while getting topic connection is: t3://10.87.0.236:17111              

      Also when i checked ni the services, my service is showing the state of "Starting" and not "Started". I tried to stop the service but it's not gettign stopped.

      Please help me.

       
    • Naveen KVM
      Naveen KVM
      2008-05-20

      Even after restarting the machine the service is not stopped it's still showing the status as "Starting". How to stop it?