|
From: Martin G. <ma...@mi...> - 2006-01-12 16:52:48
|
I am very sorry. I changed everything in by wrapper.conf, only I forgot to change wrapper.java.mainclass, it remained set to wrapper.java.mainclass=org.tanukisoftware.wrapper.test.Main Once more, sorry for bothering you. Martin Gazak wrote: > Hallo, > I am using Wrapper 3.1.2 on Win32 running my application as a service > without any problem (great work anyway). > > I tried the same on Linux (SuSE 9.3) using almost the same > configuration, but the wrapper refuses to start neither as "console" nor > as "daemon" (my testwrapper script has "IGNORE_SIGNAL" and "RUN_AS_USER" > uncommented), the result is same: > > STATUS | wrapper | 2006/01/12 15:35:15 | --> Wrapper Started as Console > STATUS | wrapper | 2006/01/12 15:35:15 | Launching a JVM... > INFO | jvm 1 | 2006/01/12 15:35:15 | Initializing... > INFO | jvm 1 | 2006/01/12 15:35:15 | Wrapper (Version 3.1.2) > http://wrapper.tanukisoftware.org > INFO | jvm 1 | 2006/01/12 15:35:15 | start() > INFO | jvm 1 | 2006/01/12 15:35:15 | ERROR - Unable to display the > Swing GUI: > INFO | jvm 1 | 2006/01/12 15:35:15 | java.lang.InternalError: Can't > connect to X11 window server using '' as the value of the DISPLAY variable. > INFO | jvm 1 | 2006/01/12 15:35:15 | Exiting > STATUS | wrapper | 2006/01/12 15:35:17 | <-- Wrapper Stopped > > I understand well, what does this error mean and why wrapper stopped. > > What I do not understand is, why the wrapper tries to connect to X > server - I have no intention to run the Swing (or any other) GUI in my > application and I do not expect this from wrapper. > Therefore could you please help me, how to suppress wrapper attempts to > launch Swing and access X server, so that the wrapper and JVM starts ? > (Something like wrapper.ntservice.interactive=false on Windows). > > Thank you very much in advance. > > Martin > -- RNDr. Martin Gazak, MicroStep-MIS Cavojskeho 1, 841 04 Bratislava, Slovakia Tel: ++421 2 602 00 128, 111 Fax: ++421 2 602 00 180 e-mail: ma...@mi... www: http://www.microstep-mis.com |