|
From: Leif M. <le...@ta...> - 2004-07-08 03:16:01
|
Richard, Not having used CruiseControl, I am not sure what you are referring to when you say "console"? Is this a text console, or a swing base GUI? The Wrapper can be run in console mode or as a service. What happens when you are running in console mode on both platforms? Are you able to see your "console"? If not then the rest of this mail will not make any difference. On Windows when running as a service, you must set the wrapper.ntservice.interactive property to true or the Service will not be able to present any kind of a UI to the user. If your "console" is Swing based then this will make it visible. http://wrapper.tanukisoftware.org/doc/english/prop-ntservice-interactive.html If however you wish to display the text based console of the Wrapper and thus JVM, you will also need to set the wrapper.ntservice.console property to TRUE: http://wrapper.tanukisoftware.org/doc/english/prop-ntservice-console.html On Linux, if your application wishes to display a GUI, then Java must be able to access the DISPLAY environment variable. You will need to make sure that the Wrapper is launched in an environment where that is set. If you have configured your system to start the wrapper on system startup then the DISPLAY variable will not be set at that point. There are some games that you can play by setting it manually in the wrapper.conf file and then doing occasional JVM restarts if the JVM is having problems displaying its GUI. Once the window system is up and a user has logged in the display will become available and the program should be able to show its interface. (This is untried, but it should work...) Cheers, Leif Neale, Richard wrote: > Hello, > I have created a CruiseControl (http://cruisecontrol.sourceforge.net/) > wrapper > and I appear to have things running on NT and Linux but I do not see > the console > on either. > To note: CruiseControl has a JMX Console and I have tried with and > without. > Thoughts ? > Rich > |