Menu

Issue in Migration from JSW to YAJSW

Help
dharam
2011-11-10
2013-06-12
1 2 > >> (Page 1 of 2)
  • dharam

    dharam - 2011-11-10

    Hi,

    I am migrating one application from JSW to YAJSW.
    My application does not have a main class. It is a web based application.

    Below are entries from wrapper.config file

    wrapper.java.command=${wrapper_home}..\\jdk1.6.0_19\\jre\\bin\\java
    wrapper.working.dir = ${wrapper_home}
    wrapper.java.app.jar= C:\\temp\\deployment\\wrapper.jar
    wrapper.app.parameter.1=-c
    wrapper.app.parameter.2=C:\\temp\\deployment\\conf\\wrapper.conf

    In the original JSW wrapper.config file there was one more entry given below:
    wrapper.app.main.class=com.abc.cde.fgh.ServerImpl

    This i kept it as it is in new config file also.

    Installing the service is working fine. When i start the service it remain in starting state for 4-5 seconds then stops.

    In log file it says something port is not free. I tried to change the port also but didn't get success.

    I tried to run the command from console also. It says initializing wrapped process and then it stops.

    Below is detailed log:

    INFO|wrapper|11-11-10 18:33:54|init
    INFO|wrapper|11-11-10 18:33:54|start from Thread main
    INFO|wrapper|11-11-10 18:33:54|set state IDLE->STARTING
    INFO|wrapper|11-11-10 18:33:54|starting Process
    INFO|wrapper|11-11-10 18:33:54|starting controller
    INFO|wrapper|11-11-10 18:33:54|binding to port 15003
    INFO|wrapper|11-11-10 18:33:54|Controller State: UNKNOWN -> WAITING
    INFO|wrapper|11-11-10 18:33:54|binding successfull
    INFO|wrapper|11-11-10 18:33:55|controller started
    INFO|wrapper|11-11-10 18:33:55|working dir C:\temp\deployment\bat
    INFO|wrapper|11-11-10 18:33:55|spawning wrapped process
    INFO|wrapper|11-11-10 18:33:55|is running: false pid=(-1<=0)
    INFO|wrapper|11-11-10 18:33:55|exec: "C:\temp\deployment\jdk1.6.0_19\jre\bin\java" "-Dwrapper.teeName=-6845647323748558908$1320930235103" "-Dwrapper.config=C:\temp\deployment\conf\wrapper.conf" "-Dwrapper.key=-6845647323748558908" "-Dwrapper.port=15003" "-Dwrapper.key=-6845647323748558908" "-Dwrapper.teeName=-6845647323748558908$1320930235103" "-Dwrapper.tmpPath=C:\Users\rdx1342\AppData\Local\Temp" "-classpath" "/C:/temp/deployment/./wrapperApp.jar;C:\temp\deployment\wrapper.jar" "org.rzo.yajsw.app.WrapperJVMMain"
    INFO|wrapper|11-11-10 18:33:55|started process with pid 3636
    INFO|wrapper|11-11-10 18:33:55|waiting for termination of process
    INFO|wrapper|11-11-10 18:33:55|set state STARTING->RUNNING
    INFO|wrapper|11-11-10 18:33:55|GetExitCodeProcess returned 259
    INFO|wrapper|11-11-10 18:33:55|getExitCode -2 processINFO==null=false
    INFO|wrapper|11-11-10 18:33:55|is running: true 3636 -2
    INFO|wrapper|11-11-10 18:33:55|GetExitCodeProcess returned 259
    INFO|wrapper|11-11-10 18:33:55|getExitCode -2 processINFO==null=false
    INFO|wrapper|11-11-10 18:33:55|is running: true 3636 -2
    INFO|3636/0|11-11-10 18:33:55|Nov 10, 2011 6:33:55 PM org.apache.commons.vfs.VfsLog info
    INFO|3636/0|11-11-10 18:33:55|INFO: Using "C:\Users\rdx1342\AppData\Local\Temp\vfs_cache" as temporary files store.
    INFO|3636/0|11-11-10 18:33:56|Nov 10, 2011 6:33:56 PM org.rzo.yajsw.app.WrapperManagerImpl start
    INFO|3636/0|11-11-10 18:33:56|mainClass/jar/script: null/C:\temp\deployment\wrapper.jar/null
    INFO|3636/0|11-11-10 18:33:56|INFO: Logging ON
    INFO|3636/0|11-11-10 18:33:56|external stop false
    INFO|3636/0|11-11-10 18:33:56|args:
    INFO|3636/0|11-11-10 18:33:56|-c
    INFO|3636/0|11-11-10 18:33:56|C:\temp:\deployment\conf\wrapper.conf
    INFO|3636/0|11-11-10 18:33:56|terminated WrapperManager.init()
    INFO|3636/0|11-11-10 18:33:56|Logging ON
    FINE|3636/0|11-11-10 18:33:56| OPEN
    FINE|3636/0|11-11-10 18:33:56| OPEN
    FINE|3636/0|11-11-10 18:33:56| BOUND: /127.0.0.1:15003
    FINE|3636/0|11-11-10 18:33:56| BOUND: /127.0.0.1:15003
    FINE|3636/0|11-11-10 18:33:56| CONNECTED: /127.0.0.1:56068
    FINE|3636/0|11-11-10 18:33:56| CONNECTED: /127.0.0.1:56068
    INFO|3636/0|11-11-10 18:33:56|Controller State: WAITING -> ESTABLISHED
    FINE|3636/0|11-11-10 18:33:56| RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=22, cap=22)
    FINE|3636/0|11-11-10 18:33:56| RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=22, cap=22)
    FINE|3636/0|11-11-10 18:33:56| RECEIVED: Message:KEY:-6845647323748558908
    FINE|3636/0|11-11-10 18:33:56| RECEIVED: Message:KEY:-6845647323748558908
    INFO|3636/0|11-11-10 18:33:56|Controller State: ESTABLISHED -> LOGGED_ON
    FINE|3636/0|11-11-10 18:33:56| WRITE: Message:OKKEY:3636
    FINE|3636/0|11-11-10 18:33:56| WRITE: Message:OKKEY:3636
    FINE|3636/0|11-11-10 18:33:56| WRITE: BigEndianHeapChannelBuffer(ridx=0, widx=6, cap=6)
    FINE|3636/0|11-11-10 18:33:56| WRITE: BigEndianHeapChannelBuffer(ridx=0, widx=6, cap=6)
    FINE|3636/0|11-11-10 18:33:56| WRITTEN_AMOUNT: 6
    FINE|3636/0|11-11-10 18:33:56| WRITTEN_AMOUNT: 6
    INFO|3636/0|11-11-10 18:33:56|Correct key
    INFO|3636/0|11-11-10 18:33:56|Nov 10, 2011 6:33:56 PM org.apache.commons.vfs.VfsLog info
    INFO|3636/0|11-11-10 18:33:56|INFO: Using "C:\Users\rdx1342\AppData\Local\Temp\vfs_cache" as temporary files store.
    INFO|3636/0|11-11-10 18:33:57|INFO|wrapper|11-11-10 18:33:57|init
    INFO|3636/0|11-11-10 18:33:57|INFO|wrapper|11-11-10 18:33:57|start from Thread main
    INFO|3636/0|11-11-10 18:33:57|INFO|wrapper|11-11-10 18:33:57|set state IDLE->STARTING
    INFO|3636/0|11-11-10 18:33:57|INFO|wrapper|11-11-10 18:33:57|starting Process
    INFO|3636/0|11-11-10 18:33:57|INFO|wrapper|11-11-10 18:33:57|starting controller
    INFO|3636/0|11-11-10 18:33:57|SEVERE|wrapper|11-11-10 18:33:57|could not find a free port in the range 15003…15003
    INFO|3636/0|11-11-10 18:33:57|INFO|wrapper|11-11-10 18:33:57|could not start controller -> abort
    INFO|3636/0|11-11-10 18:33:57|INFO|wrapper|11-11-10 18:33:57|set state STARTING->STATE_ABORT
    INFO|3636/0|11-11-10 18:33:57|INFO|wrapper|11-11-10 18:33:57|set state STATE_ABORT->IDLE
    INFO|3636/0|11-11-10 18:33:57|exit on main terminate -1
    INFO|3636/0|11-11-10 18:33:57|INFO|wrapper|11-11-10 18:33:57|Shutting down Wrapper
    FINE|3636/0|11-11-10 18:34:01| RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=2, cap=2)
    FINE|3636/0|11-11-10 18:34:01| RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=2, cap=2)
    FINE|3636/0|11-11-10 18:34:01| RECEIVED: Message:PING:
    FINE|3636/0|11-11-10 18:34:01| RECEIVED: Message:PING:
    FINE|3636/0|11-11-10 18:34:02| EXCEPTION: java.net.SocketException: Connection reset
    FINE|3636/0|11-11-10 18:34:02| EXCEPTION: java.net.SocketException: Connection reset
    INFO|3636/0|11-11-10 18:34:02|Connection reset
    FINE|3636/0|11-11-10 18:34:02| DISCONNECTED
    INFO|wrapper|11-11-10 18:34:02|WaitForSingleObject terminated PID: 3636
    FINE|3636/0|11-11-10 18:34:02| DISCONNECTED
    INFO|3636/0|11-11-10 18:34:02|process terminated
    INFO|3636/0|11-11-10 18:34:02|Controller State: LOGGED_ON -> WAITING_CLOSED
    INFO|3636/0|11-11-10 18:34:02|session closed -> waiting
    FINE|3636/0|11-11-10 18:34:02| UNBOUND
    FINE|3636/0|11-11-10 18:34:02| UNBOUND
    FINE|3636/0|11-11-10 18:34:02| CLOSED
    FINE|3636/0|11-11-10 18:34:02| CLOSED
    INFO|wrapper|11-11-10 18:34:02|GetExitCodeProcess returned 0
    INFO|wrapper|11-11-10 18:34:02|getExitCode 0 processINFO==null=false
    INFO|3636/0|11-11-10 18:34:02|Controller State: WAITING_CLOSED -> PROCESS_KILLED
    INFO|wrapper|11-11-10 18:34:02|getExitCode 0 processINFO==null=false
    INFO|wrapper|11-11-10 18:34:02|giving up after 0 retries
    INFO|wrapper|11-11-10 18:34:02|set state RUNNING->STATE_ABORT
    INFO|wrapper|11-11-10 18:34:02|stop from Thread yajsw.controller-2 reason: USER
    INFO|wrapper|11-11-10 18:34:02|process not in state RUNNING -> Delaying stop
    INFO|wrapper|11-11-10 18:34:02|set state STATE_ABORT->IDLE
    INFO|wrapper|11-11-10 18:34:02|Shutting down Wrapper

    All suggestions are welcome.

     
  • rzo

    rzo - 2011-11-10

    hello,

    the problem is logged here:

    INFO|3636/0|11-11-10 18:33:57|SEVERE|wrapper|11-11-10 18:33:57|could not find a free port in the range 15003…15003 INFO|3636/0|11-11-10 18:33:57|INFO|wrapper|11-11-10 18:33:57|could not start controller -> abort

    this means that the port 15003 is not free on the computer.
    you probably have set:

    wrapper.port = 15003

    remove this entry or set it to another, free port.

    if this does not help pls post your complete yajsw configuration.

    • Ron
     
  • rzo

    rzo - 2011-11-10

    ps: before running as service pls use runConsole.bat. this will make things easier.

     
  • dharam

    dharam - 2011-11-11

    Hi,

    The things told by you i have already tried. I ran runConsole.bat also. But no benefit.

    Below is the YAJSW config file made by me:

    #********************************************************************
    # Wrapper Properties
    #********************************************************************
    # Java Application
    wrapper.java.command=${wrapper_home}..\\jdk1.6.0_19\\jre\\bin\\java
    wrapper.working.dir = ${wrapper_home}
    wrapper.app.env.path = ${abc}\\oracle32\\instantclient;${path}

    wrapper.java.app.jar= C:\\temp\\deployment\\wrapper.jar
    wrapper.app.parameter.1=-c
    wrapper.app.parameter.2=C:\\temp\\deployment\\conf\\wrapper.conf

    # Application parameters.  Add parameters as needed starting from 1
    wrapper.app.main.class=com.abc.cde.server.ABCServerImpl

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

    # 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/ABCService-ROLLNUM.log.txt

    # 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=200k

    # 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=2

    # 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 =ABC Client DB

    #********************************************************************
    # 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.

    #wrapper.ntservice.account=
    #wrapper.ntservice.password=

    # Name of the service
    wrapper.ntservice.name=ABC Client DB

    # Display name of the service
    wrapper.ntservice.displayname=ABC Client DB

    # Description of the service
    wrapper.ntservice.description=ABC Client DB
    # 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.debug=true

    Original JSW config file is :

    #********************************************************************
    # Wrapper Properties
    #********************************************************************
    # Java Application
    wrapper.java.command=../JDK1.6.0_19/bin/java
    #wrapper.debug=TRUE

    #add the oracle 32bit libraries to the path
    set.PATH=%ABC%/oracle32/instantclient;%PATH%

    # 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=org.tanukisoftware.wrapper.WrapperSimpleApp

    # Java Classpath (include wrapper.jar)  Add class path elements as
    #  needed starting from 1
    wrapper.java.classpath.1=../lib/*.jar
    wrapper.java.classpath.2=../resources
    wrapper.java.classpath.3=../webapps/ow/WEB-INF/lib/*.jar
    wrapper.java.classpath.4=../lib/ABC-server-module.jar
    wrapper.java.classpath.5=../apache-tomcat-6.0.33/lib/*.jar

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

    # Java Additional Parameters
    wrapper.java.additional.1=-server
    wrapper.java.additional.2=-Xms64m -Xmx512m

    # 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=com.abc.cde.server.ABCServerImpl

    wrapper.filter.trigger.1=java.lang.OutOfMemoryError
    wrapper.filter.action.1=RESTART
    wrapper.filter.trigger.2=Caused by: java.lang.Exception: caught in C++ JNI wrapper code
    wrapper.filter.action.2=RESTART
    wrapper.filter.trigger.3=C++ EXCEPTION CAUGHT
    wrapper.filter.action.3=RESTART
    wrapper.filter.trigger.4=Out of memory
    wrapper.filter.action.4=RESTART

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

    # 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/ABCService-ROLLNUM.log.txt

    # 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=200k

    # 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=2

    # 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 = ABC Client DB

    #********************************************************************
    # 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.

    wrapper.ntservice.account=
    wrapper.ntservice.password=

    # Name of the service
    wrapper.ntservice.name=ABC Client DB

    # Display name of the service
    wrapper.ntservice.displayname=ABC Client DB

    # Description of the service
    wrapper.ntservice.description=ABC Client DB

    # 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

    Pls reply as soon as possible.

     
  • rzo

    rzo - 2011-11-11

    hello,

    pls remove:

    wrapper.java.app.jar= C:\\temp\\deployment\\wrapper.jar
    wrapper.app.parameter.1=-c
    wrapper.app.parameter.2=C:\\temp\\deployment\\conf\\wrapper.conf

    add:

    wrapper.java.classpath.1=../lib/*.jar
    wrapper.java.classpath.2=../resources
    wrapper.java.classpath.3=../webapps/ow/WEB-INF/lib/*.jar
    wrapper.java.classpath.4=../lib/ABC-server-module.jar
    wrapper.java.classpath.5=../apache-tomcat-6.0.33/lib/*.jar

    wrapper.java.library.path.1=../lib
    wrapper.java.library.path.2=../apache-tomcat-6.0.33/lib

    change to:
    wrapper.java.additional.2=-Xms64m
    wrapper.java.additional.3=-Xmx512m

    for debuging pls add:

    wrapper.debug = true

    if this still does not work, pls post the configuration and the log output.

    • Ron
     
  • Mohit Sarda

    Mohit Sarda - 2011-11-15

    Even after making all the changes as suggested by you I am still getting the same error

    INFO|3636/0|11-11-10 18:33:57|SEVERE|wrapper|11-11-10 18:33:57|could not find a free port in the range 15003…15003 INFO|3636/0|11-11-10 18:33:57|INFO|wrapper|11-11-10 18:33:57|could not start controller -> abort

    I even tried setting the min and max port as given below but it still doesn't works for me and give the above error.

    wrapper.port.min = 15003
    wrapper.port.max = 15999

     
  • Mohit Sarda

    Mohit Sarda - 2011-11-15

    I am filling in for Dharam who has actually started this thread.
    The log file

    C:\OWRC_trunk\deployment\bat>cd C:\OWRC_trunk\deployment\bat\

    C:\OWRC_trunk\deployment\bat>call setenv.bat
    /*/*/*/*/*---C:\OWRC_trunk\deployment\bat\
    JAVA EXE "C:\OWRC_trunk\deployment\bat\..\JDK1.6.0_19\bin\java"
    JAVAW EXE "C:\OWRC_trunk\deployment\bat\..\JDK1.6.0_19\bin\javaw"
    WRAPPER JAR "C:\OWRC_trunk\deployment\bat\..\wrapper.jar"
    WRAPPER APP JAR "C:\OWRC_trunk\deployment\bat\..\wrapperApp.jar"
    WRAPPER BAT "C:\OWRC_trunk\deployment\bat\wrapper.bat"
    WRAPPERW BAT "C:\OWRC_trunk\deployment\bat\wrapperW.bat"
    "C:\OWRC_trunk\deployment\bat\..\JDK1.6.0_19\bin\java" -Xmx30m -jar "C:\OWRC_trunk\deployment\bat\..\wrapper.jar" -c "C:\OWRC_trunk\deployment\bat\..\conf\wrapper.conf"      
    INFO|wrapper|11-11-15 15:49:57|init
    INFO|wrapper|11-11-15 15:49:57|start from Thread main
    INFO|wrapper|11-11-15 15:49:57|set state IDLE->STARTING
    INFO|wrapper|11-11-15 15:49:57|starting Process
    INFO|wrapper|11-11-15 15:49:57|starting controller
    INFO|wrapper|11-11-15 15:49:57|binding to port 15003
    INFO|wrapper|11-11-15 15:49:57|Controller State: UNKNOWN -> WAITING
    INFO|wrapper|11-11-15 15:49:57|binding successfull
    INFO|wrapper|11-11-15 15:49:57|controller started
    INFO|wrapper|11-11-15 15:49:58|working dir C:\OWRC_trunk\deployment\bat
    INFO|wrapper|11-11-15 15:49:58|spawning wrapped process
    INFO|wrapper|11-11-15 15:49:58|is running: false pid=(-1<=0)
    INFO|wrapper|11-11-15 15:49:58|exec: "C:\OWRC_trunk\deployment\JDK1.6.0_19\jre\bin\java" "-Dwrapper.teeName=-2382451351831911801$1321352398041" "-Dwrapper.config=C:\OWRC_trunk\deployment\conf\wrapper.conf" "-Dwrapper.key=-2382451351831911801" "-Dwrapper.port=15003" "-Dwrapper.key=-2382451351831911801" "-Dwrapper.teeName=-2382451351831911801$1321352398041" "-Dwrapper.tmpPath=C:\Users\rdx1342\AppData\Local\Temp" "-classpath" "/C:/OWRC_trunk/deployment/./wrapperApp.jar;C:\OWRC_trunk\deployment\wrapper.jar;C:\OWRC_trunk\deployment\lib\com_lgc_util.jar;C:\OWRC_trunk\deployment\lib\openwire-server-module.jar;C:\OWRC_trunk\deployment\lib\wrapper.jar;C:\OWRC_trunk\deployment\resources;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\activation.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\commons-fileupload-1.0.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\com_lgc_util.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\Echo2_App.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\Echo2_Chart_App.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\Echo2_Chart_WebContainer.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\Echo2_Extras_App.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\Echo2_Extras_WebContainer.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\Echo2_FileTransfer_App.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\Echo2_FileTransfer_WebContainer.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\Echo2_WebContainer.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\Echo2_WebRender.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\echopointng-2.1.0rc5.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\geoframe-module.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\imap.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\jcommon-1.0.0.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\jcommon-1.0.16.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\jdom.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\jfreechart-1.0.13.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\mailapi.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\msde-support-module.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\OpenSpirit.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\openwiregui-messages.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\openwiregui.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\openworks-module.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\oracle-support-module.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\orb.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\ospcom.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\osporg.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\pipeline-module.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\poi-2.5.1-final-20040804.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\poi-contrib-2.5.1-final-20040804.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\poi-scratchpad-2.5.1-final-20040804.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\pop3.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\poslog-module.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\smtp.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\sqlExpress-support-module.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\WellplanPlugin.jar;C:\OWRC_trunk\deployment\lib\openwire-server-module.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\annotations-api.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\antlr-2.7.6.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\asm-attrs.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\asm.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\axis-ant.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\axis.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\c3p0-0.9.0.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\c3p0-0.9.1.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\catalina-ant.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\catalina-ha.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\catalina-tribes.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\catalina.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\cglib-2.1.3.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\commons-codec-1.3.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\commons-collections-2.1.1.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\commons-collections-3.1.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\commons-discovery-0.2.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\commons-logging-1.0.4.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\commons-logging-1.1.1.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\com_lgc_dsosgi.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\com_lgc_hsf.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\com_lgc_jcartointf.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\com_lgc_owsw.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\com_lgc_ow_devkit.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\com_lgc_ow_gdi_dataTypes.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\com_lgc_util.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\concurrent-1.3.2.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\config-module-messages.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\config-module.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\connector.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\core_model_api.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\dom4j-1.6.1.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\edm-datamanagers.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\edm-dtos.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\edm-module.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\edmrt-module.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\ehcache-1.1.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\ehcache-1.2.3.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\ehcache-1.2.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\ejb3-persistence.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\el-api.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\hibernate-annotations.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\hibernate-cglib-repack-2.1_3.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\hibernate-commons-annotations.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\hibernate-validator.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\hibernate3.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\internalOpenwireSchemas.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jaas.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jasper-el.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jasper-jdt.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jasper.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\javassist-3.4.GA.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jaxrpc.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jboss-cache-1.4.1.GA.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jboss-cache.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jboss-common.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jboss-jmx.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jboss-system.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jbosscache-core-2.1.1.GA.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\JDataServices.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jdbc2_0-stdext.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jdom.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jgroups-2.2.8.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jRegistryKey.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jsp-api.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jsr173_1.0_api.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jta-1.1.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jta.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jtds-1.2.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\log4j-1.2.11.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\log4j-1.2.15.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\log4j-1.2.8.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\lucene-core-2.0.0.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\ojdbc14.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\openwire-licensing-module.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\openwire-licensing-r5000-module.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\openwire-realm.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\openwire-server-client.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\openwire-server-stubs.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\oscache-2.1.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\proxool-0.8.3.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\resolver.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\saaj.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\servlet-api.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\slf4j-api-1.5.8.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\slf4j-log4j12-1.5.8.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\swarmcache-1.0rc2.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\tdgssconfig.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\teradata-datamanagers.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\teradata-dtos.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\teradata-reveng.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\terajdbc4.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\tomcat-coyote.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\tomcat-dbcp.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\tomcat-i18n-es.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\tomcat-i18n-fr.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\tomcat-i18n-ja.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\units_service_api.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\utils-module.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\vecmath.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\webservices-api.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\webservices-extra-api.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\webservices-extra.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\webservices-rt.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\webservices-tools.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\wellspace.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\wellspace_api.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\wellspace_core.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\wellspace_facade.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\wellspace_server.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\witsml-api.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\witsml-stubs-120.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\witsml-stubs-131.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\witsmlapi-xslt.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\witsmlObjects120.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\witsmlObjects131.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\witsmlUnit120.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\wrapper.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\wrappertest.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\wsdl4j-1.5.1.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\xbean.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\xbean_xpath.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\xmlpublic.jar" "org.rzo.yajsw.app.WrapperJVMMain"
    INFO|wrapper|11-11-15 15:49:58|started process with pid 3128
    INFO|wrapper|11-11-15 15:49:58|set state STARTING->RUNNING
    INFO|3128/0|11-11-15 15:49:58|waiting for termination of process
    INFO|wrapper|11-11-15 15:49:58|GetExitCodeProcess returned 259
    INFO|wrapper|11-11-15 15:49:58|getExitCode -2 processINFO==null=false
    INFO|wrapper|11-11-15 15:49:58|is running: true 3128 -2
    INFO|wrapper|11-11-15 15:49:58|GetExitCodeProcess returned 259
    INFO|wrapper|11-11-15 15:49:58|getExitCode -2 processINFO==null=false
    INFO|wrapper|11-11-15 15:49:58|is running: true 3128 -2
    INFO|3128/0|11-11-15 15:49:59|- Using "C:\Users\rdx1342\AppData\Local\Temp\vfs_cache" as temporary files store.
    INFO|3128/0|11-11-15 15:49:59|mainClass/jar/script: null/C:\OWRC_trunk\deployment\bat\..\wrapper.jar/null
    INFO|3128/0|11-11-15 15:49:59|Nov 15, 2011 3:49:59 PM org.rzo.yajsw.app.WrapperManagerImpl start
    INFO|3128/0|11-11-15 15:49:59|INFO: Logging ON
    INFO|3128/0|11-11-15 15:49:59|external stop false
    INFO|3128/0|11-11-15 15:49:59|args:
    INFO|3128/0|11-11-15 15:49:59|-c
    INFO|3128/0|11-11-15 15:49:59|C:\OWRC_trunk\deployment\bat\..\conf\wrapper.conf
    INFO|3128/0|11-11-15 15:49:59|terminated WrapperManager.init()
    INFO|3128/0|11-11-15 15:49:59|Logging ON
    FINE|3128/0|11-11-15 15:49:59| OPEN
    FINE|3128/0|11-11-15 15:49:59| OPEN
    FINE|3128/0|11-11-15 15:49:59| BOUND: /127.0.0.1:15003
    FINE|3128/0|11-11-15 15:49:59| BOUND: /127.0.0.1:15003
    FINE|3128/0|11-11-15 15:49:59| CONNECTED: /127.0.0.1:55278
    FINE|3128/0|11-11-15 15:49:59| CONNECTED: /127.0.0.1:55278
    INFO|3128/0|11-11-15 15:49:59|Controller State: WAITING -> ESTABLISHED
    FINE|3128/0|11-11-15 15:49:59| RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=22, cap=22)
    FINE|3128/0|11-11-15 15:49:59| RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=22, cap=22)
    FINE|3128/0|11-11-15 15:49:59| RECEIVED: Message:KEY:-2382451351831911801
    FINE|3128/0|11-11-15 15:49:59| RECEIVED: Message:KEY:-2382451351831911801
    INFO|3128/0|11-11-15 15:49:59|Controller State: ESTABLISHED -> LOGGED_ON
    FINE|3128/0|11-11-15 15:49:59| WRITE: Message:OKKEY:3128
    FINE|3128/0|11-11-15 15:49:59| WRITE: Message:OKKEY:3128
    FINE|3128/0|11-11-15 15:49:59| WRITE: BigEndianHeapChannelBuffer(ridx=0, widx=6, cap=6)
    FINE|3128/0|11-11-15 15:49:59| WRITE: BigEndianHeapChannelBuffer(ridx=0, widx=6, cap=6)
    FINE|3128/0|11-11-15 15:49:59| WRITTEN_AMOUNT: 6
    FINE|3128/0|11-11-15 15:49:59| WRITTEN_AMOUNT: 6
    INFO|3128/0|11-11-15 15:49:59|Correct key
    INFO|3128/0|11-11-15 15:50:00|- Using "C:\Users\rdx1342\AppData\Local\Temp\vfs_cache" as temporary files store.
    INFO|3128/0|11-11-15 15:50:00|INFO|wrapper|11-11-15 15:50:00|init
    INFO|3128/0|11-11-15 15:50:00|INFO|wrapper|11-11-15 15:50:00|start from Thread main
    INFO|3128/0|11-11-15 15:50:00|INFO|wrapper|11-11-15 15:50:00|set state IDLE->STARTING
    INFO|3128/0|11-11-15 15:50:00|INFO|wrapper|11-11-15 15:50:00|starting Process
    INFO|3128/0|11-11-15 15:50:00|INFO|wrapper|11-11-15 15:50:00|starting controller
    INFO|3128/0|11-11-15 15:50:00|SEVERE|wrapper|11-11-15 15:50:00|could not find a free port in the range 15003…15003
    INFO|3128/0|11-11-15 15:50:00|INFO|wrapper|11-11-15 15:50:00|could not start controller -> abort
    INFO|3128/0|11-11-15 15:50:00|INFO|wrapper|11-11-15 15:50:00|set state STARTING->STATE_ABORT
    INFO|3128/0|11-11-15 15:50:00|INFO|wrapper|11-11-15 15:50:00|set state STATE_ABORT->IDLE
    INFO|3128/0|11-11-15 15:50:00|exit on main terminate -1
    INFO|3128/0|11-11-15 15:50:00|INFO|wrapper|11-11-15 15:50:00|Shutting down Wrapper
    FINE|3128/0|11-11-15 15:50:04| RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=2, cap=2)
    FINE|3128/0|11-11-15 15:50:04| RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=2, cap=2)
    FINE|3128/0|11-11-15 15:50:04| RECEIVED: Message:PING:
    FINE|3128/0|11-11-15 15:50:04| RECEIVED: Message:PING:
    FINE|3128/0|11-11-15 15:50:05| EXCEPTION: java.net.SocketException: Connection reset
    FINE|3128/0|11-11-15 15:50:05| EXCEPTION: java.net.SocketException: Connection reset
    INFO|3128/0|11-11-15 15:50:05|Connection reset
    FINE|3128/0|11-11-15 15:50:05| DISCONNECTED
    FINE|3128/0|11-11-15 15:50:05| DISCONNECTED
    INFO|3128/0|11-11-15 15:50:05|Controller State: LOGGED_ON -> WAITING_CLOSED
    INFO|3128/0|11-11-15 15:50:05|session closed -> waiting
    FINE|3128/0|11-11-15 15:50:05| UNBOUND
    FINE|3128/0|11-11-15 15:50:05| UNBOUND
    FINE|3128/0|11-11-15 15:50:05| CLOSED
    FINE|3128/0|11-11-15 15:50:05| CLOSED
    INFO|wrapper|11-11-15 15:50:05|WaitForSingleObject terminated PID: 3128
    INFO|3128/0|11-11-15 15:50:05|process terminated
    INFO|wrapper|11-11-15 15:50:06|GetExitCodeProcess returned 0
    INFO|wrapper|11-11-15 15:50:06|getExitCode 0 processINFO==null=false
    INFO|3128/0|11-11-15 15:50:06|Controller State: WAITING_CLOSED -> PROCESS_KILLED
    INFO|wrapper|11-11-15 15:50:06|getExitCode 0 processINFO==null=false
    INFO|wrapper|11-11-15 15:50:06|giving up after 0 retries
    INFO|wrapper|11-11-15 15:50:06|set state RUNNING->STATE_ABORT
    INFO|wrapper|11-11-15 15:50:06|stop from Thread yajsw.controller-2 reason: USER
    INFO|wrapper|11-11-15 15:50:06|process not in state RUNNING -> Delaying stop
    INFO|wrapper|11-11-15 15:50:06|set state STATE_ABORT->IDLE
    INFO|wrapper|11-11-15 15:50:06|Shutting down Wrapper
    Press any key to continue . . .

     
  • rzo

    rzo - 2011-11-15

    hello,

    thanks for the complete log. this is more helpful.
    according to the log your application starts correctly:

    INFO|3128/0|11-11-15 15:49:59|Controller State: ESTABLISHED -> LOGGED_ON

    however within your application you seem to be starting another wrapped application:

    INFO|3128/0|11-11-15 15:49:59|mainClass/jar/script: null/C:\OWRC_trunk\deployment\bat\..\wrapper.jar/null

    with the same configuration file:

    INFO|3128/0|11-11-15 15:49:59|C:\OWRC_trunk\deployment\bat\..\conf\wrapper.conf

    In order to be able to help you I will need some more information on what you are trying to do and your complete configuration file.

    • Ron
     
  • Mohit Sarda

    Mohit Sarda - 2011-11-16

    Thanks. The issue is resolved. I commented out the code
    # wrapper.java.app.jar= C:\\temp\\deployment\\wrapper.jar
    # wrapper.app.parameter.1=-c
    # wrapper.app.parameter.2=C:\\temp\\deployment\\conf\\wrapper.conf

    Now i am facing another issue.
    YAJSW seems to not pick up a file if we give the relative path.

    For example: If i specify the classpath as

    wrapper.java.classpath.5=../apache-tomcat-6.0.26/lib

    Then i get the error as

    Nov 16, 2011 10:39:23 AM org.rzo.yajsw.wrapper.FileUtils getFiles
    WARNING: No files found for ../lib
    Nov 16, 2011 10:39:23 AM org.rzo.yajsw.wrapper.FileUtils getFiles
    WARNING: No files found for ../resources
    Nov 16, 2011 10:39:23 AM org.rzo.yajsw.wrapper.FileUtils getFiles
    WARNING: No files found for ../webapps/openwire/WEB-INF/lib
    Nov 16, 2011 10:39:23 AM org.rzo.yajsw.wrapper.FileUtils getFiles
    WARNING: No files found for ../lib/openwire-server-module.jar
    Nov 16, 2011 10:39:23 AM org.rzo.yajsw.wrapper.FileUtils getFiles
    WARNING: No files found for ../apache-tomcat-6.0.26/lib
    Nov 16, 2011 10:39:23 AM org.rzo.yajsw.wrapper.FileUtils getFiles
    WARNING: No files found for ../apache-tomcat-6.0.26/lib/config-module.jar
    Nov 16, 2011 10:39:23 AM org.rzo.yajsw.wrapper.FileUtils getFiles
    WARNING: No files found for ../apache-tomcat-6.0.26/lib/commons-logging-1.0.4.ja
    r
    Nov 16, 2011 10:39:23 AM org.rzo.yajsw.wrapper.FileUtils getFiles
    WARNING: No files found for ../apache-tomcat-6.0.26/lib/log4j-1.2.15.jar

    Now if I change the classpath  as

    wrapper.java.classpath.5=${wrapper_home}..\\apache-tomcat-6.0.26\\lib

    Then this error is not thrown. Why is this so?

    For time being I modified all the classpath to point directly to the directory and then executed it.
    The wrapper seems to be working fine but the services stopped automatically and threw error when the application tried to access a file using the relative path. I need to understand why relative path is a issue with YAJSW. Please help.

    Second issue

    My app main class is
    wrapper.java.app.mainclass=com.lgc.openwire.server.OpenWireServerImpl

    This class is present in the jar file named abc.jar at the location ..\\lib.

    When I specify the classpath as
    wrapper.java.classpath.4=${wrapper_home}..\\lib

    It throws error that  - No class def found

    When I specify the classpath as

    wrapper.java.classpath.4=${wrapper_home}..\\lib\\openwire-server-module.jar

    It works fine. Why is this so? There a number of jar files at various locations that the application needs to access. It is not possible for me to specify all the jar files in the classpath.

     
  • Mohit Sarda

    Mohit Sarda - 2011-11-16

    As stated above that if we give relative paths then we get errors.

    My app main class accesses a file at ../resources/log4j/log4j.properties. The system throws error on this though it was working fine with Tanuki JSW. Please help.

    INFO|wrapper|11-11-16 13:17:06|started process with pid 3084
    INFO|wrapper|11-11-16 13:17:06|waiting for termination of process
    INFO|wrapper|11-11-16 13:17:06|set state STARTING->RUNNING
    INFO|wrapper|11-11-16 13:17:06|GetExitCodeProcess returned 259
    INFO|wrapper|11-11-16 13:17:06|getExitCode -2 processINFO==null=false
    INFO|wrapper|11-11-16 13:17:06|is running: true 3084 -2
    INFO|wrapper|11-11-16 13:17:06|GetExitCodeProcess returned 259
    INFO|wrapper|11-11-16 13:17:06|getExitCode -2 processINFO==null=false
    INFO|wrapper|11-11-16 13:17:06|is running: true 3084 -2
    INFO|3084/0|11-11-16 13:17:07|log4j:WARN No appenders could be found for logger
    (org.apache.commons.vfs.impl.DefaultFileReplicator).
    INFO|3084/0|11-11-16 13:17:07|log4j:WARN Please initialize the log4j system prop
    erly.
    INFO|3084/0|11-11-16 13:17:07|mainClass/jar/script: com.lgc.openwire.server.Open
    WireServerImpl/null/null
    INFO|3084/0|11-11-16 13:17:07|external stop false
    INFO|3084/0|11-11-16 13:17:07|args:
    INFO|3084/0|11-11-16 13:17:07|terminated WrapperManager.init()
    INFO|3084/0|11-11-16 13:17:07|log4j:ERROR Could not read configuration file [../
    resources/log4j/log4j.properties].
    INFO|3084/0|11-11-16 13:17:07|java.io.FileNotFoundException: ..\resources\log4j\
    log4j.properties (The system cannot find the path specified)
    INFO|3084/0|11-11-16 13:17:07|  at java.io.FileInputStream.open(Native Method)
    INFO|3084/0|11-11-16 13:17:07|  at java.io.FileInputStream.<init>(FileInputStrea
    m.java:106)
    INFO|3084/0|11-11-16 13:17:07|  at java.io.FileInputStream.<init>(FileInputStrea
    m.java:66)
    INFO|3084/0|11-11-16 13:17:07|  at org.apache.log4j.PropertyConfigurator.doConfi
    gure(PropertyConfigurator.java:316)
    INFO|3084/0|11-11-16 13:17:07|  at org.apache.log4j.PropertyConfigurator.configu

     
  • rzo

    rzo - 2011-11-16

    hello,

    concerning ".."
    this is a known bug and will be resolved with the next release

    to add all files of a folder to the classpath:
    wrapper.java.classpath.4=${home_dir}/lib/*

    that is the wild card (*) is missing

    note that you can also use the folder wild card (**)

    example :

    wrapper.java.classpath.1=${home}/lib/**/*

    if you want to add a folder with class files:

    wrapper.java.classpath.1=${home}/bin

    concerning log4j properties:
    according to your configuration the working dir is:

    C:\OWRC_trunk\deployment\bat

    you log4j properties is defined to be in:

    C:\OWRC_trunk\deployment\bat\../ resources/log4j/log4j.properties

    is this the case ?

    • Ron
     
  • Mohit Sarda

    Mohit Sarda - 2011-11-16

    Yes, log4j properties is defined to be in: C:\OWRC_trunk\deployment\bat\../ resources/log4j/log4j.properties

    I will try and get back to you on what you have suggested in your reply at point 11 of this conversation.

     
  • Mohit Sarda

    Mohit Sarda - 2011-11-16

    Thanks Man. Atleast the initial errors are gone and things looks to be moving ahead.
    I changed the location of the YAJSW jars and lib and  (don't know why) the error reading the log4j.properties is gone.

    Now I am getting the following error in the runConsole.bat.

    Please do not bother about the SLF4J error in the below log. It was there before also. From the log what i understand is that the connection is getting disconnected. Please help me on this.

    C:\Windows\system32>cd C:\OWRC_trunk\deployment\bin\

    C:\OWRC_trunk\deployment\bin>call setenv.bat
    /*/*/*/*/*---C:\OWRC_trunk\deployment\bin\
    JAVA EXE "C:\OWRC_trunk\deployment\bin\..\JDK1.6.0_19\bin\java"
    JAVAW EXE "C:\OWRC_trunk\deployment\bin\..\JDK1.6.0_19\bin\javaw"
    WRAPPER JAR "C:\OWRC_trunk\deployment\bin\..\wrapper\wrapper.jar"
    WRAPPER APP JAR "C:\OWRC_trunk\deployment\bin\..\wrapper\wrapperApp.jar"
    WRAPPER BAT "C:\OWRC_trunk\deployment\bin\wrapper.bat"
    WRAPPERW BAT "C:\OWRC_trunk\deployment\bin\wrapperW.bat"
    "C:\OWRC_trunk\deployment\bin\..\JDK1.6.0_19\bin\java" -Xmx30m -jar "C:\OWRC_tru
    nk\deployment\bin\..\wrapper\wrapper.jar" -c "C:\OWRC_trunk\deployment\bin\..\co
    nf\wrapper.conf"
    Nov 16, 2011 3:01:30 PM org.apache.commons.vfs.VfsLog info
    INFO: Using "C:\Users\rdx1342\AppData\Local\Temp\vfs_cache" as temporary files s
    tore.
    INFO|wrapper|11-11-16 15:01:31|init
    INFO|wrapper|11-11-16 15:01:31|start from Thread main
    INFO|wrapper|11-11-16 15:01:31|set state IDLE->STARTING
    INFO|wrapper|11-11-16 15:01:31|starting Process
    INFO|wrapper|11-11-16 15:01:31|starting controller
    INFO|wrapper|11-11-16 15:01:31|binding to port 15003
    INFO|wrapper|11-11-16 15:01:31|Controller State: UNKNOWN -> WAITING
    INFO|wrapper|11-11-16 15:01:31|binding successfull
    INFO|wrapper|11-11-16 15:01:31|controller started
    INFO|wrapper|11-11-16 15:01:31|working dir C:\OWRC_trunk\deployment\wrapper\.
    INFO|wrapper|11-11-16 15:01:31|spawning wrapped process
    INFO|wrapper|11-11-16 15:01:31|is running: false pid=(-1<=0)
    INFO|wrapper|11-11-16 15:01:31|exec: "C:\OWRC_trunk\deployment\JDK1.6.0_19\jre\b
    in\java" "-Dwrapper.teeName=-3104191585887299282$1321435891345" "-Dwrapper.confi
    g=C:\OWRC_trunk\deployment\conf\wrapper.conf" "-Dwrapper.key=-310419158588729928
    2" "-Dwrapper.port=15003" "-Dwrapper.key=-3104191585887299282" "-Dwrapper.teeNam
    e=-3104191585887299282$1321435891345" "-Dwrapper.tmpPath=C:\Users\rdx1342\AppDat
    a\Local\Temp" "-classpath" "/C:/OWRC_trunk/deployment/wrapper/./wrapperApp.jar;C
    :\OWRC_trunk\deployment\lib\com_lgc_util.jar;C:\OWRC_trunk\deployment\lib\openwi
    re-server-module.jar;C:\OWRC_trunk\deployment\lib\wrapper.dll;C:\OWRC_trunk\depl
    oyment\lib\wrapper.jar;C:\OWRC_trunk\deployment\resources\edm.msde.config.xml;C:
    \OWRC_trunk\deployment\resources\edm.oracle.config.xml;C:\OWRC_trunk\deployment\
    resources\hibernate.cfg.msde.xml;C:\OWRC_trunk\deployment\resources\hibernate.cf
    g.oracle.xml;C:\OWRC_trunk\deployment\resources\hibernate.cfg.sql2005.xml;C:\OWR
    C_trunk\deployment\resources\hibernate.cfg.xml;C:\OWRC_trunk\deployment\webapps\
    openwire\WEB-INF\lib\activation.jar;C:\OWRC_trunk\deployment\webapps\openwire\WE
    B-INF\lib\commons-fileupload-1.0.jar;C:\OWRC_trunk\deployment\webapps\openwire\W
    EB-INF\lib\com_lgc_util.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\li
    b\Echo2_App.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\Echo2_Char
    t_App.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\Echo2_Chart_WebC
    ontainer.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\Echo2_Extras_
    App.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\Echo2_Extras_WebCo
    ntainer.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\Echo2_FileTran
    sfer_App.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\Echo2_FileTra
    nsfer_WebContainer.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\Ech
    o2_WebContainer.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\Echo2_
    WebRender.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\echopointng-
    2.1.0rc5.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\geoframe-modu
    le.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\imap.jar;C:\OWRC_tr
    unk\deployment\webapps\openwire\WEB-INF\lib\jcommon-1.0.0.jar;C:\OWRC_trunk\depl
    oyment\webapps\openwire\WEB-INF\lib\jcommon-1.0.16.jar;C:\OWRC_trunk\deployment\
    webapps\openwire\WEB-INF\lib\jdom.jar;C:\OWRC_trunk\deployment\webapps\openwire\
    WEB-INF\lib\jfreechart-1.0.13.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-
    INF\lib\mailapi.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\msde-s
    upport-module.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\OpenSpir
    it.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\openwiregui-message
    s.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\openwiregui.jar;C:\O
    WRC_trunk\deployment\webapps\openwire\WEB-INF\lib\openworks-module.jar;C:\OWRC_t
    runk\deployment\webapps\openwire\WEB-INF\lib\oracle-support-module.jar;C:\OWRC_t
    runk\deployment\webapps\openwire\WEB-INF\lib\orb.jar;C:\OWRC_trunk\deployment\we
    bapps\openwire\WEB-INF\lib\ospcom.jar;C:\OWRC_trunk\deployment\webapps\openwire\
    WEB-INF\lib\osporg.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\pip
    eline-module.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\poi-2.5.1
    -final-20040804.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\poi-co
    ntrib-2.5.1-final-20040804.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF
    \lib\poi-scratchpad-2.5.1-final-20040804.jar;C:\OWRC_trunk\deployment\webapps\op
    enwire\WEB-INF\lib\pop3.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\li
    b\poslog-module.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\smtp.j
    ar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\sqlExpress-support-modu
    le.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\WellplanPlugin.jar;
    C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\annotations-api.jar;C:\OWRC_tr
    unk\deployment\apache-tomcat-6.0.26\lib\antlr-2.7.6.jar;C:\OWRC_trunk\deployment
    \apache-tomcat-6.0.26\lib\asm-attrs.jar;C:\OWRC_trunk\deployment\apache-tomcat-6
    .0.26\lib\asm.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\axis-ant.jar
    ;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\axis.jar;C:\OWRC_trunk\deploy
    ment\apache-tomcat-6.0.26\lib\c3p0-0.9.0.jar;C:\OWRC_trunk\deployment\apache-tom
    cat-6.0.26\lib\c3p0-0.9.1.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\
    cartointf90_8.dll;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\cartointf90_
    9.dll;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\catalina-ant.jar;C:\OWRC
    _trunk\deployment\apache-tomcat-6.0.26\lib\catalina-ha.jar;C:\OWRC_trunk\deploym
    ent\apache-tomcat-6.0.26\lib\catalina-tribes.jar;C:\OWRC_trunk\deployment\apache
    -tomcat-6.0.26\lib\catalina.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\li
    b\cglib-2.1.3.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\commons-code
    c-1.3.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\commons-collections-
    2.1.1.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\commons-collections-
    3.1.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\commons-discovery-0.2.
    jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\commons-logging-1.0.4.jar;
    C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\commons-logging-1.1.1.jar;C:\O
    WRC_trunk\deployment\apache-tomcat-6.0.26\lib\com_lgc_dsosgi.jar;C:\OWRC_trunk\d
    eployment\apache-tomcat-6.0.26\lib\com_lgc_hsf.jar;C:\OWRC_trunk\deployment\apac
    he-tomcat-6.0.26\lib\com_lgc_jcartointf.jar;C:\OWRC_trunk\deployment\apache-tomc
    at-6.0.26\lib\com_lgc_owsw.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib
    \com_lgc_ow_base90_9.dll;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\com_l
    gc_ow_devkit.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\com_lgc_ow_de
    vkit90_9.dll;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\com_lgc_ow_gdi_da
    taTypes.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\com_lgc_util.dll;C
    :\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\com_lgc_util.jar;C:\OWRC_trunk\
    deployment\apache-tomcat-6.0.26\lib\concurrent-1.3.2.jar;C:\OWRC_trunk\deploymen
    t\apache-tomcat-6.0.26\lib\config-module-messages.jar;C:\OWRC_trunk\deployment\a
    pache-tomcat-6.0.26\lib\config-module.jar;C:\OWRC_trunk\deployment\apache-tomcat
    -6.0.26\lib\connector.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\core
    _model_api.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\dom4j-1.6.1.jar
    ;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\edm-datamanagers.jar;C:\OWRC_
    trunk\deployment\apache-tomcat-6.0.26\lib\edm-dtos.jar;C:\OWRC_trunk\deployment\
    apache-tomcat-6.0.26\lib\edm-module.jar;C:\OWRC_trunk\deployment\apache-tomcat-6
    .0.26\lib\edmrt-module.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\ehc
    ache-1.1.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\ehcache-1.2.3.jar
    ;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\ehcache-1.2.jar;C:\OWRC_trunk
    \deployment\apache-tomcat-6.0.26\lib\ejb3-persistence.jar;C:\OWRC_trunk\deployme
    nt\apache-tomcat-6.0.26\lib\el-api.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.
    0.26\lib\GeoCalc90_6_4.dll;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\Geo
    CalcPBW90_6_4.dll;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\hibernate-an
    notations.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\hibernate-cglib-
    repack-2.1_3.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\hibernate-com
    mons-annotations.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\hibernate
    -validator.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\hibernate3.jar;
    C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\internalOpenwireSchemas.jar;C:
    \OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jaas.jar;C:\OWRC_trunk\deploymen
    t\apache-tomcat-6.0.26\lib\jasper-el.jar;C:\OWRC_trunk\deployment\apache-tomcat-
    6.0.26\lib\jasper-jdt.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jasp
    er.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\javassist-3.4.GA.jar;C:
    \OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jaxrpc.jar;C:\OWRC_trunk\deploym
    ent\apache-tomcat-6.0.26\lib\jboss-cache-1.4.1.GA.jar;C:\OWRC_trunk\deployment\a
    pache-tomcat-6.0.26\lib\jboss-cache.jar;C:\OWRC_trunk\deployment\apache-tomcat-6
    .0.26\lib\jboss-common.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jbo
    ss-jmx.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jboss-system.jar;C:
    \OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jbosscache-core-2.1.1.GA.jar;C:\
    OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\JDataServices.jar;C:\OWRC_trunk\d
    eployment\apache-tomcat-6.0.26\lib\jdbc2_0-stdext.jar;C:\OWRC_trunk\deployment\a
    pache-tomcat-6.0.26\lib\jdom.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\l
    ib\jgroups-2.2.8.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jRegistry
    Key.dll;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jRegistryKey.jar;C:\OW
    RC_trunk\deployment\apache-tomcat-6.0.26\lib\jsp-api.jar;C:\OWRC_trunk\deploymen
    t\apache-tomcat-6.0.26\lib\jsr173_1.0_api.jar;C:\OWRC_trunk\deployment\apache-to
    mcat-6.0.26\lib\jta-1.1.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jt
    a.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jtds-1.2.jar;C:\OWRC_tru
    nk\deployment\apache-tomcat-6.0.26\lib\LGCbase90_9.dll;C:\OWRC_trunk\deployment\
    apache-tomcat-6.0.26\lib\log4j-1.2.11.jar;C:\OWRC_trunk\deployment\apache-tomcat
    -6.0.26\lib\log4j-1.2.15.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\l
    og4j-1.2.8.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\lucene-core-2.0
    .0.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\ojdbc14.jar;C:\OWRC_tru
    nk\deployment\apache-tomcat-6.0.26\lib\openwire-licensing-module.jar;C:\OWRC_tru
    nk\deployment\apache-tomcat-6.0.26\lib\openwire-licensing-r5000-module.jar;C:\OW
    RC_trunk\deployment\apache-tomcat-6.0.26\lib\openwire-nli.dll;C:\OWRC_trunk\depl
    oyment\apache-tomcat-6.0.26\lib\openwire-realm.jar;C:\OWRC_trunk\deployment\apac
    he-tomcat-6.0.26\lib\openwire-server-client.jar;C:\OWRC_trunk\deployment\apache-
    tomcat-6.0.26\lib\openwire-server-stubs.jar;C:\OWRC_trunk\deployment\apache-tomc
    at-6.0.26\lib\oscache-2.1.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\
    owdevkit90_9.dll;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\proxool-0.8.3
    .jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\resolver.jar;C:\OWRC_trun
    k\deployment\apache-tomcat-6.0.26\lib\saaj.jar;C:\OWRC_trunk\deployment\apache-t
    omcat-6.0.26\lib\servlet-api.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\l
    ib\slf4j-api-1.5.8.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\slf4j-l
    og4j12-1.5.8.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\swarmcache-1.
    0rc2.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\tdgssconfig.jar;C:\OW
    RC_trunk\deployment\apache-tomcat-6.0.26\lib\teradata-datamanagers.jar;C:\OWRC_t
    runk\deployment\apache-tomcat-6.0.26\lib\teradata-dtos.jar;C:\OWRC_trunk\deploym
    ent\apache-tomcat-6.0.26\lib\teradata-reveng.jar;C:\OWRC_trunk\deployment\apache
    -tomcat-6.0.26\lib\teradata.config.xml;C:\OWRC_trunk\deployment\apache-tomcat-6.
    0.26\lib\terajdbc4.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\tomcat-
    coyote.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\tomcat-dbcp.jar;C:\
    OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\tomcat-i18n-es.jar;C:\OWRC_trunk\
    deployment\apache-tomcat-6.0.26\lib\tomcat-i18n-fr.jar;C:\OWRC_trunk\deployment\
    apache-tomcat-6.0.26\lib\tomcat-i18n-ja.jar;C:\OWRC_trunk\deployment\apache-tomc
    at-6.0.26\lib\units_service_api.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.2
    6\lib\utils-module.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\vecmath
    .jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\webservices-api.jar;C:\OW
    RC_trunk\deployment\apache-tomcat-6.0.26\lib\webservices-extra-api.jar;C:\OWRC_t
    runk\deployment\apache-tomcat-6.0.26\lib\webservices-extra.jar;C:\OWRC_trunk\dep
    loyment\apache-tomcat-6.0.26\lib\webservices-rt.jar;C:\OWRC_trunk\deployment\apa
    che-tomcat-6.0.26\lib\webservices-tools.jar;C:\OWRC_trunk\deployment\apache-tomc
    at-6.0.26\lib\wellspace.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\we
    llspace_api.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\wellspace_core
    .jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\wellspace_facade.jar;C:\O
    WRC_trunk\deployment\apache-tomcat-6.0.26\lib\wellspace_server.jar;C:\OWRC_trunk
    \deployment\apache-tomcat-6.0.26\lib\witsml-api.jar;C:\OWRC_trunk\deployment\apa
    che-tomcat-6.0.26\lib\witsml-stubs-120.jar;C:\OWRC_trunk\deployment\apache-tomca
    t-6.0.26\lib\witsml-stubs-131.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\
    lib\witsmlapi-xslt.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\witsmlO
    bjects120.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\witsmlObjects131
    .jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\witsmlUnit120.jar;C:\OWRC
    _trunk\deployment\apache-tomcat-6.0.26\lib\wrapper-windows-x86-32.dll;C:\OWRC_tr
    unk\deployment\apache-tomcat-6.0.26\lib\wrapper.dll;C:\OWRC_trunk\deployment\apa
    che-tomcat-6.0.26\lib\wrapper.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\
    lib\wrappertest.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\wsdl4j-1.5
    .1.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\xbean.jar;C:\OWRC_trunk
    \deployment\apache-tomcat-6.0.26\lib\xbean_xpath.jar;C:\OWRC_trunk\deployment\ap
    ache-tomcat-6.0.26\lib\xerces-c80_2_6.dll;C:\OWRC_trunk\deployment\apache-tomcat
    -6.0.26\lib\xerces-c90_3_0.dll;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib
    \xmlpublic.jar" "-Djava.library.path=C:\OWRC_trunk\deployment\bin\../lib;C:\OWRC
    _trunk\deployment\bin\../apache-tomcat-6.0.26/lib" "org.rzo.yajsw.app.WrapperJVM
    Main"
    INFO|wrapper|11-11-16 15:01:31|started process with pid 4220
    INFO|wrapper|11-11-16 15:01:31|waiting for termination of process
    INFO|wrapper|11-11-16 15:01:31|set state STARTING->RUNNING
    INFO|wrapper|11-11-16 15:01:31|GetExitCodeProcess returned 259
    INFO|wrapper|11-11-16 15:01:31|getExitCode -2 processINFO==null=false
    INFO|wrapper|11-11-16 15:01:31|is running: true 4220 -2
    INFO|wrapper|11-11-16 15:01:31|GetExitCodeProcess returned 259
    INFO|wrapper|11-11-16 15:01:31|getExitCode -2 processINFO==null=false
    INFO|wrapper|11-11-16 15:01:31|is running: true 4220 -2
    INFO|4220/0|11-11-16 15:01:32|- Using "C:\Users\rdx1342\AppData\Local\Temp\vfs_c
    ache" as temporary files store.
    INFO|4220/0|11-11-16 15:01:32|mainClass/jar/script: com.lgc.openwire.server.Open
    WireServerImpl/null/null
    INFO|4220/0|11-11-16 15:01:32|external stop false
    INFO|4220/0|11-11-16 15:01:32|args:
    INFO|4220/0|11-11-16 15:01:32|terminated WrapperManager.init()
    INFO|4220/0|11-11-16 15:01:32|- Starting OpenWire server at Wed Nov 16 15:01:32
    IST 2011
    INFO|4220/0|11-11-16 15:01:32|- Setting up log4j configuration
    INFO|4220/0|11-11-16 15:01:33|Logging ON
    INFO|4220/0|11-11-16 15:01:33|Nov 16, 2011 3:01:32 PM org.rzo.yajsw.app.WrapperM
    anagerImpl start
    INFO|4220/0|11-11-16 15:01:33|INFO: Logging ON
    FINE|4220/0|11-11-16 15:01:33|[id: 0x010c0f66, /127.0.0.1:58129 => /
    127.0.0.1:15003] OPEN
    FINE|4220/0|11-11-16 15:01:33|[id: 0x010c0f66, /127.0.0.1:58129 => /
    127.0.0.1:15003] OPEN
    FINE|4220/0|11-11-16 15:01:33|[id: 0x010c0f66, /127.0.0.1:58129 => /
    127.0.0.1:15003] BOUND: /127.0.0.1:15003
    FINE|4220/0|11-11-16 15:01:33|[id: 0x010c0f66, /127.0.0.1:58129 => /
    127.0.0.1:15003] BOUND: /127.0.0.1:15003
    FINE|4220/0|11-11-16 15:01:33|[id: 0x010c0f66, /127.0.0.1:58129 => /
    127.0.0.1:15003] CONNECTED: /127.0.0.1:58129
    FINE|4220/0|11-11-16 15:01:33|[id: 0x010c0f66, /127.0.0.1:58129 => /
    127.0.0.1:15003] CONNECTED: /127.0.0.1:58129
    INFO|4220/0|11-11-16 15:01:33|Controller State: WAITING -> ESTABLISHED
    FINE|4220/0|11-11-16 15:01:33|[id: 0x010c0f66, /127.0.0.1:58129 => /
    127.0.0.1:15003] RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=22, cap=22)
    FINE|4220/0|11-11-16 15:01:33|[id: 0x010c0f66, /127.0.0.1:58129 => /
    127.0.0.1:15003] RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=22, cap=22)
    FINE|4220/0|11-11-16 15:01:33|[id: 0x010c0f66, /127.0.0.1:58129 => /
    127.0.0.1:15003] RECEIVED: Message:KEY:-3104191585887299282
    FINE|4220/0|11-11-16 15:01:33|[id: 0x010c0f66, /127.0.0.1:58129 => /
    127.0.0.1:15003] RECEIVED: Message:KEY:-3104191585887299282
    INFO|4220/0|11-11-16 15:01:33|Controller State: ESTABLISHED -> LOGGED_ON
    FINE|4220/0|11-11-16 15:01:33|[id: 0x010c0f66, /127.0.0.1:58129 => /
    127.0.0.1:15003] WRITE: Message:OKKEY:4220
    FINE|4220/0|11-11-16 15:01:33|[id: 0x010c0f66, /127.0.0.1:58129 => /
    127.0.0.1:15003] WRITE: Message:OKKEY:4220
    FINE|4220/0|11-11-16 15:01:33|[id: 0x010c0f66, /127.0.0.1:58129 => /
    127.0.0.1:15003] WRITE: BigEndianHeapChannelBuffer(ridx=0, widx=6, cap=6)
    FINE|4220/0|11-11-16 15:01:33|[id: 0x010c0f66, /127.0.0.1:58129 => /
    127.0.0.1:15003] WRITE: BigEndianHeapChannelBuffer(ridx=0, widx=6, cap=6)
    FINE|4220/0|11-11-16 15:01:33|[id: 0x010c0f66, /127.0.0.1:58129 => /
    127.0.0.1:15003] WRITTEN_AMOUNT: 6
    FINE|4220/0|11-11-16 15:01:33|[id: 0x010c0f66, /127.0.0.1:58129 => /
    127.0.0.1:15003] WRITTEN_AMOUNT: 6
    INFO|4220/0|11-11-16 15:01:33|Correct key
    INFO|4220/0|11-11-16 15:01:33|Already checking heartbeat!
    INFO|4220/0|11-11-16 15:01:33|Already checking heartbeat!
    INFO|4220/0|11-11-16 15:01:34|SLF4J: This version of SLF4J requires log4j versio
    n 1.2.12 or later. See also http://www.slf4j.org/codes.html#log4j_version
    FINE|4220/0|11-11-16 15:01:34|[id: 0x010c0f66, /127.0.0.1:58129 => /
    127.0.0.1:15003] EXCEPTION: java.net.SocketException: Connection reset
    FINE|4220/0|11-11-16 15:01:34|[id: 0x010c0f66, /127.0.0.1:58129 => /
    127.0.0.1:15003] EXCEPTION: java.net.SocketException: Connection reset
    INFO|4220/0|11-11-16 15:01:34|Connection reset
    FINE|4220/0|11-11-16 15:01:34|[id: 0x010c0f66, /127.0.0.1:58129 :> /
    127.0.0.1:15003] DISCONNECTED
    FINE|4220/0|11-11-16 15:01:34|[id: 0x010c0f66, /127.0.0.1:58129 :> /
    127.0.0.1:15003] DISCONNECTED
    INFO|4220/0|11-11-16 15:01:34|Controller State: LOGGED_ON -> WAITING_CLOSED
    INFO|4220/0|11-11-16 15:01:34|session closed -> waiting
    FINE|4220/0|11-11-16 15:01:34|[id: 0x010c0f66, /127.0.0.1:58129 :> /
    127.0.0.1:15003] UNBOUND
    FINE|4220/0|11-11-16 15:01:34|[id: 0x010c0f66, /127.0.0.1:58129 :> /
    127.0.0.1:15003] UNBOUND
    FINE|4220/0|11-11-16 15:01:34|[id: 0x010c0f66, /127.0.0.1:58129 :> /
    127.0.0.1:15003] CLOSED
    INFO|wrapper|11-11-16 15:01:34|WaitForSingleObject terminated PID: 4220
    FINE|4220/0|11-11-16 15:01:34|[id: 0x010c0f66, /127.0.0.1:58129 :> /
    127.0.0.1:15003] CLOSED
    INFO|4220/0|11-11-16 15:01:34|process terminated
    INFO|wrapper|11-11-16 15:01:34|GetExitCodeProcess returned 1
    INFO|wrapper|11-11-16 15:01:34|getExitCode 1 processINFO==null=false
    INFO|4220/0|11-11-16 15:01:34|Controller State: WAITING_CLOSED -> PROCESS_KILLED

    INFO|wrapper|11-11-16 15:01:35|getExitCode 1 processINFO==null=false
    INFO|wrapper|11-11-16 15:01:35|giving up after 0 retries
    INFO|wrapper|11-11-16 15:01:35|set state RUNNING->STATE_ABORT
    INFO|wrapper|11-11-16 15:01:35|stop from Thread yajsw.controller-2 reason: USER
    INFO|wrapper|11-11-16 15:01:35|process not in state RUNNING -> Delaying stop
    INFO|wrapper|11-11-16 15:01:35|set state STATE_ABORT->IDLE
    INFO|wrapper|11-11-16 15:01:35|Shutting down Wrapper
    Press any key to continue . . .

     
  • Mohit Sarda

    Mohit Sarda - 2011-11-16

    the wrapper.conf file

    #********************************************************************
    # Wrapper Properties
    #********************************************************************
    # Java Application
    wrapper.java.command=${wrapper_home}../jdk1.6.0_19/jre/bin/java
    # wrapper.working.dir = ${wrapper_home}
    owhome = wrapper.app.env.owhome
    path = wrapper.app.env.path
    wrapper.app.env.path = ${owhome}/oracle32/instantclient;${path}

    # wrapper.java.app.jar= ${wrapper_home}../wrapper.jar
    # wrapper.app.parameter.1=-c
    # wrapper.app.parameter.2=${wrapper_home}../conf/wrapper.conf

    wrapper.java.library.path.1=${wrapper_home}../lib
    wrapper.java.library.path.2=${wrapper_home}../apache-tomcat-6.0.26/lib
    wrapper.java.classpath.1=${wrapper_home}../lib/*
    wrapper.java.classpath.2=${wrapper_home}../resources/*
    wrapper.java.classpath.3=${wrapper_home}../webapps/openwire/WEB-INF/lib/*
    wrapper.java.classpath.4=${wrapper_home}../apache-tomcat-6.0.26/lib/*

    # Application parameters.  Add parameters as needed starting from 1
    wrapper.java.app.mainclass=com.lgc.openwire.server.OpenWireServerImpl

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

    # 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/openwireService-ROLLNUM.log.txt

    # 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=200k

    # 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=2

    # 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 = LGC OpenWire Client Database

    #********************************************************************
    # 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.

    wrapper.ntservice.account=rdx\\rdx1342
    wrapper.ntservice.password=tcs1342!!!

    # Name of the service
    wrapper.ntservice.name=LGC OpenWire Client Database

    # Display name of the service
    wrapper.ntservice.displayname=LGC OpenWire Client Database

    # Description of the service
    wrapper.ntservice.description=LGC OpenWire Client Database

    # 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.port = 15777
    wrapper.debug=true

     
  • rzo

    rzo - 2011-11-16

    hello,

    according to the log file your application starts and terminates after logging the slf4j error message.
    concerning your configuration:
    try not to use ".." in the classpath properties.

    note:
    owhome = wrapper.app.env.owhome
    path = wrapper.app.env.path
    wrapper.app.env.path = ${owhome}/oracle32/instantclient;${path}

    will result in setting the env variable path to:
    wrapper.app.env.owhome/oracle32/instantclient;wrapper.app.env.path

    is this your intention ?

    to make things simple:
    do you have a batch file for starting your application without a wrapper ?
    if yes, see the doc for quickstartup using genconfig.batr

    • Ron
     
  • Mohit Sarda

    Mohit Sarda - 2011-11-17

    Hi Ron

    For testing purpose I removed the '..' and executed the runconsole.bat but I am getting the same error.
    wrapper.java.library.path.1=C:/OWRC_trunk/deployment/lib
    wrapper.java.library.path.2=C:/OWRC_trunk/deployment/apache-tomcat-6.0.26/lib

    wrapper.java.classpath.1=C:/OWRC_trunk/deployment/lib/*
    wrapper.java.classpath.2=C:/OWRC_trunk/deployment/resources/*
    wrapper.java.classpath.3=C:/OWRC_trunk/deployment/webapps/openwire/WEB-INF/lib/*
    wrapper.java.classpath.4=C:/OWRC_trunk/deployment/apache-tomcat-6.0.26/lib/*

    Regarding setting of the PATH env variable, my intention is to append the PATH variable and add

    ${owhome}/oracle32/instantclient

    I tried removing the ${path} at the end but it makes no difference.

    tried both of these
    1. wrapper.app.env.path = ${owhome}/oracle32/instantclient;${path}
    2. wrapper.app.env.path = ${owhome}/oracle32/instantclient

     
  • Mohit Sarda

    Mohit Sarda - 2011-11-17

    My app does not have a batch file to start. Otherwise i would have definitely tried the getconfig.bat.

    My app is web based and runs on tomcat. There are 2 services of the application  - one for database and other for tomcat. Currently I am trying to run the database services using YAJSW. If it works then i will migrate tomcat service to YAJSW.

     
  • rzo

    rzo - 2011-11-17

    hello,

    taking a look at the command line, I see that you have multiple versions of the same framework (jar) in your classpath.
    the reason for yajsw failing while jsw works could be that the jar files are put onto the classpath in a different order.

    it is not good practice to have the same frameworks with different versions on the classpath.

    further I see that in your jsw configuration you are using another tomcat folder as for yajsw.

    to make sure that both applications use the same classpath pls set within the jsw configuration wrapper.debug=true. this should get jsw to log the command line. pls post the command line, so that we may compare it to that of yajsw.

    • Ron
     
  • Mohit Sarda

    Mohit Sarda - 2011-11-18

    Original wrapper.conf debug output

    STATUS | wrapper  | 2011/11/18 12:17:29 | -> Wrapper Started as Service
    DEBUG  | wrapper  | 2011/11/18 12:17:29 | Using tick timer.
    DEBUG  | wrapperp | 2011/11/18 12:17:29 | server listening on port 32000.
    STATUS | wrapper  | 2011/11/18 12:17:29 | Launching a JVM…
    DEBUG  | wrapper  | 2011/11/18 12:17:29 | command: "..\JDK1.6.0_19\bin\java" -server -Xms64m

    -Xmx512m -Djava.library.path="../lib;../apache-tomcat-6.0.26/lib" -classpath

    "../lib/com_lgc_util.jar;../lib/openwire-server-module.jar;../lib/wrapper.jar;../resources;../web

    apps/openwire/WEB-INF/lib/activation.jar;../webapps/openwire/WEB-INF/lib/commons-fileupload-1.0.j

    ar;../webapps/openwire/WEB-INF/lib/com_lgc_util.jar;../webapps/openwire/WEB-INF/lib/Echo2_App.jar

    ;../webapps/openwire/WEB-INF/lib/Echo2_Chart_App.jar;../webapps/openwire/WEB-INF/lib/Echo2_Chart_

    WebContainer.jar;../webapps/openwire/WEB-INF/lib/Echo2_Extras_App.jar;../webapps/openwire/WEB-INF

    /lib/Echo2_Extras_WebContainer.jar;../webapps/openwire/WEB-INF/lib/Echo2_FileTransfer_App.jar;../

    webapps/openwire/WEB-INF/lib/Echo2_FileTransfer_WebContainer.jar;../webapps/openwire/WEB-INF/lib/

    Echo2_WebContainer.jar;../webapps/openwire/WEB-INF/lib/Echo2_WebRender.jar;../webapps/openwire/WE

    B-INF/lib/echopointng-2.1.0rc5.jar;../webapps/openwire/WEB-INF/lib/geoframe-module.jar;../webapps

    /openwire/WEB-INF/lib/imap.jar;../webapps/openwire/WEB-INF/lib/jcommon-1.0.0.jar;../webapps/openw

    ire/WEB-INF/lib/jcommon-1.0.16.jar;../webapps/openwire/WEB-INF/lib/jdom.jar;../webapps/openwire/W

    EB-INF/lib/jfreechart-1.0.13.jar;../webapps/openwire/WEB-INF/lib/mailapi.jar;../webapps/openwire/

    WEB-INF/lib/msde-support-module.jar;../webapps/openwire/WEB-INF/lib/OpenSpirit.jar;../webapps/ope

    nwire/WEB-INF/lib/openwiregui-messages.jar;../webapps/openwire/WEB-INF/lib/openwiregui.jar;../web

    apps/openwire/WEB-INF/lib/openworks-module.jar;../webapps/openwire/WEB-INF/lib/oracle-support-mod

    ule.jar;../webapps/openwire/WEB-INF/lib/orb.jar;../webapps/openwire/WEB-INF/lib/ospcom.jar;../web

    apps/openwire/WEB-INF/lib/osporg.jar;../webapps/openwire/WEB-INF/lib/pipeline-module.jar;../webap

    ps/openwire/WEB-INF/lib/poi-2.5.1-final-20040804.jar;../webapps/openwire/WEB-INF/lib/poi-contrib-

    2.5.1-final-20040804.jar;../webapps/openwire/WEB-INF/lib/poi-scratchpad-2.5.1-final-20040804.jar;

    ../webapps/openwire/WEB-INF/lib/pop3.jar;../webapps/openwire/WEB-INF/lib/poslog-module.jar;../web

    apps/openwire/WEB-INF/lib/smtp.jar;../webapps/openwire/WEB-INF/lib/sqlExpress-support-module.jar;

    ../webapps/openwire/WEB-INF/lib/WellplanPlugin.jar;../lib/openwire-server-module.jar;../apache-to

    mcat-6.0.26/lib/annotations-api.jar;../apache-tomcat-6.0.26/lib/antlr-2.7.6.jar;../apache-tomcat-

    6.0.26/lib/asm-attrs.jar;../apache-tomcat-6.0.26/lib/asm.jar;../apache-tomcat-6.0.26/lib/axis-ant

    .jar;../apache-tomcat-6.0.26/lib/axis.jar;../apache-tomcat-6.0.26/lib/c3p0-0.9.0.jar;../apache-to

    mcat-6.0.26/lib/c3p0-0.9.1.jar;../apache-tomcat-6.0.26/lib/catalina-ant.jar;../apache-tomcat-6.0.

    26/lib/catalina-ha.jar;../apache-tomcat-6.0.26/lib/catalina-tribes.jar;../apache-tomcat-6.0.26/li

    b/catalina.jar;../apache-tomcat-6.0.26/lib/cglib-2.1.3.jar;../apache-tomcat-6.0.26/lib/commons-co

    dec-1.3.jar;../apache-tomcat-6.0.26/lib/commons-collections-2.1.1.jar;../apache-tomcat-6.0.26/lib

    /commons-collections-3.1.jar;../apache-tomcat-6.0.26/lib/commons-discovery-0.2.jar;../apache-tomc

    at-6.0.26/lib/commons-logging-1.0.4.jar;../apache-tomcat-6.0.26/lib/commons-logging-1.1.1.jar;../

    apache-tomcat-6.0.26/lib/com_lgc_dsosgi.jar;../apache-tomcat-6.0.26/lib/com_lgc_hsf.jar;../apache

    -tomcat-6.0.26/lib/com_lgc_jcartointf.jar;../apache-tomcat-6.0.26/lib/com_lgc_owsw.jar;../apache-

    tomcat-6.0.26/lib/com_lgc_ow_devkit.jar;../apache-tomcat-6.0.26/lib/com_lgc_ow_gdi_dataTypes.jar;

    ../apache-tomcat-6.0.26/lib/com_lgc_util.jar;../apache-tomcat-6.0.26/lib/concurrent-1.3.2.jar;../

    apache-tomcat-6.0.26/lib/config-module-messages.jar;../apache-tomcat-6.0.26/lib/config-module.jar

    ;../apache-tomcat-6.0.26/lib/connector.jar;../apache-tomcat-6.0.26/lib/core_model_api.jar;../apac

    he-tomcat-6.0.26/lib/dom4j-1.6.1.jar;../apache-tomcat-6.0.26/lib/edm-datamanagers.jar;../apache-t

    omcat-6.0.26/lib/edm-dtos.jar;../apache-tomcat-6.0.26/lib/edm-module.jar;../apache-tomcat-6.0.26/

    lib/edmrt-module.jar;../apache-tomcat-6.0.26/lib/ehcache-1.1.jar;../apache-tomcat-6.0.26/lib/ehca

    che-1.2.3.jar;../apache-tomcat-6.0.26/lib/ehcache-1.2.jar;../apache-tomcat-6.0.26/lib/ejb3-persis

    tence.jar;../apache-tomcat-6.0.26/lib/el-api.jar;../apache-tomcat-6.0.26/lib/hibernate-annotation

    s.jar;../apache-tomcat-6.0.26/lib/hibernate-cglib-repack-2.1_3.jar;../apache-tomcat-6.0.26/lib/hi

    bernate-commons-annotations.jar;../apache-tomcat-6.0.26/lib/hibernate-validator.jar;../apache-tom

    cat-6.0.26/lib/hibernate3.jar;../apache-tomcat-6.0.26/lib/internalOpenwireSchemas.jar;../apache-t

    omcat-6.0.26/lib/jaas.jar;../apache-tomcat-6.0.26/lib/jasper-el.jar;../apache-tomcat-6.0.26/lib/j

    asper-jdt.jar;../apache-tomcat-6.0.26/lib/jasper.jar;../apache-tomcat-6.0.26/lib/javassist-3.4.GA

    .jar;../apache-tomcat-6.0.26/lib/jaxrpc.jar;../apache-tomcat-6.0.26/lib/jboss-cache-1.4.1.GA.jar;

    ../apache-tomcat-6.0.26/lib/jboss-cache.jar;../apache-tomcat-6.0.26/lib/jboss-common.jar;../apach

    e-tomcat-6.0.26/lib/jboss-jmx.jar;../apache-tomcat-6.0.26/lib/jboss-system.jar;../apache-tomcat-6

    .0.26/lib/jbosscache-core-2.1.1.GA.jar;../apache-tomcat-6.0.26/lib/JDataServices.jar;../apache-to

    mcat-6.0.26/lib/jdbc2_0-stdext.jar;../apache-tomcat-6.0.26/lib/jdom.jar;../apache-tomcat-6.0.26/l

    ib/jgroups-2.2.8.jar;../apache-tomcat-6.0.26/lib/jRegistryKey.jar;../apache-tomcat-6.0.26/lib/jsp

    -api.jar;../apache-tomcat-6.0.26/lib/jsr173_1.0_api.jar;../apache-tomcat-6.0.26/lib/jta-1.1.jar;.

    ./apache-tomcat-6.0.26/lib/jta.jar;../apache-tomcat-6.0.26/lib/jtds-1.2.jar;../apache-tomcat-6.0.

    26/lib/log4j-1.2.11.jar;../apache-tomcat-6.0.26/lib/log4j-1.2.15.jar;../apache-tomcat-6.0.26/lib/

    log4j-1.2.8.jar;../apache-tomcat-6.0.26/lib/lucene-core-2.0.0.jar;../apache-tomcat-6.0.26/lib/ojd

    bc14.jar;../apache-tomcat-6.0.26/lib/openwire-licensing-module.jar;../apache-tomcat-6.0.26/lib/op

    enwire-licensing-r5000-module.jar;../apache-tomcat-6.0.26/lib/openwire-realm.jar;../apache-tomcat

    -6.0.26/lib/openwire-server-client.jar;../apache-tomcat-6.0.26/lib/openwire-server-stubs.jar;../a

    pache-tomcat-6.0.26/lib/oscache-2.1.jar;../apache-tomcat-6.0.26/lib/proxool-0.8.3.jar;../apache-t

    omcat-6.0.26/lib/resolver.jar;../apache-tomcat-6.0.26/lib/saaj.jar;../apache-tomcat-6.0.26/lib/se

    rvlet-api.jar;../apache-tomcat-6.0.26/lib/slf4j-api-1.5.8.jar;../apache-tomcat-6.0.26/lib/slf4j-l

    og4j12-1.5.8.jar;../apache-tomcat-6.0.26/lib/swarmcache-1.0rc2.jar;../apache-tomcat-6.0.26/lib/td

    gssconfig.jar;../apache-tomcat-6.0.26/lib/teradata-datamanagers.jar;../apache-tomcat-6.0.26/lib/t

    eradata-dtos.jar;../apache-tomcat-6.0.26/lib/teradata-reveng.jar;../apache-tomcat-6.0.26/lib/tera

    jdbc4.jar;../apache-tomcat-6.0.26/lib/tomcat-coyote.jar;../apache-tomcat-6.0.26/lib/tomcat-dbcp.j

    ar;../apache-tomcat-6.0.26/lib/tomcat-i18n-es.jar;../apache-tomcat-6.0.26/lib/tomcat-i18n-fr.jar;

    ../apache-tomcat-6.0.26/lib/tomcat-i18n-ja.jar;../apache-tomcat-6.0.26/lib/units_service_api.jar;

    ../apache-tomcat-6.0.26/lib/utils-module.jar;../apache-tomcat-6.0.26/lib/vecmath.jar;../apache-to

    mcat-6.0.26/lib/webservices-api.jar;../apache-tomcat-6.0.26/lib/webservices-extra-api.jar;../apac

    he-tomcat-6.0.26/lib/webservices-extra.jar;../apache-tomcat-6.0.26/lib/webservices-rt.jar;../apac

    he-tomcat-6.0.26/lib/webservices-tools.jar;../apache-tomcat-6.0.26/lib/wellspace.jar;../apache-to

    mcat-6.0.26/lib/wellspace_api.jar;../apache-tomcat-6.0.26/lib/wellspace_core.jar;../apache-tomcat

    -6.0.26/lib/wellspace_facade.jar;../apache-tomcat-6.0.26/lib/wellspace_server.jar;../apache-tomca

    t-6.0.26/lib/witsml-api.jar;../apache-tomcat-6.0.26/lib/witsml-stubs-120.jar;../apache-tomcat-6.0

    .26/lib/witsml-stubs-131.jar;../apache-tomcat-6.0.26/lib/witsmlapi-xslt.jar;../apache-tomcat-6.0.

    26/lib/witsmlObjects120.jar;../apache-tomcat-6.0.26/lib/witsmlObjects131.jar;../apache-tomcat-6.0

    .26/lib/witsmlUnit120.jar;../apache-tomcat-6.0.26/lib/wrapper.jar;../apache-tomcat-6.0.26/lib/wra

    ppertest.jar;../apache-tomcat-6.0.26/lib/wsdl4j-1.5.1.jar;../apache-tomcat-6.0.26/lib/xbean.jar;.

    ./apache-tomcat-6.0.26/lib/xbean_xpath.jar;../apache-tomcat-6.0.26/lib/xmlpublic.jar"

    -Dwrapper.key="Nuo1kCfcnpk4bAko" -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000

    -Dwrapper.jvm.port.max=31999 -Dwrapper.debug="TRUE" -Dwrapper.pid=4872 -Dwrapper.version="3.2.1"

    -Dwrapper.native_library="wrapper" -Dwrapper.service="TRUE" -Dwrapper.cpu.timeout="10"

    -Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperSimpleApp

    com.lgc.openwire.server.OpenWireServerImpl
    DEBUG  | wrapper  | 2011/11/18 12:17:29 | JVM started (PID=2496)
    INFO   | jvm 1    | 2011/11/18 12:17:30 | WrapperManager class initialized by thread: main  Using

    classloader: sun.misc.Launcher$AppClassLoader@cac268
    INFO   | jvm 1    | 2011/11/18 12:17:30 | Wrapper (Version 3.2.1)

    http://wrapper.tanukisoftware.org
    INFO   | jvm 1    | 2011/11/18 12:17:30 |
    INFO   | jvm 1    | 2011/11/18 12:17:30 | Wrapper Manager: JVM #1
    INFO   | jvm 1    | 2011/11/18 12:17:30 | Running a 32-bit JVM.
    INFO   | jvm 1    | 2011/11/18 12:17:30 | Wrapper Manager: Registering shutdown hook
    INFO   | jvm 1    | 2011/11/18 12:17:30 | Wrapper Manager: Using wrapper
    INFO   | jvm 1    | 2011/11/18 12:17:30 | Load native library.  One or more attempts may fail if

    platform specific libraries do not exist.
    INFO   | jvm 1    | 2011/11/18 12:17:30 | Loaded native library: wrapper-windows-x86-32.dll
    INFO   | jvm 1    | 2011/11/18 12:17:30 | Calling native initialization method.
    INFO   | jvm 1    | 2011/11/18 12:17:30 | Initializing WrapperManager native library.
    INFO   | jvm 1    | 2011/11/18 12:17:30 | Java Executable:

    C:\OWRC_trunk\deployment\JDK1.6.0_19\bin\java.exe
    INFO   | jvm 1    | 2011/11/18 12:17:30 | Windows version: 6.1.7600
    INFO   | jvm 1    | 2011/11/18 12:17:30 | Java Version   : 1.6.0_19-b04 Java HotSpot(TM) Server

    VM
    INFO   | jvm 1    | 2011/11/18 12:17:30 | Java VM Vendor : Sun Microsystems Inc.
    INFO   | jvm 1    | 2011/11/18 12:17:30 |
    INFO   | jvm 1    | 2011/11/18 12:17:30 | Control event monitor thread started.
    INFO   | jvm 1    | 2011/11/18 12:17:30 | Startup runner thread started.
    INFO   | jvm 1    | 2011/11/18 12:17:30 |

    WrapperManager.start(org.tanukisoftware.wrapper.WrapperSimpleApp@1ccce3c, args) called by

    thread: main
    INFO   | jvm 1    | 2011/11/18 12:17:30 | Communications runner thread started.
    INFO   | jvm 1    | 2011/11/18 12:17:30 | Open socket to wrapper…Wrapper-Connection
    INFO   | jvm 1    | 2011/11/18 12:17:30 | Opened Socket from 31000 to 32000
    INFO   | jvm 1    | 2011/11/18 12:17:30 | Send a packet KEY : Nuo1kCfcnpk4bAko
    INFO   | jvm 1    | 2011/11/18 12:17:30 |

    handleSocket(Socket)
    DEBUG  | wrapperp | 2011/11/18 12:17:30 | accepted a socket from 127.0.0.1 on port 31000
    DEBUG  | wrapperp | 2011/11/18 12:17:30 | read a packet KEY : Nuo1kCfcnpk4bAko
    DEBUG  | wrapper  | 2011/11/18 12:17:30 | Got key from JVM: Nuo1kCfcnpk4bAko
    DEBUG  | wrapperp | 2011/11/18 12:17:30 | send a packet LOW_LOG_LEVEL : 1
    DEBUG  | wrapperp | 2011/11/18 12:17:30 | send a packet PING_TIMEOUT : 30
    DEBUG  | wrapperp | 2011/11/18 12:17:30 | send a packet PROPERTIES : (Property Values)
    DEBUG  | wrapper  | 2011/11/18 12:17:30 | Start Application.
    DEBUG  | wrapperp | 2011/11/18 12:17:30 | send a packet START : start
    INFO   | jvm 1    | 2011/11/18 12:17:30 | Received a packet LOW_LOG_LEVEL : 1
    INFO   | jvm 1    | 2011/11/18 12:17:30 | Wrapper Manager: LowLogLevel from Wrapper is 1
    INFO   | jvm 1    | 2011/11/18 12:17:30 | Received a packet PING_TIMEOUT : 30
    INFO   | jvm 1    | 2011/11/18 12:17:30 | PingTimeout from Wrapper is 30000
    INFO   | jvm 1    | 2011/11/18 12:17:30 | Received a packet PROPERTIES : (Property Values)
    INFO   | jvm 1    | 2011/11/18 12:17:30 | Received a packet START : start
    INFO   | jvm 1    | 2011/11/18 12:17:30 | calling WrapperListener.start()
    INFO   | jvm 1    | 2011/11/18 12:17:30 | Waiting for WrapperListener.start runner thread to

    complete.
    INFO   | jvm 1    | 2011/11/18 12:17:30 | WrapperListener.start runner thread started.
    INFO   | jvm 1    | 2011/11/18 12:17:30 | WrapperSimpleApp: start(args) Will wait up to 2 seconds

    for the main method to complete.
    INFO   | jvm 1    | 2011/11/18 12:17:30 | WrapperSimpleApp: invoking main method
    INFO   | jvm 1    | 2011/11/18 12:17:30 | - Starting OpenWire server at Fri Nov 18 12:17:30 IST

    2011
    INFO   | jvm 1    | 2011/11/18 12:17:30 | - Setting up log4j configuration
    INFO   | jvm 1    | 2011/11/18 12:17:31 | (LAM_VERSION=5000.66) 100000000: LAM: Configured to

    handle 2 servers
    INFO   | jvm 1    | 2011/11/18 12:17:31 | Already checking heartbeat!
    INFO   | jvm 1    | 2011/11/18 12:17:31 | Already checking heartbeat!
    INFO   | jvm 1    | 2011/11/18 12:17:31 | Send a packet START_PENDING : 5000
    DEBUG  | wrapperp | 2011/11/18 12:17:31 | read a packet START_PENDING : 5000
    DEBUG  | wrapper  | 2011/11/18 12:17:31 | JVM signalled a start pending with waitHint of 5000

    millis.
    INFO   | jvm 1    | 2011/11/18 12:17:31 | SLF4J: This version of SLF4J requires log4j version

    1.2.12 or later. See also http://www.slf4j.org/codes.html#log4j_version
    INFO   | jvm 1    | 2011/11/18 12:17:32 | Send a packet START_PENDING : 5000
    INFO   | jvm 1    | 2011/11/18 12:17:32 | WrapperSimpleApp: start(args) end.  Main

    Completed=false, exitCode=null
    INFO   | jvm 1    | 2011/11/18 12:17:32 | WrapperListener.start runner thread stopped.
    INFO   | jvm 1    | 2011/11/18 12:17:32 | returned from WrapperListener.start()
    INFO   | jvm 1    | 2011/11/18 12:17:32 | Send a packet STARTED :
    DEBUG  | wrapperp | 2011/11/18 12:17:32 | read a packet START_PENDING : 5000
    DEBUG  | wrapper  | 2011/11/18 12:17:32 | JVM signalled a start pending with waitHint of 5000

    millis.
    DEBUG  | wrapperp | 2011/11/18 12:17:32 | read a packet STARTED :
    DEBUG  | wrapper  | 2011/11/18 12:17:32 | JVM signalled that it was started.
    INFO   | jvm 1    | 2011/11/18 12:17:32 | Startup runner thread stopped.
    DEBUG  | wrapperp | 2011/11/18 12:17:34 | send a packet PING : ping
    INFO   | jvm 1    | 2011/11/18 12:17:34 | Received a packet PING : ping
    INFO   | jvm 1    | 2011/11/18 12:17:34 | Send a packet PING : ok
    DEBUG  | wrapperp | 2011/11/18 12:17:34 | read a packet PING : ok
    DEBUG  | wrapper  | 2011/11/18 12:17:34 | Got ping response from JVM
    INFO   | jvm 1    | 2011/11/18 12:17:35 | WrapperSimpleApp: main method completed
    DEBUG  | wrapperp | 2011/11/18 12:17:38 | send a packet PING : ping
    INFO   | jvm 1    | 2011/11/18 12:17:38 | Received a packet PING : ping
    INFO   | jvm 1    | 2011/11/18 12:17:38 | Send a packet PING : ok
    DEBUG  | wrapperp | 2011/11/18 12:17:38 | read a packet PING : ok
    DEBUG  | wrapper  | 2011/11/18 12:17:38 | Got ping response from JVM
    DEBUG  | wrapperp | 2011/11/18 12:17:42 | send a packet PING : ping
    INFO   | jvm 1    | 2011/11/18 12:17:42 | Received a packet PING : ping
    INFO   | jvm 1    | 2011/11/18 12:17:42 | Send a packet PING : ok
    DEBUG  | wrapperp | 2011/11/18 12:17:42 | read a packet PING : ok
    DEBUG  | wrapper  | 2011/11/18 12:17:42 | Got ping response from JVM
    DEBUG  | wrapperp | 2011/11/18 12:17:46 | send a packet PING : ping
    INFO   | jvm 1    | 2011/11/18 12:17:46 | Received a packet PING : ping
    INFO   | jvm 1    | 2011/11/18 12:17:46 | Send a packet PING : ok
    DEBUG  | wrapperp | 2011/11/18 12:17:46 | read a packet PING : ok
    DEBUG  | wrapper  | 2011/11/18 12:17:46 | Got ping response from JVM
    DEBUG  | wrapperp | 2011/11/18 12:17:50 | send a packet PING : ping
    INFO   | jvm 1    | 2011/11/18 12:17:50 | Received a packet PING : ping
    INFO   | jvm 1    | 2011/11/18 12:17:50 | Send a packet PING : ok
    DEBUG  | wrapperp | 2011/11/18 12:17:50 | read a packet PING : ok
    DEBUG  | wrapper  | 2011/11/18 12:17:50 | Got ping response from JVM
    DEBUG  | wrapperp | 2011/11/18 12:17:54 | send a packet PING : ping
    INFO   | jvm 1    | 2011/11/18 12:17:54 | Received a packet PING : ping
    INFO   | jvm 1    | 2011/11/18 12:17:54 | Send a packet PING : ok
    DEBUG  | wrapperp | 2011/11/18 12:17:54 | read a packet PING : ok
    DEBUG  | wrapper  | 2011/11/18 12:17:54 | Got ping response from JVM
    DEBUG  | wrapperp | 2011/11/18 12:17:58 | send a packet PING : ping
    INFO   | jvm 1    | 2011/11/18 12:17:59 | Received a packet PING : ping
    INFO   | jvm 1    | 2011/11/18 12:17:59 | Send a packet PING : ok
    DEBUG  | wrapperp | 2011/11/18 12:17:59 | read a packet PING : ok
    DEBUG  | wrapper  | 2011/11/18 12:17:59 | Got ping response from JVM
    DEBUG  | wrapperp | 2011/11/18 12:18:03 | send a packet PING : ping
    INFO   | jvm 1    | 2011/11/18 12:18:03 | Received a packet PING : ping
    INFO   | jvm 1    | 2011/11/18 12:18:03 | Send a packet PING : ok
    DEBUG  | wrapperp | 2011/11/18 12:18:03 | read a packet PING : ok
    DEBUG  | wrapper  | 2011/11/18 12:18:03 | Got ping response from JVM
    DEBUG  | wrapperp | 2011/11/18 12:18:07 | send a packet PING : ping
    INFO   | jvm 1    | 2011/11/18 12:18:07 | Received a packet PING : ping
    INFO   | jvm 1    | 2011/11/18 12:18:07 | Send a packet PING : ok
    DEBUG  | wrapperp | 2011/11/18 12:18:07 | read a packet PING : ok
    DEBUG  | wrapper  | 2011/11/18 12:18:07 | Got ping response from JVM
    DEBUG  | wrapperp | 2011/11/18 12:18:11 | send a packet PING : ping
    INFO   | jvm 1    | 2011/11/18 12:18:11 | Received a packet PING : ping
    INFO   | jvm 1    | 2011/11/18 12:18:11 | Send a packet PING : ok
    DEBUG  | wrapperp | 2011/11/18 12:18:11 | read a packet PING : ok
    DEBUG  | wrapper  | 2011/11/18 12:18:11 | Got ping response from JVM
    DEBUG  | wrapperp | 2011/11/18 12:18:15 | send a packet PING : ping
    INFO   | jvm 1    | 2011/11/18 12:18:15 | Received a packet PING : ping
    INFO   | jvm 1    | 2011/11/18 12:18:15 | Send a packet PING : ok
    DEBUG  | wrapperp | 2011/11/18 12:18:15 | read a packet PING : ok
    DEBUG  | wrapper  | 2011/11/18 12:18:15 | Got ping response from JVM
    DEBUG  | wrapperp | 2011/11/18 12:18:19 | send a packet PING : ping
    INFO   | jvm 1    | 2011/11/18 12:18:19 | Received a packet PING : ping
    INFO   | jvm 1    | 2011/11/18 12:18:19 | Send a packet PING : ok
    DEBUG  | wrapperp | 2011/11/18 12:18:19 | read a packet PING : ok
    DEBUG  | wrapper  | 2011/11/18 12:18:19 | Got ping response from JVM
    DEBUG  | wrapperp | 2011/11/18 12:18:23 | send a packet PING : ping
    INFO   | jvm 1    | 2011/11/18 12:18:23 | Received a packet PING : ping
    INFO   | jvm 1    | 2011/11/18 12:18:23 | Send a packet PING : ok
    DEBUG  | wrapperp | 2011/11/18 12:18:23 | read a packet PING : ok
    DEBUG  | wrapper  | 2011/11/18 12:18:23 | Got ping response from JVM
    DEBUG  | wrapperp | 2011/11/18 12:18:27 | send a packet PING : ping
    INFO   | jvm 1    | 2011/11/18 12:18:27 | Received a packet PING : ping
    INFO   | jvm 1    | 2011/11/18 12:18:27 | Send a packet PING : ok
    DEBUG  | wrapperp | 2011/11/18 12:18:27 | read a packet PING : ok
    DEBUG  | wrapper  | 2011/11/18 12:18:27 | Got ping response from JVM

    Original Wrapper.conf

    #********************************************************************
    # Wrapper Properties
    #********************************************************************
    # Java Application
    wrapper.java.command=../JDK1.6.0_19/bin/java
    #wrapper.debug=TRUE

    #add the oracle 32bit libraries to the path
    set.PATH=%OWHOME%/oracle32/instantclient;%PATH%

    # 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=org.tanukisoftware.wrapper.WrapperSimpleApp

    # Java Classpath (include wrapper.jar)  Add class path elements as
    #  needed starting from 1
    wrapper.java.classpath.1=../lib/*.jar
    wrapper.java.classpath.2=../resources
    wrapper.java.classpath.3=../webapps/openwire/WEB-INF/lib/*.jar
    wrapper.java.classpath.4=../lib/openwire-server-module.jar
    wrapper.java.classpath.5=../apache-tomcat-6.0.26/lib/*.jar

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

    # Java Additional Parameters
    wrapper.java.additional.1=-server
    wrapper.java.additional.2=-Xms64m -Xmx512m

    # 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=com.lgc.openwire.server.OpenWireServerImpl

    wrapper.filter.trigger.1=java.lang.OutOfMemoryError
    wrapper.filter.action.1=RESTART
    wrapper.filter.trigger.2=Caused by: java.lang.Exception: caught in C++ JNI wrapper code
    wrapper.filter.action.2=RESTART
    wrapper.filter.trigger.3=C++ EXCEPTION CAUGHT
    wrapper.filter.action.3=RESTART
    wrapper.filter.trigger.4=Out of memory
    wrapper.filter.action.4=RESTART

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

    # 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/openwireService-ROLLNUM.log.txt

    # 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=200k

    # 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=2

    # 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 = LGC OpenWire Client Database

    #********************************************************************
    # 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.

    wrapper.ntservice.account=rdx\rdx1342
    wrapper.ntservice.password=tcs1342!!!

    # Name of the service
    wrapper.ntservice.name=LGC OpenWire Client Database

    # Display name of the service
    wrapper.ntservice.displayname=LGC OpenWire Client Database

    # Description of the service
    wrapper.ntservice.description=LGC OpenWire Client Database

    # 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.debug=true

    New YAJSW wrapper.conf debug output

    C:\Windows\system32>cd C:\OWRC_trunk\deployment\bin\

    C:\OWRC_trunk\deployment\bin>call setenv.bat
    /*/*/*/*/*---C:\OWRC_trunk\deployment\bin\
    JAVA EXE "C:\OWRC_trunk\deployment\bin\..\JDK1.6.0_19\bin\java"
    JAVAW EXE "C:\OWRC_trunk\deployment\bin\..\JDK1.6.0_19\bin\javaw"
    WRAPPER JAR "C:\OWRC_trunk\deployment\bin\..\wrapper\wrapper.jar"
    WRAPPER APP JAR "C:\OWRC_trunk\deployment\bin\..\wrapper\wrapperApp.jar"
    WRAPPER BAT "C:\OWRC_trunk\deployment\bin\wrapper.bat"
    WRAPPERW BAT "C:\OWRC_trunk\deployment\bin\wrapperW.bat"
    "C:\OWRC_trunk\deployment\bin\..\JDK1.6.0_19\bin\java" -Xmx30m -jar "C:\OWRC_tru
    nk\deployment\bin\..\wrapper\wrapper.jar" -c "C:\OWRC_trunk\deployment\bin\..\co
    nf\wrapper.conf"
    Nov 18, 2011 12:21:02 PM org.apache.commons.vfs.VfsLog info
    INFO: Using "C:\Users\rdx1342\AppData\Local\Temp\vfs_cache" as temporary files s
    tore.
    INFO|wrapper|11-11-18 12:21:02|init
    INFO|wrapper|11-11-18 12:21:02|start from Thread main
    INFO|wrapper|11-11-18 12:21:02|set state IDLE->STARTING
    INFO|wrapper|11-11-18 12:21:02|starting Process
    INFO|wrapper|11-11-18 12:21:02|starting controller
    INFO|wrapper|11-11-18 12:21:02|binding to port 15003
    INFO|wrapper|11-11-18 12:21:02|Controller State: UNKNOWN -> WAITING
    INFO|wrapper|11-11-18 12:21:02|binding successfull
    INFO|wrapper|11-11-18 12:21:02|controller started
    INFO|wrapper|11-11-18 12:21:03|working dir C:\OWRC_trunk\deployment\wrapper\.
    INFO|wrapper|11-11-18 12:21:03|spawning wrapped process
    INFO|wrapper|11-11-18 12:21:03|is running: false pid=(-1<=0)
    INFO|wrapper|11-11-18 12:21:03|exec: "../jdk1.6.0_19/jre/bin/java" "-Dwrapper.te
    eName=-1504426817584697360$1321599063035" "-Dwrapper.config=C:\OWRC_trunk\deploy
    ment\conf\wrapper.conf" "-Dwrapper.key=-1504426817584697360" "-Dwrapper.port=150
    03" "-Dwrapper.key=-1504426817584697360" "-Dwrapper.teeName=-1504426817584697360
    $1321599063035" "-Dwrapper.tmpPath=C:\Users\rdx1342\AppData\Local\Temp" "-classp
    ath" "/C:/OWRC_trunk/deployment/wrapper/./wrapperApp.jar;C:\OWRC_trunk\deploymen
    t\lib\com_lgc_util.jar;C:\OWRC_trunk\deployment\lib\openwire-server-module.jar;C
    :\OWRC_trunk\deployment\lib\wrapper.dll;C:\OWRC_trunk\deployment\lib\wrapper.jar
    ;C:\OWRC_trunk\deployment\resources\edm.msde.config.xml;C:\OWRC_trunk\deployment
    \resources\edm.oracle.config.xml;C:\OWRC_trunk\deployment\resources\hibernate.cf
    g.msde.xml;C:\OWRC_trunk\deployment\resources\hibernate.cfg.oracle.xml;C:\OWRC_t
    runk\deployment\resources\hibernate.cfg.sql2005.xml;C:\OWRC_trunk\deployment\res
    ources\hibernate.cfg.xml;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\a
    ctivation.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\commons-file
    upload-1.0.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\com_lgc_uti
    l.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\Echo2_App.jar;C:\OWR
    C_trunk\deployment\webapps\openwire\WEB-INF\lib\Echo2_Chart_App.jar;C:\OWRC_trun
    k\deployment\webapps\openwire\WEB-INF\lib\Echo2_Chart_WebContainer.jar;C:\OWRC_t
    runk\deployment\webapps\openwire\WEB-INF\lib\Echo2_Extras_App.jar;C:\OWRC_trunk\
    deployment\webapps\openwire\WEB-INF\lib\Echo2_Extras_WebContainer.jar;C:\OWRC_tr
    unk\deployment\webapps\openwire\WEB-INF\lib\Echo2_FileTransfer_App.jar;C:\OWRC_t
    runk\deployment\webapps\openwire\WEB-INF\lib\Echo2_FileTransfer_WebContainer.jar
    ;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\Echo2_WebContainer.jar;C:
    \OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\Echo2_WebRender.jar;C:\OWRC_
    trunk\deployment\webapps\openwire\WEB-INF\lib\echopointng-2.1.0rc5.jar;C:\OWRC_t
    runk\deployment\webapps\openwire\WEB-INF\lib\geoframe-module.jar;C:\OWRC_trunk\d
    eployment\webapps\openwire\WEB-INF\lib\imap.jar;C:\OWRC_trunk\deployment\webapps
    \openwire\WEB-INF\lib\jcommon-1.0.0.jar;C:\OWRC_trunk\deployment\webapps\openwir
    e\WEB-INF\lib\jcommon-1.0.16.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-I
    NF\lib\jdom.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\jfreechart
    -1.0.13.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\mailapi.jar;C:
    \OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\msde-support-module.jar;C:\O
    WRC_trunk\deployment\webapps\openwire\WEB-INF\lib\OpenSpirit.jar;C:\OWRC_trunk\d
    eployment\webapps\openwire\WEB-INF\lib\openwiregui-messages.jar;C:\OWRC_trunk\de
    ployment\webapps\openwire\WEB-INF\lib\openwiregui.jar;C:\OWRC_trunk\deployment\w
    ebapps\openwire\WEB-INF\lib\openworks-module.jar;C:\OWRC_trunk\deployment\webapp
    s\openwire\WEB-INF\lib\oracle-support-module.jar;C:\OWRC_trunk\deployment\webapp
    s\openwire\WEB-INF\lib\orb.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF
    \lib\ospcom.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\osporg.jar
    ;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\pipeline-module.jar;C:\OW
    RC_trunk\deployment\webapps\openwire\WEB-INF\lib\poi-2.5.1-final-20040804.jar;C:
    \OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\poi-contrib-2.5.1-final-2004
    0804.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\poi-scratchpad-2.
    5.1-final-20040804.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\pop
    3.jar;C:\OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\poslog-module.jar;C:
    \OWRC_trunk\deployment\webapps\openwire\WEB-INF\lib\smtp.jar;C:\OWRC_trunk\deplo
    yment\webapps\openwire\WEB-INF\lib\sqlExpress-support-module.jar;C:\OWRC_trunk\d
    eployment\webapps\openwire\WEB-INF\lib\WellplanPlugin.jar;C:\OWRC_trunk\deployme
    nt\apache-tomcat-6.0.26\lib\annotations-api.jar;C:\OWRC_trunk\deployment\apache-
    tomcat-6.0.26\lib\antlr-2.7.6.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\
    lib\asm-attrs.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\asm.jar;C:\O
    WRC_trunk\deployment\apache-tomcat-6.0.26\lib\axis-ant.jar;C:\OWRC_trunk\deploym
    ent\apache-tomcat-6.0.26\lib\axis.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0
    .26\lib\c3p0-0.9.0.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\c3p0-0.
    9.1.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\cartointf90_8.dll;C:\O
    WRC_trunk\deployment\apache-tomcat-6.0.26\lib\cartointf90_9.dll;C:\OWRC_trunk\de
    ployment\apache-tomcat-6.0.26\lib\catalina-ant.jar;C:\OWRC_trunk\deployment\apac
    he-tomcat-6.0.26\lib\catalina-ha.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.
    26\lib\catalina-tribes.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\cat
    alina.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\cglib-2.1.3.jar;C:\O
    WRC_trunk\deployment\apache-tomcat-6.0.26\lib\commons-codec-1.3.jar;C:\OWRC_trun
    k\deployment\apache-tomcat-6.0.26\lib\commons-collections-2.1.1.jar;C:\OWRC_trun
    k\deployment\apache-tomcat-6.0.26\lib\commons-collections-3.1.jar;C:\OWRC_trunk\
    deployment\apache-tomcat-6.0.26\lib\commons-discovery-0.2.jar;C:\OWRC_trunk\depl
    oyment\apache-tomcat-6.0.26\lib\commons-logging-1.0.4.jar;C:\OWRC_trunk\deployme
    nt\apache-tomcat-6.0.26\lib\commons-logging-1.1.1.jar;C:\OWRC_trunk\deployment\a
    pache-tomcat-6.0.26\lib\com_lgc_dsosgi.jar;C:\OWRC_trunk\deployment\apache-tomca
    t-6.0.26\lib\com_lgc_hsf.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\c
    om_lgc_jcartointf.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\com_lgc_
    owsw.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\com_lgc_ow_base90_9.d
    ll;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\com_lgc_ow_devkit.jar;C:\OW
    RC_trunk\deployment\apache-tomcat-6.0.26\lib\com_lgc_ow_devkit90_9.dll;C:\OWRC_t
    runk\deployment\apache-tomcat-6.0.26\lib\com_lgc_ow_gdi_dataTypes.jar;C:\OWRC_tr
    unk\deployment\apache-tomcat-6.0.26\lib\com_lgc_util.dll;C:\OWRC_trunk\deploymen
    t\apache-tomcat-6.0.26\lib\com_lgc_util.jar;C:\OWRC_trunk\deployment\apache-tomc
    at-6.0.26\lib\concurrent-1.3.2.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26
    \lib\config-module-messages.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\li
    b\config-module.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\connector.
    jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\core_model_api.jar;C:\OWRC
    _trunk\deployment\apache-tomcat-6.0.26\lib\dom4j-1.6.1.jar;C:\OWRC_trunk\deploym
    ent\apache-tomcat-6.0.26\lib\edm-datamanagers.jar;C:\OWRC_trunk\deployment\apach
    e-tomcat-6.0.26\lib\edm-dtos.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\l
    ib\edm-module.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\edmrt-module
    .jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\ehcache-1.1.jar;C:\OWRC_t
    runk\deployment\apache-tomcat-6.0.26\lib\ehcache-1.2.3.jar;C:\OWRC_trunk\deploym
    ent\apache-tomcat-6.0.26\lib\ehcache-1.2.jar;C:\OWRC_trunk\deployment\apache-tom
    cat-6.0.26\lib\ejb3-persistence.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.2
    6\lib\el-api.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\GeoCalc90_6_4
    .dll;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\GeoCalcPBW90_6_4.dll;C:\O
    WRC_trunk\deployment\apache-tomcat-6.0.26\lib\hibernate-annotations.jar;C:\OWRC_
    trunk\deployment\apache-tomcat-6.0.26\lib\hibernate-cglib-repack-2.1_3.jar;C:\OW
    RC_trunk\deployment\apache-tomcat-6.0.26\lib\hibernate-commons-annotations.jar;C
    :\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\hibernate-validator.jar;C:\OWRC
    _trunk\deployment\apache-tomcat-6.0.26\lib\hibernate3.jar;C:\OWRC_trunk\deployme
    nt\apache-tomcat-6.0.26\lib\internalOpenwireSchemas.jar;C:\OWRC_trunk\deployment
    \apache-tomcat-6.0.26\lib\jaas.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26
    \lib\jasper-el.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jasper-jdt.
    jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jasper.jar;C:\OWRC_trunk\d
    eployment\apache-tomcat-6.0.26\lib\javassist-3.4.GA.jar;C:\OWRC_trunk\deployment
    \apache-tomcat-6.0.26\lib\jaxrpc.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.
    26\lib\jboss-cache-1.4.1.GA.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\li
    b\jboss-cache.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jboss-common
    .jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jboss-jmx.jar;C:\OWRC_tru
    nk\deployment\apache-tomcat-6.0.26\lib\jboss-system.jar;C:\OWRC_trunk\deployment
    \apache-tomcat-6.0.26\lib\jbosscache-core-2.1.1.GA.jar;C:\OWRC_trunk\deployment\
    apache-tomcat-6.0.26\lib\JDataServices.jar;C:\OWRC_trunk\deployment\apache-tomca
    t-6.0.26\lib\jdbc2_0-stdext.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\li
    b\jdom.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jgroups-2.2.8.jar;C
    :\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jRegistryKey.dll;C:\OWRC_trunk\
    deployment\apache-tomcat-6.0.26\lib\jRegistryKey.jar;C:\OWRC_trunk\deployment\ap
    ache-tomcat-6.0.26\lib\jsp-api.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26
    \lib\jsr173_1.0_api.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jta-1.
    1.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\jta.jar;C:\OWRC_trunk\de
    ployment\apache-tomcat-6.0.26\lib\jtds-1.2.jar;C:\OWRC_trunk\deployment\apache-t
    omcat-6.0.26\lib\LGCbase90_9.dll;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\l
    ib\log4j-1.2.11.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\log4j-1.2.
    15.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\log4j-1.2.8.jar;C:\OWRC
    _trunk\deployment\apache-tomcat-6.0.26\lib\lucene-core-2.0.0.jar;C:\OWRC_trunk\d
    eployment\apache-tomcat-6.0.26\lib\ojdbc14.jar;C:\OWRC_trunk\deployment\apache-t
    omcat-6.0.26\lib\openwire-licensing-module.jar;C:\OWRC_trunk\deployment\apache-t
    omcat-6.0.26\lib\openwire-licensing-r5000-module.jar;C:\OWRC_trunk\deployment\ap
    ache-tomcat-6.0.26\lib\openwire-nli.dll;C:\OWRC_trunk\deployment\apache-tomcat-6
    .0.26\lib\openwire-realm.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\o
    penwire-server-client.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\open
    wire-server-stubs.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\oscache-
    2.1.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\owdevkit90_9.dll;C:\OW
    RC_trunk\deployment\apache-tomcat-6.0.26\lib\proxool-0.8.3.jar;C:\OWRC_trunk\dep
    loyment\apache-tomcat-6.0.26\lib\resolver.jar;C:\OWRC_trunk\deployment\apache-to
    mcat-6.0.26\lib\saaj.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\servl
    et-api.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\slf4j-api-1.5.8.jar
    ;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\slf4j-log4j12-1.5.8.jar;C:\OW
    RC_trunk\deployment\apache-tomcat-6.0.26\lib\swarmcache-1.0rc2.jar;C:\OWRC_trunk
    \deployment\apache-tomcat-6.0.26\lib\tdgssconfig.jar;C:\OWRC_trunk\deployment\ap
    ache-tomcat-6.0.26\lib\teradata-datamanagers.jar;C:\OWRC_trunk\deployment\apache
    -tomcat-6.0.26\lib\teradata-dtos.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.
    26\lib\teradata-reveng.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\ter
    adata.config.xml;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\terajdbc4.jar
    ;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\tomcat-coyote.jar;C:\OWRC_tru
    nk\deployment\apache-tomcat-6.0.26\lib\tomcat-dbcp.jar;C:\OWRC_trunk\deployment\
    apache-tomcat-6.0.26\lib\tomcat-i18n-es.jar;C:\OWRC_trunk\deployment\apache-tomc
    at-6.0.26\lib\tomcat-i18n-fr.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\l
    ib\tomcat-i18n-ja.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\units_se
    rvice_api.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\utils-module.jar
    ;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\vecmath.jar;C:\OWRC_trunk\dep
    loyment\apache-tomcat-6.0.26\lib\webservices-api.jar;C:\OWRC_trunk\deployment\ap
    ache-tomcat-6.0.26\lib\webservices-extra-api.jar;C:\OWRC_trunk\deployment\apache
    -tomcat-6.0.26\lib\webservices-extra.jar;C:\OWRC_trunk\deployment\apache-tomcat-
    6.0.26\lib\webservices-rt.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\
    webservices-tools.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\wellspac
    e.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\wellspace_api.jar;C:\OWR
    C_trunk\deployment\apache-tomcat-6.0.26\lib\wellspace_core.jar;C:\OWRC_trunk\dep
    loyment\apache-tomcat-6.0.26\lib\wellspace_facade.jar;C:\OWRC_trunk\deployment\a
    pache-tomcat-6.0.26\lib\wellspace_server.jar;C:\OWRC_trunk\deployment\apache-tom
    cat-6.0.26\lib\witsml-api.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\
    witsml-stubs-120.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\witsml-st
    ubs-131.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\witsmlapi-xslt.jar
    ;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\witsmlObjects120.jar;C:\OWRC_
    trunk\deployment\apache-tomcat-6.0.26\lib\witsmlObjects131.jar;C:\OWRC_trunk\dep
    loyment\apache-tomcat-6.0.26\lib\witsmlUnit120.jar;C:\OWRC_trunk\deployment\apac
    he-tomcat-6.0.26\lib\wrapper-windows-x86-32.dll;C:\OWRC_trunk\deployment\apache-
    tomcat-6.0.26\lib\wrapper.dll;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\
    wrapper.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\wrappertest.jar;C:
    \OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\wsdl4j-1.5.1.jar;C:\OWRC_trunk\d
    eployment\apache-tomcat-6.0.26\lib\xbean.jar;C:\OWRC_trunk\deployment\apache-tom
    cat-6.0.26\lib\xbean_xpath.jar;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib
    \xerces-c80_2_6.dll;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\xerces-c90
    _3_0.dll;C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\xmlpublic.jar" "-Djav
    a.library.path=../lib;../apache-tomcat-6.0.26/lib" "org.rzo.yajsw.app.WrapperJVM
    Main"
    INFO|wrapper|11-11-18 12:21:03|started process with pid 4896
    INFO|4896/0|11-11-18 12:21:03|waiting for termination of process
    INFO|wrapper|11-11-18 12:21:03|set state STARTING->RUNNING
    INFO|wrapper|11-11-18 12:21:03|GetExitCodeProcess returned 259
    INFO|wrapper|11-11-18 12:21:03|getExitCode -2 processINFO==null=false
    INFO|wrapper|11-11-18 12:21:03|is running: true 4896 -2
    INFO|wrapper|11-11-18 12:21:03|GetExitCodeProcess returned 259
    INFO|wrapper|11-11-18 12:21:03|getExitCode -2 processINFO==null=false
    INFO|wrapper|11-11-18 12:21:03|is running: true 4896 -2
    INFO|4896/0|11-11-18 12:21:04|- Using "C:\Users\rdx1342\AppData\Local\Temp\vfs_c
    ache" as temporary files store.
    INFO|4896/0|11-11-18 12:21:04|Nov 18, 2011 12:21:04 PM org.rzo.yajsw.app.Wrapper
    ManagerImpl start
    INFO|4896/0|11-11-18 12:21:04|INFO: Logging ON
    INFO|4896/0|11-11-18 12:21:04|mainClass/jar/script: com.lgc.openwire.server.Open
    WireServerImpl/null/null
    INFO|4896/0|11-11-18 12:21:04|external stop false
    INFO|4896/0|11-11-18 12:21:04|args:
    INFO|4896/0|11-11-18 12:21:04|terminated WrapperManager.init()
    INFO|4896/0|11-11-18 12:21:04|- Starting OpenWire server at Fri Nov 18 12:21:04
    IST 2011
    INFO|4896/0|11-11-18 12:21:04|- Setting up log4j configuration
    INFO|4896/0|11-11-18 12:21:04|Logging ON
    FINE|4896/0|11-11-18 12:21:04|[id: 0x010c0f66, /127.0.0.1:62965 => /
    127.0.0.1:15003] OPEN
    FINE|4896/0|11-11-18 12:21:04|[id: 0x010c0f66, /127.0.0.1:62965 => /
    127.0.0.1:15003] OPEN
    FINE|4896/0|11-11-18 12:21:04|[id: 0x010c0f66, /127.0.0.1:62965 => /
    127.0.0.1:15003] BOUND: /127.0.0.1:15003
    FINE|4896/0|11-11-18 12:21:04|[id: 0x010c0f66, /127.0.0.1:62965 => /
    127.0.0.1:15003] BOUND: /127.0.0.1:15003
    FINE|4896/0|11-11-18 12:21:04|[id: 0x010c0f66, /127.0.0.1:62965 => /
    127.0.0.1:15003] CONNECTED: /127.0.0.1:62965
    FINE|4896/0|11-11-18 12:21:04|[id: 0x010c0f66, /127.0.0.1:62965 => /
    127.0.0.1:15003] CONNECTED: /127.0.0.1:62965
    INFO|4896/0|11-11-18 12:21:04|Controller State: WAITING -> ESTABLISHED
    FINE|4896/0|11-11-18 12:21:04|[id: 0x010c0f66, /127.0.0.1:62965 => /
    127.0.0.1:15003] RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=22, cap=22)
    FINE|4896/0|11-11-18 12:21:04|[id: 0x010c0f66, /127.0.0.1:62965 => /
    127.0.0.1:15003] RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=22, cap=22)
    FINE|4896/0|11-11-18 12:21:04|[id: 0x010c0f66, /127.0.0.1:62965 => /
    127.0.0.1:15003] RECEIVED: Message:KEY:-1504426817584697360
    FINE|4896/0|11-11-18 12:21:04|[id: 0x010c0f66, /127.0.0.1:62965 => /
    127.0.0.1:15003] RECEIVED: Message:KEY:-1504426817584697360
    INFO|4896/0|11-11-18 12:21:04|Controller State: ESTABLISHED -> LOGGED_ON
    FINE|4896/0|11-11-18 12:21:04|[id: 0x010c0f66, /127.0.0.1:62965 => /
    127.0.0.1:15003] WRITE: Message:OKKEY:4896
    FINE|4896/0|11-11-18 12:21:04|[id: 0x010c0f66, /127.0.0.1:62965 => /
    127.0.0.1:15003] WRITE: Message:OKKEY:4896
    FINE|4896/0|11-11-18 12:21:04|[id: 0x010c0f66, /127.0.0.1:62965 => /
    127.0.0.1:15003] WRITE: BigEndianHeapChannelBuffer(ridx=0, widx=6, cap=6)
    FINE|4896/0|11-11-18 12:21:04|[id: 0x010c0f66, /127.0.0.1:62965 => /
    127.0.0.1:15003] WRITE: BigEndianHeapChannelBuffer(ridx=0, widx=6, cap=6)
    FINE|4896/0|11-11-18 12:21:04|[id: 0x010c0f66, /127.0.0.1:62965 => /
    127.0.0.1:15003] WRITTEN_AMOUNT: 6
    FINE|4896/0|11-11-18 12:21:04|[id: 0x010c0f66, /127.0.0.1:62965 => /
    127.0.0.1:15003] WRITTEN_AMOUNT: 6
    INFO|4896/0|11-11-18 12:21:04|Correct key
    INFO|4896/0|11-11-18 12:21:05|Already checking heartbeat!
    INFO|4896/0|11-11-18 12:21:05|Already checking heartbeat!
    INFO|4896/0|11-11-18 12:21:05|SLF4J: This version of SLF4J requires log4j versio
    n 1.2.12 or later. See also http://www.slf4j.org/codes.html#log4j_version
    FINE|4896/0|11-11-18 12:21:06|[id: 0x010c0f66, /127.0.0.1:62965 => /
    127.0.0.1:15003] EXCEPTION: java.net.SocketException: Connection reset
    FINE|4896/0|11-11-18 12:21:06|[id: 0x010c0f66, /127.0.0.1:62965 => /
    127.0.0.1:15003] EXCEPTION: java.net.SocketException: Connection reset
    INFO|4896/0|11-11-18 12:21:06|Connection reset
    FINE|4896/0|11-11-18 12:21:06|[id: 0x010c0f66, /127.0.0.1:62965 :> /
    127.0.0.1:15003] DISCONNECTED
    FINE|4896/0|11-11-18 12:21:06|[id: 0x010c0f66, /127.0.0.1:62965 :> /
    127.0.0.1:15003] DISCONNECTED
    INFO|4896/0|11-11-18 12:21:06|Controller State: LOGGED_ON -> WAITING_CLOSED
    INFO|4896/0|11-11-18 12:21:06|session closed -> waiting
    FINE|4896/0|11-11-18 12:21:06|[id: 0x010c0f66, /127.0.0.1:62965 :> /
    127.0.0.1:15003] UNBOUND
    FINE|4896/0|11-11-18 12:21:06|[id: 0x010c0f66, /127.0.0.1:62965 :> /
    127.0.0.1:15003] UNBOUND
    FINE|4896/0|11-11-18 12:21:06|[id: 0x010c0f66, /127.0.0.1:62965 :> /
    127.0.0.1:15003] CLOSED
    FINE|4896/0|11-11-18 12:21:06|[id: 0x010c0f66, /127.0.0.1:62965 :> /
    127.0.0.1:15003] CLOSED
    INFO|wrapper|11-11-18 12:21:06|WaitForSingleObject terminated PID: 4896
    INFO|4896/0|11-11-18 12:21:06|process terminated
    INFO|wrapper|11-11-18 12:21:06|GetExitCodeProcess returned 1
    INFO|wrapper|11-11-18 12:21:06|getExitCode 1 processINFO==null=false
    INFO|4896/0|11-11-18 12:21:06|Controller State: WAITING_CLOSED -> PROCESS_KILLED

    INFO|wrapper|11-11-18 12:21:06|getExitCode 1 processINFO==null=false
    INFO|wrapper|11-11-18 12:21:06|giving up after 0 retries
    INFO|wrapper|11-11-18 12:21:06|set state RUNNING->STATE_ABORT
    INFO|wrapper|11-11-18 12:21:06|stop from Thread yajsw.controller-2 reason: USER
    INFO|wrapper|11-11-18 12:21:06|process not in state RUNNING -> Delaying stop
    INFO|wrapper|11-11-18 12:21:06|set state STATE_ABORT->IDLE
    INFO|wrapper|11-11-18 12:21:06|Shutting down Wrapper
    Press any key to continue . . .

    New YAJSW wrapper.conf file

    #********************************************************************
    # Wrapper Properties
    #********************************************************************
    # Java Application
    wrapper.java.command=../jdk1.6.0_19/jre/bin/java
    owhome = wrapper.app.env.owhome
    path = wrapper.app.env.path
    wrapper.app.env.path = ${owhome}/oracle32/instantclient;${path}

    wrapper.java.library.path.1=../lib
    wrapper.java.library.path.2=../apache-tomcat-6.0.26/lib
    wrapper.java.classpath.1=../lib/*
    wrapper.java.classpath.2=../resources/*
    wrapper.java.classpath.3=../webapps/openwire/WEB-INF/lib/*
    wrapper.java.classpath.4=../apache-tomcat-6.0.26/lib/*

    # Application parameters.  Add parameters as needed starting from 1
    wrapper.java.app.mainclass=com.lgc.openwire.server.OpenWireServerImpl

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

    # 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/openwireService-ROLLNUM.log.txt

    # 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=200k

    # 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=2

    # 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 = LGC OpenWire Client Database

    #********************************************************************
    # 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.

    wrapper.ntservice.account=rdx\\rdx1342
    wrapper.ntservice.password=tcs1342!!!

    # Name of the service
    wrapper.ntservice.name=LGC OpenWire Client Database

    # Display name of the service
    wrapper.ntservice.displayname=LGC OpenWire Client Database

    # Description of the service
    wrapper.ntservice.description=LGC OpenWire Client Database

    # 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.port = 15777
    wrapper.debug=true

     
  • rzo

    rzo - 2011-11-19

    hello,

    pls try the following:

    1. remove all jar/dll of JSW from your installation. It could be that your application is invoking some JSW methods.
    therefore delete the following files:

    C :\OWRC_trunk\deployment\lib\wrapper.dll
    C:\OWRC_trunk\deployment\lib\wrapper.jar
    C:\OWRC_trunk\deployment\apac he-tomcat-6.0.26\lib\wrapper-windows-x86-32.dll
    C:\OWRC_trunk\deployment\apache- tomcat-6.0.26\lib\wrapper.dll
    C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\ wrapper.jar
    C:\OWRC_trunk\deployment\apache-tomcat-6.0.26\lib\wrappertest.jar

    2. set the classpath to match that of JSW. change your yajsw configuration as follows:

    app_home = C:/OWRC_trunk/deployment
    wrapper.java.classpath.1=${app_home}/lib/*.jar
    wrapper.java.classpath.2=${app_home}/resources
    wrapper.java.classpath.3=${app_home}/webapps/openwire/WEB-INF/lib/*.jar
    wrapper.java.classpath.4=${app_home}/lib/openwire-server-module.jar
    wrapper.java.classpath.5=${app_home}/apache-tomcat-6.0.26/lib/*.jar

    wrapper.java.library.path.1=${app_home}/lib
    wrapper.java.library.path.2=${app_home}/apache-tomcat-6.0.26/lib

    wrapper.java.additional.1=-server
    wrapper.java.additional.2=-Xms64m
    wrapper.java.additional.3=-Xmx512m

    3. call a thread dump in a shutdown hook to check why the process exits:

    3.1 create a file shutdownHook.gv in the working directory of the application with the following content:

    println "executing YAJSW shutdown hook"
    new org.rzo.yajsw.action.ThreadDumpImpl5().execute(null, null, System.out, null)
    println "terminated YAJSW shutdown hook"

    3.2 add the following configuration to yajsw configuration file:

    wrapper.app.shutdown.script=<fullpath to the script file>/shutdownHook.gv

    4. if the shutdown hook is not invoked: check to see if java created a crash report (hs_err file)

    • Ron
     
  • dharam

    dharam - 2011-11-21

    Hi Ron,

    I appreciate your help.

    I could succeed in running my application on 32 bit jdk with 32 bit tomcat.

    I am using 32 bit JDK jdk1.6.0_19 and 32 bit tomcat apache-tomcat-6.0.26.

    However i am facing the below problem on 64 bit JDK jdk1.6.0_19   and 64 bit Tomcat (apache-tomcat-6.0.33):

    INFO|3924/0|11-11-21 15:46:28|Nov 21, 2011 3:46:28 PM org.rzo.yajsw.app.WrapperManagerImpl start
    INFO|3924/0|11-11-21 15:46:28|INFO: Logging ON
    INFO|3924/0|11-11-21 15:46:28|java.lang.reflect.InvocationTargetException
    INFO|3924/0|11-11-21 15:46:28| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    INFO|3924/0|11-11-21 15:46:28| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    INFO|3924/0|11-11-21 15:46:28| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    INFO|3924/0|11-11-21 15:46:28| at java.lang.reflect.Method.invoke(Method.java:597)
    INFO|3924/0|11-11-21 15:46:28| at org.rzo.yajsw.app.WrapperJVMMain.executeMain(WrapperJVMMain.java:53)
    INFO|3924/0|11-11-21 15:46:28| at org.rzo.yajsw.app.WrapperJVMMain.main(WrapperJVMMain.java:36)
    INFO|3924/0|11-11-21 15:46:28|Caused by: java.lang.UnsatisfiedLinkError: C:\Snowdon_Merge_Mohit\deployment\apache-tomcat-6.0.33\lib\com_lgc_util.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
    INFO|3924/0|11-11-21 15:46:28| at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    INFO|3924/0|11-11-21 15:46:28| at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
    INFO|3924/0|11-11-21 15:46:28| at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1728)
    INFO|3924/0|11-11-21 15:46:28| at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    INFO|3924/0|11-11-21 15:46:28| at java.lang.System.loadLibrary(System.java:1028)

    My requirement is i don't want to use 32 bit JRE.

    Do you have any suggestion for this ?

     
  • rzo

    rzo - 2011-11-21

    hello,

    you will have to check this with the author of com_lgc_util.dll.
    The dll you use has to be built for 64 bit.

    • Ron
     
  • dharam

    dharam - 2011-11-22

    Hi Ron,

    Thanks for the quick replies.

    As mohit had said in the above thread, our application is a web based application. It has two services one for database and another for tomcat.

    By following your guidance, i am able to run both the services  on console. But if i use the install script then i start the service it gets terminated quickly.

    Below is the trace if i go by install script:

    INFO|wrapper|11-11-22 17:46:56|init
    INFO|wrapper|11-11-22 17:46:56|Win service: before service init
    INFO|wrapper|11-11-22 17:46:56|start from Thread pool-1-thread-1
    INFO|wrapper|11-11-22 17:46:56|set state IDLE->STARTING
    INFO|wrapper|11-11-22 17:46:56|starting Process
    INFO|wrapper|11-11-22 17:46:56|starting controller
    INFO|wrapper|11-11-22 17:46:56|binding to port 15003
    INFO|wrapper|11-11-22 17:46:56|+ ServiceMain callback
    INFO|wrapper|11-11-22 17:46:56|reporting status 0
    INFO|wrapper|11-11-22 17:46:56|reporting status 0
    INFO|wrapper|11-11-22 17:46:56|onstart
    INFO|wrapper|11-11-22 17:46:56|Controller State: UNKNOWN -> WAITING
    INFO|wrapper|11-11-22 17:46:56|binding successfull
    INFO|wrapper|11-11-22 17:46:56|controller started
    INFO|wrapper|11-11-22 17:46:56|working dir C:\temp\deployment\wrapper\.
    INFO|wrapper|11-11-22 17:46:57|spawning wrapped process
    INFO|wrapper|11-11-22 17:46:57|is running: false pid=(-1<=0)
    INFO|wrapper|11-11-22 17:46:57|exec: "C:\temp\deployment\JDK1.6.0_19\jre\bin\java" "-Dwrapper.key=2400198429716714987" "-Dwrapper.teeName=2400198429716714987$1321964216285" "-Dwrapper.java.command=C:/temp/deployment/jdk1.6.0_19/jre/bin/java" "-Dwrapper.additional.1x=-Xrs" "-Dwrapper.config=C:\temp\deployment\conf\wrapper.conf" "-Dwrapper.port=15003" "-Dwrapper.key=2400198429716714987" "-Dwrapper.teeName=2400198429716714987$1321964216285" "-Dwrapper.tmpPath=C:\Users\raja\AppData\Local\Temp" "-classpath" "/C:/temp/deployment/wrapper/./wrapperApp.jar" "-server" "-Xms64m" "-Xmx512m" "-Djava.library.path=?unresolved?/deployment/lib;?unresolved?/apache-tomcat-6.0.33/lib" "-Xrs" "-Dwrapper.service=true" "-Dwrapper.console.visible=false" "org.rzo.yajsw.app.WrapperJVMMain"
    INFO|wrapper|11-11-22 17:46:57|started process with pid 616
    INFO|wrapper|11-11-22 17:46:57|set state STARTING->RUNNING
    INFO|616/0|11-11-22 17:46:57|waiting for termination of process
    INFO|wrapper|11-11-22 17:46:57|GetExitCodeProcess returned 259
    INFO|wrapper|11-11-22 17:46:57|getExitCode -2 processINFO==null=false
    INFO|wrapper|11-11-22 17:46:57|is running: true 616 -2
    INFO|wrapper|11-11-22 17:46:57|GetExitCodeProcess returned 259
    INFO|wrapper|11-11-22 17:46:57|getExitCode -2 processINFO==null=false
    INFO|wrapper|11-11-22 17:46:57|is running: true 616 -2
    INFO|616/0|11-11-22 17:46:57|Nov 22, 2011 5:46:57 PM org.apache.commons.vfs.VfsLog info
    INFO|616/0|11-11-22 17:46:58|INFO: Using "C:\Users\raja\AppData\Local\Temp\vfs_cache" as temporary files store.
    INFO|616/0|11-11-22 17:46:58|java.lang.ClassNotFoundException: abc.def.ghi.server.abcServerImpl
    INFO|616/0|11-11-22 17:46:58| at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    INFO|616/0|11-11-22 17:46:58| at java.security.AccessController.doPrivileged(Native Method)
    INFO|616/0|11-11-22 17:46:58| at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    INFO|616/0|11-11-22 17:46:58| at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    INFO|616/0|11-11-22 17:46:58| at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    INFO|616/0|11-11-22 17:46:58| at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    INFO|616/0|11-11-22 17:46:58| at org.rzo.yajsw.app.WrapperManagerImpl.init(WrapperManagerImpl.java:254)
    INFO|616/0|11-11-22 17:46:58| at org.rzo.yajsw.app.WrapperManagerProxy.getWrapperManager(WrapperManagerProxy.java:49)
    INFO|616/0|11-11-22 17:46:58| at org.rzo.yajsw.app.AbstractWrapperJVMMain$1.run(AbstractWrapperJVMMain.java:31)
    INFO|616/0|11-11-22 17:46:58| at java.security.AccessController.doPrivileged(Native Method)
    INFO|616/0|11-11-22 17:46:58| at org.rzo.yajsw.app.AbstractWrapperJVMMain.preExecute(AbstractWrapperJVMMain.java:27)
    INFO|616/0|11-11-22 17:46:58| at org.rzo.yajsw.app.WrapperJVMMain.main(WrapperJVMMain.java:34)
    INFO|616/0|11-11-22 17:46:58|mainClass/jar/script: abc.def.ghi.server.abcServerImpl/null/null
    INFO|616/0|11-11-22 17:46:58|error finding main method in class: abc.def.ghi.server.abcServerImpl : abc.def.ghi.server.abcServerImpl
    INFO|616/0|11-11-22 17:46:58|no java main method found -> aborting
    INFO|wrapper|11-11-22 17:46:58|WaitForSingleObject terminated PID: 616
    INFO|616/0|11-11-22 17:46:58|process terminated
    INFO|wrapper|11-11-22 17:46:58|GetExitCodeProcess returned 999
    INFO|wrapper|11-11-22 17:46:58|getExitCode 999 processINFO==null=false
    INFO|wrapper|11-11-22 17:46:58|getExitCode 999 processINFO==null=false
    INFO|wrapper|11-11-22 17:46:58|is running: false 616 999
    INFO|616/0|11-11-22 17:46:58|Controller State: WAITING -> PROCESS_KILLED
    INFO|wrapper|11-11-22 17:46:58|getExitCode 999 processINFO==null=false
    INFO|wrapper|11-11-22 17:46:58|giving up after 0 retries
    INFO|wrapper|11-11-22 17:46:58|set state RUNNING->STATE_ABORT
    INFO|wrapper|11-11-22 17:46:58|stop from Thread yajsw.controller-2 reason: USER
    INFO|wrapper|11-11-22 17:46:58|process not in state RUNNING -> Delaying stop
    INFO|wrapper|11-11-22 17:46:58|set state STATE_ABORT->IDLE
    INFO|wrapper|11-11-22 17:46:58|calling onStop
    INFO|wrapper|11-11-22 17:46:58|Win service stop - timeout: 30000
    INFO|wrapper|11-11-22 17:46:58|Win service wrapper.control -> stopping application
    INFO|wrapper|11-11-22 17:46:58|stop from Thread pool-1-thread-3 reason: null
    INFO|wrapper|11-11-22 17:46:58|set state IDLE->STATE_SHUTDOWN
    INFO|wrapper|11-11-22 17:46:58|Win service stop - after shutdown
    INFO|wrapper|11-11-22 17:46:58|Win service stop - before notify
    INFO|wrapper|11-11-22 17:46:58|Win service terminated
    INFO|wrapper|11-11-22 17:46:58|reporting status 0
    INFO|wrapper|11-11-22 17:46:58|Win service: terminated correctly

    Also if you see it can not resolve library path. But it does correctly that in case of runConsole.

    Below is the trace if i use runconsole:

    INFO|wrapper|11-11-22 17:52:32|init
    INFO|wrapper|11-11-22 17:52:32|start from Thread main
    INFO|wrapper|11-11-22 17:52:32|set state IDLE->STARTING
    INFO|wrapper|11-11-22 17:52:32|starting Process
    INFO|wrapper|11-11-22 17:52:32|starting controller
    INFO|wrapper|11-11-22 17:52:32|binding to port 15003
    INFO|wrapper|11-11-22 17:52:32|Controller State: UNKNOWN -> WAITING
    INFO|wrapper|11-11-22 17:52:32|binding successfull
    INFO|wrapper|11-11-22 17:52:32|controller started
    INFO|wrapper|11-11-22 17:52:32|working dir C:\temp\deployment\wrapper\.
    INFO|wrapper|11-11-22 17:52:32|spawning wrapped process
    INFO|wrapper|11-11-22 17:52:32|is running: false pid=(-1<=0)
    INFO|wrapper|11-11-22 17:52:32|exec: "C:\temp\deployment\JDK1.6.0_19\jre\bin\java" "-Dwrapper.teeName=-6923517941364453676$1321964552505" "-Dwrapper.config=C:\temp\deployment\conf\wrapper.conf" "-Dwrapper.key=-6923517941364453676" "-Dwrapper.port=15003" "-Dwrapper.key=-6923517941364453676" "-Dwrapper.teeName=-6923517941364453676$1321964552505" "-Dwrapper.tmpPath=C:\Users\raja\AppData\Local\Temp" "-classpath" "/C:/temp/deployment/wrapper/./wrapperApp.jar;C:\temp\deployment\lib\com_lgc_util.jar;C:\temp\deployment\lib\myapp-server-module.jar;C:\temp\deployment\resources;C:\temp\deployment\webapps\myapp\WEB-INF\lib\activation.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\commons-fileupload-1.0.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\com_lgc_util.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\Echo2_App.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\Echo2_Chart_App.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\Echo2_Chart_WebContainer.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\Echo2_Extras_App.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\Echo2_Extras_WebContainer.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\Echo2_FileTransfer_App.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\Echo2_FileTransfer_WebContainer.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\Echo2_WebContainer.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\Echo2_WebRender.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\echopointng-2.1.0rc5.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\geoframe-module.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\imap.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\jcommon-1.0.0.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\jcommon-1.0.16.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\jdom.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\jfreechart-1.0.13.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\mailapi.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\msde-support-module.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\OpenSpirit.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\myappgui-messages.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\myappgui.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\openworks-module.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\oracle-support-module.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\orb.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\ospcom.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\osporg.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\pipeline-module.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\poi-2.5.1-final-20040804.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\poi-contrib-2.5.1-final-20040804.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\poi-scratchpad-2.5.1-final-20040804.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\pop3.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\poslog-module.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\smtp.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\sqlExpress-support-module.jar;C:\temp\deployment\webapps\myapp\WEB-INF\lib\WellplanPlugin.jar;C:\temp\deployment\lib\myapp-server-module.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\annotations-api.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\antlr-2.7.6.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\asm-attrs.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\asm.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\axis-ant.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\axis.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\c3p0-0.9.0.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\c3p0-0.9.1.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\cartointf90_8.dll;C:\temp\deployment\apache-tomcat-6.0.33\lib\cartointf90_9.dll;C:\temp\deployment\apache-tomcat-6.0.33\lib\catalina-ant.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\catalina-ha.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\catalina-tribes.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\catalina.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\cglib-2.1.3.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\commons-codec-1.3.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\commons-collections-2.1.1.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\commons-collections-3.1.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\commons-discovery-0.2.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\commons-logging-1.0.4.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\commons-logging-1.1.1.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\com_lgc_dsosgi.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\com_lgc_hsf.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\com_lgc_jcartointf.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\com_lgc_owsw.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\com_lgc_ow_base90_9.dll;C:\temp\deployment\apache-tomcat-6.0.33\lib\com_lgc_ow_devkit.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\com_lgc_ow_devkit90_9.dll;C:\temp\deployment\apache-tomcat-6.0.33\lib\com_lgc_ow_gdi_dataTypes.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\com_lgc_util.dll;C:\temp\deployment\apache-tomcat-6.0.33\lib\com_lgc_util.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\com_lgc_util_32.dll;C:\temp\deployment\apache-tomcat-6.0.33\lib\concurrent-1.3.2.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\config-module-messages.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\config-module.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\connector.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\core_model_api.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\dom4j-1.6.1.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\ecj-3.3.1.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\edm-datamanagers.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\edm-dtos.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\edm-module.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\edmrt-module.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\ehcache-1.1.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\ehcache-1.2.3.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\ehcache-1.2.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\ejb3-persistence.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\el-api.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\GeoCalc90_6_4.dll;C:\temp\deployment\apache-tomcat-6.0.33\lib\GeoCalcPBW90_6_4.dll;C:\temp\deployment\apache-tomcat-6.0.33\lib\hibernate-annotations.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\hibernate-cglib-repack-2.1_3.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\hibernate-commons-annotations.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\hibernate-validator.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\hibernate3.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\internalOpenwireSchemas.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\jaas.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\jasper-el.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\jasper.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\javassist-3.4.GA.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\jaxrpc.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\jboss-cache-1.4.1.GA.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\jboss-cache.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\jboss-common.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\jboss-jmx.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\jboss-system.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\jbosscache-core-2.1.1.GA.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\JDataServices.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\jdbc2_0-stdext.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\jdom.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\jgroups-2.2.8.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\jRegistryKey.dll;C:\temp\deployment\apache-tomcat-6.0.33\lib\jRegistryKey.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\jsp-api.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\jsr173_1.0_api.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\jta-1.1.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\jta.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\jtds-1.2.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\LGCbase90_9.dll;C:\temp\deployment\apache-tomcat-6.0.33\lib\log4j-1.2.11.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\log4j-1.2.15.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\log4j-1.2.8.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\lucene-core-2.0.0.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\ojdbc14.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\myapp-licensing-module.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\myapp-licensing-r5000-module.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\myapp-nli.dll;C:\temp\deployment\apache-tomcat-6.0.33\lib\myapp-realm.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\myapp-server-client.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\myapp-server-stubs.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\oscache-2.1.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\owdevkit90_9.dll;C:\temp\deployment\apache-tomcat-6.0.33\lib\proxool-0.8.3.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\resolver.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\saaj.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\servlet-api.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\slf4j-api-1.5.8.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\slf4j-log4j12-1.5.8.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\swarmcache-1.0rc2.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\tdgssconfig.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\teradata-datamanagers.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\teradata-dtos.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\teradata-reveng.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\teradata.config.xml;C:\temp\deployment\apache-tomcat-6.0.33\lib\terajdbc4.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\tomcat-coyote.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\tomcat-dbcp.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\tomcat-i18n-es.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\tomcat-i18n-fr.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\tomcat-i18n-ja.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\units_service_api.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\utils-module.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\vecmath.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\webservices-api.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\webservices-extra-api.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\webservices-extra.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\webservices-rt.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\webservices-tools.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\wellspace.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\wellspace_api.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\wellspace_core.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\wellspace_facade.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\wellspace_server.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\witsml-api.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\witsml-stubs-120.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\witsml-stubs-131.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\witsmlapi-xslt.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\witsmlObjects120.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\witsmlObjects131.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\witsmlUnit120.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\wsdl4j-1.5.1.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\xbean.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\xbean_xpath.jar;C:\temp\deployment\apache-tomcat-6.0.33\lib\xerces-c80_2_6.dll;C:\temp\deployment\apache-tomcat-6.0.33\lib\xerces-c90_3_0.dll;C:\temp\deployment\apache-tomcat-6.0.33\lib\xmlpublic.jar" "-server" "-Xms64m" "-Xmx512m" "-Djava.library.path=C:/temp/deployment/deployment/lib;C:/temp/deployment/apache-tomcat-6.0.33/lib" "org.rzo.yajsw.app.WrapperJVMMain"
    INFO|wrapper|11-11-22 17:52:32|started process with pid 3304
    INFO|wrapper|11-11-22 17:52:32|waiting for termination of process
    INFO|wrapper|11-11-22 17:52:32|set state STARTING->RUNNING
    INFO|wrapper|11-11-22 17:52:32|GetExitCodeProcess returned 259
    INFO|wrapper|11-11-22 17:52:32|getExitCode -2 processINFO==null=false
    INFO|wrapper|11-11-22 17:52:32|is running: true 3304 -2
    INFO|wrapper|11-11-22 17:52:33|GetExitCodeProcess returned 259
    INFO|wrapper|11-11-22 17:52:33|getExitCode -2 processINFO==null=false
    INFO|wrapper|11-11-22 17:52:33|is running: true 3304 -2
    INFO|3304/0|11-11-22 17:52:34|- Using "C:\Users\raja\AppData\Local\Temp\vfs_cache" as temporary files store.
    INFO|3304/0|11-11-22 17:52:34|Nov 22, 2011 5:52:34 PM org.rzo.yajsw.app.WrapperManagerImpl start
    INFO|3304/0|11-11-22 17:52:34|INFO: Logging ON
    INFO|3304/0|11-11-22 17:52:34|mainClass/jar/script: abc.def.ghi.server.abcServerImpl/null/null
    INFO|3304/0|11-11-22 17:52:34|external stop false
    INFO|3304/0|11-11-22 17:52:34|args:
    INFO|3304/0|11-11-22 17:52:34|terminated WrapperManager.init()
    INFO|3304/0|11-11-22 17:52:34|- Starting MyApp server at Tue Nov 22 17:52:34 IST 2011
    INFO|3304/0|11-11-22 17:52:34|- Setting up log4j configuration
    INFO|3304/0|11-11-22 17:52:34|Logging ON
    FINE|3304/0|11-11-22 17:52:34| OPEN
    FINE|3304/0|11-11-22 17:52:34| OPEN
    FINE|3304/0|11-11-22 17:52:34| BOUND: /127.0.0.1:15003
    FINE|3304/0|11-11-22 17:52:34| BOUND: /127.0.0.1:15003
    FINE|3304/0|11-11-22 17:52:34| CONNECTED: /127.0.0.1:52816
    FINE|3304/0|11-11-22 17:52:34| CONNECTED: /127.0.0.1:52816
    INFO|3304/0|11-11-22 17:52:34|Controller State: WAITING -> ESTABLISHED
    FINE|3304/0|11-11-22 17:52:34| RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=22, cap=22)
    FINE|3304/0|11-11-22 17:52:34| RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=22, cap=22)
    FINE|3304/0|11-11-22 17:52:34| RECEIVED: Message:KEY:-6923517941364453676
    FINE|3304/0|11-11-22 17:52:34| RECEIVED: Message:KEY:-6923517941364453676
    INFO|3304/0|11-11-22 17:52:34|Controller State: ESTABLISHED -> LOGGED_ON
    FINE|3304/0|11-11-22 17:52:34| WRITE: Message:OKKEY:3304
    FINE|3304/0|11-11-22 17:52:34| WRITE: Message:OKKEY:3304
    FINE|3304/0|11-11-22 17:52:34| WRITE: BigEndianHeapChannelBuffer(ridx=0, widx=6, cap=6)
    FINE|3304/0|11-11-22 17:52:34| WRITE: BigEndianHeapChannelBuffer(ridx=0, widx=6, cap=6)
    FINE|3304/0|11-11-22 17:52:34| WRITTEN_AMOUNT: 6
    FINE|3304/0|11-11-22 17:52:34| WRITTEN_AMOUNT: 6
    INFO|3304/0|11-11-22 17:52:34|Correct key
    INFO|3304/0|11-11-22 17:52:35|Already checking heartbeat!
    INFO|3304/0|11-11-22 17:52:35|Already checking heartbeat!
    INFO|3304/0|11-11-22 17:52:35|SLF4J: This version of SLF4J requires log4j version 1.2.12 or later. See also http://www.slf4j.org/codes.html#log4j_version
    INFO|3304/0|11-11-22 17:52:38|exit on main terminate -1
    FINE|3304/0|11-11-22 17:52:39| RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=2, cap=2)
    FINE|3304/0|11-11-22 17:52:39| RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=2, cap=2)
    FINE|3304/0|11-11-22 17:52:39| RECEIVED: Message:PING:
    FINE|3304/0|11-11-22 17:52:39| RECEIVED: Message:PING:
    FINE|3304/0|11-11-22 17:52:44| RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=2, cap=2)
    FINE|3304/0|11-11-22 17:52:44| RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=2, cap=2)
    FINE|3304/0|11-11-22 17:52:44| RECEIVED: Message:PING:
    FINE|3304/0|11-11-22 17:52:44| RECEIVED: Message:PING:
    FINE|3304/0|11-11-22 17:52:49| RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=2, cap=2)
    FINE|3304/0|11-11-22 17:52:49| RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=2, cap=2)
    FINE|3304/0|11-11-22 17:52:49| RECEIVED: Message:PING:
    FINE|3304/0|11-11-22 17:52:49| RECEIVED: Message:PING:
    FINE|3304/0|11-11-22 17:52:54| RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=2, cap=2)
    FINE|3304/0|11-11-22 17:52:54| RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=2, cap=2)
    FINE|3304/0|11-11-22 17:52:54| RECEIVED: Message:PING:
    FINE|3304/0|11-11-22 17:52:54| RECEIVED: Message:PING:
    FINE|3304/0|11-11-22 17:52:59| RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=2, cap=2)
    FINE|3304/0|11-11-22 17:52:59| RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=2, cap=2)
    FINE|3304/0|11-11-22 17:52:59| RECEIVED: Message:PING:
    FINE|3304/0|11-11-22 17:52:59| RECEIVED: Message:PING:
    FINE|3304/0|11-11-22 17:53:04| RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=2, cap=2)
    FINE|3304/0|11-11-22 17:53:04| RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=2, cap=2)
    FINE|3304/0|11-11-22 17:53:04| RECEIVED: Message:PING:
    FINE|3304/0|11-11-22 17:53:04| RECEIVED: Message:PING:
    FINE|3304/0|11-11-22 17:53:09| RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=2, cap=2)
    FINE|3304/0|11-11-22 17:53:09| RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=2, cap=2)
    FINE|3304/0|11-11-22 17:53:09| RECEIVED: Message:PING:
    FINE|3304/0|11-11-22 17:53:09| RECEIVED: Message:PING:
    FINE|3304/0|11-11-22 17:53:14| RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=2, cap=2)
    FINE|3304/0|11-11-22 17:53:14| RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=2, cap=2)
    FINE|3304/0|11-11-22 17:53:14| RECEIVED: Message:PING:
    FINE|3304/0|11-11-22 17:53:14| RECEIVED: Message:PING:
    FINE|3304/0|11-11-22 17:53:19| RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=2, cap=2)
    FINE|3304/0|11-11-22 17:53:19| RECEIVED: BigEndianHeapChannelBuffer(ridx=0, widx=2, cap=2)
    FINE|3304/0|11-11-22 17:53:19| RECEIVED: Message:PING:
    FINE|3304/0|11-11-22 17:53:19| RECEIVED: Message:PING:

    My wrapper config file is :

    #********************************************************************
    # Wrapper Properties
    #********************************************************************
    # Java Application

    #app_home=C:/Snowdon_Merge_Mohit/deployment
    wrapper.java.command=${app_home}/jdk1.6.0_19/jre/bin/java
    owhome = wrapper.app.env.owhome
    path = wrapper.app.env.path
    wrapper.app.env.path = ${owhome}/oracle32/instantclient;${path}

    wrapper.java.classpath.1=${app_home}/lib/*
    wrapper.java.classpath.2=${app_home}/resources
    wrapper.java.classpath.3=${app_home}/webapps/myapp/WEB-INF/lib/*
    wrapper.java.classpath.4=${app_home}/lib/myapp-server-module.jar
    wrapper.java.classpath.5=${app_home}/apache-tomcat-6.0.33/lib/*

    wrapper.java.library.path.1=${app_home}/deployment/lib
    wrapper.java.library.path.2=${app_home}/apache-tomcat-6.0.33/lib

    wrapper.java.additional.1=-server
    wrapper.java.additional.2=-Xms64m
    wrapper.java.additional.3=-Xmx512m

    # Application parameters.  Add parameters as needed starting from 1
    wrapper.java.app.mainclass=abc.def.ghi.server.MyAppServerImpl

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

    # 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/myappService-ROLLNUM.log.txt

    # 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=200k

    # 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=2

    # 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 =  MyApp  Database

    #********************************************************************
    # 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.

    wrapper.ntservice.account=
    wrapper.ntservice.password=

    # Name of the service
    wrapper.ntservice.name= MyApp  Database

    # Display name of the service
    wrapper.ntservice.displayname= MyApp  Database

    # Description of the service
    wrapper.ntservice.description= MyApp  Database

    # 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.debug=true
    wrapper.ping.timeout=120

    All suggestions are welcome.

     
  • rzo

    rzo - 2011-11-23

    hello

    in the log file we see: ?unresolved?

    this is caused by the configuration:

    #app_home=C:/Snowdon_Merge_Mohit/deployment

    that is app_home is used, but not set.

    before changing the file you will first need to uninstall the service.

    • Ron
     
  • dharam

    dharam - 2011-11-23

    Variable app_home is set using setenv.bat file.
    When i run it it through runConsole.bat then also procedure is same.

    So it is not required here.

     
1 2 > >> (Page 1 of 2)

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.