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...> - 2006-03-08 07:24:12
|
Cyrene,
Your main method is correct, but the testfile class is not public.
Change
class testfile {
to
public class testfile{
I was able to reproduce this with a class in the root package as you
are doing, but
it appears to work fine as a public class even if the public token is
omitted when the
class is located in a package... That seems wrong.
If I attempt to run the class from java directly then it works in
both cases... Anyone
know about any documentation where this is described.
Cheers,
Leif
Cyrene Law wrote:
> Hi Leif,
>
> Thanks for your reply.Below is my testfile.java.I jar up the testfile
> and try to learn use Java Service Wrapper.
>
> ======================================
> import java.util.*;
> import java.io.*;
>
>
> class testfile{
> public static void main(String args[]){
> System.out.println("testing test file");
> Calendar cal = new GregorianCalendar();
>
> // Get the components of the date
> int era = cal.get(Calendar.ERA); // 0=BC, 1=AD
> int year = cal.get(Calendar.YEAR); // 2002
> int month = cal.get(Calendar.MONTH); // 0=Jan, 1=Feb, ...
> int day = cal.get(Calendar.DAY_OF_MONTH); // 1...
> int dayOfWeek = cal.get(Calendar.DAY_OF_WEEK); // 1=Sunday, 2=Monday,
>
> try {
> File file = new File("cyrene.txt");
>
> // Create file if it does not exist
> boolean success = file.createNewFile();
> if (success) {
> // File did not exist and was created
> int hour12 = cal.get(Calendar.HOUR); // 0..11
> int hour24 = cal.get(Calendar.HOUR_OF_DAY); // 0..23
> int min = cal.get(Calendar.MINUTE); // 0..59
> int sec = cal.get(Calendar.SECOND); // 0..59
> int ms = cal.get(Calendar.MILLISECOND); // 0..999
> int ampm = cal.get(Calendar.AM_PM); // 0=AM, 1=PM
> String ts=Integer.toString(day)+"/"+Integer.toString(month)+
> "/"+Integer.toString(year)+" "+Integer.toString(hour12)+
> ":"+Integer.toString(min)+":"+Integer.toString(sec);
> Writer output = null;
> try {
> //use buffering
> //FileWriter always assumes default encoding is OK!
> output = new BufferedWriter( new FileWriter(file) );
> output.write( ts );
> }
> finally {
> //flush and close both "output" and its underlying FileWriter
> if (output != null) output.close();
> }
> } else {
> // File already exists
> }
> } catch (IOException e) {
> }
>
>
>
>
> }
> }
> ======================================
>
> I don't know how to use Method 3.So i use method 1.I successfully use
> Method 1 in Windows XP.I really got problem use wrapper in RHEL 4.
> Here i also enclose my wrapper.zip as your reference about my setting.
>
> Yours sincerely,
> Cyrene
>
>
>
>
>
>
> On 3/8/06, *Leif Mortenson* <le...@ta...
> <mailto:le...@ta...>> wrote:
>
> Cyrene,
> It looks like you are setting everything up on the Wrapper side
> correctly. But
> I am guessing that the problem is with your testfile class. Does
> it have a
> public static main method? The error is saying that the class is
> found
> and loaded
> but that the main method could not be found.
>
> Cheers,
> Leif
>
> Cyrene Law wrote:
> > i downloaded the wrapper_linux_3.1.2, i create a jar file named
> > testfile.jar and put it into 'lib' folder which contain wrapper.jar
> > and libwrapper.so.I also make the testfile.jar as execute (chmod +x)
> >
> > Then i copy the sh.script.in <http://sh.script.in>
> <http://sh.script.in <http://sh.script.in>> into the 'bin'
> > folder, and named it as 'testfile' and chmod +x for 'testfile'.I
> only
> > edit the
> > APP_Name="testfile"
> > APP_LONG_NAME="my testfile"
> >
> > Then i copy the ' wrapper.conf.in <http://wrapper.conf.in>
> <http://wrapper.conf.in>' to 'conf'
> > folder and rename it as.I add:
> > wrapper.java.classpath.2=../lib/testfile.jar
> > wrapper.app.parameter=testfile
> >
> > (because my main file is testfile.class)
> >
> > After that,i try to run it:
> > ./testfile console
> >
> > it displays error:
> > WrapperSimpleApp:Encountered an error running main:
> > java.lang.IlegalAccessException: class
> > org.tanukisoftware.wrapper.wrapperSimleApp cannot access a member of
> > class testfile with modifier 'public static'
> >
> > if i edit the 'wrapper.conf ' as below:
> > wrapper.java.mainclass=org.tanukisoftware.wrapper.test.main
> >
> > it displays error:
> > Exception in thread 'main' java
> > .lang.NoClassDefFoundError:org/tanukisoftware/wrapper/test/main
> >
> >
> > What steps are wrong during the process?
> >
> > Can you send me a detail guide and example using java service
> > wrapper?Urgently wanted.My email is cyr...@gm...
> <mailto:cyr...@gm...>
> > <mailto:cyr...@gm... <mailto:cyr...@gm...>>
> >
> > Thank you in advanced.
> >
> >
>
>
|
|
From: Leif M. <le...@ta...> - 2006-03-08 05:52:42
|
Cyrene,
It looks like you are setting everything up on the Wrapper side
correctly. But
I am guessing that the problem is with your testfile class. Does it have a
public static main method? The error is saying that the class is found
and loaded
but that the main method could not be found.
Cheers,
Leif
Cyrene Law wrote:
> i downloaded the wrapper_linux_3.1.2, i create a jar file named
> testfile.jar and put it into 'lib' folder which contain wrapper.jar
> and libwrapper.so.I also make the testfile.jar as execute (chmod +x)
>
> Then i copy the sh.script.in <http://sh.script.in> into the 'bin'
> folder, and named it as 'testfile' and chmod +x for 'testfile'.I only
> edit the
> APP_Name="testfile"
> APP_LONG_NAME="my testfile"
>
> Then i copy the 'wrapper.conf.in <http://wrapper.conf.in>' to 'conf'
> folder and rename it as.I add:
> wrapper.java.classpath.2=../lib/testfile.jar
> wrapper.app.parameter=testfile
>
> (because my main file is testfile.class)
>
> After that,i try to run it:
> ./testfile console
>
> it displays error:
> WrapperSimpleApp:Encountered an error running main:
> java.lang.IlegalAccessException: class
> org.tanukisoftware.wrapper.wrapperSimleApp cannot access a member of
> class testfile with modifier 'public static'
>
> if i edit the 'wrapper.conf' as below:
> wrapper.java.mainclass=org.tanukisoftware.wrapper.test.main
>
> it displays error:
> Exception in thread 'main' java
> .lang.NoClassDefFoundError:org/tanukisoftware/wrapper/test/main
>
>
> What steps are wrong during the process?
>
> Can you send me a detail guide and example using java service
> wrapper?Urgently wanted.My email is cyr...@gm...
> <mailto:cyr...@gm...>
>
> Thank you in advanced.
>
>
|
|
From: <da...@sm...> - 2006-03-08 05:46:02
|
Cyrene, What method of integration are you using, 1 2 or 3. Having a copy of your testfile.java might help identify the problem. Many thanks, David Hayes Quoting Cyrene Law <cyr...@gm...>: > i downloaded the wrapper_linux_3.1.2, i create a jar file named > testfile.jarand put it into 'lib' folder which contain > wrapper.jar and libwrapper.so.I also make the testfile.jar as execute (chmod > +x) > > Then i copy the sh.script.in into the 'bin' folder, and named it as > 'testfile' and chmod +x for 'testfile'.I only edit the > APP_Name="testfile" > APP_LONG_NAME="my testfile" > > Then i copy the 'wrapper.conf.in' to 'conf' folder and rename it as.I add: > wrapper.java.classpath.2=../lib/testfile.jar > wrapper.app.parameter=testfile > > (because my main file is testfile.class) > > After that,i try to run it: > ./testfile console > > it displays error: > WrapperSimpleApp:Encountered an error running main: > java.lang.IlegalAccessException: class > org.tanukisoftware.wrapper.wrapperSimleApp cannot access a member of class > testfile with modifier 'public static' > > if i edit the 'wrapper.conf' as below: > wrapper.java.mainclass=org.tanukisoftware.wrapper.test.main > > it displays error: > Exception in thread 'main' java > .lang.NoClassDefFoundError:org/tanukisoftware/wrapper/test/main > > > What steps are wrong during the process? > > Can you send me a detail guide and example using java service > wrapper?Urgently wanted.My email is cyr...@gm... > > Thank you in advanced. > |
|
From: Leif M. <le...@ta...> - 2006-03-08 02:27:30
|
Shibu,
I would love to support it, but as you have observed... A user got
it working a couple
months ago, but I was not able to get any feedback trying to get the
makefiles set up.
The build for 3.2.0 is set up to support 64 bit builds, but the
Makefiles do not yet work
correctly. I would love any help.
Cheers,
Leif
Shibu Vachery wrote:
> All,
>
> I see from the supported platforms information on the "Java Service
> Wrapper" website that Windows 64-bit is not yet supported.
> Secondly, I have noticed from the archives that Leif does not have
> access to 64-bit Windows machines.
>
> My questions are:
> 1) Leif: Is there any plans to support 64-bit Windows machines ?
> 2) Has anybody else with access to 64-bit machines successfully built
> the wrapper executables ?
>
>
> Thanks,
> Shibu.
|
|
From: Shibu V. <sva...@gm...> - 2006-03-07 19:05:30
|
All, I see from the supported platforms information on the "Java Service Wrapper= " website that Windows 64-bit is not yet supported. Secondly, I have noticed from the archives that Leif does not have access t= o 64-bit Windows machines. My questions are: 1) Leif: Is there any plans to support 64-bit Windows machines ? 2) Has anybody else with access to 64-bit machines successfully built the wrapper executables ? Thanks, Shibu. |
|
From: Leif M. <le...@ta...> - 2006-03-06 14:37:44
|
Yaniv,
Please post questions to the wrapper-user mailing list in the future
rather than
sending them to me directly.
The bin and lib directories are only an example. You can place the
files
wherever you like but you will need to modify the wrapper.conf and bat files
to match your specific directory structure. All paths in the
wrapper.conf are
relative to the location of the wrapper.exe. That location becomes the
current
directory when the wrapper and jvm are launched.
Cheers,
Leif
Yaniv Sharon wrote:
> Hi,
> We are using NetBeans to create our Java project.
> In NetBeans there are no lib and bin folders.
> This is way we are stuck with the process of wrap it as a daemon.
> The instructions ask copy files to the application lib and bin folders:
>
> First we will copy the following files into the JBoss bin directory:
> {WRAPPER_HOME}/bin/wrapper
> {WRAPPER_HOME}/src/bin/sh.script.in
>
> Copy the following two files into the JBoss lib directory:
> {WRAPPER_HOME}/lib/libwrapper.so
> {WRAPPER_HOME}/lib/wrapper.jar
>
> Kindly your help.
> Thanks
> Yaniv
>
>
|
|
From: Christian C. <car...@ap...> - 2006-03-02 08:51:36
|
Hi Leif, My problem seems effectively related to resource limitation. But my PC has 1GB RAM, and the behavior is the same on a 2GB RAM host. I also tried to reduce the JVM max memory amount, by setting the wrapper.java.maxmemory parameter, but nothing changed. With all JVM running, my system memory usage is around 830 MB (which is relatively high). I tried running the processes in console, and this works fine. So the problem really deals with the NT Service execution. When the system refuses to start the 17th JVM, I get no error. The JVM stdout/stderr are redirected to files. These files are empty. I had a look in the system event loggger, and I get an error like "Service did not respond to start command within time". I guess this error is raised because the Wrapper detected a JVM have been killed before (as the time out mentionned value is 30s, and the JVM are killed immediately after being started), and did not acknowledge its startup within time. I'm now having a look on the Apache launcher, as I noticed Tomcat process (also started as a child of one of my NT Services, built with Java Service Wrapper) appears to be detached from the Wrapper process. Cheers Christian > -----Message d'origine----- > De : wra...@li... > [mailto:wra...@li...]De la part de Leif > Mortenson > Envoyé : mercredi 1 mars 2006 19:09 > À : wra...@li... > Objet : Re: [Wrapper-user] Limit on started JVMs under NT Service > > > Christian, > Another user had been running into a similar problem last year. > The Wrapper does not contain anything which should be limiting the number > of JVMs. I have run tests with 32 JVMs, each running under their own > Wrapper > without any problems on an XP Home edition system. I have not > tried it with > child process as you are doing however. > > Are you sure it is not a resource related problem? What is your system > memory > usage? > > Have you tried running all of these applications in console mode rather > than as > services? > > When the system refuses to start a 17th JVM, what is the exact > error you are > getting. > > Are you able to start a 17th JVM from a console? How about without the > wrapper? > > Cheers, > Leif > > Christian Cardinale wrote: > > Hi everyone, > > > > I tried to install several NT services using the Java Service Wrapper. > > Each of these services executes a JAVA program, spanning a couple of > > JVMs (using basically the exec method from Runtime class). > > > > Let say: > > Service NT_SVC1 : A java application, starting 8 children JVMs > > Service NT_SVC2 : A java application, starting 5 children JVMs > > Service NT_SVC3 : A java application, starting 5 children JVMs > > > > > > The problem I encounter is that the system refuses to start more than > > 16 JVMs. The 17th is killed as soon as it has been started > > No matter the Wrapper started first, I'm always getting 16 JVM started. > > > > In my example : starting NT_SVC1, then NT_SVC2, then NT_SVC3, only 3 > > JVMs from NT_SVC3 are started. > > If I kill 1 JVM from NT_SVC1 and I restart NT_SVC3, I notice 1 more > > JVM is started from NT_SVC3. > > > > Is there any limitation in Java Service Wrapper, or in NT services > > that I reached ? > > > > Any help would be appreciated. > > > > Best regards, > > Christian Cardinale > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking > scripting language > that extends applications into web and mobile media. Attend the > live webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > |
|
From: Leif M. <le...@ta...> - 2006-03-01 18:14:28
|
Todd,
The problem that you are seeing is unrelated to Christian's.
Windows sends a USER_LOGGED_OUT event to all processes whenever a
user logs out. The Wrapper protects its JVM from this signal, but the
child JVM
that you launched was not being protected. The default behavior of the
JVM is
to exit when it gets this signal.
You can disable this by adding the -Xrs jvm argument when launching
the JVM.
Do not set this for the JVM controlled by the Wrapper as it will break some
features and is not needed anyway.
A better option may be to launch the second JVM as its own service
under its
own Wrapper. Depending on what you are doing though, this may not make
sense.
Be aware as well. That if the JVM launched by the Wrapper crashes, the
Wrapper will restart it. But the child JVM of the original JVM will
still be left
running. If the restarted JVM also launches a new child, you could run into
problems.
Cheers,
Leif
Todd Wilson wrote:
> This may or may not help, but we encountered an issue related to
> spawning a separate VM that may provide insight.
>
> When our app starts up it spawns a separate Java process for its
> database (resulting in two processes). We spawn the second process
> using the Ant (http://ant.apache.org/) API (which I'd recommend instead
> of using Runtime, by the way). The problem we encountered was that when
> the user that spawned our application logged out of Windows it killed
> the database (second) process; however, the original process stayed
> alive. After experimenting for a bit we finally threw our hands in the
> air and resolved it by launching the database within the same process as
> the main app, so that we only had one process.
>
> If anyone has insight into the issue I'd love to hear it. Otherwise,
> our workaround is working fine.
>
> Kind regards,
>
> Todd Wilson
>
|
|
From: Leif M. <le...@ta...> - 2006-03-01 18:09:05
|
Christian, Another user had been running into a similar problem last year. The Wrapper does not contain anything which should be limiting the number of JVMs. I have run tests with 32 JVMs, each running under their own Wrapper without any problems on an XP Home edition system. I have not tried it with child process as you are doing however. Are you sure it is not a resource related problem? What is your system memory usage? Have you tried running all of these applications in console mode rather than as services? When the system refuses to start a 17th JVM, what is the exact error you are getting. Are you able to start a 17th JVM from a console? How about without the wrapper? Cheers, Leif Christian Cardinale wrote: > Hi everyone, > > I tried to install several NT services using the Java Service Wrapper. > Each of these services executes a JAVA program, spanning a couple of > JVMs (using basically the exec method from Runtime class). > > Let say: > Service NT_SVC1 : A java application, starting 8 children JVMs > Service NT_SVC2 : A java application, starting 5 children JVMs > Service NT_SVC3 : A java application, starting 5 children JVMs > > > The problem I encounter is that the system refuses to start more than > 16 JVMs. The 17th is killed as soon as it has been started > No matter the Wrapper started first, I'm always getting 16 JVM started. > > In my example : starting NT_SVC1, then NT_SVC2, then NT_SVC3, only 3 > JVMs from NT_SVC3 are started. > If I kill 1 JVM from NT_SVC1 and I restart NT_SVC3, I notice 1 more > JVM is started from NT_SVC3. > > Is there any limitation in Java Service Wrapper, or in NT services > that I reached ? > > Any help would be appreciated. > > Best regards, > Christian Cardinale > > |
|
From: Todd W. <to...@sc...> - 2006-03-01 17:53:38
|
This may or may not help, but we encountered an issue related to spawning a separate VM that may provide insight. When our app starts up it spawns a separate Java process for its database (resulting in two processes). We spawn the second process using the Ant (http://ant.apache.org/) API (which I'd recommend instead of using Runtime, by the way). The problem we encountered was that when the user that spawned our application logged out of Windows it killed the database (second) process; however, the original process stayed alive. After experimenting for a bit we finally threw our hands in the air and resolved it by launching the database within the same process as the main app, so that we only had one process. If anyone has insight into the issue I'd love to hear it. Otherwise, our workaround is working fine. Kind regards, Todd Wilson On Wed, 1 Mar 2006 17:45:59 +0100, "Christian Cardinale" <car...@ap...> said: > Hi everyone, > > I tried to install several NT services using the Java Service Wrapper. > Each of these services executes a JAVA program, spanning a couple of JVMs > (using basically the exec method from Runtime class). > > Let say: > Service NT_SVC1 : A java application, starting 8 children JVMs > Service NT_SVC2 : A java application, starting 5 children JVMs > Service NT_SVC3 : A java application, starting 5 children JVMs > > > The problem I encounter is that the system refuses to start more than 16 > JVMs. The 17th is killed as soon as it has been started > No matter the Wrapper started first, I'm always getting 16 JVM started. > > In my example : starting NT_SVC1, then NT_SVC2, then NT_SVC3, only 3 JVMs > from NT_SVC3 are started. > If I kill 1 JVM from NT_SVC1 and I restart NT_SVC3, I notice 1 more JVM > is > started from NT_SVC3. > > Is there any limitation in Java Service Wrapper, or in NT services that I > reached ? > > Any help would be appreciated. > > Best regards, > Christian Cardinale > |
|
From: Christian C. <car...@ap...> - 2006-03-01 17:14:25
|
Hi everyone, I tried to install several NT services using the Java Service Wrapper. Each of these services executes a JAVA program, spanning a couple of JVMs (using basically the exec method from Runtime class). Let say: Service NT_SVC1 : A java application, starting 8 children JVMs Service NT_SVC2 : A java application, starting 5 children JVMs Service NT_SVC3 : A java application, starting 5 children JVMs The problem I encounter is that the system refuses to start more than 16 JVMs. The 17th is killed as soon as it has been started No matter the Wrapper started first, I'm always getting 16 JVM started. In my example : starting NT_SVC1, then NT_SVC2, then NT_SVC3, only 3 JVMs from NT_SVC3 are started. If I kill 1 JVM from NT_SVC1 and I restart NT_SVC3, I notice 1 more JVM is started from NT_SVC3. Is there any limitation in Java Service Wrapper, or in NT services that I reached ? Any help would be appreciated. Best regards, Christian Cardinale |
|
From: Dave H. <DH...@xr...> - 2006-03-01 13:33:08
|
Leif, Yes, I think you got it. I ran this on an Intel iMac and the Test Application works fine. -dh -----Original Message----- From: wra...@li... [mailto:wra...@li...] On Behalf Of Leif Mortenson Sent: Tuesday, February 28, 2006 11:28 AM To: wra...@li... Subject: Re: [Wrapper-user] JWS support for OSX with Intel processor? Dave, Ok. I think I got it all working. But I am not a big mac user so I=20 would appreciate it if you could download the snapshot build and give it a try. It has been=20 tested on other UNIX platforms so if it starts, I don't expect any problems. It was=20 built on a ppc system. http://wrapper.tanukisoftware.org/tmp/3.2.0-e/wrapper-macosx-universal-3 2-3.2.0-e.tar.gz http://wrapper.tanukisoftware.org/tmp/3.2.0-e/wrapper-macosx-ppc-32-3.2. 0-e.tar.gz Cheers, Leif Dave Hoffer wrote: > Leif, > > I do understand regarding the schedule. However I just want to make a > plug for getting this into the next release. > > We are working on moving an existing application using JWS on Windows to > OSX. We thought we were all set (no PowerPC native logic) until I > thought of the JWS piece. Having this in the next release would be > great for us. > > If you cannot, we would have to make the universal binary ourselves if > we use JWS (really want to). Is the source of this available if we have > to go down this route? I have only used the binary usage of JWS. By > the way, is it just a compile issue here or is there some logic changes > required to support the new Intel processor? > > -dh > =20 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=3D= 121642 _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |
|
From: Todd W. <to...@sc...> - 2006-02-28 17:17:27
|
It works! Thanks so much for this, Leif. JSW is an absolute gem! Todd On Tue, 28 Feb 2006 10:16:21 +0900, "Leif Mortenson" <le...@ta...> said: > Todd, > I am trying to get 3.2.0 out the door which fixes this. Please give > this pre-release build > a try and let know if you still have problems. Be sure to upgrade to an > actual release > when it comes out. > http://wrapper.tanukisoftware.org/tmp/3.1.2-d/wrapper-macosx-ppc-32-3.2.0-d.tar.gz > > Cheers, > Leif > > Todd Wilson wrote: > > Hi, > > > > Regarding this thread: > > http://sourceforge.net/mailarchive/message.php?msg_id=12875753, it > > appears as though a resolution was never reached. Does anyone have > > further information on this? We're using the latest JSW library but are > > still seeing that error. If the problem does still exist, is anyone > > aware of a workaround? > > > > Many thanks, > > > > Todd Wilson > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user |
|
From: Leif M. <le...@ta...> - 2006-02-28 16:28:12
|
Dave, Ok. I think I got it all working. But I am not a big mac user so I would appreciate it if you could download the snapshot build and give it a try. It has been tested on other UNIX platforms so if it starts, I don't expect any problems. It was built on a ppc system. http://wrapper.tanukisoftware.org/tmp/3.2.0-e/wrapper-macosx-universal-32-3.2.0-e.tar.gz http://wrapper.tanukisoftware.org/tmp/3.2.0-e/wrapper-macosx-ppc-32-3.2.0-e.tar.gz Cheers, Leif Dave Hoffer wrote: > Leif, > > I do understand regarding the schedule. However I just want to make a > plug for getting this into the next release. > > We are working on moving an existing application using JWS on Windows to > OSX. We thought we were all set (no PowerPC native logic) until I > thought of the JWS piece. Having this in the next release would be > great for us. > > If you cannot, we would have to make the universal binary ourselves if > we use JWS (really want to). Is the source of this available if we have > to go down this route? I have only used the binary usage of JWS. By > the way, is it just a compile issue here or is there some logic changes > required to support the new Intel processor? > > -dh > |
|
From: Dave H. <DH...@xr...> - 2006-02-28 09:55:36
|
Leif,
I do understand regarding the schedule. However I just want to make a
plug for getting this into the next release.
We are working on moving an existing application using JWS on Windows to
OSX. We thought we were all set (no PowerPC native logic) until I
thought of the JWS piece. Having this in the next release would be
great for us.
If you cannot, we would have to make the universal binary ourselves if
we use JWS (really want to). Is the source of this available if we have
to go down this route? I have only used the binary usage of JWS. By
the way, is it just a compile issue here or is there some logic changes
required to support the new Intel processor?
-dh
-----Original Message-----
From: wra...@li...
[mailto:wra...@li...] On Behalf Of Leif
Mortenson
Sent: Monday, February 27, 2006 8:18 PM
To: wra...@li...
Subject: Re: [Wrapper-user] JWS support for OSX with Intel processor?
David,
No, the current OSX library is for powerpc. I am working on=20
creating a universal binary
version however. Although I am not yet sure if that will make it into=20
the 3.2.0 release.
It already quite late.
Cheers,
Leif
David Hoffer wrote:
> Does the existing OSX native library in JWS work with the new Intel
based
> processors? If not, when will universal binaries be available?
> =20
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=3D=
121642
_______________________________________________
Wrapper-user mailing list
Wra...@li...
https://lists.sourceforge.net/lists/listinfo/wrapper-user
|
|
From: Leif M. <le...@ta...> - 2006-02-28 01:18:17
|
David,
No, the current OSX library is for powerpc. I am working on
creating a universal binary
version however. Although I am not yet sure if that will make it into
the 3.2.0 release.
It already quite late.
Cheers,
Leif
David Hoffer wrote:
> Does the existing OSX native library in JWS work with the new Intel based
> processors? If not, when will universal binaries be available?
>
|
|
From: Leif M. <le...@ta...> - 2006-02-28 01:16:32
|
Todd, I am trying to get 3.2.0 out the door which fixes this. Please give this pre-release build a try and let know if you still have problems. Be sure to upgrade to an actual release when it comes out. http://wrapper.tanukisoftware.org/tmp/3.1.2-d/wrapper-macosx-ppc-32-3.2.0-d.tar.gz Cheers, Leif Todd Wilson wrote: > Hi, > > Regarding this thread: > http://sourceforge.net/mailarchive/message.php?msg_id=12875753, it > appears as though a resolution was never reached. Does anyone have > further information on this? We're using the latest JSW library but are > still seeing that error. If the problem does still exist, is anyone > aware of a workaround? > > Many thanks, > > Todd Wilson > |
|
From: Leif M. <le...@ta...> - 2006-02-28 01:13:44
|
Anil, You aren't going to like my answer. Windows places restrictions on what a service is allowed to do. By default, the wrapper runs using a SYSTEM user. This user is fairly powerful within the current machine. But it is not allowed to access network files or printers. It is however, allowed to become interactive and thus access the desktop. http://wrapper.tanukisoftware.org/doc/english/prop-ntservice-interactive.html In order to be able to access the network as a service, you need to configure a specific account to run the service as. That account is set up to be able to access the network devices you want to access before the service is started. http://wrapper.tanukisoftware.org/doc/english/prop-ntservice-account.html http://wrapper.tanukisoftware.org/doc/english/prop-ntservice-password.html Unfortunately, if you have configured a non-SYSTEM account to run the service as, it is no longer possible for your service to interact with the desktop. This means that your service is able to access network drives OR display a GUI, but not both. This is a restriction placed on the service API by the Windows OS. It doesn't make a whole lot of sense why the interactive feature would be disabled. At least not if the logged in user is the same as the service user. I have not yet figured out a way to work around this other than to break out the network or GUI features into a second service and then run them both. Most non-java services seem to handle this by having a service which is installed and always running. Then they register another non-service application to start when a user logs in. This second app creates a tray icon and or displays the GUI while the service does much of the work behind the scenes. If you or anyone else has any other ideas on how to solve this, it would be a great improvement. Also if you have examples of other services where this is possible, it may give me hints on how to get working. As far as I know though, it isn't possible. Cheers, Leif Anil N. Juthani wrote: > Hi, > I am launching an application using the JSW and everything seems to be > working fine. However, once the GUI is launched for my application, when I > use the Java 'file browser' and try to navigate to a folder on the > 'network', I am unable to do so. > If I launch the application from the JSW console, I am able to navigate to > the 'network' drive, but the same through for the application through the > windows nt service, it is unable to point to any network drive. > Suggestion/ solutions would be welcome... > Thanks, > ---- Anil > |
|
From: Anil N. J. <aju...@ho...> - 2006-02-27 23:18:02
|
Hi, I am launching an application using the JSW and everything seems to be working fine. However, once the GUI is launched for my application, when I use the Java 'file browser' and try to navigate to a folder on the 'network', I am unable to do so. If I launch the application from the JSW console, I am able to navigate to the 'network' drive, but the same through for the application through the windows nt service, it is unable to point to any network drive. Suggestion/ solutions would be welcome... Thanks, ---- Anil |
|
From: Todd W. <to...@sc...> - 2006-02-27 20:20:11
|
Hi, Regarding this thread: http://sourceforge.net/mailarchive/message.php?msg_id=12875753, it appears as though a resolution was never reached. Does anyone have further information on this? We're using the latest JSW library but are still seeing that error. If the problem does still exist, is anyone aware of a workaround? Many thanks, Todd Wilson |
|
From: Ajmal A. <ajm...@ya...> - 2006-02-27 10:11:46
|
Hi Max, Just to clarify things, the service does start when any user logs in. It is just the UI that is not being displayed. You can verify this through the Service Wrapper log and the services.msc. Any other ideas? Cheers, Ajmal --- Max Stolyarov <MSt...@li...> wrote: > Ajmal and Leif, > > I had the same issue before, when I worked with > previous versions of the > wrapper, and from what I was able to figure out is > that some of you issue > may actually be account related. I believe that when > your service is > installed and started through the RDC, it is > actually being installed for a > default SYSTEM user and not for you. That's why you > don't see the UI and the > service my not be working for you; when you log in > through RDC windows does > not know that it has to start your service since it > is under a different > user. I might be wrong on some of the details, since > I did this 2 years ago, > and much has change in Wrapper project since then, > but I believe this was > the case then. If you or Leif determine that this is > a different issue, > please let me know, otherwise this is a good place > to start. > > Max > > -----Original Message----- > From: Leif Mortenson > [mailto:le...@ta...] > Sent: Thursday, February 23, 2006 11:54 PM > To: wra...@li... > Subject: Re: [Wrapper-user] Win Server 2003 and GUI > > Ajmal, > Thanks for trying that out. I'll add a comment > on the > wrapper.ntservice.interactive > property's documentation page. > > Cheers, > Leif > > Ajmal Abdool wrote: > > Hi Leif, > > > > I tried the following and still couldnt get the > GUI to > > be displayed via Remote Desktop. > > > > 1. Logged everyone out from the server and then > > connect to the server via RDC. No GUI > > > > 2. Logged out of the server. Connect locally to > the > > Server. The GUI is displayed. I then left the > session > > open and connect via RDC from my PC. Still no GUI. > > > > I think that the issue with Win Server OS is that > > there is no 'default' or 'first' session. Each > time a > > user logs in, a different session is open. We can > have > > the same user logged in multiple times > concurrently > > with the same user name... > > > > I hope that helped. Let me know if you need any > more > > tests carried out... > > > > Cheers, > > > > Ajmal > > > > --- Leif Mortenson <le...@ta...> > wrote: > > > > > >> Ajmal, > >> The machine that I had seen this issue on > before > >> was at a customer > >> and I couldn't play > >> around with it. I would like to document this a > >> little bit however. > >> When you log in with the remote desktop, was > a > >> user logged in > >> locally? It appears > >> that on XP, locally at least, the first user to > log > >> in becomes the > >> interactive desktop that > >> services will connect to. There doesn't appear > to > >> be a way that I could > >> find to provide > >> access to the secondary desktops. I am > wondering > >> if it never works for > >> remote desktops > >> or if it only works if the service is started > when > >> nobody is logged in > >> locally. > >> > >> Cheers, > >> Leif > >> > >> > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a > groundbreaking scripting > language > > that extends applications into web and mobile > media. Attend the live > webcast > > and join the prime developer group breaking into > this new coding > territory! > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > _______________________________________________ > > Wrapper-user mailing list > > Wra...@li... > > > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a > groundbreaking scripting language > that extends applications into web and mobile media. > Attend the live webcast > and join the prime developer group breaking into > this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a > groundbreaking scripting language > that extends applications into web and mobile media. > Attend the live webcast > and join the prime developer group breaking into > this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
|
From: Anat H. <an...@en...> - 2006-02-26 10:58:36
|
Hi Leif, It seems you were right - the window is causing this :-( I'm attaching 2 log files - one is with a hidden window, and one wo GUI. The first shuts down on logout, while the second continues. Leif Mortenson wrote: > Anat, >> The process terminates when I logout, or at least that's how it >> seems. I know the wrapper is not shutting it down, however I thought >> the wrapper is supposed to intercept those signals so that the JVM >> doesn't get them. > The Wrapper is capable of catching and handling many signals, but the JVM > is a separate child process of the Wrapper. If it receives a kill -9, > there is not > anything that can be done about it. At that point, the os is killing > the process > at a very low level. This is true on Windows as well if the user > kills the java > process from the task manager. Processes in both platforms are protected > by user privileges. But if the user has the privilege to kill the > process, it goes > bye bye. >> I think the wrapper wouldn't be able to restart the application for >> other reasons as well, but in any case restarting is not the solution >> for this problem. > I agree, the reason for the restart not working makes sense in your case. > The question is, who is killing the initial java process? >> The original invocation also had a window, but hidden. I am checking >> whether running in service mode, and if so I have the window hidden. >> This is currently easier for me to do than to disentangle the GUI >> code from the application. I plan to separate them, but I hope it >> will not be necessary to do it now. Please let me know if it is... > I wonder if the JVM is creating some hooks into the window manager simply > by allocating the resources for a window, even if that window is not > being > displayed? > > Could you create a simple headless application and try this out on your > machine? I would like to find out if this is being caused by hidden GUI. > so I'd have to disconnect the GUI, or do you have some other solution in mind? > I'll try this out on my home linux machine over the weekend. I only have > access to remote systems today. > > Cheers, > Leif > Thanks, Anat |
|
From: David H. <dh...@mi...> - 2006-02-25 16:19:01
|
Does the existing OSX native library in JWS work with the new Intel based processors? If not, when will universal binaries be available? -dh -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.1.0/269 - Release Date: 2/24/2006 |
|
From: <ta...@uo...> - 2006-02-24 19:07:00
|
Leif,
=20
Thank you very much for your answer. The prerelease you sent me=20
worked allright on the Solaris 10/x86. All I had to do was changing the=20
wrapper binary and the scripts. Cool!
Although I realize I shouldn't use this version AT ALL in my final=20
distribution, I must have my software released by March 3rd... Do you=20
believe release 3.2 will be out till then?
Best regards,
--=20
Thiago de Andrade Moreira Jorge Ara=FAjo
[ta...@uo...]
|
|
From: Max S. <MSt...@li...> - 2006-02-24 15:13:18
|
Ajmal and Leif,
I had the same issue before, when I worked with previous versions of the
wrapper, and from what I was able to figure out is that some of you issue
may actually be account related. I believe that when your service is
installed and started through the RDC, it is actually being installed for a
default SYSTEM user and not for you. That's why you don't see the UI and the
service my not be working for you; when you log in through RDC windows does
not know that it has to start your service since it is under a different
user. I might be wrong on some of the details, since I did this 2 years ago,
and much has change in Wrapper project since then, but I believe this was
the case then. If you or Leif determine that this is a different issue,
please let me know, otherwise this is a good place to start.
Max
-----Original Message-----
From: Leif Mortenson [mailto:le...@ta...]
Sent: Thursday, February 23, 2006 11:54 PM
To: wra...@li...
Subject: Re: [Wrapper-user] Win Server 2003 and GUI
Ajmal,
Thanks for trying that out. I'll add a comment on the
wrapper.ntservice.interactive
property's documentation page.
Cheers,
Leif
Ajmal Abdool wrote:
> Hi Leif,
>
> I tried the following and still couldnt get the GUI to
> be displayed via Remote Desktop.
>
> 1. Logged everyone out from the server and then
> connect to the server via RDC. No GUI
>
> 2. Logged out of the server. Connect locally to the
> Server. The GUI is displayed. I then left the session
> open and connect via RDC from my PC. Still no GUI.
>
> I think that the issue with Win Server OS is that
> there is no 'default' or 'first' session. Each time a
> user logs in, a different session is open. We can have
> the same user logged in multiple times concurrently
> with the same user name...
>
> I hope that helped. Let me know if you need any more
> tests carried out...
>
> Cheers,
>
> Ajmal
>
> --- Leif Mortenson <le...@ta...> wrote:
>
>
>> Ajmal,
>> The machine that I had seen this issue on before
>> was at a customer
>> and I couldn't play
>> around with it. I would like to document this a
>> little bit however.
>> When you log in with the remote desktop, was a
>> user logged in
>> locally? It appears
>> that on XP, locally at least, the first user to log
>> in becomes the
>> interactive desktop that
>> services will connect to. There doesn't appear to
>> be a way that I could
>> find to provide
>> access to the secondary desktops. I am wondering
>> if it never works for
>> remote desktops
>> or if it only works if the service is started when
>> nobody is logged in
>> locally.
>>
>> Cheers,
>> Leif
>>
>>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
> that extends applications into web and mobile media. Attend the live
webcast
> and join the prime developer group breaking into this new coding
territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Wrapper-user mailing list
> Wra...@li...
> https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
>
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wrapper-user mailing list
Wra...@li...
https://lists.sourceforge.net/lists/listinfo/wrapper-user
|