Re: [Spacewalk-devel] Replacement for tanukiwrapper

2011-05-24 Thread Tomas Lestach
- Original Message -
> From: "Jan Pazdziora" 
> To: spacewalk-devel@redhat.com
> Sent: Tuesday, May 24, 2011 9:52:48 AM
> Subject: Re: [Spacewalk-devel] Replacement for tanukiwrapper
> 
> On Tue, May 24, 2011 at 09:39:16AM +0200, Miroslav Suchy wrote:
> > Premature notice:
> > I discovered free fork of tanukiwrapper:
> > https://bitbucket.org/ivertex/java-service-wrapper
> > And I have intention to replace tanukiwrapper with
> > java-service-wrapper as soon as it pass package review:
> > https://bugzilla.redhat.com/show_bug.cgi?id=707132

+1

> 
> Do we need it at all? Wouldn't two startup scripts (taskomatic and
> the
> search server) plus log4j achieve the same, without a dependency on
> the external piece of software?

It does exactly what we need. It starts java applications as a daemon,
has a nice configuration file, cares about logging, ...
Yes, it is an external piece of software, but if we would drop it, we would
just need to rewrite its functionality.
tanukiwrapper/java-service-wrapper is a ready solution, that works and
is used by its users. I prefer continue using it.

Tomas

> 
> --
> Jan Pazdziora
> Principal Software Engineer, Satellite Engineering, Red Hat
> 
> ___
> Spacewalk-devel mailing list
> Spacewalk-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-devel
> 

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] Replacement for tanukiwrapper

2011-05-24 Thread Miroslav Suchy

Dne 24.5.2011 09:52, Jan Pazdziora napsal(a):

Do we need it at all? Wouldn't two startup scripts (taskomatic and the
search server) plus log4j achieve the same, without a dependency on
the external piece of software?


It is not as easy as it looks(*). At least for me. I tried that and 
after 15 minutes of investigation I gave up and find out that keeping 
tanukiwrapper in place is not bad option.


(*) It is wired in some classes as well. E.g. look into 
java/code/src/com/redhat/rhn/taskomatic/core/BaseDaemon.java

and
search-server/spacewalk-search/src/java/com/redhat/satellite/search/Main.java

Mirek

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] Replacement for tanukiwrapper

2011-05-24 Thread Jan Pazdziora
On Tue, May 24, 2011 at 09:39:16AM +0200, Miroslav Suchy wrote:
> Premature notice:
> I discovered free fork of tanukiwrapper:
> https://bitbucket.org/ivertex/java-service-wrapper
> And I have intention to replace tanukiwrapper with
> java-service-wrapper as soon as it pass package review:
> https://bugzilla.redhat.com/show_bug.cgi?id=707132

Do we need it at all? Wouldn't two startup scripts (taskomatic and the
search server) plus log4j achieve the same, without a dependency on
the external piece of software?

-- 
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel