|
From: Delphine V. <dv...@mi...> - 2006-05-10 14:59:48
|
In my log file there is: STATUS | wrapper | 2006/05/10 16:53:44 | --> Wrapper Started as Console STATUS | wrapper | 2006/05/10 16:53:44 | Launching a JVM... INFO | jvm 1 | 2006/05/10 16:53:45 | Wrapper (Version 3.2.0) http://wrapper.tanukisoftware.org INFO | jvm 1 | 2006/05/10 16:53:45 |=20 INFO | jvm 1 | 2006/05/10 16:53:47 | Scheduler started (indexation begin) STATUS | wrapper | 2006/05/10 16:54:01 | CTRL-C trapped. Shutting down. STATUS | wrapper | 2006/05/10 16:54:03 | <-- Wrapper Stopped STATUS | wrapper | 2006/05/10 16:54:43 | --> Wrapper Started as Service STATUS | wrapper | 2006/05/10 16:54:43 | Launching a JVM... INFO | jvm 1 | 2006/05/10 16:54:44 | Wrapper (Version 3.2.0) http://wrapper.tanukisoftware.org INFO | jvm 1 | 2006/05/10 16:54:44 | I wrote this in command line: D:\DVA\Indexation\IndexationApplication\bin>App D:\>net start "Indexation Application" -----Original Message----- From: wra...@li... [mailto:wra...@li...] On Behalf Of Leif Mortenson Sent: mercredi 10 mai 2006 16:46 To: wra...@li... Subject: Re: [Wrapper-user] Nothing occurs when starting *********************** Your mail has been scanned by InterScan VirusWall. ***********-*********** Delphine, What is in your wrapper.log file? Cheers, Leif Delphine VANDERMEYSBRUGGEN wrote: > > Hi, > > When I run the App.bat file, it works. My application runs correctly. > > But when I start the service using "net start MyApp" or with the=20 > wrapper.exe or when I go in the control panel and start it manually,=20 > nothing occurs. Just : > > The Indexation Application service is starting.. > > The Indexation Application service was started successfully. > > Ok it is started but my application do not runs. > > Have any idea? > > Thanks > > Delphine > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |
|
From: Delphine V. <dv...@mi...> - 2006-05-11 07:19:06
|
I ran net start "Indexation Application" and I set the wrapper.debug=3Dtrue In my log there is: STATUS | wrapper | 2006/05/11 09:14:07 | --> Wrapper Started as Service DEBUG | wrapper | 2006/05/11 09:14:07 | Using tick timer. DEBUG | wrapperp | 2006/05/11 09:14:07 | server listening on port 32000. STATUS | wrapper | 2006/05/11 09:14:07 | Launching a JVM... DEBUG | wrapper | 2006/05/11 09:14:07 | command: "C:\WINDOWS\system32\java.exe" -Xmx256m -Djava.library.path=3D"../lib" -classpath "../lib/wrappertest.jar;../lib/wrapper.jar;scheduler.jar;../lib/jdic.jar ;../lib/jdic_stub.jar;../lib/log4j-1.2.9.jar;../lib/lucene-core-1.9.1.ja r;../lib/packager.jar;../lib/PDFBox-0.7.2.jar;../lib/poi-2.5.1-final-200 40804.jar" -Dwrapper.key=3D"rOdomgWCwBLd3aAS" -Dwrapper.port=3D32000 -Dwrapper.jvm.port.min=3D31000 -Dwrapper.jvm.port.max=3D31999 -Dwrapper.debug=3D"TRUE" -Dwrapper.pid=3D768 -Dwrapper.version=3D"3.2.0" -Dwrapper.native_library=3D"wrapper" -Dwrapper.service=3D"TRUE" -Dwrapper.cpu.timeout=3D"10" -Dwrapper.jvmid=3D1 org.tanukisoftware.wrapper.WrapperSimpleApp be.microresearch.scheduler.MainService DEBUG | wrapper | 2006/05/11 09:14:07 | JVM started (PID=3D572) INFO | jvm 1 | 2006/05/11 09:14:07 | WrapperManager class initialized by thread: main Using classloader: sun.misc.Launcher$AppClassLoader@a39137 INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper (Version 3.2.0) http://wrapper.tanukisoftware.org INFO | jvm 1 | 2006/05/11 09:14:07 |=20 INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper Manager: JVM #1 INFO | jvm 1 | 2006/05/11 09:14:07 | Running a 32-bit JVM. INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper Manager: Registering shutdown hook INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper Manager: Using wrapper INFO | jvm 1 | 2006/05/11 09:14:07 | Load native library. One or more attempts may fail if platform specific libraries do not exist. INFO | jvm 1 | 2006/05/11 09:14:07 | Loading native library failed: wrapper-windows-x86-32.dll Cause: java.lang.UnsatisfiedLinkError: no wrapper-windows-x86-32 in java.library.path INFO | jvm 1 | 2006/05/11 09:14:07 | Loaded native library: wrapper.dll INFO | jvm 1 | 2006/05/11 09:14:07 | Calling native initialization method. INFO | jvm 1 | 2006/05/11 09:14:07 | Initializing WrapperManager native library. INFO | jvm 1 | 2006/05/11 09:14:07 | Java Executable: C:\WINDOWS\system32\java.exe INFO | jvm 1 | 2006/05/11 09:14:07 | Windows version: 5.1.2600 INFO | jvm 1 | 2006/05/11 09:14:07 | Java Version : 1.5.0_06-b05 Java HotSpot(TM) Client VM INFO | jvm 1 | 2006/05/11 09:14:07 | Java VM Vendor : Sun Microsystems Inc. INFO | jvm 1 | 2006/05/11 09:14:07 |=20 INFO | jvm 1 | 2006/05/11 09:14:07 | WrapperManager.start(org.tanukisoftware.wrapper.WrapperSimpleApp@f0eed6, args[]) called by thread: main INFO | jvm 1 | 2006/05/11 09:14:07 | Open socket to wrapper...Wrapper-Connection INFO | jvm 1 | 2006/05/11 09:14:07 | Failed attempt to bind using local port 31000 INFO | jvm 1 | 2006/05/11 09:14:07 | Failed attempt to bind using local port 31001 INFO | jvm 1 | 2006/05/11 09:14:07 | Opened Socket from 31002 to 32000 INFO | jvm 1 | 2006/05/11 09:14:07 | Send a packet KEY : rOdomgWCwBLd3aAS INFO | jvm 1 | 2006/05/11 09:14:07 | handleSocket(Socket[addr=3D/127.0.0.1,port=3D32000,localport=3D31002]) DEBUG | wrapperp | 2006/05/11 09:14:07 | accepted a socket from 127.0.0.1 on port 31002 DEBUG | wrapperp | 2006/05/11 09:14:07 | read a packet KEY : rOdomgWCwBLd3aAS DEBUG | wrapper | 2006/05/11 09:14:07 | Got key from JVM: rOdomgWCwBLd3aAS DEBUG | wrapperp | 2006/05/11 09:14:07 | send a packet LOW_LOG_LEVEL : 1 DEBUG | wrapperp | 2006/05/11 09:14:07 | send a packet PING_TIMEOUT : 30 DEBUG | wrapperp | 2006/05/11 09:14:07 | send a packet PROPERTIES : (Property Values) DEBUG | wrapper | 2006/05/11 09:14:07 | Start Application. DEBUG | wrapperp | 2006/05/11 09:14:07 | send a packet START : start INFO | jvm 1 | 2006/05/11 09:14:07 | Received a packet LOW_LOG_LEVEL : 1 INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper Manager: LowLogLevel from Wrapper is 1 INFO | jvm 1 | 2006/05/11 09:14:07 | Received a packet PING_TIMEOUT : 30 INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper Manager: PingTimeout from Wrapper is 30000 INFO | jvm 1 | 2006/05/11 09:14:07 | Received a packet PROPERTIES : (Property Values) INFO | jvm 1 | 2006/05/11 09:14:07 | Monitoring of the JVM thread count will be delayed for 1 seconds. INFO | jvm 1 | 2006/05/11 09:14:07 | Received a packet START : start INFO | jvm 1 | 2006/05/11 09:14:07 | calling listener.start() INFO | jvm 1 | 2006/05/11 09:14:07 | WrapperSimpleApp: start(args) Will wait up to 2 seconds for the main method to complete. INFO | jvm 1 | 2006/05/11 09:14:07 | WrapperSimpleApp: invoking main method INFO | jvm 1 | 2006/05/11 09:14:09 | Send a packet START_PENDING : 5000 DEBUG | wrapperp | 2006/05/11 09:14:09 | read a packet START_PENDING : 5000 DEBUG | wrapper | 2006/05/11 09:14:09 | JVM signalled a start pending with waitHint of 5000 millis. INFO | jvm 1 | 2006/05/11 09:14:10 | Send a packet START_PENDING : 5000 INFO | jvm 1 | 2006/05/11 09:14:10 | WrapperSimpleApp: start(args) end. Main Completed=3Dfalse, exitCode=3Dnull INFO | jvm 1 | 2006/05/11 09:14:10 | returned from listener.start() INFO | jvm 1 | 2006/05/11 09:14:10 | Send a packet STARTED :=20 DEBUG | wrapperp | 2006/05/11 09:14:10 | read a packet START_PENDING : 5000 DEBUG | wrapper | 2006/05/11 09:14:10 | JVM signalled a start pending with waitHint of 5000 millis. DEBUG | wrapperp | 2006/05/11 09:14:10 | read a packet STARTED :=20 DEBUG | wrapper | 2006/05/11 09:14:10 | JVM signalled that it was started. DEBUG | wrapperp | 2006/05/11 09:14:10 | send a packet SERVICE_CONTROL_CODE : 4 DEBUG | wrapper | 2006/05/11 09:14:10 | ServiceControlHandler(4) DEBUG | wrapper | 2006/05/11 09:14:10 | SERVICE_CONTROL_INTERROGATE INFO | jvm 1 | 2006/05/11 09:14:10 | Received a packet SERVICE_CONTROL_CODE : 4 INFO | jvm 1 | 2006/05/11 09:14:10 | Wrapper Manager: ServiceControlCode from Wrapper with code 4 DEBUG | wrapperp | 2006/05/11 09:14:13 | send a packet PING : ping INFO | jvm 1 | 2006/05/11 09:14:13 | Received a packet PING : ping INFO | jvm 1 | 2006/05/11 09:14:13 | Send a packet PING : ok INFO | jvm 1 | 2006/05/11 09:14:13 | Non-daemon thread count =3D 4 = - 1(system) =3D 3 DEBUG | wrapperp | 2006/05/11 09:14:13 | read a packet PING : ok DEBUG | wrapper | 2006/05/11 09:14:13 | Got ping response from JVM Delphine. -----Original Message----- From: wra...@li... [mailto:wra...@li...] On Behalf Of Leif Mortenson Sent: mercredi 10 mai 2006 17:07 To: wra...@li... Subject: Re: [Wrapper-user] Nothing occurs when starting *********************** Your mail has been scanned by InterScan VirusWall. ***********-*********** Delphine, The log you posted shows me that you ran in a console successfully=20 then killed the app by pressing CTRL-C. You then launch the app as a service. It appears to be starting=20 fine but that is all of the log that you included. Is that everything? I am not able to see=20 what happens next. You are not getting the "Scheduler started" message. If that is your full log file, try setting the wrapper.debug=3Dtrue=20 property and running it again. Your application may be getting stuck as it attempts to=20 launch the "Scheduler" for some reason. Cheers, Leif Delphine VANDERMEYSBRUGGEN wrote: > In my log file there is: > > STATUS | wrapper | 2006/05/10 16:53:44 | --> Wrapper Started as Console > STATUS | wrapper | 2006/05/10 16:53:44 | Launching a JVM... > INFO | jvm 1 | 2006/05/10 16:53:45 | Wrapper (Version 3.2.0) > http://wrapper.tanukisoftware.org > INFO | jvm 1 | 2006/05/10 16:53:45 |=20 > INFO | jvm 1 | 2006/05/10 16:53:47 | Scheduler started (indexation > begin) > STATUS | wrapper | 2006/05/10 16:54:01 | CTRL-C trapped. Shutting > down. > STATUS | wrapper | 2006/05/10 16:54:03 | <-- Wrapper Stopped > STATUS | wrapper | 2006/05/10 16:54:43 | --> Wrapper Started as Service > STATUS | wrapper | 2006/05/10 16:54:43 | Launching a JVM... > INFO | jvm 1 | 2006/05/10 16:54:44 | Wrapper (Version 3.2.0) > http://wrapper.tanukisoftware.org > INFO | jvm 1 | 2006/05/10 16:54:44 | > > > I wrote this in command line: > > D:\DVA\Indexation\IndexationApplication\bin>App > > D:\>net start "Indexation Application" > > -----Original Message----- > From: wra...@li... > [mailto:wra...@li...] On Behalf Of Leif > Mortenson > Sent: mercredi 10 mai 2006 16:46 > To: wra...@li... > Subject: Re: [Wrapper-user] Nothing occurs when starting > > *********************** > Your mail has been scanned by InterScan VirusWall. > ***********-*********** > > > Delphine, > What is in your wrapper.log file? > > Cheers, > Leif > > Delphine VANDERMEYSBRUGGEN wrote: > =20 >> Hi, >> >> When I run the App.bat file, it works. My application runs correctly. >> >> But when I start the service using "net start MyApp" or with the=20 >> wrapper.exe or when I go in the control panel and start it manually,=20 >> nothing occurs. Just : >> >> The Indexation Application service is starting.. >> >> The Indexation Application service was started successfully. >> >> Ok it is started but my application do not runs. >> >> Have any idea? >> >> Thanks >> >> Delphine >> =20 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |
|
From: Leif M. <le...@ta...> - 2006-05-11 07:48:21
|
Delphine,
According to the log, the Wrapper has called your application's main
method:
be.microresearch.scheduler.MainService and it completed without any
problems.
There are still non daemon threads running so the Wrapper believes that your
application is running normally.
Why it works in console mode, but not when run as a service? I
can't say.
But it appears to be something that is happening within your application.
You are using 1.5.0. So the jconsole tool should be available. Add the
wrapper.java.additional.1=-Dcom.sun.management.jmxremote property to
your wrapper.conf. Then rerun your service. Once it is up and in this
state,
launch jconsole and then connect to the JVM using JMX. If you look at the
threads page, you should be able to tell what your various threads are
up to.
Cheers,
Leif
Delphine VANDERMEYSBRUGGEN wrote:
> I ran net start "Indexation Application" and I set the
> wrapper.debug=true
>
> In my log there is:
>
> STATUS | wrapper | 2006/05/11 09:14:07 | --> Wrapper Started as Service
> DEBUG | wrapper | 2006/05/11 09:14:07 | Using tick timer.
> DEBUG | wrapperp | 2006/05/11 09:14:07 | server listening on port
> 32000.
> STATUS | wrapper | 2006/05/11 09:14:07 | Launching a JVM...
> DEBUG | wrapper | 2006/05/11 09:14:07 | command:
> "C:\WINDOWS\system32\java.exe" -Xmx256m -Djava.library.path="../lib"
> -classpath
> "../lib/wrappertest.jar;../lib/wrapper.jar;scheduler.jar;../lib/jdic.jar
> ;../lib/jdic_stub.jar;../lib/log4j-1.2.9.jar;../lib/lucene-core-1.9.1.ja
> r;../lib/packager.jar;../lib/PDFBox-0.7.2.jar;../lib/poi-2.5.1-final-200
> 40804.jar" -Dwrapper.key="rOdomgWCwBLd3aAS" -Dwrapper.port=32000
> -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999
> -Dwrapper.debug="TRUE" -Dwrapper.pid=768 -Dwrapper.version="3.2.0"
> -Dwrapper.native_library="wrapper" -Dwrapper.service="TRUE"
> -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1
> org.tanukisoftware.wrapper.WrapperSimpleApp
> be.microresearch.scheduler.MainService
> DEBUG | wrapper | 2006/05/11 09:14:07 | JVM started (PID=572)
> INFO | jvm 1 | 2006/05/11 09:14:07 | WrapperManager class
> initialized by thread: main Using classloader:
> sun.misc.Launcher$AppClassLoader@a39137
> INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper (Version 3.2.0)
> http://wrapper.tanukisoftware.org
> INFO | jvm 1 | 2006/05/11 09:14:07 |
> INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper Manager: JVM #1
> INFO | jvm 1 | 2006/05/11 09:14:07 | Running a 32-bit JVM.
> INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper Manager: Registering
> shutdown hook
> INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper Manager: Using wrapper
> INFO | jvm 1 | 2006/05/11 09:14:07 | Load native library. One or
> more attempts may fail if platform specific libraries do not exist.
> INFO | jvm 1 | 2006/05/11 09:14:07 | Loading native library failed:
> wrapper-windows-x86-32.dll Cause: java.lang.UnsatisfiedLinkError: no
> wrapper-windows-x86-32 in java.library.path
> INFO | jvm 1 | 2006/05/11 09:14:07 | Loaded native library:
> wrapper.dll
> INFO | jvm 1 | 2006/05/11 09:14:07 | Calling native initialization
> method.
> INFO | jvm 1 | 2006/05/11 09:14:07 | Initializing WrapperManager
> native library.
> INFO | jvm 1 | 2006/05/11 09:14:07 | Java Executable:
> C:\WINDOWS\system32\java.exe
> INFO | jvm 1 | 2006/05/11 09:14:07 | Windows version: 5.1.2600
> INFO | jvm 1 | 2006/05/11 09:14:07 | Java Version : 1.5.0_06-b05
> Java HotSpot(TM) Client VM
> INFO | jvm 1 | 2006/05/11 09:14:07 | Java VM Vendor : Sun
> Microsystems Inc.
> INFO | jvm 1 | 2006/05/11 09:14:07 |
> INFO | jvm 1 | 2006/05/11 09:14:07 |
> WrapperManager.start(org.tanukisoftware.wrapper.WrapperSimpleApp@f0eed6,
> args[]) called by thread: main
> INFO | jvm 1 | 2006/05/11 09:14:07 | Open socket to
> wrapper...Wrapper-Connection
> INFO | jvm 1 | 2006/05/11 09:14:07 | Failed attempt to bind using
> local port 31000
> INFO | jvm 1 | 2006/05/11 09:14:07 | Failed attempt to bind using
> local port 31001
> INFO | jvm 1 | 2006/05/11 09:14:07 | Opened Socket from 31002 to
> 32000
> INFO | jvm 1 | 2006/05/11 09:14:07 | Send a packet KEY :
> rOdomgWCwBLd3aAS
> INFO | jvm 1 | 2006/05/11 09:14:07 |
> handleSocket(Socket[addr=/127.0.0.1,port=32000,localport=31002])
> DEBUG | wrapperp | 2006/05/11 09:14:07 | accepted a socket from
> 127.0.0.1 on port 31002
> DEBUG | wrapperp | 2006/05/11 09:14:07 | read a packet KEY :
> rOdomgWCwBLd3aAS
> DEBUG | wrapper | 2006/05/11 09:14:07 | Got key from JVM:
> rOdomgWCwBLd3aAS
> DEBUG | wrapperp | 2006/05/11 09:14:07 | send a packet LOW_LOG_LEVEL :
> 1
> DEBUG | wrapperp | 2006/05/11 09:14:07 | send a packet PING_TIMEOUT :
> 30
> DEBUG | wrapperp | 2006/05/11 09:14:07 | send a packet PROPERTIES :
> (Property Values)
> DEBUG | wrapper | 2006/05/11 09:14:07 | Start Application.
> DEBUG | wrapperp | 2006/05/11 09:14:07 | send a packet START : start
> INFO | jvm 1 | 2006/05/11 09:14:07 | Received a packet
> LOW_LOG_LEVEL : 1
> INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper Manager: LowLogLevel
> from Wrapper is 1
> INFO | jvm 1 | 2006/05/11 09:14:07 | Received a packet PING_TIMEOUT
> : 30
> INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper Manager: PingTimeout
> from Wrapper is 30000
> INFO | jvm 1 | 2006/05/11 09:14:07 | Received a packet PROPERTIES :
> (Property Values)
> INFO | jvm 1 | 2006/05/11 09:14:07 | Monitoring of the JVM thread
> count will be delayed for 1 seconds.
> INFO | jvm 1 | 2006/05/11 09:14:07 | Received a packet START :
> start
> INFO | jvm 1 | 2006/05/11 09:14:07 | calling listener.start()
> INFO | jvm 1 | 2006/05/11 09:14:07 | WrapperSimpleApp: start(args)
> Will wait up to 2 seconds for the main method to complete.
> INFO | jvm 1 | 2006/05/11 09:14:07 | WrapperSimpleApp: invoking
> main method
> INFO | jvm 1 | 2006/05/11 09:14:09 | Send a packet START_PENDING :
> 5000
> DEBUG | wrapperp | 2006/05/11 09:14:09 | read a packet START_PENDING :
> 5000
> DEBUG | wrapper | 2006/05/11 09:14:09 | JVM signalled a start pending
> with waitHint of 5000 millis.
> INFO | jvm 1 | 2006/05/11 09:14:10 | Send a packet START_PENDING :
> 5000
> INFO | jvm 1 | 2006/05/11 09:14:10 | WrapperSimpleApp: start(args)
> end. Main Completed=false, exitCode=null
> INFO | jvm 1 | 2006/05/11 09:14:10 | returned from listener.start()
> INFO | jvm 1 | 2006/05/11 09:14:10 | Send a packet STARTED :
> DEBUG | wrapperp | 2006/05/11 09:14:10 | read a packet START_PENDING :
> 5000
> DEBUG | wrapper | 2006/05/11 09:14:10 | JVM signalled a start pending
> with waitHint of 5000 millis.
> DEBUG | wrapperp | 2006/05/11 09:14:10 | read a packet STARTED :
> DEBUG | wrapper | 2006/05/11 09:14:10 | JVM signalled that it was
> started.
> DEBUG | wrapperp | 2006/05/11 09:14:10 | send a packet
> SERVICE_CONTROL_CODE : 4
> DEBUG | wrapper | 2006/05/11 09:14:10 | ServiceControlHandler(4)
> DEBUG | wrapper | 2006/05/11 09:14:10 | SERVICE_CONTROL_INTERROGATE
> INFO | jvm 1 | 2006/05/11 09:14:10 | Received a packet
> SERVICE_CONTROL_CODE : 4
> INFO | jvm 1 | 2006/05/11 09:14:10 | Wrapper Manager:
> ServiceControlCode from Wrapper with code 4
> DEBUG | wrapperp | 2006/05/11 09:14:13 | send a packet PING : ping
> INFO | jvm 1 | 2006/05/11 09:14:13 | Received a packet PING : ping
> INFO | jvm 1 | 2006/05/11 09:14:13 | Send a packet PING : ok
> INFO | jvm 1 | 2006/05/11 09:14:13 | Non-daemon thread count = 4 -
> 1(system) = 3
> DEBUG | wrapperp | 2006/05/11 09:14:13 | read a packet PING : ok
> DEBUG | wrapper | 2006/05/11 09:14:13 | Got ping response from JVM
>
>
> Delphine.
>
> -----Original Message-----
> From: wra...@li...
> [mailto:wra...@li...] On Behalf Of Leif
> Mortenson
> Sent: mercredi 10 mai 2006 17:07
> To: wra...@li...
> Subject: Re: [Wrapper-user] Nothing occurs when starting
>
> ***********************
> Your mail has been scanned by InterScan VirusWall.
> ***********-***********
>
>
> Delphine,
> The log you posted shows me that you ran in a console successfully
> then killed the
> app by pressing CTRL-C.
> You then launch the app as a service. It appears to be starting
> fine but that is all of
> the log that you included. Is that everything? I am not able to see
> what happens next.
> You are not getting the "Scheduler started" message.
>
> If that is your full log file, try setting the wrapper.debug=true
> property and running
> it again. Your application may be getting stuck as it attempts to
> launch the "Scheduler"
> for some reason.
>
> Cheers,
> Leif
>
> Delphine VANDERMEYSBRUGGEN wrote:
>
>> In my log file there is:
>>
>> STATUS | wrapper | 2006/05/10 16:53:44 | --> Wrapper Started as
>>
> Console
>
>> STATUS | wrapper | 2006/05/10 16:53:44 | Launching a JVM...
>> INFO | jvm 1 | 2006/05/10 16:53:45 | Wrapper (Version 3.2.0)
>> http://wrapper.tanukisoftware.org
>> INFO | jvm 1 | 2006/05/10 16:53:45 |
>> INFO | jvm 1 | 2006/05/10 16:53:47 | Scheduler started
>>
> (indexation
>
>> begin)
>> STATUS | wrapper | 2006/05/10 16:54:01 | CTRL-C trapped. Shutting
>> down.
>> STATUS | wrapper | 2006/05/10 16:54:03 | <-- Wrapper Stopped
>> STATUS | wrapper | 2006/05/10 16:54:43 | --> Wrapper Started as
>>
> Service
>
>> STATUS | wrapper | 2006/05/10 16:54:43 | Launching a JVM...
>> INFO | jvm 1 | 2006/05/10 16:54:44 | Wrapper (Version 3.2.0)
>> http://wrapper.tanukisoftware.org
>> INFO | jvm 1 | 2006/05/10 16:54:44 |
>>
>>
>> I wrote this in command line:
>>
>> D:\DVA\Indexation\IndexationApplication\bin>App
>>
>> D:\>net start "Indexation Application"
>>
>> -----Original Message-----
>> From: wra...@li...
>> [mailto:wra...@li...] On Behalf Of Leif
>> Mortenson
>> Sent: mercredi 10 mai 2006 16:46
>> To: wra...@li...
>> Subject: Re: [Wrapper-user] Nothing occurs when starting
>>
>> ***********************
>> Your mail has been scanned by InterScan VirusWall.
>> ***********-***********
>>
>>
>> Delphine,
>> What is in your wrapper.log file?
>>
>> Cheers,
>> Leif
>>
>> Delphine VANDERMEYSBRUGGEN wrote:
>>
>>
>>> Hi,
>>>
>>> When I run the App.bat file, it works. My application runs correctly.
>>>
>>> But when I start the service using "net start MyApp" or with the
>>> wrapper.exe or when I go in the control panel and start it manually,
>>> nothing occurs. Just :
>>>
>>> The Indexation Application service is starting..
>>>
>>> The Indexation Application service was started successfully.
>>>
>>> Ok it is started but my application do not runs.
>>>
>>> Have any idea?
>>>
>>> Thanks
>>>
>>> Delphine
>>>
>>>
|
|
From: Delphine V. <dv...@mi...> - 2006-05-11 08:32:00
|
When I ran my service with the app.bat, it works, I see the jvm to
connect to in the jconsole, but when I ran with net start "Indexation
Application" I don't see anything in the jconsole so I can't connect.
In fact my application is an indexing thread. The application launch a
Timer and then the thread wait for the good time to index. (maybe it may
help you to help me)
Delphine
-----Original Message-----
From: wra...@li...
[mailto:wra...@li...] On Behalf Of Leif
Mortenson
Sent: jeudi 11 mai 2006 9:48
To: wra...@li...
Subject: Re: [Wrapper-user] Nothing occurs when starting
***********************
Your mail has been scanned by InterScan VirusWall.
***********-***********
Delphine,
According to the log, the Wrapper has called your application's main
method:
be.microresearch.scheduler.MainService and it completed without any=20
problems.
There are still non daemon threads running so the Wrapper believes that
your
application is running normally.
Why it works in console mode, but not when run as a service? I=20
can't say.
But it appears to be something that is happening within your
application.
You are using 1.5.0. So the jconsole tool should be available. Add
the
wrapper.java.additional.1=3D-Dcom.sun.management.jmxremote property to
your wrapper.conf. Then rerun your service. Once it is up and in this=20
state,
launch jconsole and then connect to the JVM using JMX. If you look at
the
threads page, you should be able to tell what your various threads are=20
up to.
Cheers,
Leif
Delphine VANDERMEYSBRUGGEN wrote:
> I ran net start "Indexation Application" and I set the
> wrapper.debug=3Dtrue
>
> In my log there is:
>
> STATUS | wrapper | 2006/05/11 09:14:07 | --> Wrapper Started as
Service
> DEBUG | wrapper | 2006/05/11 09:14:07 | Using tick timer.
> DEBUG | wrapperp | 2006/05/11 09:14:07 | server listening on port
> 32000.
> STATUS | wrapper | 2006/05/11 09:14:07 | Launching a JVM...
> DEBUG | wrapper | 2006/05/11 09:14:07 | command:
> "C:\WINDOWS\system32\java.exe" -Xmx256m -Djava.library.path=3D"../lib"
> -classpath
>
"../lib/wrappertest.jar;../lib/wrapper.jar;scheduler.jar;../lib/jdic.jar
>
;../lib/jdic_stub.jar;../lib/log4j-1.2.9.jar;../lib/lucene-core-1.9.1.ja
>
r;../lib/packager.jar;../lib/PDFBox-0.7.2.jar;../lib/poi-2.5.1-final-200
> 40804.jar" -Dwrapper.key=3D"rOdomgWCwBLd3aAS" -Dwrapper.port=3D32000
> -Dwrapper.jvm.port.min=3D31000 -Dwrapper.jvm.port.max=3D31999
> -Dwrapper.debug=3D"TRUE" -Dwrapper.pid=3D768 =
-Dwrapper.version=3D"3.2.0"
> -Dwrapper.native_library=3D"wrapper" -Dwrapper.service=3D"TRUE"
> -Dwrapper.cpu.timeout=3D"10" -Dwrapper.jvmid=3D1
> org.tanukisoftware.wrapper.WrapperSimpleApp
> be.microresearch.scheduler.MainService
> DEBUG | wrapper | 2006/05/11 09:14:07 | JVM started (PID=3D572)
> INFO | jvm 1 | 2006/05/11 09:14:07 | WrapperManager class
> initialized by thread: main Using classloader:
> sun.misc.Launcher$AppClassLoader@a39137
> INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper (Version 3.2.0)
> http://wrapper.tanukisoftware.org
> INFO | jvm 1 | 2006/05/11 09:14:07 |=20
> INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper Manager: JVM #1
> INFO | jvm 1 | 2006/05/11 09:14:07 | Running a 32-bit JVM.
> INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper Manager: Registering
> shutdown hook
> INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper Manager: Using
wrapper
> INFO | jvm 1 | 2006/05/11 09:14:07 | Load native library. One or
> more attempts may fail if platform specific libraries do not exist.
> INFO | jvm 1 | 2006/05/11 09:14:07 | Loading native library
failed:
> wrapper-windows-x86-32.dll Cause: java.lang.UnsatisfiedLinkError: no
> wrapper-windows-x86-32 in java.library.path
> INFO | jvm 1 | 2006/05/11 09:14:07 | Loaded native library:
> wrapper.dll
> INFO | jvm 1 | 2006/05/11 09:14:07 | Calling native
initialization
> method.
> INFO | jvm 1 | 2006/05/11 09:14:07 | Initializing WrapperManager
> native library.
> INFO | jvm 1 | 2006/05/11 09:14:07 | Java Executable:
> C:\WINDOWS\system32\java.exe
> INFO | jvm 1 | 2006/05/11 09:14:07 | Windows version: 5.1.2600
> INFO | jvm 1 | 2006/05/11 09:14:07 | Java Version :
1.5.0_06-b05
> Java HotSpot(TM) Client VM
> INFO | jvm 1 | 2006/05/11 09:14:07 | Java VM Vendor : Sun
> Microsystems Inc.
> INFO | jvm 1 | 2006/05/11 09:14:07 |=20
> INFO | jvm 1 | 2006/05/11 09:14:07 |
>
WrapperManager.start(org.tanukisoftware.wrapper.WrapperSimpleApp@f0eed6,
> args[]) called by thread: main
> INFO | jvm 1 | 2006/05/11 09:14:07 | Open socket to
> wrapper...Wrapper-Connection
> INFO | jvm 1 | 2006/05/11 09:14:07 | Failed attempt to bind using
> local port 31000
> INFO | jvm 1 | 2006/05/11 09:14:07 | Failed attempt to bind using
> local port 31001
> INFO | jvm 1 | 2006/05/11 09:14:07 | Opened Socket from 31002 to
> 32000
> INFO | jvm 1 | 2006/05/11 09:14:07 | Send a packet KEY :
> rOdomgWCwBLd3aAS
> INFO | jvm 1 | 2006/05/11 09:14:07 |
> handleSocket(Socket[addr=3D/127.0.0.1,port=3D32000,localport=3D31002])
> DEBUG | wrapperp | 2006/05/11 09:14:07 | accepted a socket from
> 127.0.0.1 on port 31002
> DEBUG | wrapperp | 2006/05/11 09:14:07 | read a packet KEY :
> rOdomgWCwBLd3aAS
> DEBUG | wrapper | 2006/05/11 09:14:07 | Got key from JVM:
> rOdomgWCwBLd3aAS
> DEBUG | wrapperp | 2006/05/11 09:14:07 | send a packet LOW_LOG_LEVEL
:
> 1
> DEBUG | wrapperp | 2006/05/11 09:14:07 | send a packet PING_TIMEOUT :
> 30
> DEBUG | wrapperp | 2006/05/11 09:14:07 | send a packet PROPERTIES :
> (Property Values)
> DEBUG | wrapper | 2006/05/11 09:14:07 | Start Application.
> DEBUG | wrapperp | 2006/05/11 09:14:07 | send a packet START : start
> INFO | jvm 1 | 2006/05/11 09:14:07 | Received a packet
> LOW_LOG_LEVEL : 1
> INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper Manager: LowLogLevel
> from Wrapper is 1
> INFO | jvm 1 | 2006/05/11 09:14:07 | Received a packet
PING_TIMEOUT
> : 30
> INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper Manager: PingTimeout
> from Wrapper is 30000
> INFO | jvm 1 | 2006/05/11 09:14:07 | Received a packet PROPERTIES
:
> (Property Values)
> INFO | jvm 1 | 2006/05/11 09:14:07 | Monitoring of the JVM thread
> count will be delayed for 1 seconds.
> INFO | jvm 1 | 2006/05/11 09:14:07 | Received a packet START :
> start
> INFO | jvm 1 | 2006/05/11 09:14:07 | calling listener.start()
> INFO | jvm 1 | 2006/05/11 09:14:07 | WrapperSimpleApp:
start(args)
> Will wait up to 2 seconds for the main method to complete.
> INFO | jvm 1 | 2006/05/11 09:14:07 | WrapperSimpleApp: invoking
> main method
> INFO | jvm 1 | 2006/05/11 09:14:09 | Send a packet START_PENDING
:
> 5000
> DEBUG | wrapperp | 2006/05/11 09:14:09 | read a packet START_PENDING
:
> 5000
> DEBUG | wrapper | 2006/05/11 09:14:09 | JVM signalled a start
pending
> with waitHint of 5000 millis.
> INFO | jvm 1 | 2006/05/11 09:14:10 | Send a packet START_PENDING
:
> 5000
> INFO | jvm 1 | 2006/05/11 09:14:10 | WrapperSimpleApp:
start(args)
> end. Main Completed=3Dfalse, exitCode=3Dnull
> INFO | jvm 1 | 2006/05/11 09:14:10 | returned from
listener.start()
> INFO | jvm 1 | 2006/05/11 09:14:10 | Send a packet STARTED :=20
> DEBUG | wrapperp | 2006/05/11 09:14:10 | read a packet START_PENDING
:
> 5000
> DEBUG | wrapper | 2006/05/11 09:14:10 | JVM signalled a start
pending
> with waitHint of 5000 millis.
> DEBUG | wrapperp | 2006/05/11 09:14:10 | read a packet STARTED :=20
> DEBUG | wrapper | 2006/05/11 09:14:10 | JVM signalled that it was
> started.
> DEBUG | wrapperp | 2006/05/11 09:14:10 | send a packet
> SERVICE_CONTROL_CODE : 4
> DEBUG | wrapper | 2006/05/11 09:14:10 | ServiceControlHandler(4)
> DEBUG | wrapper | 2006/05/11 09:14:10 |
SERVICE_CONTROL_INTERROGATE
> INFO | jvm 1 | 2006/05/11 09:14:10 | Received a packet
> SERVICE_CONTROL_CODE : 4
> INFO | jvm 1 | 2006/05/11 09:14:10 | Wrapper Manager:
> ServiceControlCode from Wrapper with code 4
> DEBUG | wrapperp | 2006/05/11 09:14:13 | send a packet PING : ping
> INFO | jvm 1 | 2006/05/11 09:14:13 | Received a packet PING :
ping
> INFO | jvm 1 | 2006/05/11 09:14:13 | Send a packet PING : ok
> INFO | jvm 1 | 2006/05/11 09:14:13 | Non-daemon thread count =3D =
4
-
> 1(system) =3D 3
> DEBUG | wrapperp | 2006/05/11 09:14:13 | read a packet PING : ok
> DEBUG | wrapper | 2006/05/11 09:14:13 | Got ping response from JVM
>
>
> Delphine.
>
> -----Original Message-----
> From: wra...@li...
> [mailto:wra...@li...] On Behalf Of Leif
> Mortenson
> Sent: mercredi 10 mai 2006 17:07
> To: wra...@li...
> Subject: Re: [Wrapper-user] Nothing occurs when starting
>
> ***********************
> Your mail has been scanned by InterScan VirusWall.
> ***********-***********
>
>
> Delphine,
> The log you posted shows me that you ran in a console successfully
> then killed the
> app by pressing CTRL-C.
> You then launch the app as a service. It appears to be starting=20
> fine but that is all of
> the log that you included. Is that everything? I am not able to see=20
> what happens next.
> You are not getting the "Scheduler started" message.
>
> If that is your full log file, try setting the =
wrapper.debug=3Dtrue=20
> property and running
> it again. Your application may be getting stuck as it attempts to=20
> launch the "Scheduler"
> for some reason.
>
> Cheers,
> Leif
>
> Delphine VANDERMEYSBRUGGEN wrote:
> =20
>> In my log file there is:
>>
>> STATUS | wrapper | 2006/05/10 16:53:44 | --> Wrapper Started as
>> =20
> Console
> =20
>> STATUS | wrapper | 2006/05/10 16:53:44 | Launching a JVM...
>> INFO | jvm 1 | 2006/05/10 16:53:45 | Wrapper (Version 3.2.0)
>> http://wrapper.tanukisoftware.org
>> INFO | jvm 1 | 2006/05/10 16:53:45 |=20
>> INFO | jvm 1 | 2006/05/10 16:53:47 | Scheduler started
>> =20
> (indexation
> =20
>> begin)
>> STATUS | wrapper | 2006/05/10 16:54:01 | CTRL-C trapped. Shutting
>> down.
>> STATUS | wrapper | 2006/05/10 16:54:03 | <-- Wrapper Stopped
>> STATUS | wrapper | 2006/05/10 16:54:43 | --> Wrapper Started as
>> =20
> Service
> =20
>> STATUS | wrapper | 2006/05/10 16:54:43 | Launching a JVM...
>> INFO | jvm 1 | 2006/05/10 16:54:44 | Wrapper (Version 3.2.0)
>> http://wrapper.tanukisoftware.org
>> INFO | jvm 1 | 2006/05/10 16:54:44 |
>>
>>
>> I wrote this in command line:
>>
>> D:\DVA\Indexation\IndexationApplication\bin>App
>>
>> D:\>net start "Indexation Application"
>>
>> -----Original Message-----
>> From: wra...@li...
>> [mailto:wra...@li...] On Behalf Of Leif
>> Mortenson
>> Sent: mercredi 10 mai 2006 16:46
>> To: wra...@li...
>> Subject: Re: [Wrapper-user] Nothing occurs when starting
>>
>> ***********************
>> Your mail has been scanned by InterScan VirusWall.
>> ***********-***********
>>
>>
>> Delphine,
>> What is in your wrapper.log file?
>>
>> Cheers,
>> Leif
>>
>> Delphine VANDERMEYSBRUGGEN wrote:
>> =20
>> =20
>>> Hi,
>>>
>>> When I run the App.bat file, it works. My application runs
correctly.
>>>
>>> But when I start the service using "net start MyApp" or with the=20
>>> wrapper.exe or when I go in the control panel and start it manually,
>>> nothing occurs. Just :
>>>
>>> The Indexation Application service is starting..
>>>
>>> The Indexation Application service was started successfully.
>>>
>>> Ok it is started but my application do not runs.
>>>
>>> Have any idea?
>>>
>>> Thanks
>>>
>>> Delphine
>>> =20
>>> =20
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D=
121642
_______________________________________________
Wrapper-user mailing list
Wra...@li...
https://lists.sourceforge.net/lists/listinfo/wrapper-user
|
|
From: Leif M. <le...@ta...> - 2006-05-11 13:20:23
|
Delphine,
Sorry I didn't write you app so it is difficult to help. When run
as a service, the
Wrapper runs as the System user rather than as the user you are logged
in as when
running in the console. Most likely there are some environment
differences that are
causing you problems.
As you are not seeing the JVM in jconsole when run as a service, my
first guess
is that you are maybe running a different JVM. Try setting the Java
command in
the wrapper file to be absolute to the java command rather than using
the path or
environment variables.
Cheers,
Leif
Delphine VANDERMEYSBRUGGEN wrote:
> When I ran my service with the app.bat, it works, I see the jvm to
> connect to in the jconsole, but when I ran with net start "Indexation
> Application" I don't see anything in the jconsole so I can't connect.
>
> In fact my application is an indexing thread. The application launch a
> Timer and then the thread wait for the good time to index. (maybe it may
> help you to help me)
>
> Delphine
>
> -----Original Message-----
> From: wra...@li...
> [mailto:wra...@li...] On Behalf Of Leif
> Mortenson
> Sent: jeudi 11 mai 2006 9:48
> To: wra...@li...
> Subject: Re: [Wrapper-user] Nothing occurs when starting
>
> ***********************
> Your mail has been scanned by InterScan VirusWall.
> ***********-***********
>
>
> Delphine,
> According to the log, the Wrapper has called your application's main
>
> method:
> be.microresearch.scheduler.MainService and it completed without any
> problems.
> There are still non daemon threads running so the Wrapper believes that
> your
> application is running normally.
>
> Why it works in console mode, but not when run as a service? I
> can't say.
> But it appears to be something that is happening within your
> application.
>
> You are using 1.5.0. So the jconsole tool should be available. Add
> the
> wrapper.java.additional.1=-Dcom.sun.management.jmxremote property to
> your wrapper.conf. Then rerun your service. Once it is up and in this
> state,
> launch jconsole and then connect to the JVM using JMX. If you look at
> the
> threads page, you should be able to tell what your various threads are
> up to.
>
> Cheers,
> Leif
>
>
>
>
>
>
> Delphine VANDERMEYSBRUGGEN wrote:
>
>> I ran net start "Indexation Application" and I set the
>> wrapper.debug=true
>>
>> In my log there is:
>>
>> STATUS | wrapper | 2006/05/11 09:14:07 | --> Wrapper Started as
>>
> Service
>
>> DEBUG | wrapper | 2006/05/11 09:14:07 | Using tick timer.
>> DEBUG | wrapperp | 2006/05/11 09:14:07 | server listening on port
>> 32000.
>> STATUS | wrapper | 2006/05/11 09:14:07 | Launching a JVM...
>> DEBUG | wrapper | 2006/05/11 09:14:07 | command:
>> "C:\WINDOWS\system32\java.exe" -Xmx256m -Djava.library.path="../lib"
>> -classpath
>>
>>
> "../lib/wrappertest.jar;../lib/wrapper.jar;scheduler.jar;../lib/jdic.jar
>
> ;../lib/jdic_stub.jar;../lib/log4j-1.2.9.jar;../lib/lucene-core-1.9.1.ja
>
> r;../lib/packager.jar;../lib/PDFBox-0.7.2.jar;../lib/poi-2.5.1-final-200
>
>> 40804.jar" -Dwrapper.key="rOdomgWCwBLd3aAS" -Dwrapper.port=32000
>> -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999
>> -Dwrapper.debug="TRUE" -Dwrapper.pid=768 -Dwrapper.version="3.2.0"
>> -Dwrapper.native_library="wrapper" -Dwrapper.service="TRUE"
>> -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1
>> org.tanukisoftware.wrapper.WrapperSimpleApp
>> be.microresearch.scheduler.MainService
>> DEBUG | wrapper | 2006/05/11 09:14:07 | JVM started (PID=572)
>> INFO | jvm 1 | 2006/05/11 09:14:07 | WrapperManager class
>> initialized by thread: main Using classloader:
>> sun.misc.Launcher$AppClassLoader@a39137
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper (Version 3.2.0)
>> http://wrapper.tanukisoftware.org
>> INFO | jvm 1 | 2006/05/11 09:14:07 |
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper Manager: JVM #1
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Running a 32-bit JVM.
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper Manager: Registering
>> shutdown hook
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper Manager: Using
>>
> wrapper
>
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Load native library. One or
>> more attempts may fail if platform specific libraries do not exist.
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Loading native library
>>
> failed:
>
>> wrapper-windows-x86-32.dll Cause: java.lang.UnsatisfiedLinkError: no
>> wrapper-windows-x86-32 in java.library.path
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Loaded native library:
>> wrapper.dll
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Calling native
>>
> initialization
>
>> method.
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Initializing WrapperManager
>> native library.
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Java Executable:
>> C:\WINDOWS\system32\java.exe
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Windows version: 5.1.2600
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Java Version :
>>
> 1.5.0_06-b05
>
>> Java HotSpot(TM) Client VM
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Java VM Vendor : Sun
>> Microsystems Inc.
>> INFO | jvm 1 | 2006/05/11 09:14:07 |
>> INFO | jvm 1 | 2006/05/11 09:14:07 |
>>
>>
> WrapperManager.start(org.tanukisoftware.wrapper.WrapperSimpleApp@f0eed6,
>
>> args[]) called by thread: main
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Open socket to
>> wrapper...Wrapper-Connection
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Failed attempt to bind using
>> local port 31000
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Failed attempt to bind using
>> local port 31001
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Opened Socket from 31002 to
>> 32000
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Send a packet KEY :
>> rOdomgWCwBLd3aAS
>> INFO | jvm 1 | 2006/05/11 09:14:07 |
>> handleSocket(Socket[addr=/127.0.0.1,port=32000,localport=31002])
>> DEBUG | wrapperp | 2006/05/11 09:14:07 | accepted a socket from
>> 127.0.0.1 on port 31002
>> DEBUG | wrapperp | 2006/05/11 09:14:07 | read a packet KEY :
>> rOdomgWCwBLd3aAS
>> DEBUG | wrapper | 2006/05/11 09:14:07 | Got key from JVM:
>> rOdomgWCwBLd3aAS
>> DEBUG | wrapperp | 2006/05/11 09:14:07 | send a packet LOW_LOG_LEVEL
>>
> :
>
>> 1
>> DEBUG | wrapperp | 2006/05/11 09:14:07 | send a packet PING_TIMEOUT :
>> 30
>> DEBUG | wrapperp | 2006/05/11 09:14:07 | send a packet PROPERTIES :
>> (Property Values)
>> DEBUG | wrapper | 2006/05/11 09:14:07 | Start Application.
>> DEBUG | wrapperp | 2006/05/11 09:14:07 | send a packet START : start
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Received a packet
>> LOW_LOG_LEVEL : 1
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper Manager: LowLogLevel
>> from Wrapper is 1
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Received a packet
>>
> PING_TIMEOUT
>
>> : 30
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper Manager: PingTimeout
>> from Wrapper is 30000
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Received a packet PROPERTIES
>>
> :
>
>> (Property Values)
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Monitoring of the JVM thread
>> count will be delayed for 1 seconds.
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Received a packet START :
>> start
>> INFO | jvm 1 | 2006/05/11 09:14:07 | calling listener.start()
>> INFO | jvm 1 | 2006/05/11 09:14:07 | WrapperSimpleApp:
>>
> start(args)
>
>> Will wait up to 2 seconds for the main method to complete.
>> INFO | jvm 1 | 2006/05/11 09:14:07 | WrapperSimpleApp: invoking
>> main method
>> INFO | jvm 1 | 2006/05/11 09:14:09 | Send a packet START_PENDING
>>
> :
>
>> 5000
>> DEBUG | wrapperp | 2006/05/11 09:14:09 | read a packet START_PENDING
>>
> :
>
>> 5000
>> DEBUG | wrapper | 2006/05/11 09:14:09 | JVM signalled a start
>>
> pending
>
>> with waitHint of 5000 millis.
>> INFO | jvm 1 | 2006/05/11 09:14:10 | Send a packet START_PENDING
>>
> :
>
>> 5000
>> INFO | jvm 1 | 2006/05/11 09:14:10 | WrapperSimpleApp:
>>
> start(args)
>
>> end. Main Completed=false, exitCode=null
>> INFO | jvm 1 | 2006/05/11 09:14:10 | returned from
>>
> listener.start()
>
>> INFO | jvm 1 | 2006/05/11 09:14:10 | Send a packet STARTED :
>> DEBUG | wrapperp | 2006/05/11 09:14:10 | read a packet START_PENDING
>>
> :
>
>> 5000
>> DEBUG | wrapper | 2006/05/11 09:14:10 | JVM signalled a start
>>
> pending
>
>> with waitHint of 5000 millis.
>> DEBUG | wrapperp | 2006/05/11 09:14:10 | read a packet STARTED :
>> DEBUG | wrapper | 2006/05/11 09:14:10 | JVM signalled that it was
>> started.
>> DEBUG | wrapperp | 2006/05/11 09:14:10 | send a packet
>> SERVICE_CONTROL_CODE : 4
>> DEBUG | wrapper | 2006/05/11 09:14:10 | ServiceControlHandler(4)
>> DEBUG | wrapper | 2006/05/11 09:14:10 |
>>
> SERVICE_CONTROL_INTERROGATE
>
>> INFO | jvm 1 | 2006/05/11 09:14:10 | Received a packet
>> SERVICE_CONTROL_CODE : 4
>> INFO | jvm 1 | 2006/05/11 09:14:10 | Wrapper Manager:
>> ServiceControlCode from Wrapper with code 4
>> DEBUG | wrapperp | 2006/05/11 09:14:13 | send a packet PING : ping
>> INFO | jvm 1 | 2006/05/11 09:14:13 | Received a packet PING :
>>
> ping
>
>> INFO | jvm 1 | 2006/05/11 09:14:13 | Send a packet PING : ok
>> INFO | jvm 1 | 2006/05/11 09:14:13 | Non-daemon thread count = 4
>>
> -
>
>> 1(system) = 3
>> DEBUG | wrapperp | 2006/05/11 09:14:13 | read a packet PING : ok
>> DEBUG | wrapper | 2006/05/11 09:14:13 | Got ping response from JVM
>>
>>
>> Delphine.
>>
>> -----Original Message-----
>> From: wra...@li...
>> [mailto:wra...@li...] On Behalf Of Leif
>> Mortenson
>> Sent: mercredi 10 mai 2006 17:07
>> To: wra...@li...
>> Subject: Re: [Wrapper-user] Nothing occurs when starting
>>
>> ***********************
>> Your mail has been scanned by InterScan VirusWall.
>> ***********-***********
>>
>>
>> Delphine,
>> The log you posted shows me that you ran in a console successfully
>>
>
>
>> then killed the
>> app by pressing CTRL-C.
>> You then launch the app as a service. It appears to be starting
>> fine but that is all of
>> the log that you included. Is that everything? I am not able to see
>> what happens next.
>> You are not getting the "Scheduler started" message.
>>
>> If that is your full log file, try setting the wrapper.debug=true
>> property and running
>> it again. Your application may be getting stuck as it attempts to
>> launch the "Scheduler"
>> for some reason.
>>
>> Cheers,
>> Leif
>>
>> Delphine VANDERMEYSBRUGGEN wrote:
>>
>>
>>> In my log file there is:
>>>
>>> STATUS | wrapper | 2006/05/10 16:53:44 | --> Wrapper Started as
>>>
>>>
>> Console
>>
>>
>>> STATUS | wrapper | 2006/05/10 16:53:44 | Launching a JVM...
>>> INFO | jvm 1 | 2006/05/10 16:53:45 | Wrapper (Version 3.2.0)
>>> http://wrapper.tanukisoftware.org
>>> INFO | jvm 1 | 2006/05/10 16:53:45 |
>>> INFO | jvm 1 | 2006/05/10 16:53:47 | Scheduler started
>>>
>>>
>> (indexation
>>
>>
>>> begin)
>>> STATUS | wrapper | 2006/05/10 16:54:01 | CTRL-C trapped. Shutting
>>> down.
>>> STATUS | wrapper | 2006/05/10 16:54:03 | <-- Wrapper Stopped
>>> STATUS | wrapper | 2006/05/10 16:54:43 | --> Wrapper Started as
>>>
>>>
>> Service
>>
>>
>>> STATUS | wrapper | 2006/05/10 16:54:43 | Launching a JVM...
>>> INFO | jvm 1 | 2006/05/10 16:54:44 | Wrapper (Version 3.2.0)
>>> http://wrapper.tanukisoftware.org
>>> INFO | jvm 1 | 2006/05/10 16:54:44 |
>>>
>>>
>>> I wrote this in command line:
>>>
>>> D:\DVA\Indexation\IndexationApplication\bin>App
>>>
>>> D:\>net start "Indexation Application"
>>>
>>> -----Original Message-----
>>> From: wra...@li...
>>> [mailto:wra...@li...] On Behalf Of Leif
>>> Mortenson
>>> Sent: mercredi 10 mai 2006 16:46
>>> To: wra...@li...
>>> Subject: Re: [Wrapper-user] Nothing occurs when starting
>>>
>>> ***********************
>>> Your mail has been scanned by InterScan VirusWall.
>>> ***********-***********
>>>
>>>
>>> Delphine,
>>> What is in your wrapper.log file?
>>>
>>> Cheers,
>>> Leif
>>>
>>> Delphine VANDERMEYSBRUGGEN wrote:
>>>
>>>
>>>
>>>> Hi,
>>>>
>>>> When I run the App.bat file, it works. My application runs
>>>>
> correctly.
>
>>>> But when I start the service using "net start MyApp" or with the
>>>> wrapper.exe or when I go in the control panel and start it manually,
>>>>
>
>
>>>> nothing occurs. Just :
>>>>
>>>> The Indexation Application service is starting..
>>>>
>>>> The Indexation Application service was started successfully.
>>>>
>>>> Ok it is started but my application do not runs.
>>>>
>>>> Have any idea?
>>>>
>>>> Thanks
>>>>
>>>> Delphine
>>>>
>>>>
>>>>
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Wrapper-user mailing list
> Wra...@li...
> https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642
> _______________________________________________
> Wrapper-user mailing list
> Wra...@li...
> https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
>
|
|
From: Delphine V. <dv...@mi...> - 2006-05-11 15:01:27
|
Leif,=20
I have resolved my problem. I had a problem in my application because I
was using System.getProperty("user.home") and it is home of system not
mine! So I had to change a lot of things that use my user.home.
Thank you for helping me!
Delphine
-----Original Message-----
From: wra...@li...
[mailto:wra...@li...] On Behalf Of Leif
Mortenson
Sent: jeudi 11 mai 2006 15:20
To: wra...@li...
Subject: Re: [Wrapper-user] Nothing occurs when starting
***********************
Your mail has been scanned by InterScan VirusWall.
***********-***********
Delphine,
Sorry I didn't write you app so it is difficult to help. When run=20
as a service, the
Wrapper runs as the System user rather than as the user you are logged=20
in as when
running in the console. Most likely there are some environment=20
differences that are
causing you problems.
As you are not seeing the JVM in jconsole when run as a service, my=20
first guess
is that you are maybe running a different JVM. Try setting the Java=20
command in
the wrapper file to be absolute to the java command rather than using=20
the path or
environment variables.
Cheers,
Leif
Delphine VANDERMEYSBRUGGEN wrote:
> When I ran my service with the app.bat, it works, I see the jvm to
> connect to in the jconsole, but when I ran with net start "Indexation
> Application" I don't see anything in the jconsole so I can't connect.
>
> In fact my application is an indexing thread. The application launch a
> Timer and then the thread wait for the good time to index. (maybe it
may
> help you to help me)
>
> Delphine
>
> -----Original Message-----
> From: wra...@li...
> [mailto:wra...@li...] On Behalf Of Leif
> Mortenson
> Sent: jeudi 11 mai 2006 9:48
> To: wra...@li...
> Subject: Re: [Wrapper-user] Nothing occurs when starting
>
> ***********************
> Your mail has been scanned by InterScan VirusWall.
> ***********-***********
>
>
> Delphine,
> According to the log, the Wrapper has called your application's
main
>
> method:
> be.microresearch.scheduler.MainService and it completed without any=20
> problems.
> There are still non daemon threads running so the Wrapper believes
that
> your
> application is running normally.
>
> Why it works in console mode, but not when run as a service? I=20
> can't say.
> But it appears to be something that is happening within your
> application.
>
> You are using 1.5.0. So the jconsole tool should be available.
Add
> the
> wrapper.java.additional.1=3D-Dcom.sun.management.jmxremote property to
> your wrapper.conf. Then rerun your service. Once it is up and in
this=20
> state,
> launch jconsole and then connect to the JVM using JMX. If you look
at
> the
> threads page, you should be able to tell what your various threads are
> up to.
>
> Cheers,
> Leif
>
>
>
>
>
>
> Delphine VANDERMEYSBRUGGEN wrote:
> =20
>> I ran net start "Indexation Application" and I set the
>> wrapper.debug=3Dtrue
>>
>> In my log there is:
>>
>> STATUS | wrapper | 2006/05/11 09:14:07 | --> Wrapper Started as
>> =20
> Service
> =20
>> DEBUG | wrapper | 2006/05/11 09:14:07 | Using tick timer.
>> DEBUG | wrapperp | 2006/05/11 09:14:07 | server listening on port
>> 32000.
>> STATUS | wrapper | 2006/05/11 09:14:07 | Launching a JVM...
>> DEBUG | wrapper | 2006/05/11 09:14:07 | command:
>> "C:\WINDOWS\system32\java.exe" -Xmx256m =
-Djava.library.path=3D"../lib"
>> -classpath
>>
>> =20
>
"../lib/wrappertest.jar;../lib/wrapper.jar;scheduler.jar;../lib/jdic.jar
> =20
>
;../lib/jdic_stub.jar;../lib/log4j-1.2.9.jar;../lib/lucene-core-1.9.1.ja
> =20
>
r;../lib/packager.jar;../lib/PDFBox-0.7.2.jar;../lib/poi-2.5.1-final-200
> =20
>> 40804.jar" -Dwrapper.key=3D"rOdomgWCwBLd3aAS" -Dwrapper.port=3D32000
>> -Dwrapper.jvm.port.min=3D31000 -Dwrapper.jvm.port.max=3D31999
>> -Dwrapper.debug=3D"TRUE" -Dwrapper.pid=3D768 =
-Dwrapper.version=3D"3.2.0"
>> -Dwrapper.native_library=3D"wrapper" -Dwrapper.service=3D"TRUE"
>> -Dwrapper.cpu.timeout=3D"10" -Dwrapper.jvmid=3D1
>> org.tanukisoftware.wrapper.WrapperSimpleApp
>> be.microresearch.scheduler.MainService
>> DEBUG | wrapper | 2006/05/11 09:14:07 | JVM started (PID=3D572)
>> INFO | jvm 1 | 2006/05/11 09:14:07 | WrapperManager class
>> initialized by thread: main Using classloader:
>> sun.misc.Launcher$AppClassLoader@a39137
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper (Version 3.2.0)
>> http://wrapper.tanukisoftware.org
>> INFO | jvm 1 | 2006/05/11 09:14:07 |=20
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper Manager: JVM #1
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Running a 32-bit JVM.
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper Manager:
Registering
>> shutdown hook
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper Manager: Using
>> =20
> wrapper
> =20
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Load native library. One
or
>> more attempts may fail if platform specific libraries do not exist.
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Loading native library
>> =20
> failed:
> =20
>> wrapper-windows-x86-32.dll Cause: java.lang.UnsatisfiedLinkError: no
>> wrapper-windows-x86-32 in java.library.path
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Loaded native library:
>> wrapper.dll
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Calling native
>> =20
> initialization
> =20
>> method.
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Initializing WrapperManager
>> native library.
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Java Executable:
>> C:\WINDOWS\system32\java.exe
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Windows version: 5.1.2600
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Java Version :
>> =20
> 1.5.0_06-b05
> =20
>> Java HotSpot(TM) Client VM
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Java VM Vendor : Sun
>> Microsystems Inc.
>> INFO | jvm 1 | 2006/05/11 09:14:07 |=20
>> INFO | jvm 1 | 2006/05/11 09:14:07 |
>>
>> =20
>
WrapperManager.start(org.tanukisoftware.wrapper.WrapperSimpleApp@f0eed6,
> =20
>> args[]) called by thread: main
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Open socket to
>> wrapper...Wrapper-Connection
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Failed attempt to bind
using
>> local port 31000
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Failed attempt to bind
using
>> local port 31001
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Opened Socket from 31002 to
>> 32000
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Send a packet KEY :
>> rOdomgWCwBLd3aAS
>> INFO | jvm 1 | 2006/05/11 09:14:07 |
>> =
handleSocket(Socket[addr=3D/127.0.0.1,port=3D32000,localport=3D31002])
>> DEBUG | wrapperp | 2006/05/11 09:14:07 | accepted a socket from
>> 127.0.0.1 on port 31002
>> DEBUG | wrapperp | 2006/05/11 09:14:07 | read a packet KEY :
>> rOdomgWCwBLd3aAS
>> DEBUG | wrapper | 2006/05/11 09:14:07 | Got key from JVM:
>> rOdomgWCwBLd3aAS
>> DEBUG | wrapperp | 2006/05/11 09:14:07 | send a packet LOW_LOG_LEVEL
>> =20
> :
> =20
>> 1
>> DEBUG | wrapperp | 2006/05/11 09:14:07 | send a packet PING_TIMEOUT
:
>> 30
>> DEBUG | wrapperp | 2006/05/11 09:14:07 | send a packet PROPERTIES :
>> (Property Values)
>> DEBUG | wrapper | 2006/05/11 09:14:07 | Start Application.
>> DEBUG | wrapperp | 2006/05/11 09:14:07 | send a packet START : start
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Received a packet
>> LOW_LOG_LEVEL : 1
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper Manager:
LowLogLevel
>> from Wrapper is 1
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Received a packet
>> =20
> PING_TIMEOUT
> =20
>> : 30
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Wrapper Manager:
PingTimeout
>> from Wrapper is 30000
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Received a packet
PROPERTIES
>> =20
> :
> =20
>> (Property Values)
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Monitoring of the JVM
thread
>> count will be delayed for 1 seconds.
>> INFO | jvm 1 | 2006/05/11 09:14:07 | Received a packet START :
>> start
>> INFO | jvm 1 | 2006/05/11 09:14:07 | calling listener.start()
>> INFO | jvm 1 | 2006/05/11 09:14:07 | WrapperSimpleApp:
>> =20
> start(args)
> =20
>> Will wait up to 2 seconds for the main method to complete.
>> INFO | jvm 1 | 2006/05/11 09:14:07 | WrapperSimpleApp: invoking
>> main method
>> INFO | jvm 1 | 2006/05/11 09:14:09 | Send a packet START_PENDING
>> =20
> :
> =20
>> 5000
>> DEBUG | wrapperp | 2006/05/11 09:14:09 | read a packet START_PENDING
>> =20
> :
> =20
>> 5000
>> DEBUG | wrapper | 2006/05/11 09:14:09 | JVM signalled a start
>> =20
> pending
> =20
>> with waitHint of 5000 millis.
>> INFO | jvm 1 | 2006/05/11 09:14:10 | Send a packet START_PENDING
>> =20
> :
> =20
>> 5000
>> INFO | jvm 1 | 2006/05/11 09:14:10 | WrapperSimpleApp:
>> =20
> start(args)
> =20
>> end. Main Completed=3Dfalse, exitCode=3Dnull
>> INFO | jvm 1 | 2006/05/11 09:14:10 | returned from
>> =20
> listener.start()
> =20
>> INFO | jvm 1 | 2006/05/11 09:14:10 | Send a packet STARTED :=20
>> DEBUG | wrapperp | 2006/05/11 09:14:10 | read a packet START_PENDING
>> =20
> :
> =20
>> 5000
>> DEBUG | wrapper | 2006/05/11 09:14:10 | JVM signalled a start
>> =20
> pending
> =20
>> with waitHint of 5000 millis.
>> DEBUG | wrapperp | 2006/05/11 09:14:10 | read a packet STARTED :=20
>> DEBUG | wrapper | 2006/05/11 09:14:10 | JVM signalled that it was
>> started.
>> DEBUG | wrapperp | 2006/05/11 09:14:10 | send a packet
>> SERVICE_CONTROL_CODE : 4
>> DEBUG | wrapper | 2006/05/11 09:14:10 | ServiceControlHandler(4)
>> DEBUG | wrapper | 2006/05/11 09:14:10 |
>> =20
> SERVICE_CONTROL_INTERROGATE
> =20
>> INFO | jvm 1 | 2006/05/11 09:14:10 | Received a packet
>> SERVICE_CONTROL_CODE : 4
>> INFO | jvm 1 | 2006/05/11 09:14:10 | Wrapper Manager:
>> ServiceControlCode from Wrapper with code 4
>> DEBUG | wrapperp | 2006/05/11 09:14:13 | send a packet PING : ping
>> INFO | jvm 1 | 2006/05/11 09:14:13 | Received a packet PING :
>> =20
> ping
> =20
>> INFO | jvm 1 | 2006/05/11 09:14:13 | Send a packet PING : ok
>> INFO | jvm 1 | 2006/05/11 09:14:13 | Non-daemon thread count =3D =
4
>> =20
> -
> =20
>> 1(system) =3D 3
>> DEBUG | wrapperp | 2006/05/11 09:14:13 | read a packet PING : ok
>> DEBUG | wrapper | 2006/05/11 09:14:13 | Got ping response from JVM
>>
>>
>> Delphine.
>>
>> -----Original Message-----
>> From: wra...@li...
>> [mailto:wra...@li...] On Behalf Of Leif
>> Mortenson
>> Sent: mercredi 10 mai 2006 17:07
>> To: wra...@li...
>> Subject: Re: [Wrapper-user] Nothing occurs when starting
>>
>> ***********************
>> Your mail has been scanned by InterScan VirusWall.
>> ***********-***********
>>
>>
>> Delphine,
>> The log you posted shows me that you ran in a console
successfully
>> =20
>
> =20
>> then killed the
>> app by pressing CTRL-C.
>> You then launch the app as a service. It appears to be starting=20
>> fine but that is all of
>> the log that you included. Is that everything? I am not able to see
>> what happens next.
>> You are not getting the "Scheduler started" message.
>>
>> If that is your full log file, try setting the =
wrapper.debug=3Dtrue
>> property and running
>> it again. Your application may be getting stuck as it attempts to=20
>> launch the "Scheduler"
>> for some reason.
>>
>> Cheers,
>> Leif
>>
>> Delphine VANDERMEYSBRUGGEN wrote:
>> =20
>> =20
>>> In my log file there is:
>>>
>>> STATUS | wrapper | 2006/05/10 16:53:44 | --> Wrapper Started as
>>> =20
>>> =20
>> Console
>> =20
>> =20
>>> STATUS | wrapper | 2006/05/10 16:53:44 | Launching a JVM...
>>> INFO | jvm 1 | 2006/05/10 16:53:45 | Wrapper (Version 3.2.0)
>>> http://wrapper.tanukisoftware.org
>>> INFO | jvm 1 | 2006/05/10 16:53:45 |=20
>>> INFO | jvm 1 | 2006/05/10 16:53:47 | Scheduler started
>>> =20
>>> =20
>> (indexation
>> =20
>> =20
>>> begin)
>>> STATUS | wrapper | 2006/05/10 16:54:01 | CTRL-C trapped. Shutting
>>> down.
>>> STATUS | wrapper | 2006/05/10 16:54:03 | <-- Wrapper Stopped
>>> STATUS | wrapper | 2006/05/10 16:54:43 | --> Wrapper Started as
>>> =20
>>> =20
>> Service
>> =20
>> =20
>>> STATUS | wrapper | 2006/05/10 16:54:43 | Launching a JVM...
>>> INFO | jvm 1 | 2006/05/10 16:54:44 | Wrapper (Version 3.2.0)
>>> http://wrapper.tanukisoftware.org
>>> INFO | jvm 1 | 2006/05/10 16:54:44 |
>>>
>>>
>>> I wrote this in command line:
>>>
>>> D:\DVA\Indexation\IndexationApplication\bin>App
>>>
>>> D:\>net start "Indexation Application"
>>>
>>> -----Original Message-----
>>> From: wra...@li...
>>> [mailto:wra...@li...] On Behalf Of Leif
>>> Mortenson
>>> Sent: mercredi 10 mai 2006 16:46
>>> To: wra...@li...
>>> Subject: Re: [Wrapper-user] Nothing occurs when starting
>>>
>>> ***********************
>>> Your mail has been scanned by InterScan VirusWall.
>>> ***********-***********
>>>
>>>
>>> Delphine,
>>> What is in your wrapper.log file?
>>>
>>> Cheers,
>>> Leif
>>>
>>> Delphine VANDERMEYSBRUGGEN wrote:
>>> =20
>>> =20
>>> =20
>>>> Hi,
>>>>
>>>> When I run the App.bat file, it works. My application runs
>>>> =20
> correctly.
> =20
>>>> But when I start the service using "net start MyApp" or with the=20
>>>> wrapper.exe or when I go in the control panel and start it
manually,
>>>> =20
>
> =20
>>>> nothing occurs. Just :
>>>>
>>>> The Indexation Application service is starting..
>>>>
>>>> The Indexation Application service was started successfully.
>>>>
>>>> Ok it is started but my application do not runs.
>>>>
>>>> Have any idea?
>>>>
>>>> Thanks
>>>>
>>>> Delphine
>>>> =20
>>>> =20
>>>> =20
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D=
121642
> _______________________________________________
> Wrapper-user mailing list
> Wra...@li...
> https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services,
security?
> Get stuff done quickly with pre-integrated technology to make your job
easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
> http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=120709&bid&3057&dat=121642
> _______________________________________________
> Wrapper-user mailing list
> Wra...@li...
> https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
> =20
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D=
121642
_______________________________________________
Wrapper-user mailing list
Wra...@li...
https://lists.sourceforge.net/lists/listinfo/wrapper-user
|
|
From: Leif M. <le...@ta...> - 2006-05-10 15:07:26
|
Delphine,
The log you posted shows me that you ran in a console successfully
then killed the
app by pressing CTRL-C.
You then launch the app as a service. It appears to be starting
fine but that is all of
the log that you included. Is that everything? I am not able to see
what happens next.
You are not getting the "Scheduler started" message.
If that is your full log file, try setting the wrapper.debug=true
property and running
it again. Your application may be getting stuck as it attempts to
launch the "Scheduler"
for some reason.
Cheers,
Leif
Delphine VANDERMEYSBRUGGEN wrote:
> In my log file there is:
>
> STATUS | wrapper | 2006/05/10 16:53:44 | --> Wrapper Started as Console
> STATUS | wrapper | 2006/05/10 16:53:44 | Launching a JVM...
> INFO | jvm 1 | 2006/05/10 16:53:45 | Wrapper (Version 3.2.0)
> http://wrapper.tanukisoftware.org
> INFO | jvm 1 | 2006/05/10 16:53:45 |
> INFO | jvm 1 | 2006/05/10 16:53:47 | Scheduler started (indexation
> begin)
> STATUS | wrapper | 2006/05/10 16:54:01 | CTRL-C trapped. Shutting
> down.
> STATUS | wrapper | 2006/05/10 16:54:03 | <-- Wrapper Stopped
> STATUS | wrapper | 2006/05/10 16:54:43 | --> Wrapper Started as Service
> STATUS | wrapper | 2006/05/10 16:54:43 | Launching a JVM...
> INFO | jvm 1 | 2006/05/10 16:54:44 | Wrapper (Version 3.2.0)
> http://wrapper.tanukisoftware.org
> INFO | jvm 1 | 2006/05/10 16:54:44 |
>
>
> I wrote this in command line:
>
> D:\DVA\Indexation\IndexationApplication\bin>App
>
> D:\>net start "Indexation Application"
>
> -----Original Message-----
> From: wra...@li...
> [mailto:wra...@li...] On Behalf Of Leif
> Mortenson
> Sent: mercredi 10 mai 2006 16:46
> To: wra...@li...
> Subject: Re: [Wrapper-user] Nothing occurs when starting
>
> ***********************
> Your mail has been scanned by InterScan VirusWall.
> ***********-***********
>
>
> Delphine,
> What is in your wrapper.log file?
>
> Cheers,
> Leif
>
> Delphine VANDERMEYSBRUGGEN wrote:
>
>> Hi,
>>
>> When I run the App.bat file, it works. My application runs correctly.
>>
>> But when I start the service using "net start MyApp" or with the
>> wrapper.exe or when I go in the control panel and start it manually,
>> nothing occurs. Just :
>>
>> The Indexation Application service is starting..
>>
>> The Indexation Application service was started successfully.
>>
>> Ok it is started but my application do not runs.
>>
>> Have any idea?
>>
>> Thanks
>>
>> Delphine
>>
|