|
From: Charles P. <c.e...@da...> - 2008-07-15 14:53:14
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Yeah, the thing is that com.tivo.hme.host.sample.Main is not my code,
so I don't really have a full understanding of what its doing. The API
I'm using uses that as the main entry point, then hands off to my code.<br>
<br>
I've continued to work on this. I've not tried both methods 1 and 3.
Both of which work fine from the console, neither of which work from
init.d. The thing is, method 1 works just fine on Windows XP. I assumed
that if it worked on Windows, it should work on Linux as well. Is there
an explanation for the difference that could help me understand what's
going on?<br>
<br>
Charlie<br>
<br>
Leif Mortenson wrote:
<blockquote
cite="mid:c0a...@ma..."
type="cite">
<pre wrap="">Charles,
It looks like all of that setup work is taking place within the main
method of com.tivo.hme.host.sample.Main and then completing at
2008/07/13 21:43:29. Java things it is supposed to quit as soon as
your main method completes which makes my think that there are not any
daemon threads being started as part of your application.
There is no way for me to tell on this end what would be different
depending on how you launch your application. I don't see any sign
that anything is being done incorrectly with the wrapper configuration
though.
At the very end of your main method, try calling
WrapperManager.requestThreadDump(). This will cause a dump of all
threads at the same point in your application. Compare the cases that
work and don't. My guess is that either your main method never
completes, or that there is at least one more daemon thread running
when it is working correctly.
Cheers,
Leif
On Mon, Jul 14, 2008 at 10:56 AM, Charles Perry <a class="moz-txt-link-rfc2396E" href="mailto:c.e...@da..."><c.e...@da...></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Leif,
My application is an MP3 player that streams music from a networked PC to a
TiVo DVR, thus the messages about playlists. What should be happening at the
point in the logs timestamped with 17:53:21 ["Searching for music..."] in
the log I previously sent is that harmonium is searching through a directory
tree for mp3 files and setting up an internal data structure. This takes a
few seconds with the small data set I use for testing, then it moves on to
search for playlists at 17:53:27. I have no playlists in my set of test
data, so it immediately announces "Build of music database completed". I'm
attaching another log in which harmonium prints some debug messages. It
doesn't really show much that's new other than it has successfully found the
music directory and is loading mp3 files.
In your email you said that there were two options you could think of. The
first involved System.exit(). I don't call System.exit() in my program. (I
just did a `find` to double check.) Are there other ways for that to be
called other than through my code? The second was that "all non-daemon
threads have completed." I'm not sure I completely understand that, but it
seems to mean that harmonium decided that it was done and exited. Any ideas
what might cause my program to bail out when the only thing that changed was
the method of execution?
After your comment about environment variables, I modified my wrapper.conf
file to use the absolute path to java (/usr/bin/java). As far as I can tell,
all file references in wrapper.conf now are either absolute paths, or are
relative to the current directory (which should be ok, right?). I'm
attaching my wrapper.conf for your reference. What else might be affected by
a messed up environment variables? Should I modify the shell script you
supplied to set a PATH environment variable?
Sorry for all the questions, but thanks for the help.
Charlie
Leif Mortenson wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Charles,
When Linux boots up, the environment used to launch daemon services
has very little in the way of an environment set up. Most likely
your system PATH and any other environment variables have not been set
up in this case.
Looking at your log file, the following is interesting:
INFO | jvm 1 | 2008/07/13 17:53:27 | Searching for playlists...
INFO | jvm 1 | 2008/07/13 17:53:27 | Build of music database
completed
INFO | jvm 1 | 2008/07/13 17:53:27 | LOG: added factory
INFO | jvm 1 | 2008/07/13 17:53:27 | WrapperSimpleApp: main method
completed
INFO | jvm 1 | 2008/07/13 17:53:27 | Wrapper Manager: ShutdownHook
started
I am not sure what exactly your application does. But it says it is
looking for playlists and is immediately done. The JVM (and not the
Wrapper) then decides that the JVM should be shutdown. This happens
either when something calls System.exit or when all non-daemon threads
have completed.
>From what I can see however, the Wrapper is working correctly. We
need to figure out which of the above 2 reasons is causing your
application to complete.
Cheers,
Leif
</pre>
</blockquote>
<pre wrap="">
DEBUG | wrapper | 2008/07/13 21:43:18 | Spawning intermediate process...
DEBUG | wrapper | 2008/07/13 21:43:18 | Spawning daemon process...
STATUS | wrapper | 2008/07/13 21:43:18 | --> Wrapper Started as Daemon
DEBUG | wrapper | 2008/07/13 21:43:18 | Using tick timer.
DEBUG | wrapperp | 2008/07/13 21:43:18 | server listening on port 32000.
DEBUG | wrapper | 2008/07/13 21:43:18 | Command[0] : /usr/bin/java
DEBUG | wrapper | 2008/07/13 21:43:18 | Command[1] :
-Djava.library.path=../lib
DEBUG | wrapper | 2008/07/13 21:43:18 | Command[2] : -classpath
DEBUG | wrapper | 2008/07/13 21:43:18 | Command[3] :
../lib/bananas.jar:../lib/hme.jar:../lib/commons-logging-1.1.1.jar:../lib/hme-hd-0.4.1.jar:../lib/wrapper.jar:../lib/hme-host-sample.jar:../lib/JID3.jar:../Harmonium.jar
DEBUG | wrapper | 2008/07/13 21:43:18 | Command[4] :
-Dwrapper.key=ET43Bkcr8tgRfi6A
DEBUG | wrapper | 2008/07/13 21:43:18 | Command[5] : -Dwrapper.port=32000
DEBUG | wrapper | 2008/07/13 21:43:18 | Command[6] :
-Dwrapper.jvm.port.min=31000
DEBUG | wrapper | 2008/07/13 21:43:18 | Command[7] :
-Dwrapper.jvm.port.max=31999
DEBUG | wrapper | 2008/07/13 21:43:18 | Command[8] : -Dwrapper.debug=TRUE
DEBUG | wrapper | 2008/07/13 21:43:18 | Command[9] : -Dwrapper.pid=6787
DEBUG | wrapper | 2008/07/13 21:43:18 | Command[10] :
-Dwrapper.version=3.2.3
DEBUG | wrapper | 2008/07/13 21:43:18 | Command[11] :
-Dwrapper.native_library=wrapper
DEBUG | wrapper | 2008/07/13 21:43:18 | Command[12] :
-Dwrapper.service=TRUE
DEBUG | wrapper | 2008/07/13 21:43:18 | Command[13] :
-Dwrapper.cpu.timeout=10
DEBUG | wrapper | 2008/07/13 21:43:18 | Command[14] : -Dwrapper.jvmid=1
DEBUG | wrapper | 2008/07/13 21:43:18 | Command[15] :
org.tanukisoftware.wrapper.WrapperSimpleApp
DEBUG | wrapper | 2008/07/13 21:43:18 | Command[16] :
com.tivo.hme.host.sample.Main
DEBUG | wrapper | 2008/07/13 21:43:18 | Command[17] :
org.dazeend.harmonium.Harmonium
DEBUG | wrapper | 2008/07/13 21:43:18 | Command[18] : -musicRoot
DEBUG | wrapper | 2008/07/13 21:43:18 | Command[19] :
/home/ceperry/Harmonium/test_data/music
DEBUG | wrapper | 2008/07/13 21:43:18 | Command[20] : -playlistRoot
DEBUG | wrapper | 2008/07/13 21:43:18 | Command[21] :
/home/ceperry/Harmonium/test_data/playlists
DEBUG | wrapper | 2008/07/13 21:43:18 | Command[22] : -debug
STATUS | wrapper | 2008/07/13 21:43:18 | Launching a JVM...
INFO | jvm 1 | 2008/07/13 21:43:20 | WrapperManager class initialized
by thread: main Using classloader: sun.misc.Launcher$AppClassLoader@1ba34f2
INFO | jvm 1 | 2008/07/13 21:43:22 | Wrapper (Version 3.2.3)
<a class="moz-txt-link-freetext" href="http://wrapper.tanukisoftware.org">http://wrapper.tanukisoftware.org</a>
INFO | jvm 1 | 2008/07/13 21:43:22 | Copyright 1999-2006 Tanuki
Software, Inc. All Rights Reserved.
INFO | jvm 1 | 2008/07/13 21:43:22 |
INFO | jvm 1 | 2008/07/13 21:43:22 | Wrapper Manager: JVM #1
INFO | jvm 1 | 2008/07/13 21:43:22 | Running a 32-bit JVM.
INFO | jvm 1 | 2008/07/13 21:43:22 | Wrapper Manager: Registering
shutdown hook
INFO | jvm 1 | 2008/07/13 21:43:22 | Wrapper Manager: Using wrapper
INFO | jvm 1 | 2008/07/13 21:43:22 | Load native library. One or more
attempts may fail if platform specific libraries do not exist.
INFO | jvm 1 | 2008/07/13 21:43:22 | Loading native library failed:
libwrapper-linux-x86-32.so Cause: java.lang.UnsatisfiedLinkError: no
wrapper-linux-x86-32 in java.library.path
INFO | jvm 1 | 2008/07/13 21:43:22 | Loaded native library:
libwrapper.so
INFO | jvm 1 | 2008/07/13 21:43:22 | Calling native initialization
method.
INFO | jvm 1 | 2008/07/13 21:43:22 | Inside native WrapperManager
initialization method
INFO | jvm 1 | 2008/07/13 21:43:22 | Java Version : 1.6.0_06-b02 Java
HotSpot(TM) Server VM
INFO | jvm 1 | 2008/07/13 21:43:22 | Java VM Vendor : Sun Microsystems
Inc.
INFO | jvm 1 | 2008/07/13 21:43:22 |
INFO | jvm 1 | 2008/07/13 21:43:22 | Startup runner thread started.
INFO | jvm 1 | 2008/07/13 21:43:22 | Control event monitor thread
started.
INFO | jvm 1 | 2008/07/13 21:43:22 |
WrapperManager.start(org.tanukisoftware.wrapper.WrapperSimpleApp@17bd6a1,
args["org.dazeend.harmonium.Harmonium", "-musicRoot",
"/home/ceperry/Harmonium/test_data/music", "-playlistRoot",
"/home/ceperry/Harmonium/test_data/playlists", "-debug"]) called by thread:
main
INFO | jvm 1 | 2008/07/13 21:43:22 | Communications runner thread
started.
INFO | jvm 1 | 2008/07/13 21:43:22 | Open socket to
wrapper...Wrapper-Connection
INFO | jvm 1 | 2008/07/13 21:43:22 | Opened Socket from 31000 to 32000
INFO | jvm 1 | 2008/07/13 21:43:22 | Send a packet KEY :
ET43Bkcr8tgRfi6A
INFO | jvm 1 | 2008/07/13 21:43:22 |
handleSocket(Socket[addr=/127.0.0.1,port=32000,localport=31000])
DEBUG | wrapperp | 2008/07/13 21:43:22 | accepted a socket from 127.0.0.1
on port 31000
DEBUG | wrapperp | 2008/07/13 21:43:22 | read a packet KEY :
ET43Bkcr8tgRfi6A
DEBUG | wrapper | 2008/07/13 21:43:22 | Got key from JVM: ET43Bkcr8tgRfi6A
DEBUG | wrapperp | 2008/07/13 21:43:22 | send a packet LOW_LOG_LEVEL : 1
DEBUG | wrapperp | 2008/07/13 21:43:22 | send a packet PING_TIMEOUT : 30
DEBUG | wrapperp | 2008/07/13 21:43:22 | send a packet PROPERTIES :
(Property Values)
DEBUG | wrapper | 2008/07/13 21:43:22 | Start Application.
DEBUG | wrapperp | 2008/07/13 21:43:22 | send a packet START : start
INFO | jvm 1 | 2008/07/13 21:43:22 | Received a packet LOW_LOG_LEVEL :
1
INFO | jvm 1 | 2008/07/13 21:43:22 | Wrapper Manager: LowLogLevel from
Wrapper is 1
INFO | jvm 1 | 2008/07/13 21:43:22 | Received a packet PING_TIMEOUT :
30
INFO | jvm 1 | 2008/07/13 21:43:22 | PingTimeout from Wrapper is 30000
INFO | jvm 1 | 2008/07/13 21:43:22 | Received a packet PROPERTIES :
(Property Values)
INFO | jvm 1 | 2008/07/13 21:43:22 | Received a packet START : start
INFO | jvm 1 | 2008/07/13 21:43:22 | calling WrapperListener.start()
INFO | jvm 1 | 2008/07/13 21:43:22 | Waiting for WrapperListener.start
runner thread to complete.
INFO | jvm 1 | 2008/07/13 21:43:22 | WrapperListener.start runner
thread started.
INFO | jvm 1 | 2008/07/13 21:43:22 | WrapperSimpleApp: start(args) Will
wait up to 2 seconds for the main method to complete.
INFO | jvm 1 | 2008/07/13 21:43:22 | WrapperSimpleApp: invoking main
method
INFO | jvm 1 | 2008/07/13 21:43:22 | HME SDK 1.4 (TiVo, Inc.)
INFO | jvm 1 | 2008/07/13 21:43:23 | Searching for music...
INFO | jvm 1 | 2008/07/13 21:43:23 | DEBUG: reading file 1: Incomplete
Tags/Mixed No Art/03 Candy Everybody Wants.mp3
INFO | jvm 1 | 2008/07/13 21:43:23 | Send a packet START_PENDING : 5000
DEBUG | wrapperp | 2008/07/13 21:43:23 | read a packet START_PENDING : 5000
DEBUG | wrapper | 2008/07/13 21:43:23 | JVM signalled a start pending with
waitHint of 5000 millis.
INFO | jvm 1 | 2008/07/13 21:43:24 | DEBUG: reading file 2: Incomplete
Tags/Mixed No Art/01 These Are Days.mp3
INFO | jvm 1 | 2008/07/13 21:43:24 | DEBUG: reading file 3: Incomplete
Tags/Mixed No Art/04 I'm Not the Man.mp3
INFO | jvm 1 | 2008/07/13 21:43:24 | DEBUG: reading file 4: Incomplete
Tags/Mixed No Art/02 Eat for Two.mp3
INFO | jvm 1 | 2008/07/13 21:43:24 | DEBUG: reading file 5: Incomplete
Tags/No Artist and No Artist Album/03 Candy Everybody Wants.mp3
INFO | jvm 1 | 2008/07/13 21:43:24 | DEBUG: reading file 6: Incomplete
Tags/No Artist and No Artist Album/01 These Are Days.mp3
INFO | jvm 1 | 2008/07/13 21:43:24 | Send a packet START_PENDING : 5000
INFO | jvm 1 | 2008/07/13 21:43:24 | WrapperSimpleApp: start(args) end.
Main Completed=false, exitCode=null
INFO | jvm 1 | 2008/07/13 21:43:24 | WrapperListener.start runner
thread stopped.
INFO | jvm 1 | 2008/07/13 21:43:24 | returned from
WrapperListener.start()
INFO | jvm 1 | 2008/07/13 21:43:24 | Send a packet STARTED :
INFO | jvm 1 | 2008/07/13 21:43:24 | DEBUG: reading file 7: Incomplete
Tags/No Artist and No Artist Album/04 I'm Not the Man.mp3
INFO | jvm 1 | 2008/07/13 21:43:24 | Startup runner thread stopped.
DEBUG | wrapperp | 2008/07/13 21:43:24 | read a packet START_PENDING : 5000
DEBUG | wrapper | 2008/07/13 21:43:24 | JVM signalled a start pending with
waitHint of 5000 millis.
DEBUG | wrapperp | 2008/07/13 21:43:24 | read a packet STARTED :
DEBUG | wrapper | 2008/07/13 21:43:24 | JVM signalled that it was started.
DEBUG | wrapperp | 2008/07/13 21:43:24 | send a packet PING : ping
INFO | jvm 1 | 2008/07/13 21:43:24 | Received a packet PING : ping
INFO | jvm 1 | 2008/07/13 21:43:24 | Send a packet PING : ok
INFO | jvm 1 | 2008/07/13 21:43:24 | DEBUG: reading file 8: Incomplete
Tags/No Artist and No Artist Album/02 Eat for Two.mp3
INFO | jvm 1 | 2008/07/13 21:43:24 | DEBUG: reading file 9: Incomplete
Tags/No Album/03 Candy Everybody Wants.mp3
DEBUG | wrapperp | 2008/07/13 21:43:24 | read a packet PING : ok
DEBUG | wrapper | 2008/07/13 21:43:24 | Got ping response from JVM
INFO | jvm 1 | 2008/07/13 21:43:24 | DEBUG: reading file 10: Incomplete
Tags/No Album/01 These Are Days.mp3
INFO | jvm 1 | 2008/07/13 21:43:25 | DEBUG: reading file 11: Incomplete
Tags/No Album/04 I'm Not the Man.mp3
INFO | jvm 1 | 2008/07/13 21:43:25 | DEBUG: reading file 12: Incomplete
Tags/No Album/02 Eat for Two.mp3
INFO | jvm 1 | 2008/07/13 21:43:25 | DEBUG: reading file 13: Incomplete
Tags/No Artist Album/03 Candy Everybody Wants.mp3
INFO | jvm 1 | 2008/07/13 21:43:25 | DEBUG: reading file 14: Incomplete
Tags/No Artist Album/01 These Are Days.mp3
INFO | jvm 1 | 2008/07/13 21:43:25 | DEBUG: reading file 15: Incomplete
Tags/No Artist Album/04 I'm Not the Man.mp3
INFO | jvm 1 | 2008/07/13 21:43:25 | DEBUG: reading file 16: Incomplete
Tags/No Artist Album/02 Eat for Two.mp3
INFO | jvm 1 | 2008/07/13 21:43:25 | DEBUG: reading file 17: Incomplete
Tags/No Art/03 Candy Everybody Wants.mp3
INFO | jvm 1 | 2008/07/13 21:43:26 | DEBUG: reading file 18: Incomplete
Tags/No Art/01 These Are Days.mp3
INFO | jvm 1 | 2008/07/13 21:43:26 | DEBUG: reading file 19: Incomplete
Tags/No Art/04 I'm Not the Man.mp3
INFO | jvm 1 | 2008/07/13 21:43:26 | DEBUG: reading file 20: Incomplete
Tags/No Art/02 Eat for Two.mp3
INFO | jvm 1 | 2008/07/13 21:43:26 | DEBUG: reading file 21: Incomplete
Tags/No Artist/03 Candy Everybody Wants.mp3
INFO | jvm 1 | 2008/07/13 21:43:26 | DEBUG: reading file 22: Incomplete
Tags/No Artist/01 These Are Days.mp3
INFO | jvm 1 | 2008/07/13 21:43:27 | DEBUG: reading file 23: Incomplete
Tags/No Artist/04 I'm Not the Man.mp3
INFO | jvm 1 | 2008/07/13 21:43:27 | DEBUG: reading file 24: Incomplete
Tags/No Artist/02 Eat for Two.mp3
INFO | jvm 1 | 2008/07/13 21:43:27 | DEBUG: reading file 25: Incomplete
Tags/No Track Name/03 Candy Everybody Wants.mp3
INFO | jvm 1 | 2008/07/13 21:43:27 | DEBUG: reading file 26: Incomplete
Tags/No Track Name/01 These Are Days.mp3
INFO | jvm 1 | 2008/07/13 21:43:27 | DEBUG: reading file 27: Incomplete
Tags/No Track Name/04 I'm Not the Man.mp3
INFO | jvm 1 | 2008/07/13 21:43:27 | DEBUG: reading file 28: Incomplete
Tags/No Track Name/02 Eat for Two.mp3
INFO | jvm 1 | 2008/07/13 21:43:27 | DEBUG: reading file 29: Multi-disc
set/Album1/Disc 2/01 My Life.mp3
INFO | jvm 1 | 2008/07/13 21:43:28 | DEBUG: reading file 30: Multi-disc
set/Album1/Disc 2/02 Big Shot.mp3
INFO | jvm 1 | 2008/07/13 21:43:28 | DEBUG: reading file 31: Multi-disc
set/Album1/Disc 1/01 Piano Man.mp3
INFO | jvm 1 | 2008/07/13 21:43:28 | DEBUG: reading file 32: Multi-disc
set/Album1/Disc 1/02 Captain Jack.mp3
INFO | jvm 1 | 2008/07/13 21:43:28 | DEBUG: reading file 33: Multi-disc
set/Album2/02 An Innocent Man.mp3
INFO | jvm 1 | 2008/07/13 21:43:28 | DEBUG: reading file 34: Multi-disc
set/Album2/01 Keeping the Faith.mp3
INFO | jvm 1 | 2008/07/13 21:43:28 | DEBUG: reading file 35: Complete
tags/Four/03 Look Around.mp3
INFO | jvm 1 | 2008/07/13 21:43:28 | DEBUG: reading file 36: Complete
tags/Four/02 Stand.mp3
INFO | jvm 1 | 2008/07/13 21:43:28 | DEBUG: reading file 37: Complete
tags/Four/01 Run-Around.mp3
INFO | jvm 1 | 2008/07/13 21:43:28 | DEBUG: reading file 38: Complete
tags/Four/04 Fallible.mp3
INFO | jvm 1 | 2008/07/13 21:43:28 | DEBUG: reading file 39: Complete
tags/Save His Soul/03 Letter from a Friend.mp3
DEBUG | wrapperp | 2008/07/13 21:43:28 | send a packet PING : ping
INFO | jvm 1 | 2008/07/13 21:43:28 | Received a packet PING : ping
INFO | jvm 1 | 2008/07/13 21:43:28 | Send a packet PING : ok
INFO | jvm 1 | 2008/07/13 21:43:28 | DEBUG: reading file 40: Complete
tags/Save His Soul/02 Love and Greed.mp3
INFO | jvm 1 | 2008/07/13 21:43:28 | DEBUG: reading file 41: Complete
tags/Save His Soul/01 Trina Magna.mp3
DEBUG | wrapperp | 2008/07/13 21:43:28 | read a packet PING : ok
DEBUG | wrapper | 2008/07/13 21:43:28 | Got ping response from JVM
INFO | jvm 1 | 2008/07/13 21:43:28 | DEBUG: reading file 42: CEP3/07
While My Guitar Gently Weeps.mp3
INFO | jvm 1 | 2008/07/13 21:43:29 | DEBUG: reading file 43: CEP3/06
The Continuing Story of Bungalow Bill.mp3
INFO | jvm 1 | 2008/07/13 21:43:29 | Searching for playlists...
INFO | jvm 1 | 2008/07/13 21:43:29 | Build of music database completed
INFO | jvm 1 | 2008/07/13 21:43:29 | LOG: added factory
INFO | jvm 1 | 2008/07/13 21:43:29 | WrapperSimpleApp: main method
completed
INFO | jvm 1 | 2008/07/13 21:43:29 | Wrapper Manager: ShutdownHook
started
INFO | jvm 1 | 2008/07/13 21:43:29 | WrapperManager.stop(0) called by
thread: Wrapper-Shutdown-Hook
INFO | jvm 1 | 2008/07/13 21:43:29 | Send a packet STOP : 0
DEBUG | wrapperp | 2008/07/13 21:43:29 | read a packet STOP : 0
DEBUG | wrapper | 2008/07/13 21:43:29 | JVM requested a shutdown. (0)
DEBUG | wrapper | 2008/07/13 21:43:29 | wrapperStopProcess(0) called.
DEBUG | wrapper | 2008/07/13 21:43:29 | Sending stop signal to JVM
DEBUG | wrapperp | 2008/07/13 21:43:29 | send a packet STOP : NULL
INFO | jvm 1 | 2008/07/13 21:43:29 | Received a packet STOP :
INFO | jvm 1 | 2008/07/13 21:43:30 | Thread, Wrapper-Shutdown-Hook,
handling the shutdown process.
INFO | jvm 1 | 2008/07/13 21:43:30 | calling listener.stop()
INFO | jvm 1 | 2008/07/13 21:43:30 | WrapperSimpleApp: stop(0)
INFO | jvm 1 | 2008/07/13 21:43:30 | returned from listener.stop() -> 0
INFO | jvm 1 | 2008/07/13 21:43:30 | shutdownJVM(0)
Thread:Wrapper-Shutdown-Hook
INFO | jvm 1 | 2008/07/13 21:43:30 | Send a packet STOPPED : 0
DEBUG | wrapperp | 2008/07/13 21:43:30 | read a packet STOPPED : 0
DEBUG | wrapper | 2008/07/13 21:43:30 | JVM signalled that it was stopped.
INFO | jvm 1 | 2008/07/13 21:43:30 | Closing socket.
DEBUG | wrapperp | 2008/07/13 21:43:30 | socket read no code (closed?).
DEBUG | wrapperp | 2008/07/13 21:43:30 | server listening on port 32001.
DEBUG | wrapper | 2008/07/13 21:43:30 | JVM exited normally.
DEBUG | wrapper | 2008/07/13 21:43:30 | Signal trapped. Details:
DEBUG | wrapper | 2008/07/13 21:43:30 | signal number=17 (SIGCHLD),
source="unknown"
DEBUG | wrapper | 2008/07/13 21:43:30 | Received SIGCHLD, checking JVM
process status.
DEBUG | wrapper | 2008/07/13 21:43:30 | JVM process exited with a code of
0, leaving the wrapper exit code set to 0.
INFO | jvm 1 | 2008/07/13 21:43:30 | Wrapper Manager: ShutdownHook
complete
INFO | jvm 1 | 2008/07/13 21:43:30 | Server daemon shut down
STATUS | wrapper | 2008/07/13 21:43:31 | <-- Wrapper Stopped
#********************************************************************
# Wrapper Properties
#********************************************************************
# Java Application
wrapper.java.command=/usr/bin/java
# Java Main class. This class must implement the WrapperListener interface
# or guarantee that the WrapperManager class is initialized. Helper
# classes are provided to do this for you. See the Integration section
# of the documentation for details.
wrapper.java.mainclass=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=../Harmonium.jar
# Java Library Path (location of Wrapper.DLL or libwrapper.so)
wrapper.java.library.path.1=../lib
# Java Additional Parameters
#wrapper.java.additional.1=
# Initial Java Heap Size (in MB)
#wrapper.java.initmemory=3
# Maximum Java Heap Size (in MB)
#wrapper.java.maxmemory=64
# Application parameters. Add parameters as needed starting from 1
wrapper.app.parameter.1=com.tivo.hme.host.sample.Main
wrapper.app.parameter.2=org.dazeend.harmonium.Harmonium
wrapper.app.parameter.3=-musicRoot
wrapper.app.parameter.4=/home/ceperry/Harmonium/test_data/music
wrapper.app.parameter.4.stripquotes=TRUE
wrapper.app.parameter.5=-playlistRoot
wrapper.app.parameter.6=/home/ceperry/Harmonium/test_data/playlists
wrapper.app.parameter.6.stripquotes=TRUE
wrapper.app.parameter.7=-debug
#********************************************************************
# Wrapper Logging Properties
#********************************************************************
# Format of output for the console. (See docs for formats)
wrapper.console.format=PM
# Log Level for console output. (See docs for log levels)
#wrapper.console.loglevel=INFO
wrapper.console.loglevel=DEBUG
# Log file to use for wrapper output logging.
wrapper.logfile=../logs/wrapper.log
# Format of output for the log file. (See docs for formats)
wrapper.logfile.format=LPTM
# Log Level for log file output. (See docs for log levels)
#wrapper.logfile.loglevel=INFO
wrapper.logfile.loglevel=DEBUG
# Maximum size that the log file will be allowed to grow to before
# the log is rolled. Size is specified in bytes. The default value
# of 0, disables log rolling. May abbreviate with the 'k' (kb) or
# 'm' (mb) suffix. For example: 10m = 10 megabytes.
wrapper.logfile.maxsize=0
# Maximum number of rolled log files which will be allowed before old
# files are deleted. The default value of 0 implies no limit.
wrapper.logfile.maxfiles=0
# Log Level for sys/event log output. (See docs for log levels)
#wrapper.syslog.loglevel=NONE
wrapper.syslog.loglevel=DEBUG
#********************************************************************
# Wrapper Windows Properties
#********************************************************************
# Title to use when running as a console
<a class="moz-txt-link-abbreviated" href="mailto:wra...@ap...@">wra...@ap...@</a>
#********************************************************************
# Wrapper Windows NT/2000/XP Service Properties
#********************************************************************
# WARNING - Do not modify any of these properties when an application
# using this configuration file has been installed as a service.
# Please uninstall the service before modifying this section. The
# service can then be reinstalled.
# Name of the service
<a class="moz-txt-link-abbreviated" href="mailto:wra...@ap...@">wra...@ap...@</a>
# Display name of the service
<a class="moz-txt-link-abbreviated" href="mailto:wra...@ap...@">wra...@ap...@</a>
# Description of the service
<a class="moz-txt-link-abbreviated" href="mailto:wra...@ap...@">wra...@ap...@</a>
# 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
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at <a class="moz-txt-link-freetext" href="http://www.sourceforge.net/community/cca08">http://www.sourceforge.net/community/cca08</a>
_______________________________________________
Wrapper-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Wra...@li...">Wra...@li...</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/wrapper-user">https://lists.sourceforge.net/lists/listinfo/wrapper-user</a>
</pre>
</blockquote>
<pre wrap=""><!---->
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at <a class="moz-txt-link-freetext" href="http://www.sourceforge.net/community/cca08">http://www.sourceforge.net/community/cca08</a>
_______________________________________________
Wrapper-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Wra...@li...">Wra...@li...</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/wrapper-user">https://lists.sourceforge.net/lists/listinfo/wrapper-user</a>
</pre>
</blockquote>
<br>
</body>
</html>
|