|
From: Andreas W. <and...@em...> - 2004-03-15 10:52:43
|
Leif, thanks for the reply. I did a quick hack on the 3.0.5 version via an environment variable WRAPPER_HOME (name might not be perfect) on Windows since I didn't want to change too much of the original code. If you are interested in a diff, please let me know. But I would agree to the comments for the feature request, that a property inside the wrapper.conf would be better than my solution. Cheers, Andreas > -----Original Message----- > From: Leif Mortenson [mailto:le...@ta...] > Sent: Sunday, March 14, 2004 3:37 PM > To: wra...@li... > Subject: Re: [Wrapper-user] Wrapper directories > > > Andreas, > Thanks for the reminder <:-) I need to get around to > implementing > this. The > feature request was logged way too long ago. No it is not possible > with the > current Wrapper. > > https://sourceforge.net/tracker/index.php?func=detail&aid=7381 60&group_id=39428&atid=425190 Cheers, Leif Andreas Wendt wrote: > Leif, > > is there a chance (in the current version 3.0.5 or in a future one) to > specifiy the starting directory for the wrapper from "outside" (e.g. > via an environment variable). > > I want to integrate with JBoss, but I don't want to copy the wrapper > files to the jboss directories. Since the wrapper isn't able to use > another starting directory other than the executable's (Windows) or > the starting script's one (Unix), JBoss will not be able to start > properly due to some relative paths when constructing its classpath > from its config files. > > TIA, > Andreas > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |
|
From: Andreas W. <and...@em...> - 2004-03-16 15:12:19
Attachments:
wrapper_3.0.6_src.diff
|
Leif, attached you will find the diff (I named my modified version 3.0.6). Cheers, Andreas > -----Original Message----- > From: Leif Mortenson [mailto:le...@ta...] > Sent: Monday, March 15, 2004 3:56 PM > To: wra...@li... > Subject: Re: [Wrapper-user] Wrapper directories > > > Andreas, > Go ahead and send me the diff and I'll take a look at it. > > Thanks as always, > Leif > > Andreas Wendt wrote: > > >Leif, > > > >thanks for the reply. > >I did a quick hack on the 3.0.5 version via an environment > variable WRAPPER_HOME (name might not be perfect) on Windows > since I didn't want to change too much of the original code. > >If you are interested in a diff, please let me know. > >But I would agree to the comments for the feature request, > that a property inside the wrapper.conf would be better than > my solution. > > > >Cheers, > >Andreas > > > > > > > >>-----Original Message----- > >>From: Leif Mortenson [mailto:le...@ta...] > >>Sent: Sunday, March 14, 2004 3:37 PM > >>To: wra...@li... > >>Subject: Re: [Wrapper-user] Wrapper directories > >> > >> > >>Andreas, > >> Thanks for the reminder <:-) I need to get around to > >>implementing > >>this. The > >>feature request was logged way too long ago. No it is not > possible > >>with the > >>current Wrapper. > >> > >>https://sourceforge.net/tracker/index.php?func=detail&aid=7381 > >> > >> > >60&group_id=39428&atid=425190 > > > >Cheers, > >Leif > > > >Andreas Wendt wrote: > > > > > > > >>Leif, > >> > >>is there a chance (in the current version 3.0.5 or in a > future one) to > >>specifiy the starting directory for the wrapper from > "outside" (e.g. > >>via an environment variable). > >> > >>I want to integrate with JBoss, but I don't want to copy > the wrapper > >>files to the jboss directories. Since the wrapper isn't able to use > >>another starting directory other than the executable's (Windows) or > >>the starting script's one (Unix), JBoss will not be able to start > >>properly due to some relative paths when constructing its classpath > >>from its config files. > >> > >>TIA, > >>Andreas > >> > >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > |
|
From: Leif M. <le...@ta...> - 2004-04-08 15:29:16
|
Andeas,
I have finally gotten a wrapper.working.dir property implemented in
the Wrapper
and believe I have all the vagaries worked out or at least understood.
The changes
are all checked into CVS along with the documentation for the new
property. (Which
is quite involved)
The gist of it is that the Wrapper will work as it always has on
startup and until
after the wrapper.conf file has been completely loaded and parsed. The
Wrapper
will then change to the new working directory before launching the first
JVM. This
means that all paths in the wrapper.conf file will be relative to the
location specified
in the wrapper.working.dir.
Users who do not make use of this new property will see no change in
the way
the Wrapper works.
This was the last feature that I had wanted to get into 3.1.0, so
once it has been
fully tested a release will be forthcoming soon. There are still a few
more things that
have to be tied up for the new documentation / web site.
Cheers,
Leif
Andreas Wendt wrote:
>Leif,
>
>attached you will find the diff (I named my modified version 3.0.6).
>
>Cheers,
>Andreas
>
>
>
>>-----Original Message-----
>>From: Leif Mortenson [mailto:le...@ta...]
>>Sent: Monday, March 15, 2004 3:56 PM
>>To: wra...@li...
>>Subject: Re: [Wrapper-user] Wrapper directories
>>
>>
>>Andreas,
>> Go ahead and send me the diff and I'll take a look at it.
>>
>>Thanks as always,
>>Leif
>>
>>Andreas Wendt wrote:
>>
>>
>>
<snip>
|
|
From: Sal I. <sal...@vo...> - 2004-04-08 17:33:52
|
Hello Leif,
I would like to issue a "wrapper -check-service" and get back a
status/status-code such as
not-installed
installed
started
not-started
disabled
... anything you want.
optionally this could come back as a bitfield, similar to the "chmod 777",
so a "wrapper -check-service" would print-out a 2-character field where the
first character is the installed status and the second is the started
status, so "IS" means installed and started, "NN" means not installed and
not started.
this could also come back as as an "int" return code from the wrapper main
() call so then this could be called from java.
i'd like to have this functionality so i can query it from the command line
without going to the services control panel, and also because i'd like to
create an ant wrapper task that can be used these ways:
<java-service-wrapper dir="bin" conf="../wrapper.conf" action="console" />
<java-service-wrapper dir="bin" conf="../wrapper.conf" action="start" />
<java-service-wrapper dir="bin" conf="../wrapper.conf" action="stop" />
<java-service-wrapper dir="bin" conf="../wrapper.conf" action="install" />
<java-service-wrapper dir="bin" conf="../wrapper.conf" action="remove" />
<java-service-wrapper dir="bin" conf="../wrapper.conf"
action="check-installed" property="WRAPPER_INSTALLED" />
<java-service-wrapper dir="bin" conf="../wrapper.conf"
action="check-started" property="WRAPPER_STARTED" />
if you want to include the ant library in the wrapper distribution, i can
create the source under your package such as
"org.tanukisoftware.wrapper.ant" and hand it over to you.
sal.
-----Original Message-----
From: wra...@li...
[mailto:wra...@li...]On Behalf Of Leif
Mortenson
Sent: Thursday, April 08, 2004 8:29 AM
To: wra...@li...
Subject: Re: [Wrapper-user] Wrapper directories
Andeas,
I have finally gotten a wrapper.working.dir property implemented in
the Wrapper
and believe I have all the vagaries worked out or at least understood.
The changes
are all checked into CVS along with the documentation for the new
property. (Which
is quite involved)
The gist of it is that the Wrapper will work as it always has on
startup and until
after the wrapper.conf file has been completely loaded and parsed. The
Wrapper
will then change to the new working directory before launching the first
JVM. This
means that all paths in the wrapper.conf file will be relative to the
location specified
in the wrapper.working.dir.
Users who do not make use of this new property will see no change in
the way
the Wrapper works.
This was the last feature that I had wanted to get into 3.1.0, so
once it has been
fully tested a release will be forthcoming soon. There are still a few
more things that
have to be tied up for the new documentation / web site.
Cheers,
Leif
Andreas Wendt wrote:
>Leif,
>
>attached you will find the diff (I named my modified version 3.0.6).
>
>Cheers,
>Andreas
>
>
>
>>-----Original Message-----
>>From: Leif Mortenson [mailto:le...@ta...]
>>Sent: Monday, March 15, 2004 3:56 PM
>>To: wra...@li...
>>Subject: Re: [Wrapper-user] Wrapper directories
>>
>>
>>Andreas,
>> Go ahead and send me the diff and I'll take a look at it.
>>
>>Thanks as always,
>>Leif
>>
>>Andreas Wendt wrote:
>>
>>
>>
<snip>
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Wrapper-user mailing list
Wra...@li...
https://lists.sourceforge.net/lists/listinfo/wrapper-user
|
|
From: Andreas W. <and...@em...> - 2004-04-13 09:43:45
|
<html><style>p {margin: 0px}</style><body bgcolor='#ffffff' style='font-size:9pt; font-family:Verdana; font-family: Verdana' ><FONT size=2><P>Leif,</P><P>great. I will dig into this and the other new features the next couple of days.</P><P>Cheers,</P><P>Andreas</P><P>> -----Original Message-----</P><P>> From: Leif Mortenson [mailto:le...@ta...]</P><P>> Sent: Thursday, April 08, 2004 5:29 PM</P><P>> To: wra...@li...</P><P>> Subject: Re: [Wrapper-user] Wrapper directories</P><P>> </P><P>> </P><P>> Andeas,</P><P>> I have finally gotten a wrapper.working.dir property </P><P>> implemented in </P><P>> the Wrapper</P><P>> and believe I have all the vagaries worked out or at least </P><P>> understood. </P><P>> The changes</P><P>> are all checked into CVS along with the documentation for the new </P><P>> property. (Which</P><P>> is quite involved)</P><P>> </P><P>> The gist of it is that the Wra!
pper will work as it always has on </P><P>> startup and until</P><P>> after the wrapper.conf file has been completely loaded and </P><P>> parsed. The </P><P>> Wrapper</P><P>> will then change to the new working directory before </P><P>> launching the first </P><P>> JVM. This</P><P>> means that all paths in the wrapper.conf file will be relative to the </P><P>> location specified</P><P>> in the wrapper.working.dir.</P><P>> </P><P>> Users who do not make use of this new property will see </P><P>> no change in </P><P>> the way</P><P>> the Wrapper works.</P><P>> </P><P>> This was the last feature that I had wanted to get into 3.1.0, so </P><P>> once it has been</P><P>> fully tested a release will be forthcoming soon. There are </P><P>> still a few </P><P>> more things that</P><P>> have to be tied up for the new documentation / web site.</P><P>> </P><P>> Cheers,</P><P>> Leif</P><P>> </P><P>> Andreas!
Wendt wrote:</P><P>> </P><P>> >Leif,</P><P>> ></P><P>&
gt; >attached you will find the diff (I named my modified version 3.0.6).</P><P>> ></P><P>> >Cheers,</P><P>> >Andreas</P><P>> ></P><P>> > </P><P>> ></P><P>> >>-----Original Message-----</P><P>> >>From: Leif Mortenson [mailto:le...@ta...]</P><P>> >>Sent: Monday, March 15, 2004 3:56 PM</P><P>> >>To: wra...@li...</P><P>> >>Subject: Re: [Wrapper-user] Wrapper directories</P><P>> >></P><P>> >></P><P>> >>Andreas,</P><P>> >> Go ahead and send me the diff and I'll take a look at it.</P><P>> >></P><P>> >>Thanks as always,</P><P>> >>Leif</P><P>> >></P><P>> >>Andreas Wendt wrote:</P><P>> >></P><P>> >> </P><P>> >></P><P>> <snip></P><P>> </P><P>> </P><P>> </P><P>> -------------------------------------------------------</P><P>> This SF.Net ema!
il is sponsored by: IBM Linux Tutorials</P><P>> Free Linux tutorial presented by Daniel Robbins, President and CEO of</P><P>> GenToo technologies. Learn everything from fundamentals to system</P><P>> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click</P><P>> _______________________________________________</P><P>> Wrapper-user mailing list</P><P>> Wra...@li...</P><P>> https://lists.sourceforge.net/lists/listinfo/wrapper-user</P><P>> </P></FONT></body></html>
|
|
From: Leif M. <le...@ta...> - 2004-03-15 14:56:53
|
Andreas,
Go ahead and send me the diff and I'll take a look at it.
Thanks as always,
Leif
Andreas Wendt wrote:
>Leif,
>
>thanks for the reply.
>I did a quick hack on the 3.0.5 version via an environment variable WRAPPER_HOME (name might not be perfect) on Windows since I didn't want to change too much of the original code.
>If you are interested in a diff, please let me know.
>But I would agree to the comments for the feature request, that a property inside the wrapper.conf would be better than my solution.
>
>Cheers,
>Andreas
>
>
>
>>-----Original Message-----
>>From: Leif Mortenson [mailto:le...@ta...]
>>Sent: Sunday, March 14, 2004 3:37 PM
>>To: wra...@li...
>>Subject: Re: [Wrapper-user] Wrapper directories
>>
>>
>>Andreas,
>> Thanks for the reminder <:-) I need to get around to
>>implementing
>>this. The
>>feature request was logged way too long ago. No it is not possible
>>with the
>>current Wrapper.
>>
>>https://sourceforge.net/tracker/index.php?func=detail&aid=7381
>>
>>
>60&group_id=39428&atid=425190
>
>Cheers,
>Leif
>
>Andreas Wendt wrote:
>
>
>
>>Leif,
>>
>>is there a chance (in the current version 3.0.5 or in a future one) to
>>specifiy the starting directory for the wrapper from "outside" (e.g.
>>via an environment variable).
>>
>>I want to integrate with JBoss, but I don't want to copy the wrapper
>>files to the jboss directories. Since the wrapper isn't able to use
>>another starting directory other than the executable's (Windows) or
>>the starting script's one (Unix), JBoss will not be able to start
>>properly due to some relative paths when constructing its classpath
>>from its config files.
>>
>>TIA,
>>Andreas
>>
>>
|