|
From: Leif M. <le...@ta...> - 2003-11-25 14:26:11
|
Jacques, >Attached are the files for a single normal startup and shutdown of what you >asked for. >Just to let you know, after generating the log for you, I tested the two >apps running together again this morning, terminating the VM processes, and >the wrapper handled both fine this time. What bothers me is that yesterday >it didn't work, today it did, but I haven't changed anything. Not the apps, >not the wrapper.conf, nothing. I haven't even restarted my machine. > > I looked over your wrapper.log and wrapper.conf files and they look fine. Does this wrapper.log capture the failure that you described? It looks like the applications starts up normally and then exits normally. The Wrapper begins the shutdown process when its shutdown hook is invoked. This was most likely caused by something in your code calling System.exit(n). I am not sure what would have been causing the problem you had seen before. If you are able to reproduce it and capture the problem in a log file, I would love to see it. >Another, much less important issue :) Is there a way to set the text line >wrap width on the console output. I find that the output gets wrapped when >there is still more than enough room left to finish some of the lines. > > At what point are you having problem with characters wrapping? Looking at the source it looks like the Wrapper will wrap long lines at 1024 characters? Is this the limit you are encountering? If this the problem, I can look at reworking that code to get rid of the wrapping. It is an artifact of the way output is read in from the JVM. Cheers, Leif |