|
From: Leif M. <le...@ta...> - 2003-10-13 09:53:27
|
Arun, > I have a solaris machine on which i'm trying to run the testwrapper > program. > I get a message saying: > "Starting TestWrapper Application" > and then the program exits. > The wrapper.log file is as shown below: > > In particular i get this message: > java.lang.InternalError: Can't connect to X11 window server using > ':0.0' as the value of the DISPLAY variable. > This message is being caused because the TestWrapper application includes a Swing GUI. You are most likely running from a user who does not have a current X DISPLAY configured. Java is thus throwing the error you reported because it is unable to display its Swing GUI. The message is fairly clear, but the stack dump is not very pretty. I will modify the code so that a nicer error message is displayed. This will be in the next release. For now try running the TestWrapper application from a console under X. > Secondly the wrapper.conf supplied with the solaris version seems to > have entries for Windows NT services in a section: > > "Wrapper NT Service Properties" > Why is this so? > Any help would be greatly appreciated. > The NT Service Properties section is not used on Linux or UNIX platforms. However the wrapper.conf file is designed to be 100% cross platform. That is why they are there in the Solaris version of the Wrapper. If you are sure that your application will never be run under Windows, fell free to delete that section. Having it there does no harm however. Cheers, Leif |