|
From: Sujatha B. <suj...@td...> - 2007-09-06 12:58:36
|
I did try to set the log level to debug.=20
When you start a java thread using wrapper, it does not really return anyth=
ing. It starts running in the background.
=20
So how do i specify in the config file about this. It says it re-tries for =
5 times and complains cannot be started.
Please find attached a copy of wrapper.conf file .=20
=20
----- Original Message -----
From: wra...@li... on behalf of Rodrigo Vega=
=20
Sent: Thu, 6/9/2007 13:39
To: wra...@li...
Subject: Re: [Wrapper-user] Help regarding starting a service=20
=20
=20
Did you try to set your log level to debug and see the command line that
wrapper is trying to execute?
Maybe the problem is in another place...
If you attach your wrapper.conf and some lines of log maybe i can help you
more.
Regards
Rodrigo G. Vega
i411 Argentina
rv...@i4...
Este mensaje es confidencial. Si usted ha recibido este e-mail por error, p=
or
favor comun=EDquenoslo inmediatamente v=EDa e-mail y tenga la amabilidad de
eliminarlo de su sistema; no deber=E1 copiar el mensaje ni divulgar su
contenido a ninguna persona. Muchas gracias.
This message is confidential. If you have received it by mistake please let
us know by e-mail immediately and delete it from your system; you should al=
so
not copy the message nor disclose its contents to anyone. Many thanks.
-----Original Message-----
From: wra...@li... on behalf of Sujatha
Bharathan
Sent: Thu 06/09/2007 5:33
To: wra...@li...
Subject: Re: [Wrapper-user] Help regarding starting a service
Hi,
I tried that..but still the java is not returning and the wrapper is givin =
a
message saying=20
that unable to start the service after trying 5 times.
How do i handle this? Is this something to be fixed with wrapper or with th=
e
java?
My program will be running as a background thread..and is not suppose to
return until you execute stop on the service.
Please guide me
Thanks
Sujie=20
----- Original Message -----
From: wra...@li... on behalf of Rodrigo Vega=
=20
Sent: Wed, 5/9/2007 18:17
To: wra...@li...
Subject: Re: [Wrapper-user] Help regarding starting a service=20
I think your are making a main method, and this method call a thread. If th=
is
is your case you must do something like
public static void main(String args[]){
YourThread t =3D new YoruThread();
t.start();
t.join();
}
In that way your java program will not day until the thread die.
Rodrigo G. Vega
i411 Argentina
rv...@i4...
Este mensaje es confidencial. Si usted ha recibido este e-mail por error, p=
or
favor comun=EDquenoslo inmediatamente v=EDa e-mail y tenga la amabilidad de
eliminarlo de su sistema; no deber=E1 copiar el mensaje ni divulgar su
contenido a ninguna persona. Muchas gracias.
This message is confidential. If you have received it by mistake please let
us know by e-mail immediately and delete it from your system; you should al=
so
not copy the message nor disclose its contents to anyone. Many thanks.
-----Original Message-----
From: wra...@li... on behalf of Sujatha
Bharathan
Sent: Wed 05/09/2007 12:28
To: wra...@li...
Subject: [Wrapper-user] Help regarding starting a service
Hi,
I have used the wrapper class to create a windows service . I am successful
in creating the service but have an issue in starting it.
My service calls a java and the java starts a thread to run and it does not
return anything and has to keep running in the background.
But when i click on start in administrative tools>> service>> my service i=
t
comes back and says unable to start and it failed.
My java program is a thread and it will not return anything , Is there any
configuration variable which i could specify in my conf file so that i coul=
d
just run the java program
and return immediately without waiting for an output?
Looking forward for your help.
Thanks in advance.
Sujie
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Wrapper-user mailing list
Wra...@li...
https://lists.sourceforge.net/lists/listinfo/wrapper-user |