You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(5) |
Oct
(13) |
Nov
(16) |
Dec
(29) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(38) |
Feb
(51) |
Mar
(51) |
Apr
(115) |
May
(82) |
Jun
(30) |
Jul
(50) |
Aug
(68) |
Sep
(57) |
Oct
(160) |
Nov
(80) |
Dec
(78) |
| 2004 |
Jan
(71) |
Feb
(75) |
Mar
(108) |
Apr
(87) |
May
(79) |
Jun
(70) |
Jul
(69) |
Aug
(39) |
Sep
(52) |
Oct
(47) |
Nov
(50) |
Dec
(32) |
| 2005 |
Jan
(22) |
Feb
(122) |
Mar
(46) |
Apr
(76) |
May
(31) |
Jun
(51) |
Jul
(61) |
Aug
(70) |
Sep
(37) |
Oct
(46) |
Nov
(57) |
Dec
(83) |
| 2006 |
Jan
(55) |
Feb
(81) |
Mar
(51) |
Apr
(67) |
May
(77) |
Jun
(43) |
Jul
(106) |
Aug
(64) |
Sep
(47) |
Oct
(64) |
Nov
(60) |
Dec
(12) |
| 2007 |
Jan
(50) |
Feb
(93) |
Mar
(49) |
Apr
(56) |
May
(40) |
Jun
(63) |
Jul
(40) |
Aug
(47) |
Sep
(54) |
Oct
(37) |
Nov
(54) |
Dec
(37) |
| 2008 |
Jan
(35) |
Feb
(39) |
Mar
(26) |
Apr
(14) |
May
(23) |
Jun
(51) |
Jul
(43) |
Aug
(26) |
Sep
(29) |
Oct
(31) |
Nov
(24) |
Dec
(16) |
| 2009 |
Jan
(21) |
Feb
(30) |
Mar
(74) |
Apr
(26) |
May
(26) |
Jun
(43) |
Jul
(23) |
Aug
(23) |
Sep
(15) |
Oct
(27) |
Nov
(37) |
Dec
(10) |
| 2010 |
Jan
(16) |
Feb
(28) |
Mar
(16) |
Apr
(45) |
May
(8) |
Jun
(68) |
Jul
(45) |
Aug
(44) |
Sep
(51) |
Oct
(7) |
Nov
(20) |
Dec
(21) |
| 2011 |
Jan
(14) |
Feb
(17) |
Mar
(7) |
Apr
(7) |
May
(48) |
Jun
(23) |
Jul
(5) |
Aug
(33) |
Sep
(22) |
Oct
(14) |
Nov
(14) |
Dec
(5) |
| 2012 |
Jan
|
Feb
(10) |
Mar
(12) |
Apr
(51) |
May
(10) |
Jun
(8) |
Jul
(14) |
Aug
(22) |
Sep
(9) |
Oct
(24) |
Nov
(14) |
Dec
(13) |
| 2013 |
Jan
(12) |
Feb
(4) |
Mar
(14) |
Apr
(19) |
May
(2) |
Jun
(5) |
Jul
(13) |
Aug
(10) |
Sep
(4) |
Oct
(11) |
Nov
(13) |
Dec
(2) |
| 2014 |
Jan
(3) |
Feb
(14) |
Mar
(5) |
Apr
(10) |
May
(10) |
Jun
(11) |
Jul
(10) |
Aug
(3) |
Sep
(13) |
Oct
(22) |
Nov
(14) |
Dec
(32) |
| 2015 |
Jan
(8) |
Feb
(2) |
Mar
(17) |
Apr
(1) |
May
(24) |
Jun
|
Jul
(4) |
Aug
|
Sep
(9) |
Oct
(9) |
Nov
(5) |
Dec
(2) |
| 2016 |
Jan
(8) |
Feb
(6) |
Mar
(6) |
Apr
(9) |
May
(3) |
Jun
(2) |
Jul
(7) |
Aug
(6) |
Sep
|
Oct
|
Nov
(1) |
Dec
(6) |
| 2017 |
Jan
(9) |
Feb
(8) |
Mar
(6) |
Apr
|
May
|
Jun
(3) |
Jul
(13) |
Aug
(10) |
Sep
(8) |
Oct
|
Nov
(6) |
Dec
|
| 2018 |
Jan
|
Feb
(5) |
Mar
(7) |
Apr
(2) |
May
|
Jun
|
Jul
(3) |
Aug
(2) |
Sep
(9) |
Oct
(1) |
Nov
(1) |
Dec
(1) |
| 2019 |
Jan
(9) |
Feb
|
Mar
|
Apr
(10) |
May
(3) |
Jun
|
Jul
(7) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
|
Dec
|
| 2020 |
Jan
(1) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2021 |
Jan
(1) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(3) |
| 2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2023 |
Jan
(3) |
Feb
|
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2024 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
(1) |
Jun
(1) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
| 2025 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2026 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Leif M. <le...@ta...> - 2007-02-14 23:00:47
|
Vinod,
The WrapperManager class uses a Java-standard blocking socket to
read commands
from the Wrapper process across a local socket. The readByte calls that
you are talking
about only happen when a command is received and should be quite lite
weight. There
are several commands that come across on startup which may be why this
is standing out
for you. But once the Wrapper has started, this should be very lite
weight.
Try resetting the profiler counters once the Wrapper has started up.
As you mentioned, those extended timeouts, especially disabling ping
timeouts
is going to cause you problems. I would restore them.
With those settings in place though, there should not be any
commands going back
and forth once the Wrapper is started. (Except the hourly pings) As
you are still saying
that you are seeing a load on the readByte method, this must be
including the startup
code. On startup, one particular command is quite large. The Wrapper
sends the
contents of the wrapper.conf file over so it can be stored into a
Properties object
within the JVM.
Most read methods actually call readByte behind the scenes. I do it
this way to get the
control over the socket that is needed by the Wrapper. This should not
be causing any
extra load as seen by the profiler.
If you have ideas on how to do this differently, my ears are always
open. But I have
not felt that was a problem as currently implemented.
Cheers,
Leif
Vinod Panicker wrote:
> Hi,
>
> I'm using wrapper to manage startup and shutdown of a custom server.
> During performance testing of the server, the profiler reports a lot
> of cpu utilization in the wrapper methods.
>
> To reduce the wrapper communication, I've set the following values in
> wrapper.conf -
>
> wrapper.ping.timeout=0
> wrapper.ping.interval=3600
> wrapper.cpu.timeout=3600
>
> I know that its not advisable, but this was done to reduce the cpu
> utilization reported by the profiler.
>
> But inspite of this, the profiler reports that
> SocketInputStream.read() called by wrapper is taking a lot of cpu
> time. On reviewing the code, I found that there's a loop that reads
> byte by byte from the wrapper socket.
>
> I'm looking at implementing an alternative mechanism that will not
> cause so much cpu utilization. Suggestions welcome.
>
> Regards,
> Vinod.
>
|
|
From: Leif M. <le...@ta...> - 2007-02-14 22:32:38
|
Karthik and all, Last week, I updated the shell script to fix this problem. It will be in the next release, but in the mean time, You can download this latest sh script here: http://wrapper.svn.sourceforge.net/viewvc/*checkout*/wrapper/trunk/wrapper/src/bin/sh.script.in Please give it a try and let me know if you have any problems. Cheers, Leif Karthik Raajkumar wrote: > > I was able to use the instructions given for Unix/Linux to get it > working on Mac OS X - the simplest method was sufficient for my > requirements. > > http://wrapper.tanukisoftware.org/doc/english/integrate-simple-nix.html > > You would have to make one change to the script to be able to stop/get > status: > > - in the getpid() function change > > pidtest=`$PSEXE -p $pid -o args | grep "$WRAPPER_CMD" | tail -1` > > TO > > pidtest=`$PSEXE -p $pid | grep "$WRAPPER_CMD" | tail -1` > > - ps in Darwin does not support the ‘args’ keyword > > --karthik > |
|
From: Karthik R. <ka...@ch...> - 2007-02-14 20:50:18
|
I was able to use the instructions given for Unix/Linux to get it working on Mac OS X - the simplest method was sufficient for my requirements. http://wrapper.tanukisoftware.org/doc/english/integrate-simple-nix.html You would have to make one change to the script to be able to stop/get status: - in the getpid() function change pidtest=`$PSEXE -p $pid -o args | grep "$WRAPPER_CMD" | tail -1` TO pidtest=`$PSEXE -p $pid | grep "$WRAPPER_CMD" | tail -1` - ps in Darwin does not support the 'args' keyword --karthik |
|
From: Hubert F. <hub...@ab...> - 2007-02-14 13:57:36
|
Hi, Hmm, I tried this with YourKit Java Profiler and didn't notice anything remarkable. I suppose you talk about WrapperActionServer.java. Looking at the code I saw, that the regarding section you mentioned, is called with a timeout of 15 seconds. A command to read consists of just one byte. A cannot see why this thread should generate much CPU utilisation neither could my profiler. Regards hub >>> "Vinod Panicker" <vi...@gm...> 14.02.2007 07:21 >>> Hi, I'm using wrapper to manage startup and shutdown of a custom server. During performance testing of the server, the profiler reports a lot of cpu utilization in the wrapper methods. To reduce the wrapper communication, I've set the following values in wrapper.conf - wrapper.ping.timeout=0 wrapper.ping.interval=3600 wrapper.cpu.timeout=3600 I know that its not advisable, but this was done to reduce the cpu utilization reported by the profiler. But inspite of this, the profiler reports that SocketInputStream.read() called by wrapper is taking a lot of cpu time. On reviewing the code, I found that there's a loop that reads byte by byte from the wrapper socket. I'm looking at implementing an alternative mechanism that will not cause so much cpu utilization. Suggestions welcome. Regards, Vinod. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |
|
From: <Syr...@ag...> - 2007-02-14 06:22:55
|
I will be out of the office starting 02/12/2007 and will not return until 02/16/2007. For urgent issues regarding Delano/DMZ infrastructure, please contact Manu Heirbout (3936) or my direct manager Peter De Mangelaere (4223). |
|
From: Vinod P. <vi...@gm...> - 2007-02-14 06:21:51
|
Hi, I'm using wrapper to manage startup and shutdown of a custom server. During performance testing of the server, the profiler reports a lot of cpu utilization in the wrapper methods. To reduce the wrapper communication, I've set the following values in wrapper.conf - wrapper.ping.timeout=0 wrapper.ping.interval=3600 wrapper.cpu.timeout=3600 I know that its not advisable, but this was done to reduce the cpu utilization reported by the profiler. But inspite of this, the profiler reports that SocketInputStream.read() called by wrapper is taking a lot of cpu time. On reviewing the code, I found that there's a loop that reads byte by byte from the wrapper socket. I'm looking at implementing an alternative mechanism that will not cause so much cpu utilization. Suggestions welcome. Regards, Vinod. |
|
From: Leif M. <le...@ta...> - 2007-02-08 17:41:01
|
Edwin, Thanks for pointing this out. A fix has been committed to SVN and it will be in the 3.2.4 release. Cheers, Leif Edwin Wong wrote: >> I am currently trying to run the wrapper in OS X. >> >> It starts my application fine, but when I try to run the "status" >> or "stop" commands, wrapper can't find the process and removes the >> pid file as a stale file even though the process is clearly still >> running. >> >> Experimenting further, I found that if I changed the line in the >> getPid() command from: >> >> pidtest=`$PSEXE -p $pid -o args | grep >> "$WRAPPER_CMD" | tail -1` >> >> to >> pidtest=`$PSEXE -p $pid | grep $WRAPPER_CMD | tail -1` >> >> all seems to work fine. >> >> Any ideas? >> >> Thanks. >> > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |
|
From: Edwin W. <ed...@at...> - 2007-02-08 06:38:27
|
we simply fire the script after making the relevant changes from sh.script.in from the wrapper distributable. So, after renaming the script to app, we run: app start <- this works ok app status <- dies app stop <- dies On 08/02/2007, at 5:09 PM, Bashiro wrote: > > > > could you please point to me how you do start your application with > > wrapper. What command you do give ? > > Bashiro > > > > --- On Wed 02/07, Edwin Wong < ed...@at... > wrote: > > From: Edwin Wong [mailto: ed...@at...] > > To: wra...@li... > > Date: Thu, 8 Feb 2007 12:00:30 +1100 > > Subject: [Wrapper-user] Stopping wrapper does not work in OS X > > > >> I am currently trying to run the wrapper in OS X.>> It starts my >> application fine, but when I try to run the "status" > or "stop" >> commands, wrapper can't find the process and removes the > pid >> file as a stale file even though the process is clearly still > >> running.>> Experimenting further, I found that if I changed the >> line in the > getPid() command from:>> pidtest=` >> $PSEXE -p $pid -o args | grep > "$WRAPPER_CMD" | tail -1`>> >> to> pidtest=`$PSEXE -p $pid | grep $WRAPPER_CMD | >> tail -1`>> all seems to work fine.>> Any ideas?>> >> Thanks.-------------------------------------------------------------- >> -----------Using Tomcat but need to do more? Need to support web >> services, security?Get stuff done quickly with pre-integrated >> technology to make your job easier.Download IBM WebSphere >> Application Server v.1.0.1 based on Apache > Geronimohttp://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642______________________________ > _________________Wrapper-user mailing listWrapper- > us...@li...://lists.sourceforge.net/lists/ > listinfo/wrapper-user > > _______________________________________________ > No banners. No pop-ups. No kidding. > Make My Way your home on the Web - http://www.myway.com > > > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user |
|
From: Bashiro<ba...@my...> - 2007-02-08 06:09:17
|
could you please point to me how you do start your application with wrapper. What command you do give ? Bashiro --- On Wed 02/07, Edwin Wong < ed...@at... > wrote: From: Edwin Wong [mailto: ed...@at...] To: wra...@li... Date: Thu, 8 Feb 2007 12:00:30 +1100 Subject: [Wrapper-user] Stopping wrapper does not work in OS X > I am currently trying to run the wrapper in OS X.>> It starts my application fine, but when I try to run the "status" > or "stop" commands, wrapper can't find the process and removes the > pid file as a stale file even though the process is clearly still > running.>> Experimenting further, I found that if I changed the line in the > getPid() command from:>> pidtest=`$PSEXE -p $pid -o args | grep > "$WRAPPER_CMD" | tail -1`>> to> pidtest=`$PSEXE -p $pid | grep $WRAPPER_CMD | tail -1`>> all seems to work fine.>> Any ideas?>> Thanks.-------------------------------------------------------------------------Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier.Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________Wrapper-user mailing lis...@li...://lists.sourceforge.net/lists/listinfo/wrapper-user _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com |
|
From: Gene <gen...@gm...> - 2007-02-08 02:23:44
|
i had to do the same thing to get it to work on mac osx because ps doesn't support -o On 2/7/07, Edwin Wong <ed...@at...> wrote: > > I am currently trying to run the wrapper in OS X. > > > > It starts my application fine, but when I try to run the "status" > > or "stop" commands, wrapper can't find the process and removes the > > pid file as a stale file even though the process is clearly still > > running. > > > > Experimenting further, I found that if I changed the line in the > > getPid() command from: > > > > pidtest=`$PSEXE -p $pid -o args | grep > > "$WRAPPER_CMD" | tail -1` > > > > to > > pidtest=`$PSEXE -p $pid | grep $WRAPPER_CMD | tail -1` > > > > all seems to work fine. > > > > Any ideas? > > > > Thanks. > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > -- Gene Hart cell: 443-604-2679 |
|
From: Edwin W. <ed...@at...> - 2007-02-08 00:58:16
|
> I am currently trying to run the wrapper in OS X. > > It starts my application fine, but when I try to run the "status" > or "stop" commands, wrapper can't find the process and removes the > pid file as a stale file even though the process is clearly still > running. > > Experimenting further, I found that if I changed the line in the > getPid() command from: > > pidtest=`$PSEXE -p $pid -o args | grep > "$WRAPPER_CMD" | tail -1` > > to > pidtest=`$PSEXE -p $pid | grep $WRAPPER_CMD | tail -1` > > all seems to work fine. > > Any ideas? > > Thanks. |
|
From: First L. <san...@ya...> - 2007-02-07 13:35:02
|
I'm reposting this as a separate topic as it has nothing to do with HP-UX, =
the previous topic:=0A=0AI installed the missing libraries on our AIX 5.3 s=
ystem and tried compiling the aix 32-bit version again,=0A=0Abut now it's c=
omplaining it can't find jni.h:=0A=0A =0A=0A-bash-3.00$ ./build32.sh=0A=0AW=
rapper Build System=0A--------------------=0ABuildfile: build.xml=0A=0Ainit=
:msg:=0A*******************************************************************=
***=0AAbout to build a 32-bit version of the Java Service Wrapper 3.2.3.=0A=
The OS Name is "aix", resolved from "AIX".=0AThe Architecture is "ppc", res=
olved from "ppc".=0AThe distribution name will be: wrapper-aix-ppc-32-3.2.3=
=0A**********************************************************************=
=0A=0Aupdate-info:=0ACopying 1 file to /home/gds/tmp/build/java_service_wra=
pper/wrapper_3.2.3_src/src/java/org/tanukisoftware/wrapper=0ACopying 1 file=
to /home/gds/tmp/build/java_service_wrapper/wrapper_3.2.3_src/src/c=0A=0Ac=
ompile-java-warn:=0A*******************************************************=
***************=0AWARNING=0AThe jar is being built for Java version 1.4. T=
his will not be=0Acompatible with older JVMs.=0A***************************=
*******************************************=0A=0Acompile-java:=0ACompiling =
1 source file to /home/gds/tmp/build/java_service_wrapper/wrapper_3.2.3_src=
/build/classes=0AClassArgument.name=3Dorg.tanukisoftware.wrapper.WrapperMan=
ager=0A=0Acompile-c-unix:=0A if test ! -d .deps; then mkdir .deps; f=
i=0A =0Agcc -DAIX -lpthread -lnsl -lm wrapper.c wrapperinfo.c=0Awrapp=
ereventloop.c wrapper_unix.c property.c logger.c -o=0A../../bin/wrapper=0A =
/usr/local/bin/gcc -O -c wrapperjni_unix.c=0AIn file included from w=
rapperjni.h:47,=0A from wrapperjni_unix.c:55:=0Aorg_tanukis=
oftware_wrapper_WrapperManager.h:2:17: error: jni.h: No such file or direct=
ory=0AIn file included from wrapperjni.h:47,=0A from wrappe=
rjni_unix.c:55:=0Aorg_tanukisoftware_wrapper_WrapperManager.h:157: error: s=
yntax error before=0A 'void'=0Aorg_tanukisoftware_wrapper_WrapperManager.h:=
158: error: parse error before '*' token=0Aorg_tanukisoftware_wrapper_Wrapp=
erManager.h:158: warning: data definition has no type or storage class=0Aor=
g_tanukisoftware_wrapper_WrapperManager.h:165: error: parse error before 'j=
string'=0Aorg_tanukisoftware_wrapper_WrapperManager.h:166: error: parse err=
or before '*' token=0Aorg_tanukisoftware_wrapper_WrapperManager.h:166: warn=
ing: data definition has no type or storage class=0Aorg_tanukisoftware_wrap=
per_WrapperManager.h:173: error: parse error before 'jint'=0Aorg_tanukisoft=
ware_wrapper_WrapperManager.h:174: error: parse error before '*' token=0Aor=
g_tanukisoftware_wrapper_WrapperManager.h:174: warning: data definition has=
no type or storage class=0Aorg_tanukisoftware_wrapper_WrapperManager.h:181=
: error: parse error before 'jint'=0Aorg_tanukisoftware_wrapper_WrapperMana=
ger.h:182: error: parse error before '*' token=0Aorg_tanukisoftware_wrapper=
_WrapperManager.h:182:=0A warning: data definition has no type or storage c=
lass=0Aorg_tanukisoftware_wrapper_WrapperManager.h:189: error: syntax error=
before 'void'=0Aorg_tanukisoftware_wrapper_WrapperManager.h:190: error: pa=
rse error before '*' token=0Aorg_tanukisoftware_wrapper_WrapperManager.h:19=
0: warning: data definition has no type or storage class=0Aorg_tanukisoftwa=
re_wrapper_WrapperManager.h:197: error: syntax error before 'void'=0Aorg_ta=
nukisoftware_wrapper_WrapperManager.h:198: error: parse error before '*' to=
ken=0Aorg_tanukisoftware_wrapper_WrapperManager.h:198: warning: data defini=
tion has no type or storage class=0Aorg_tanukisoftware_wrapper_WrapperManag=
er.h:205: error: syntax error before 'void'=0Aorg_tanukisoftware_wrapper_Wr=
apperManager.h:206: error: parse error before '*' token=0Aorg_tanukisoftwar=
e_wrapper_WrapperManager.h:206: warning: data definition has no type or sto=
rage class=0Aorg_tanukisoftware_wrapper_WrapperManager.h:213: error: parse =
error before=0A 'jobject'=0Aorg_tanukisoftware_wrapper_WrapperManager.h:214=
: error: parse error before '*' token=0Aorg_tanukisoftware_wrapper_WrapperM=
anager.h:214: warning: data definition has no type or storage class=0Aorg_t=
anukisoftware_wrapper_WrapperManager.h:221: error: parse error before 'jobj=
ect'=0Aorg_tanukisoftware_wrapper_WrapperManager.h:222: error: parse error =
before '*' token=0Aorg_tanukisoftware_wrapper_WrapperManager.h:222: warning=
: data definition has no type or storage class=0Aorg_tanukisoftware_wrapper=
_WrapperManager.h:229: error: parse error before 'jobjectArray'=0Aorg_tanuk=
isoftware_wrapper_WrapperManager.h:230: error: parse error before '*' token=
=0Aorg_tanukisoftware_wrapper_WrapperManager.h:230: warning: data definitio=
n has no type or storage class=0Aorg_tanukisoftware_wrapper_WrapperManager.=
h:237: error: parse error before 'jobject'=0Aorg_tanukisoftware_wrapper_Wra=
pperManager.h:238: error: parse error before '*'=0A token=0Aorg_tanukisoftw=
are_wrapper_WrapperManager.h:238: warning: data definition has no type or s=
torage class=0Awrapperjni_unix.c:88: error: syntax error before 'void'=0Awr=
apperjni_unix.c:89: error: parse error before '*' token=0Awrapperjni_unix.c=
: In function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeInit':=
=0Awrapperjni_unix.c:90: error: 'debugging' undeclared (first use in this f=
unction)=0Awrapperjni_unix.c:90: error: (Each undeclared identifier is repo=
rted only once=0Awrapperjni_unix.c:90: error: for each function it appears =
in.)=0Awrapperjni_unix.c: At top level:=0Awrapperjni_unix.c:112: error: par=
se error before 'jint'=0Awrapperjni_unix.c:113: error: parse error before '=
*' token=0Awrapperjni_unix.c:122: error: syntax error before 'void'=0Awrapp=
erjni_unix.c:123: error: parse error before '*' token=0Awrapperjni_unix.c:1=
39: error: syntax error before 'void'=0Awrapperjni_unix.c:140: error: parse=
error before '*' token=0Awrapperjni_unix.c:153:=0A error: parse error befo=
re 'jobject'=0Awrapperjni_unix.c:154: error: parse error before '*' token=
=0Awrapperjni_unix.c: In function 'Java_org_tanukisoftware_wrapper_WrapperM=
anager_nativeGetUser':=0Awrapperjni_unix.c:155: error: 'jclass' undeclared =
(first use in this function)=0Awrapperjni_unix.c:155: error: parse error be=
fore 'wrapperUserClass'=0Awrapperjni_unix.c:156: error: 'jmethodID' undecla=
red (first use in this function)=0Awrapperjni_unix.c:162: error: 'jbyteArra=
y' undeclared (first use in this function)=0Awrapperjni_unix.c:162: error: =
parse error before 'jUser'=0Awrapperjni_unix.c:166: error: 'jobject' undecl=
ared (first use in this function)=0Awrapperjni_unix.c:171: error: parse err=
or before 'jGroupName'=0Awrapperjni_unix.c:174: error: 'wrapperUserClass' u=
ndeclared (first use in this function)=0Awrapperjni_unix.c:174: error: 'env=
' undeclared (first use in this function)=0Awrapperjni_unix.c:177: error: '=
constructor' undeclared (first use in this=0A function)=0Awrapperjni_unix.c=
:186: error: 'jUser' undeclared (first use in this function)=0Awrapperjni_u=
nix.c:187: error: 'jbyte' undeclared (first use in this function)=0Awrapper=
jni_unix.c:187: error: parse error before ')' token=0Awrapperjni_unix.c:190=
: error: 'jRealName' undeclared (first use in this function)=0Awrapperjni_u=
nix.c:191: error: parse error before ')' token=0Awrapperjni_unix.c:194: err=
or: 'jHome' undeclared (first use in this function)=0Awrapperjni_unix.c:195=
: error: parse error before ')' token=0Awrapperjni_unix.c:198: error: 'jShe=
ll' undeclared (first use in this function)=0Awrapperjni_unix.c:199: error:=
parse error before ')' token=0Awrapperjni_unix.c:202: error: 'wrapperUser'=
undeclared (first use in this function)=0Awrapperjni_unix.c:205: error: 'g=
roups' undeclared (first use in this function)=0Awrapperjni_unix.c:207: err=
or: 'setGroup' undeclared (first use in this function)=0Awrapperjni_unix.c:=
212: error: 'jGroupName' undeclared (first=0A use in this function)=0Awrapp=
erjni_unix.c:213: error: parse error before ')' token=0Awrapperjni_unix.c:2=
21: error: 'addGroup' undeclared (first use in this function)=0Awrapperjni_=
unix.c:240: error: parse error before ')' token=0Awrapperjni_unix.c: At top=
level:=0Awrapperjni_unix.c:261: error: parse error before 'jobject'=0Awrap=
perjni_unix.c:262: error: parse error before '*' token=0Awrapperjni_unix.c:=
In function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeGetInter=
activeUser':=0Awrapperjni_unix.c:268: error: 'env' undeclared (first use in=
this function)=0Awrapperjni_unix.c:268: error: 'clazz' undeclared (first u=
se in this function)=0Awrapperjni_unix.c:268: error: 'groups' undeclared (f=
irst use in this function)=0Awrapperjni_unix.c: At top level:=0Awrapperjni_=
unix.c:280: error: parse error before 'jobjectArray'=0Awrapperjni_unix.c:28=
1: error: parse error before '*' token=0Awrapperjni_unix.c:291: error: pars=
e error before=0A 'jobject'=0Awrapperjni_unix.c:292: error: parse error bef=
ore '*' token=0Amake: 1254-004 The error code from the last command is 1.=
=0AStop.=0A=0ABUILD FAILED=0A/home/gds/tmp/build/java_service_wrapper/wrapp=
er_3.2.3_src/build.xml:576: exec returned: 2=0A=0ATotal time: 5 seconds=0A=
=0A=0A =0A=0AAny ideas on this ?=0A=0AP:S: In one of my earlier posts I als=
o mentioned I was not able to compile a 64-bit version as there is no make =
file for it. How / where can I get it ?=0A=0A=0ASanto=0A=0A=0A=0A=0A=0A =0A=
___________________________________________________________________________=
_________=0ANever miss an email again!=0AYahoo! Toolbar alerts you the inst=
ant new Mail arrives.=0Ahttp://tools.search.yahoo.com/toolbar/features/mail=
/ |
|
From: Hubert F. <hub...@ab...> - 2007-02-06 09:01:35
|
Well, the doc says about the stop() function. <The Wrapper assumes that this method will return fairly quickly So it's probably a bad idea to do a join() in the stop function to wait for other threads to shutdown, because this cannot be "quickly". And it looks like this confuses the regular wrapper shutdown procedure. I can live with that. I will add a comment on the description of "integration method 3" hub >>> "Hubert Felber" <hub...@ab...> 05.02.2007 12:07 >>> Leif, The problem seams to be originated from privilegedStopInner() in WrapperManager.java where only a part of the function is synchronized. The first thread calls it from handleSocket() reaches line 3176 in privilegedStopInner(), calls my stop method, where I do a join. A second thread which is the Wrapper Shutdown Hook enters privilegedStopInner(), and, because first thread already left the synchronized section, produces this side effect. Regards hub >>> "Hubert Felber" <hub...@ab...> 05.02.2007 11:14 >>> Leif, I think I have isolated the code that causes this behaviour: In my stop function, called by Wrapper, I flag the application thread to shutdown and do a join() on that thread to await it's death. Removing this join() makes the behaviour "normal", the log looks fine then. Is this something one should avoid to do? Regards hub >>> "Hubert Felber" <hub...@ab...> 04.02.2007 12:00 >>> Leif, Yes, this happened in console mode after hitting Ctrl-c, but also when running as service (allow to interact with console, display a console). I started and stopped the service with Windows Service Manager and got the same errors. <What is happening in that stop method? Nothing more then telling a thread to exit and wait for that with a join(). <Could you post your WrapperListener implementation? I appended the skeleton and the conf file. Thank you very much for taking a look. btw I noticed something else: Calling WrapperManager.signalStopping(1000); I expected that the value is added to the TimeToWait defined in the conf file. But it seams that it is not added but replaced. This is the new time to wait. And if you call it on Windows with value 1000, it causes a quite immediate exit. Regards Hubert >>> Leif Mortenson <le...@ta...> 02.02.2007 19:45 >>> Hubert, You have gotten into an unexpected state. It looks like you are running in console mode and have invoked the shutdown using CTRL-C. That is triggering the wrapper shutdown process. Your WrapperListener.stop method is being started and completing normally. The problem happens after that. What is happening in that stop method? Is it triggering another thread that may be calling System.exit? The shutdown thread expects to be able to unregister the shutdown hook, but another thread has already initiated the shutdown of the JVM. Could you post your WrapperListener implementation? I am going to need to see it to understand exactly what is going on here. Cheers, Leif Hubert Felber wrote: > Hi, > > I made a skeleton of integration method 3 to play with wrapper. > Shutdown the service gives me curious errors. Could anybody please > take a look at the attached log file and tell me, what's going wrong? > > I get a "Unable to unregister shutdown hook: > java.lang.IllegalStateException: Shutdown in progress > I didn't register one, so it must be one of used by wrapper. > > And a "System.exit appears to have been called from within the > WrapperListener.stop() method", > which I would never do, of course. My stop method is called and I > return 0. > > I'm using the latest trunk wrapper 3.2.4-a, my app ist just a > skeleton wich doesn't do anything but starting a thread which prints > dots on stdout, and is closed properly. There is no difference running > it as console app or as service. > The application exits, but I would like to know what these errors are > and how to avoid them. > > Can anybody help please? > > Thank you > Hubert ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |
|
From: Joe E. <jer...@gm...> - 2007-02-06 07:07:15
|
Hello Leif, The jetty folks posted a new jetty version - 6.1.2pre1. It contains the "Jetty-Service.exe" file which ran jetty as a service flawlessly. Problem solved. :) Thanks for your quick responses. - Joe |
|
From: Hubert F. <hub...@ab...> - 2007-02-05 11:07:42
|
Leif, The problem seams to be originated from privilegedStopInner() in WrapperManager.java where only a part of the function is synchronized. The first thread calls it from handleSocket() reaches line 3176 in privilegedStopInner(), calls my stop method, where I do a join. A second thread which is the Wrapper Shutdown Hook enters privilegedStopInner(), and, because first thread already left the synchronized section, produces this side effect. Regards hub >>> "Hubert Felber" <hub...@ab...> 05.02.2007 11:14 >>> Leif, I think I have isolated the code that causes this behaviour: In my stop function, called by Wrapper, I flag the application thread to shutdown and do a join() on that thread to await it's death. Removing this join() makes the behaviour "normal", the log looks fine then. Is this something one should avoid to do? Regards hub >>> "Hubert Felber" <hub...@ab...> 04.02.2007 12:00 >>> Leif, Yes, this happened in console mode after hitting Ctrl-c, but also when running as service (allow to interact with console, display a console). I started and stopped the service with Windows Service Manager and got the same errors. <What is happening in that stop method? Nothing more then telling a thread to exit and wait for that with a join(). <Could you post your WrapperListener implementation? I appended the skeleton and the conf file. Thank you very much for taking a look. btw I noticed something else: Calling WrapperManager.signalStopping(1000); I expected that the value is added to the TimeToWait defined in the conf file. But it seams that it is not added but replaced. This is the new time to wait. And if you call it on Windows with value 1000, it causes a quite immediate exit. Regards Hubert >>> Leif Mortenson <le...@ta...> 02.02.2007 19:45 >>> Hubert, You have gotten into an unexpected state. It looks like you are running in console mode and have invoked the shutdown using CTRL-C. That is triggering the wrapper shutdown process. Your WrapperListener.stop method is being started and completing normally. The problem happens after that. What is happening in that stop method? Is it triggering another thread that may be calling System.exit? The shutdown thread expects to be able to unregister the shutdown hook, but another thread has already initiated the shutdown of the JVM. Could you post your WrapperListener implementation? I am going to need to see it to understand exactly what is going on here. Cheers, Leif Hubert Felber wrote: > Hi, > > I made a skeleton of integration method 3 to play with wrapper. > Shutdown the service gives me curious errors. Could anybody please > take a look at the attached log file and tell me, what's going wrong? > > I get a "Unable to unregister shutdown hook: > java.lang.IllegalStateException: Shutdown in progress > I didn't register one, so it must be one of used by wrapper. > > And a "System.exit appears to have been called from within the > WrapperListener.stop() method", > which I would never do, of course. My stop method is called and I > return 0. > > I'm using the latest trunk wrapper 3.2.4-a, my app ist just a > skeleton wich doesn't do anything but starting a thread which prints > dots on stdout, and is closed properly. There is no difference running > it as console app or as service. > The application exits, but I would like to know what these errors are > and how to avoid them. > > Can anybody help please? > > Thank you > Hubert ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |
|
From: Hubert F. <hub...@ab...> - 2007-02-05 10:14:56
|
Leif, I think I have isolated the code that causes this behaviour: In my stop function, called by Wrapper, I flag the application thread to shutdown and do a join() on that thread to await it's death. Removing this join() makes the behaviour "normal", the log looks fine then. Is this something one should avoid to do? Regards hub >>> "Hubert Felber" <hub...@ab...> 04.02.2007 12:00 >>> Leif, Yes, this happened in console mode after hitting Ctrl-c, but also when running as service (allow to interact with console, display a console). I started and stopped the service with Windows Service Manager and got the same errors. <What is happening in that stop method? Nothing more then telling a thread to exit and wait for that with a join(). <Could you post your WrapperListener implementation? I appended the skeleton and the conf file. Thank you very much for taking a look. btw I noticed something else: Calling WrapperManager.signalStopping(1000); I expected that the value is added to the TimeToWait defined in the conf file. But it seams that it is not added but replaced. This is the new time to wait. And if you call it on Windows with value 1000, it causes a quite immediate exit. Regards Hubert >>> Leif Mortenson <le...@ta...> 02.02.2007 19:45 >>> Hubert, You have gotten into an unexpected state. It looks like you are running in console mode and have invoked the shutdown using CTRL-C. That is triggering the wrapper shutdown process. Your WrapperListener.stop method is being started and completing normally. The problem happens after that. What is happening in that stop method? Is it triggering another thread that may be calling System.exit? The shutdown thread expects to be able to unregister the shutdown hook, but another thread has already initiated the shutdown of the JVM. Could you post your WrapperListener implementation? I am going to need to see it to understand exactly what is going on here. Cheers, Leif Hubert Felber wrote: > Hi, > > I made a skeleton of integration method 3 to play with wrapper. > Shutdown the service gives me curious errors. Could anybody please > take a look at the attached log file and tell me, what's going wrong? > > I get a "Unable to unregister shutdown hook: > java.lang.IllegalStateException: Shutdown in progress > I didn't register one, so it must be one of used by wrapper. > > And a "System.exit appears to have been called from within the > WrapperListener.stop() method", > which I would never do, of course. My stop method is called and I > return 0. > > I'm using the latest trunk wrapper 3.2.4-a, my app ist just a > skeleton wich doesn't do anything but starting a thread which prints > dots on stdout, and is closed properly. There is no difference running > it as console app or as service. > The application exits, but I would like to know what these errors are > and how to avoid them. > > Can anybody help please? > > Thank you > Hubert ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |
|
From: Santo <san...@ya...> - 2007-02-05 09:36:30
|
I installed the missing libraries on our AIX 5.3 system and tried compiling= the aix 32-bit version again,=0Abut now it's complaining it can't find jni= .h:=0A=0A-bash-3.00$ ./build32.sh=0AWrapper Build System=0A----------------= ----=0ABuildfile: build.xml=0Ainit:msg:=0A*********************************= *************************************=0AAbout to build a 32-bit version of = the Java Service Wrapper 3.2.3.=0AThe OS Name is "aix", resolved from "AIX"= .=0AThe Architecture is "ppc", resolved from "ppc".=0AThe distribution name= will be: wrapper-aix-ppc-32-3.2.3=0A**************************************= ********************************=0Aupdate-info:=0ACopying 1 file to /home/g= ds/tmp/build/java_service_wrapper/wrapper_3.2.3_src/src/java/org/tanukisoft= ware/wrapper=0ACopying 1 file to /home/gds/tmp/build/java_service_wrapper/w= rapper_3.2.3_src/src/c=0Acompile-java-warn:=0A*****************************= *****************************************=0AWARNING=0AThe jar is being buil= t for Java version 1.4. This will not be=0Acompatible with older JVMs.=0A*= *********************************************************************=0Acom= pile-java:=0ACompiling 1 source file to /home/gds/tmp/build/java_service_wr= apper/wrapper_3.2.3_src/build/classes=0AClassArgument.name=3Dorg.tanukisoft= ware.wrapper.WrapperManager=0Acompile-c-unix:=0A if test ! -d .deps;= then mkdir .deps; fi=0A gcc -DAIX -lpthread -lnsl -lm wrapper.c wra= pperinfo.c wrappereventloop.c wrapper_unix.c property.c logger.c -o ../../b= in/wrapper=0A /usr/local/bin/gcc -O -c wrapperjni_unix.c=0AIn file i= ncluded from wrapperjni.h:47,=0A from wrapperjni_unix.c:55:= =0Aorg_tanukisoftware_wrapper_WrapperManager.h:2:17: error: jni.h: No such = file or directory=0AIn file included from wrapperjni.h:47,=0A = from wrapperjni_unix.c:55:=0Aorg_tanukisoftware_wrapper_WrapperManager.h= :157: error: syntax error before 'void'=0Aorg_tanukisoftware_wrapper_Wrappe= rManager.h:158: error: parse error before '*' token=0Aorg_tanukisoftware_wr= apper_WrapperManager.h:158: warning: data definition has no type or storage= class=0Aorg_tanukisoftware_wrapper_WrapperManager.h:165: error: parse erro= r before 'jstring'=0Aorg_tanukisoftware_wrapper_WrapperManager.h:166: error= : parse error before '*' token=0Aorg_tanukisoftware_wrapper_WrapperManager.= h:166: warning: data definition has no type or storage class=0Aorg_tanukiso= ftware_wrapper_WrapperManager.h:173: error: parse error before 'jint'=0Aorg= _tanukisoftware_wrapper_WrapperManager.h:174: error: parse error before '*'= token=0Aorg_tanukisoftware_wrapper_WrapperManager.h:174: warning: data def= inition has no type or storage class=0Aorg_tanukisoftware_wrapper_WrapperMa= nager.h:181: error: parse error before 'jint'=0Aorg_tanukisoftware_wrapper_= WrapperManager.h:182: error: parse error before '*' token=0Aorg_tanukisoftw= are_wrapper_WrapperManager.h:182: warning: data definition has no type or s= torage class=0Aorg_tanukisoftware_wrapper_WrapperManager.h:189: error: synt= ax error before 'void'=0Aorg_tanukisoftware_wrapper_WrapperManager.h:190: e= rror: parse error before '*' token=0Aorg_tanukisoftware_wrapper_WrapperMana= ger.h:190: warning: data definition has no type or storage class=0Aorg_tanu= kisoftware_wrapper_WrapperManager.h:197: error: syntax error before 'void'= =0Aorg_tanukisoftware_wrapper_WrapperManager.h:198: error: parse error befo= re '*' token=0Aorg_tanukisoftware_wrapper_WrapperManager.h:198: warning: da= ta definition has no type or storage class=0Aorg_tanukisoftware_wrapper_Wra= pperManager.h:205: error: syntax error before 'void'=0Aorg_tanukisoftware_w= rapper_WrapperManager.h:206: error: parse error before '*' token=0Aorg_tanu= kisoftware_wrapper_WrapperManager.h:206: warning: data definition has no ty= pe or storage class=0Aorg_tanukisoftware_wrapper_WrapperManager.h:213: erro= r: parse error before 'jobject'=0Aorg_tanukisoftware_wrapper_WrapperManager= .h:214: error: parse error before '*' token=0Aorg_tanukisoftware_wrapper_Wr= apperManager.h:214: warning: data definition has no type or storage class= =0Aorg_tanukisoftware_wrapper_WrapperManager.h:221: error: parse error befo= re 'jobject'=0Aorg_tanukisoftware_wrapper_WrapperManager.h:222: error: pars= e error before '*' token=0Aorg_tanukisoftware_wrapper_WrapperManager.h:222:= warning: data definition has no type or storage class=0Aorg_tanukisoftware= _wrapper_WrapperManager.h:229: error: parse error before 'jobjectArray'=0Ao= rg_tanukisoftware_wrapper_WrapperManager.h:230: error: parse error before '= *' token=0Aorg_tanukisoftware_wrapper_WrapperManager.h:230: warning: data d= efinition has no type or storage class=0Aorg_tanukisoftware_wrapper_Wrapper= Manager.h:237: error: parse error before 'jobject'=0Aorg_tanukisoftware_wra= pper_WrapperManager.h:238: error: parse error before '*' token=0Aorg_tanuki= software_wrapper_WrapperManager.h:238: warning: data definition has no type= or storage class=0Awrapperjni_unix.c:88: error: syntax error before 'void'= =0Awrapperjni_unix.c:89: error: parse error before '*' token=0Awrapperjni_u= nix.c: In function 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeIn= it':=0Awrapperjni_unix.c:90: error: 'debugging' undeclared (first use in th= is function)=0Awrapperjni_unix.c:90: error: (Each undeclared identifier is = reported only once=0Awrapperjni_unix.c:90: error: for each function it appe= ars in.)=0Awrapperjni_unix.c: At top level:=0Awrapperjni_unix.c:112: error:= parse error before 'jint'=0Awrapperjni_unix.c:113: error: parse error befo= re '*' token=0Awrapperjni_unix.c:122: error: syntax error before 'void'=0Aw= rapperjni_unix.c:123: error: parse error before '*' token=0Awrapperjni_unix= .c:139: error: syntax error before 'void'=0Awrapperjni_unix.c:140: error: p= arse error before '*' token=0Awrapperjni_unix.c:153: error: parse error bef= ore 'jobject'=0Awrapperjni_unix.c:154: error: parse error before '*' token= =0Awrapperjni_unix.c: In function 'Java_org_tanukisoftware_wrapper_WrapperM= anager_nativeGetUser':=0Awrapperjni_unix.c:155: error: 'jclass' undeclared = (first use in this function)=0Awrapperjni_unix.c:155: error: parse error be= fore 'wrapperUserClass'=0Awrapperjni_unix.c:156: error: 'jmethodID' undecla= red (first use in this function)=0Awrapperjni_unix.c:162: error: 'jbyteArra= y' undeclared (first use in this function)=0Awrapperjni_unix.c:162: error: = parse error before 'jUser'=0Awrapperjni_unix.c:166: error: 'jobject' undecl= ared (first use in this function)=0Awrapperjni_unix.c:171: error: parse err= or before 'jGroupName'=0Awrapperjni_unix.c:174: error: 'wrapperUserClass' u= ndeclared (first use in this function)=0Awrapperjni_unix.c:174: error: 'env= ' undeclared (first use in this function)=0Awrapperjni_unix.c:177: error: '= constructor' undeclared (first use in this function)=0Awrapperjni_unix.c:18= 6: error: 'jUser' undeclared (first use in this function)=0Awrapperjni_unix= .c:187: error: 'jbyte' undeclared (first use in this function)=0Awrapperjni= _unix.c:187: error: parse error before ')' token=0Awrapperjni_unix.c:190: e= rror: 'jRealName' undeclared (first use in this function)=0Awrapperjni_unix= .c:191: error: parse error before ')' token=0Awrapperjni_unix.c:194: error:= 'jHome' undeclared (first use in this function)=0Awrapperjni_unix.c:195: e= rror: parse error before ')' token=0Awrapperjni_unix.c:198: error: 'jShell'= undeclared (first use in this function)=0Awrapperjni_unix.c:199: error: pa= rse error before ')' token=0Awrapperjni_unix.c:202: error: 'wrapperUser' un= declared (first use in this function)=0Awrapperjni_unix.c:205: error: 'grou= ps' undeclared (first use in this function)=0Awrapperjni_unix.c:207: error:= 'setGroup' undeclared (first use in this function)=0Awrapperjni_unix.c:212= : error: 'jGroupName' undeclared (first use in this function)=0Awrapperjni_= unix.c:213: error: parse error before ')' token=0Awrapperjni_unix.c:221: er= ror: 'addGroup' undeclared (first use in this function)=0Awrapperjni_unix.c= :240: error: parse error before ')' token=0Awrapperjni_unix.c: At top level= :=0Awrapperjni_unix.c:261: error: parse error before 'jobject'=0Awrapperjni= _unix.c:262: error: parse error before '*' token=0Awrapperjni_unix.c: In fu= nction 'Java_org_tanukisoftware_wrapper_WrapperManager_nativeGetInteractive= User':=0Awrapperjni_unix.c:268: error: 'env' undeclared (first use in this = function)=0Awrapperjni_unix.c:268: error: 'clazz' undeclared (first use in = this function)=0Awrapperjni_unix.c:268: error: 'groups' undeclared (first u= se in this function)=0Awrapperjni_unix.c: At top level:=0Awrapperjni_unix.c= :280: error: parse error before 'jobjectArray'=0Awrapperjni_unix.c:281: err= or: parse error before '*' token=0Awrapperjni_unix.c:291: error: parse erro= r before 'jobject'=0Awrapperjni_unix.c:292: error: parse error before '*' t= oken=0Amake: 1254-004 The error code from the last command is 1.=0AStop.=0A= BUILD FAILED=0A/home/gds/tmp/build/java_service_wrapper/wrapper_3.2.3_src/b= uild.xml:576: exec returned: 2=0ATotal time: 5 seconds=0A=0A=0AAny ideas on= this ?=0A=0A=0A----- Original Message ----=0AFrom: First Last <santo_porta= bl...@ya...>=0ATo: wra...@li...=0ASent: Wednesday, = January 31, 2007 11:17:22 AM=0ASubject: Re: [Wrapper-user] updated HP-UX bi= naries=0A=0A=0AHi there,=0A=0AThanks to both of you for all the help so far= .=0AI would be really grateful if you could get this working.=0A=0AAs for t= he aix package(s) I'm trying to build:=0A- I cannot compile it on our aix 5= .1 machine as it doesn't have gcc installed and I'm not allowed to install = it as it will break our Webseal build environment :-(=0A- I'm not able to c= ompile it on our 64-bit aix 5.3 machine, as there is no 64-bit make file fo= r the wrapper.=0A- A 32-bit version for aix 5.3 might be possible, but at t= he moment there are some missing libraries I need to install:=0A compile= -c-unix:=0A if test ! -d .deps; then mkdir .deps; fi=0A gcc -= DAIX -lpthread -lnsl -lm wrapper.c wrapperinfo.c wrappereventloop.c wrapper= _unix.c property.c logger.c -o ../../bin/wrapper=0A collect2: library li= bm not found=0A make: 1254-004 The error code from the last command is 1= .=0A Stop.=0A=0A Unfortunately, I'm not at the office this week to in= sert the required cd's (and they can not be downloaded from the web),=0A = so I'll try to do this next week=0A=0ASanto=0A=0A=0A =0A__________________= __________________________________________________________________=0ADo you= Yahoo!?=0AEveryone is raving about the all-new Yahoo! Mail beta.=0Ahttp://= new.mail.yahoo.com |
|
From: Bashiro<ba...@my...> - 2007-02-04 13:54:35
|
Hello folks, I just want someone to point me a link on how to run wrapper on Mac OS. I am able to run it on windows, linux. But is there any link on how to run wrapper on MAC please ? Thanks a lot Bashiro _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com |
|
From: Hubert F. <hub...@ab...> - 2007-02-04 11:01:22
|
Leif, Yes, this happened in console mode after hitting Ctrl-c, but also when running as service (allow to interact with console, display a console). I started and stopped the service with Windows Service Manager and got the same errors. <What is happening in that stop method? Nothing more then telling a thread to exit and wait for that with a join(). <Could you post your WrapperListener implementation? I appended the skeleton and the conf file. Thank you very much for taking a look. btw I noticed something else: Calling WrapperManager.signalStopping(1000); I expected that the value is added to the TimeToWait defined in the conf file. But it seams that it is not added but replaced. This is the new time to wait. And if you call it on Windows with value 1000, it causes a quite immediate exit. Regards Hubert >>> Leif Mortenson <le...@ta...> 02.02.2007 19:45 >>> Hubert, You have gotten into an unexpected state. It looks like you are running in console mode and have invoked the shutdown using CTRL-C. That is triggering the wrapper shutdown process. Your WrapperListener.stop method is being started and completing normally. The problem happens after that. What is happening in that stop method? Is it triggering another thread that may be calling System.exit? The shutdown thread expects to be able to unregister the shutdown hook, but another thread has already initiated the shutdown of the JVM. Could you post your WrapperListener implementation? I am going to need to see it to understand exactly what is going on here. Cheers, Leif Hubert Felber wrote: > Hi, > > I made a skeleton of integration method 3 to play with wrapper. > Shutdown the service gives me curious errors. Could anybody please > take a look at the attached log file and tell me, what's going wrong? > > I get a "Unable to unregister shutdown hook: > java.lang.IllegalStateException: Shutdown in progress > I didn't register one, so it must be one of used by wrapper. > > And a "System.exit appears to have been called from within the > WrapperListener.stop() method", > which I would never do, of course. My stop method is called and I > return 0. > > I'm using the latest trunk wrapper 3.2.4-a, my app ist just a > skeleton wich doesn't do anything but starting a thread which prints > dots on stdout, and is closed properly. There is no difference running > it as console app or as service. > The application exits, but I would like to know what these errors are > and how to avoid them. > > Can anybody help please? > > Thank you > Hubert ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |
|
From: Leif M. <le...@ta...> - 2007-02-04 04:23:37
|
Joe,
You should probably talk to the Jetty guys about this as it is their
configuration file. Most likely the wrapper.conf file you are using is
meant for a different version of Jetty or something.
As to your problem though. It looks like the Wrapper is attempting
to launch your Jetty server correctly. But it is failing to fine classes
from the wrapper.jar file. Most likely it is not in your classpath.
Add the following line to your wrapper.conf. This will cause the
java command line to show up in the log file. This will make it easy
to tell what is going on as you can see what jars are being found.
wrapper.java.command.loglevel=INFO
I also suggest not trying to run as a service yet. Start by running
in console mode. If that doesn't work then it will not run as a service.
wrapper.exe -c jetty-service.conf
Once you get things working in console mode, then you can move on
to trying it as a service.
Cheers,
Leif
Joe Ersinghaus wrote:
> Hello,
>
> I have been trying to get jetty running as a service using Java
> Service Wrapper and ran into some trouble.
>
> Looking at the "jetty-service.conf" file, I noticed this line:
> "wrapper.java.classpath.1=../lib/win32/*.jar"
>
> But this path doesn't exist much less hold any jar files. I fished
> around through the jetty directory structure and found a couple of
> java files in this path:
> "jetty-6.1.1\extras\win32service\src\main\java\org\mortbay\jetty\win32service".
>
> The files are:
> "JettyServiceWrapperListener.java" and "Win32Service.java"
>
> I built these against:
> jetty-6.1.1.jar
> jetty-util-6.1.1.jar
> start.jar
> wrapper.jar
>
> Then stuck the built jar in the "/lib/win32/" directory to match the
> ".conf" file.
>
> Ran "wrapper.exe -i jetty-service.conf" and then from Windows Services
> - started the jetty service and after a few seconds got an "Error
> 1067: The process terminated unexpectedly."
>
> This is what the jetty.service.log file reveals:
>
> STATUS | wrapper | 2007/02/03 20:21:17 | Jetty6-Service installed.
> STATUS | wrapper | 2007/02/03 20:22:05 | --> Wrapper Started as Service
> STATUS | wrapper | 2007/02/03 20:22:05 | Launching a JVM...
> INFO | jvm 1 | 2007/02/03 20:22:05 |
> java.lang.NoClassDefFoundError:
> org/tanukisoftware/wrapper/WrapperListener
> INFO | jvm 1 | 2007/02/03 20:22:05 | at
> java.lang.ClassLoader.defineClass1(Native Method)
>
<snip>
|
|
From: Joe E. <jer...@gm...> - 2007-02-04 03:48:18
|
Hello, I have been trying to get jetty running as a service using Java Service Wrapper and ran into some trouble. Looking at the "jetty-service.conf" file, I noticed this line: "wrapper.java.classpath.1=../lib/win32/*.jar" But this path doesn't exist much less hold any jar files. I fished around through the jetty directory structure and found a couple of java files in this path: "jetty-6.1.1\extras\win32service\src\main\java\org\mortbay\jetty\win32service". The files are: "JettyServiceWrapperListener.java" and "Win32Service.java" I built these against: jetty-6.1.1.jar jetty-util-6.1.1.jar start.jar wrapper.jar Then stuck the built jar in the "/lib/win32/" directory to match the ".conf" file. Ran "wrapper.exe -i jetty-service.conf" and then from Windows Services - started the jetty service and after a few seconds got an "Error 1067: The process terminated unexpectedly." This is what the jetty.service.log file reveals: STATUS | wrapper | 2007/02/03 20:21:17 | Jetty6-Service installed. STATUS | wrapper | 2007/02/03 20:22:05 | --> Wrapper Started as Service STATUS | wrapper | 2007/02/03 20:22:05 | Launching a JVM... INFO | jvm 1 | 2007/02/03 20:22:05 | java.lang.NoClassDefFoundError: org/tanukisoftware/wrapper/WrapperListener INFO | jvm 1 | 2007/02/03 20:22:05 | at java.lang.ClassLoader.defineClass1(Native Method) INFO | jvm 1 | 2007/02/03 20:22:05 | at java.lang.ClassLoader.defineClass(Unknown Source) INFO | jvm 1 | 2007/02/03 20:22:05 | at java.security.SecureClassLoader.defineClass(Unknown Source) INFO | jvm 1 | 2007/02/03 20:22:05 | at java.net.URLClassLoader.defineClass(Unknown Source) INFO | jvm 1 | 2007/02/03 20:22:05 | at java.net.URLClassLoader.access$100(Unknown Source) INFO | jvm 1 | 2007/02/03 20:22:05 | at java.net.URLClassLoader$1.run(Unknown Source) INFO | jvm 1 | 2007/02/03 20:22:05 | at java.security.AccessController.doPrivileged(Native Method) INFO | jvm 1 | 2007/02/03 20:22:05 | at java.net.URLClassLoader.findClass(Unknown Source) INFO | jvm 1 | 2007/02/03 20:22:05 | at java.lang.ClassLoader.loadClass(Unknown Source) INFO | jvm 1 | 2007/02/03 20:22:05 | at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) INFO | jvm 1 | 2007/02/03 20:22:05 | at java.lang.ClassLoader.loadClass(Unknown Source) INFO | jvm 1 | 2007/02/03 20:22:05 | at java.lang.ClassLoader.loadClassInternal(Unknown Source) INFO | jvm 1 | 2007/02/03 20:22:05 | Exception in thread "main" I tried using java 1.5.0_10 and 1.4.2_13, but either way, same result. If anybody can help me get the correct jar files to drop into the win32 directory or even help me build the necessary jar files, that would be great. Thanks, Joe |
|
From: Leif M. <le...@ta...> - 2007-02-02 18:45:49
|
Hubert, You have gotten into an unexpected state. It looks like you are running in console mode and have invoked the shutdown using CTRL-C. That is triggering the wrapper shutdown process. Your WrapperListener.stop method is being started and completing normally. The problem happens after that. What is happening in that stop method? Is it triggering another thread that may be calling System.exit? The shutdown thread expects to be able to unregister the shutdown hook, but another thread has already initiated the shutdown of the JVM. Could you post your WrapperListener implementation? I am going to need to see it to understand exactly what is going on here. Cheers, Leif Hubert Felber wrote: > Hi, > > I made a skeleton of integration method 3 to play with wrapper. > Shutdown the service gives me curious errors. Could anybody please > take a look at the attached log file and tell me, what's going wrong? > > I get a "Unable to unregister shutdown hook: > java.lang.IllegalStateException: Shutdown in progress > I didn't register one, so it must be one of used by wrapper. > > And a "System.exit appears to have been called from within the > WrapperListener.stop() method", > which I would never do, of course. My stop method is called and I > return 0. > > I'm using the latest trunk wrapper 3.2.4-a, my app ist just a > skeleton wich doesn't do anything but starting a thread which prints > dots on stdout, and is closed properly. There is no difference running > it as console app or as service. > The application exits, but I would like to know what these errors are > and how to avoid them. > > Can anybody help please? > > Thank you > Hubert |
|
From: Hubert F. <hub...@ab...> - 2007-02-02 16:55:13
|
Hi, I made a skeleton of integration method 3 to play with wrapper. Shutdown the service gives me curious errors. Could anybody please take a look at the attached log file and tell me, what's going wrong? I get a "Unable to unregister shutdown hook: java.lang.IllegalStateException: Shutdown in progress I didn't register one, so it must be one of used by wrapper. And a "System.exit appears to have been called from within the WrapperListener.stop() method", which I would never do, of course. My stop method is called and I return 0. I'm using the latest trunk wrapper 3.2.4-a, my app ist just a skeleton wich doesn't do anything but starting a thread which prints dots on stdout, and is closed properly. There is no difference running it as console app or as service. The application exits, but I would like to know what these errors are and how to avoid them. Can anybody help please? Thank you Hubert |
|
From: Santo <san...@ya...> - 2007-02-02 16:01:23
|
Wonderful !=0A=0ASanto=0A=0A=0A----- Original Message ----=0AFrom: Ben Jans= en <bj...@tr...>=0ATo: wra...@li...=0ASent: = Thursday, February 1, 2007 10:47:22 PM=0ASubject: Re: [Wrapper-user] update= d HP-UX binaries=0A=0A=0AHello,=0A=0ANo problem :-)=0A=0AThis is a 32-bit v= ersion for PA-RISC.=0A=0A- Ben=0A=0A-----Original Message-----=0AFrom: wrap= per...@li... on behalf of First Last=0ASent: Thu = 2/1/2007 2:01 AM=0ATo: wra...@li...=0ASubject: Re: [W= rapper-user] updated HP-UX binaries=0A=0ABen,=0A=0AThis is really great, th= ank you very much !=0AOne question though: Is this a 32-bit version or 64-b= it ?=0AI'd like a 32-bit version, but you don't mention this and I can test= it ;-)=0A=0AThanks again.=0A=0A=0ASanto=0A--------------------------------= -----------------------------------------=0AUsing Tomcat but need to do mor= e? Need to support web services, security?=0AGet stuff done quickly with pr= e-integrated technology to make your job easier.=0ADownload IBM WebSphere A= pplication Server v.1.0.1 based on Apache Geronimo=0Ahttp://sel.as-us.falka= g.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642=0A______________= _________________________________=0AWrapper-user mailing list=0AWrapper-use= r...@li...=0Ahttps://lists.sourceforge.net/lists/listinfo/wrap= per-user=0A=0A=0A =0A______________________________________________________= ______________________________=0ADon't get soaked. Take a quick peak at th= e forecast=0Awith the Yahoo! Search weather shortcut.=0Ahttp://tools.search= .yahoo.com/shortcuts/#loc_weather |
|
From: Ben J. <bj...@tr...> - 2007-02-01 21:51:08
|
Hello, No problem :-) This is a 32-bit version for PA-RISC. - Ben -----Original Message----- From: wra...@li... on behalf of First Last Sent: Thu 2/1/2007 2:01 AM To: wra...@li... Subject: Re: [Wrapper-user] updated HP-UX binaries =20 Ben, This is really great, thank you very much ! One question though: Is this a 32-bit version or 64-bit ? I'd like a 32-bit version, but you don't mention this and I can test it = ;-) Thanks again. Santo |