|
From: Leif M. <le...@ta...> - 2003-11-25 14:36:19
|
whack er wrote: > Greetings > > I have experimented with the wrapper test program on Windows XP and > have the following doubt: > > 1.I beleive that the console window would not be displayed if I run as > a service on the Windows platform. In all released versions of the Wrapper, it is not possible to display the java console when running as an NT service. It sounds like this is what you want, so this is a good thing. I have already added the ability to optionally display the console even when running as an interactive service. This will be in the next release. > 2.If run on LINUX, I beleive that the console window would be displayed. Yes and no. The shell script that is used to launch the wrapper on UNIX systems allows a great amount of control over how it is launched. The script behaves like a standard init script, in that it takes a single command which tells the script what to do. The first command 'console', will launch the Wrapper in the shell from which the script is executed. The user will be able to see all of the console output and be able to stop the application by pressing CTRL-C. The second command is 'start'. This sounds like what you want. This will launch the wrapper in the background as a daemon process. It will stay running even if the shell is closed and the user will not be able to see the console output. Depending on how you have configured the wrapper's logging, the console output may still be written to the wrapper.log file. > 3.Since I am evaluating the use of the wrapper, I would not like to > display the console to end users and leave them guessing. As described in 1 and 2. You should be able to hide the console on both Windows and Linux platforms. > 4.If I run a normal Java application using javaw then there is no > console displayed, can I do the same on Windows and Linux using the > wrapper ? See above. > 5.Are there any optionsto run on the system tray or KDE task bar ? Not currently. The Wrapper does not interact directly with the Window Manager on Unix or Windows platforms. This is on my list of things that I would eventually like to support however. Cheers, Leif |