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: Gabriel J. <goj...@ya...> - 2007-07-30 14:56:27
|
Sorry I you already received this email, but I don't know if my email was received or not, since I
've been having problems trying to access the mailing list in sourceforge.
I am developing an application with a GUI (let's call that app, GUI-APP) that will launch other
Java applications (called DataCapture) on a Tablet PC running Microsoft Windows XP Tablet PC
Edition 2005, Service Pack 2. This application was installed as a Windows Service using the Java
Service Wrapper
The DataCapture applications was developed using AWT, and if it is run as a single applications,
with a batch file invoking the java command (i.e: java -classpath=D:\example\Hello.jar Hello)
there are no problems with the InputPanel, I can use every option.
But if the Application is called from the GUI-APP, the Input Panel starts to fail. I am using a
Exec procedure to call the application batch script, or on other tests, i decided to call the Main
method of the main class of the DataCapture application.
I tested to execute the GUI-APP application as a stand alone application, and it runs ok, no
problem with the Input Panel. The problem arises when this GUI-APP is executed as a service with
the Java Service Wrapper.
Anyone had a similar problem to that? or perhaps know what I can be doing wrong?
Thanks,
Gabriel Jurado - gojurado@ya...
____________________________________________________________________________________
¡Sé un mejor besador!
Compartí todo lo que sabés sobre besos.
http://ar.yahoo.com/promos/mejorbesador.html
|
|
From: Kit P. <kit...@gm...> - 2007-07-28 20:06:08
|
I'm having a problem with getting the classloader's config file to the classloader's Launcher. here's the output of the wrapper: wrapper | --> Wrapper Started as Console wrapper | Launching a JVM... jvm 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved. jvm 1 | jvm 1 | jvm 1 | WrapperSimpleApp: Encountered an error running main: java.io.FileNotFoundException: "/home/tsb/deploy/conf/servicemix.conf" (No such file or directory) jvm 1 | java.io.FileNotFoundException: "/home/tsb/deploy/conf/servicemix.conf" (No such file or directory) jvm 1 | at java.io.FileInputStream.open(Native Method) jvm 1 | at java.io.FileInputStream.<init>(FileInputStream.java:106) jvm 1 | at java.io.FileInputStream.<init>(FileInputStream.java:66) jvm 1 | at org.codehaus.classworlds.Launcher.main(Launcher.java:435) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) jvm 1 | at java.lang.reflect.Method.invoke(Method.java:597) jvm 1 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run( WrapperSimpleApp.java:240) jvm 1 | at java.lang.Thread.run(Thread.java:619) wrapper | <-- Wrapper Stopped And, here's the config: <snip> wrapper.java.command=java # Java Main class. This class must implement the WrapperListener interface # or guarantee that the WrapperManager class is initialized. Helper # classes are provided to do this for you. See the Integration section # of the documentation for details. wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp wrapper.app.parameter.1=org.codehaus.classworlds.Launcher # Java Classpath (include wrapper.jar) Add class path elements as # needed starting from 1 wrapper.java.classpath.1=../lib/wrapper.jar wrapper.java.classpath.2=../lib/classworlds-1.0.1.jar wrapper.java.classpath.3=../. wrapper.java.classpath.4=../conf # Java Library Path (location of Wrapper.DLL or libwrapper.so) wrapper.java.library.path.1=../lib # Java Additional Parameters #wrapper.java.additional.1= #wrapper.java.additional.1=-Dderby.system.home="var" #wrapper.java.additional.2=-Dderby.storage.fileSyncTransactionLog=true wrapper.java.additional.1=-Dcom.sun.management.jmxremote wrapper.java.additional.2=-Dclassworlds.conf="/home/tsb/deploy/conf/servicemix.conf" wrapper.java.additional.3=-Dservicemix.home="." </snip> I'm running the thing from the deploy/ subdir - but, I don't think this is a classpath issue, and the Launcher is looking for file path. Any ideas? Anything obvious? TIA, Kit |
|
From: Leif M. <le...@ta...> - 2007-07-27 16:02:50
|
Freddy, There are a few ways to do this. 1) Make use of the WrapperManager.requestThreadDump() method. This of course requires a hook into your application. 2) Make use of the WrapperActionServer class. You have to add some code to initialize this class, but other than that it is quite simple. You can then initiate a thread dump or perform other functions via telnet. 3) Use the command file feature to invoke the thread dump: http://wrapper.tanukisoftware.org/doc/english/prop-commandfile.html Please note that there is currently a problem in current versions where the Wrapper can not invoke a thread dump unless a console window exists for the service. This has been fixed for the upcoming 3.2.0 release. To work around this in the current version you must either add a console with the wrapper.ntservice.console=true property http://wrapper.tanukisoftware.org/doc/english/prop-ntservice-console.html Or tell the wrapper to execute thread dumps if a shutdown failure occurs: wrapper.request_thread_dump_on_failed_jvm_exit=true http://wrapper.tanukisoftware.org/doc/english/prop-request-thread-dump-on-failed-jvm-exit.html Cheers, Leif Freddy Andersen wrote: > I'm running this on windows XP for now and I'm trying to figure out > how I can get a thread-dump from the running wrapper (JBoss 4.0.2) > > I don't want to run this in a console window but as a service. When > the server has issues I would like to send a signal to the jvm and get > a thread-dump, is this not possible? > > Here is my config: (snip) |
|
From: Freddy A. <fr...@cf...> - 2007-07-26 21:09:03
|
I'm running this on windows XP for now and I'm trying to figure out how I can get a thread-dump from the running wrapper (JBoss 4.0.2) I don't want to run this in a console window but as a service. When the server has issues I would like to send a signal to the jvm and get a thread-dump, is this not possible? Here is my config: #******************************************************************** # Wrapper Properties #******************************************************************** wrapper.java.command=%JAVA_HOME%/bin/java wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp wrapper.java.classpath.1=%JAVA_HOME%/lib/tools.jar wrapper.java.classpath.2=../bin/run.jar wrapper.java.classpath.3=../lib/wrapper.jar wrapper.java.library.path.1=%JBOSS_HOME%/lib # Application parameters. Add parameters as needed starting from 1 wrapper.app.parameter.1=org.jboss.Main wrapper.app.parameter.2=-c wrapper.app.parameter.3=minimal # Initial Java Heap Size (in MB) wrapper.java.initmemory=1024 # Maximum Java Heap Size (in MB) wrapper.java.maxmemory=1024 wrapper.java.additional.1=-Dprogram.name=run.bat wrapper.java.additional.2=-Xss128k wrapper.java.additional.3=-XX:MaxPermSize=128m # Port which the native wrapper code will attempt to connect to wrapper.port=1777 #******************************************************************** # Wrapper Logging Properties #******************************************************************** wrapper.console.format=PM wrapper.console.loglevel=STATUS wrapper.logfile=logs/wrapper.log wrapper.logfile.format=LPTM wrapper.logfile.loglevel=STATUS # Maximum size that the log file will be allowed to grow to before # the log is rolled. Size is specified in bytes. The default value # of 0, disables log rolling. May abbreviate with the 'k' (kb) or # 'm' (mb) suffix. For example: 10m = 10 megabytes. wrapper.logfile.maxsize=1m # Maximum number of rolled log files which will be allowed before old # files are deleted. The default value of 0 implies no limit. wrapper.logfile.maxfiles=5 # Log Level for sys/event log output. (See docs for log levels) wrapper.syslog.loglevel=NONE #******************************************************************** # Wrapper NT Service parameters #******************************************************************** # Title to use when running as a console wrapper.console.title= JBoss Application Server 4.0.2 wrapper.ntservice.name=JBoss wrapper.ntservice.displayname=JBoss Application Server 4.0.2 wrapper.ntservice.description=JBoss Application Server 4.0.2 wrapper.ntservice.dependency.1= wrapper.ntservice.starttype=AUTO_START wrapper.ntservice.interactive=false |
|
From: Gabriel J. <goj...@ya...> - 2007-07-24 18:22:18
|
I am developing an application with a GUI (let's call that app, GUI-APP) that will launch other
Java applications (called DataCapture) on a Tablet PC running Microsoft Windows XP Tablet PC
Edition 2005, Service Pack 2. This application was installed as a Windows Service using the Java
Service Wrapper
The DataCapture applications was developed using AWT, and if it is run as a single applications,
with a batch file invoking the java command (i.e: java -classpath=D:\example\Hello.jar Hello)
there are no problems with the InputPanel, I can use every option.
But if the Application is called from the GUI-APP, the Input Panel starts to fail. I am using a
Exec procedure to call the application batch script, or on other tests, i decided to call the Main
method of the main class of the DataCapture application.
I tested to execute the GUI-APP application as a stand alone application, and it runs ok, no
problem with the Input Panel. The problem arises when this GUI-APP is executed as a service with
the Java Service Wrapper.
Anyone had a similar problem to that? or perhaps know what I can be doing wrong?
Thanks,
Gabriel Jurado - goj...@ya...
____________________________________________________________________________________
Los referentes más importantes en compra/venta de autos se juntaron: Demotores y Yahoo!
Ahora comprar o vender tu auto es más fácil. ¡Probalo!
http://ar.autos.yahoo.com/
|
|
From: Leif M. <le...@ta...> - 2007-07-23 22:53:53
|
John, Can you add the wrapper.debug=true property and then post the wrapper.log file for the second "start" case? Cheers, Leif John Quigley wrote: > Hey Folks: > > I'm having some difficulty debugging a problem I'm seeing when daemonizing my application with the wrapper. I'm hoping that someone more knowledgeable in these things may be able to point me in the right direction, or bring any errors of mine to light. Thanks in advance for your consideration. Here are the details. > > I've implemented a 'Daemonizer' class that my Application must extend: > > http://pastebin.com/m54ac98cd > > Here's a test class: > > http://pastebin.com/m520ea3e4 > > On a 'CentOS release 5 (Final)' machine, when I run the DaemonizerTest: > > "$WRAPPER_CMD" "$WRAPPER_CONF" wrapper.syslog.ident=$APP_NAME wrapper.pidfile="$PIDFILE" > > (this is actually run using the wrapper init.d script specifying the 'console' run mode) > > Everything works correctly, and when I send a SIGINT via the keyboard, or a SIGTERM via kill(1), the Daemonizer.shutdown() hook is properly called. However, when I run the application as a daemon, such as: > > "$WRAPPER_CMD" "$WRAPPER_CONF" wrapper.syslog.ident=$APP_NAME wrapper.pidfile="$PIDFILE" wrapper.daemonize=TRUE > > (this is actually run using the wrapper init.d script specifying the 'start' run mode) > > And subsequently send a SIGTERM via kill(1), the shutdown() method is not called. I've tried various things to debug this, but am still left scratching my head. > > What am I doing wrong? > > Thanks so much. > > - John Quigley > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |
|
From: John Q. <jqu...@jq...> - 2007-07-23 20:34:53
|
Hey Folks: I'm having some difficulty debugging a problem I'm seeing when daemonizing my application with the wrapper. I'm hoping that someone more knowledgeable in these things may be able to point me in the right direction, or bring any errors of mine to light. Thanks in advance for your consideration. Here are the details. I've implemented a 'Daemonizer' class that my Application must extend: http://pastebin.com/m54ac98cd Here's a test class: http://pastebin.com/m520ea3e4 On a 'CentOS release 5 (Final)' machine, when I run the DaemonizerTest: "$WRAPPER_CMD" "$WRAPPER_CONF" wrapper.syslog.ident=$APP_NAME wrapper.pidfile="$PIDFILE" (this is actually run using the wrapper init.d script specifying the 'console' run mode) Everything works correctly, and when I send a SIGINT via the keyboard, or a SIGTERM via kill(1), the Daemonizer.shutdown() hook is properly called. However, when I run the application as a daemon, such as: "$WRAPPER_CMD" "$WRAPPER_CONF" wrapper.syslog.ident=$APP_NAME wrapper.pidfile="$PIDFILE" wrapper.daemonize=TRUE (this is actually run using the wrapper init.d script specifying the 'start' run mode) And subsequently send a SIGTERM via kill(1), the shutdown() method is not called. I've tried various things to debug this, but am still left scratching my head. What am I doing wrong? Thanks so much. - John Quigley |
|
From: Leif M. <le...@ta...> - 2007-07-23 07:15:45
|
Ram,
In the current version, the only way to do this is to call the
following method:
WrapperManager.log(WrapperManager.WRAPPER_LOG_LEVEL_STATUS, "Hello");
Note however, that messages sent in this way reach the Wrapper
process using the backend socket. Output that is sent to the
console in all captured using a pipe of the console. Because of this
difference, If you print A to the console, B using the above method
and C to the console again, you may end up with the output out of
order.
A
B
C
or
C
A
B
I have on my todo list a better fix for this. But it has not yet
been implemented.
If you let me know exactly what you are trying to do, I may
have a better suggestion.
Cheers,
Leif
Ram Nov wrote:
> I will appreciate if some can supply an example for the following:
> I have an application that is combination of Java and C++,
> How can C++ application write log messages to the console that will
> get STATUS log level?
> All the lines printed with "cout <<" receive INFO level automatically
> Thanks
|
|
From: Ram N. <ra...@gm...> - 2007-07-23 05:46:12
|
I will appreciate if some can supply an example for the following: I have an application that is combination of Java and C++, How can C++ application write log messages to the console that will get STATUS log level? All the lines printed with "cout <<" receive INFO level automatically Thanks |
|
From: Leif M. <le...@ta...> - 2007-07-23 02:32:57
|
John,
Can you post your wrapper.conf file so I can get a better idea
of what you are doing?
Cheers,
Leif
John Chandler wrote:
> Leif Mortenson writes:
> > John,
> > That message is most likely coming from the Service Manager so it
> > will not be an issue with the Wrapper configuration. You can confirm
> > this by checking your wrapper.log file and making sure that it does
> > not contain any output from the service attempting to be run.
> > Also check for a wrapper.log file under the windows and
> > windows\system32 directories.
>
> This confirms what I thought. No wrapper.log file under windows, and
> no entries from the server trying to start. When I invoke the wrapper
> with the "-t" switch, I get log-like output on the screen though:
>
> wrapper | Starting the Test Service service...
> wrapper | Unable to start the service - Access is denied. (0x5)
>
> > As Hubert said, it could be a problem with your security policy.
> >
> > From your response, you are not setting an account run as. correct?
> > That would mean that you are running as the SYSTEM account.
>
> Correct. This is a simple laptop with no domain hoohah that *I* am
> aware of, so from the doc, it appears the syntax for that would be
>
> wrapper.ntservice.account=.\theaccountname
>
> with no quotation marks. I set it that way (using the account I've
> been logged in as), tried the start, and got a logon failure. Then I
> removed the dot, and got a different error, which maybe you can
> interpret:
>
> Error 1068: The dependency service or group failed to start
>
> No entry was made in the wrapper log. Since I didn't get a logon
> failure, I infer that the account name is set to something that can be
> logged on with. Any idea if/where there might be a log with more
> detail about what the problem with the "dependency service or group"
> might have been? I looked in WINDOWS and WINDOWS\sytem32, and nothing
> with a recent time on it seemed to have any info about this in it.
>
> By the way, when I use the "-r" switch, to remove a service, it
> becomes "flagged for deletion" but not really removed, so that the
> same service can't be re-installed. A reboot causes the removal to
> take effect, but also destroys all of my development context, so I'm
> wondering if there is a way to get the old version of the service out
> of the way without rebooting. Currently I'm making minor changes to
> the service name, which lets me do another install, but that seems
> kind of hokey.
>
> > Where do you have your wrapper.exe? Is it possible that there are
> > some security restrictions set on the directory that would be
> > preventing the SYSTEM user from accessing the wrapper binary.
> > I have had problems from users in the past before that turned out
> > to be this sort of thing.
>
> I suppose it's possible, but I put everything (conf, bin, log...) in a
> directory that I created with the same account I'm using when I pull
> up the Services panel. Is there a way to verify that all perms are
> granted? Or just set them to maximum permissiveness?
>
> Thanks.
>
> -jmc
>
> > Cheers,
> > Leif
> >
> > John Chandler wrote:
> > > On Windows XP, I've configured a wrapper.conf file such that I can
> > > start my app from a command window and it runs with no problem. I run
> > > the install script, and the app appears to have been installed as a
> > > service. It's configured to start up automatically, and no complaints
> > > appear anywhere, until I try to Start this service. Then I get the
> > > message,
> > >
> > > "Could not start the <MyApp> service on Local Computer./ Error 5:
> > > Access is denied."
> > >
> > > Essentially the same message appears when I use "net start". If I
> > > look at the Properties of the service, and copy the command to a
> > > Command window, the expected thing happens if I leave the "-s" in
> > > place, but if I change to a "-t" I again get "Access is denied" but
> > > this comes from the Wrapper logger. If I change the flag to "-c",
> > > everything appears to work fine.
> > >
> > > I don't know how to get either the Wrapper or Windows (which is where
> > > I suspect the problem lies, but I can't be sure) to be any more
> > > expansive as to what resource I'm being denied access to. Does anyone
> > > have any clues or suggestions?
> > >
> > > Thanks.
> > >
> > > -jmc
> > >
|
|
From: Hubert F. <hub...@ab...> - 2007-07-22 20:45:30
|
Before playing with user accounts, did you try the configuration on the following link? http://wrapper.tanukisoftware.org/doc/english/props-example-config.html Follow the advise and replace the necessary items. Keep in mind, the all directories are relative to the location of wrapper.exe. Your service will then run with localsystem account, the account a service should use, if possible. If this works, try to modify the config until it fits your needs. Read the wrapper docs to check the difference between a service running with localSystem account and a service running with a regular user account. hth Hubert >>> John Chandler <jm...@mu...> 20.07.2007 18:02 >>> Thanks, I hadn't added the "part of operating system" right. Since this machine is behind a firewall, on a private network, I added "Everyone" *and* several other users individually. Unfortunately, "Start" still fails. When you ask which account I use, I just use my normal login account to do the Start. Is there something else I should be doing? Is there something in the conf file that sets an account (I don't see anything like this)? On the question of what the service does this is a test service, and it doesn't do much -- it checks the last-modified time of a file and *may* invoke COMMAND to do a copy -- but when started as a service, it doesn't even appear to be able to write an entry in its log. If I attempt to add the service again, not using the install script, just "wrapper.exe -i <conf-file>", with "c:\" as the working directory, I do get a log entry about the service already being installed. -jmc Hubert Felber writes: > What account do you use for the service to run? > Does it run with "localSystem" account? If not, then .... > > Start the Local Security Settings console from the Administrative Tools group. > 2. Navigate to User Rights Assignments under Local Policies. > 3. Verify that the Service account has explicitly been given the following rights: > * Log on as a service > * Act as part of the operating system > > Depending on what your service does it might be necessary to assign more rights. > > > > >>> John Chandler <jm...@mu...> 19.07.2007 22:08 >>> > On Windows XP, I've configured a wrapper.conf file such that I can > start my app from a command window and it runs with no problem. I run > the install script, and the app appears to have been installed as a > service. It's configured to start up automatically, and no complaints > appear anywhere, until I try to Start this service. Then I get the > message, > > "Could not start the <MyApp> service on Local Computer./ Error 5: > Access is denied." > > Essentially the same message appears when I use "net start". If I > look at the Properties of the service, and copy the command to a > Command window, the expected thing happens if I leave the "-s" in > place, but if I change to a "-t" I again get "Access is denied" but > this comes from the Wrapper logger. If I change the flag to "-c", > everything appears to work fine. > > I don't know how to get either the Wrapper or Windows (which is where > I suspect the problem lies, but I can't be sure) to be any more > expansive as to what resource I'm being denied access to. Does anyone > have any clues or suggestions? > > Thanks. > > -jmc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |
|
From: John C. <jm...@mu...> - 2007-07-20 18:12:06
|
Leif Mortenson writes: > John, > That message is most likely coming from the Service Manager so it > will not be an issue with the Wrapper configuration. You can confirm > this by checking your wrapper.log file and making sure that it does > not contain any output from the service attempting to be run. > Also check for a wrapper.log file under the windows and > windows\system32 directories. This confirms what I thought. No wrapper.log file under windows, and no entries from the server trying to start. When I invoke the wrapper with the "-t" switch, I get log-like output on the screen though: wrapper | Starting the Test Service service... wrapper | Unable to start the service - Access is denied. (0x5) > As Hubert said, it could be a problem with your security policy. > > From your response, you are not setting an account run as. correct? > That would mean that you are running as the SYSTEM account. Correct. This is a simple laptop with no domain hoohah that *I* am aware of, so from the doc, it appears the syntax for that would be wrapper.ntservice.account=.\theaccountname with no quotation marks. I set it that way (using the account I've been logged in as), tried the start, and got a logon failure. Then I removed the dot, and got a different error, which maybe you can interpret: Error 1068: The dependency service or group failed to start No entry was made in the wrapper log. Since I didn't get a logon failure, I infer that the account name is set to something that can be logged on with. Any idea if/where there might be a log with more detail about what the problem with the "dependency service or group" might have been? I looked in WINDOWS and WINDOWS\sytem32, and nothing with a recent time on it seemed to have any info about this in it. By the way, when I use the "-r" switch, to remove a service, it becomes "flagged for deletion" but not really removed, so that the same service can't be re-installed. A reboot causes the removal to take effect, but also destroys all of my development context, so I'm wondering if there is a way to get the old version of the service out of the way without rebooting. Currently I'm making minor changes to the service name, which lets me do another install, but that seems kind of hokey. > Where do you have your wrapper.exe? Is it possible that there are > some security restrictions set on the directory that would be > preventing the SYSTEM user from accessing the wrapper binary. > I have had problems from users in the past before that turned out > to be this sort of thing. I suppose it's possible, but I put everything (conf, bin, log...) in a directory that I created with the same account I'm using when I pull up the Services panel. Is there a way to verify that all perms are granted? Or just set them to maximum permissiveness? Thanks. -jmc > Cheers, > Leif > > John Chandler wrote: > > On Windows XP, I've configured a wrapper.conf file such that I can > > start my app from a command window and it runs with no problem. I run > > the install script, and the app appears to have been installed as a > > service. It's configured to start up automatically, and no complaints > > appear anywhere, until I try to Start this service. Then I get the > > message, > > > > "Could not start the <MyApp> service on Local Computer./ Error 5: > > Access is denied." > > > > Essentially the same message appears when I use "net start". If I > > look at the Properties of the service, and copy the command to a > > Command window, the expected thing happens if I leave the "-s" in > > place, but if I change to a "-t" I again get "Access is denied" but > > this comes from the Wrapper logger. If I change the flag to "-c", > > everything appears to work fine. > > > > I don't know how to get either the Wrapper or Windows (which is where > > I suspect the problem lies, but I can't be sure) to be any more > > expansive as to what resource I'm being denied access to. Does anyone > > have any clues or suggestions? > > > > Thanks. > > > > -jmc > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Wrapper-user mailing list > > Wra...@li... > > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > |
|
From: Leif M. <le...@ta...> - 2007-07-20 16:10:32
|
John, That message is most likely coming from the Service Manager so it will not be an issue with the Wrapper configuration. You can confirm this by checking your wrapper.log file and making sure that it does not contain any output from the service attempting to be run. Also check for a wrapper.log file under the windows and windows\system32 directories. As Hubert said, it could be a problem with your security policy. From your response, you are not setting an account run as. correct? That would mean that you are running as the SYSTEM account. Where do you have your wrapper.exe? Is it possible that there are some security restrictions set on the directory that would be preventing the SYSTEM user from accessing the wrapper binary. I have had problems from users in the past before that turned out to be this sort of thing. Cheers, Leif John Chandler wrote: > On Windows XP, I've configured a wrapper.conf file such that I can > start my app from a command window and it runs with no problem. I run > the install script, and the app appears to have been installed as a > service. It's configured to start up automatically, and no complaints > appear anywhere, until I try to Start this service. Then I get the > message, > > "Could not start the <MyApp> service on Local Computer./ Error 5: > Access is denied." > > Essentially the same message appears when I use "net start". If I > look at the Properties of the service, and copy the command to a > Command window, the expected thing happens if I leave the "-s" in > place, but if I change to a "-t" I again get "Access is denied" but > this comes from the Wrapper logger. If I change the flag to "-c", > everything appears to work fine. > > I don't know how to get either the Wrapper or Windows (which is where > I suspect the problem lies, but I can't be sure) to be any more > expansive as to what resource I'm being denied access to. Does anyone > have any clues or suggestions? > > Thanks. > > -jmc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |
|
From: John C. <jm...@mu...> - 2007-07-20 16:02:27
|
Thanks, I hadn't added the "part of operating system" right. Since this machine is behind a firewall, on a private network, I added "Everyone" *and* several other users individually. Unfortunately, "Start" still fails. When you ask which account I use, I just use my normal login account to do the Start. Is there something else I should be doing? Is there something in the conf file that sets an account (I don't see anything like this)? On the question of what the service does this is a test service, and it doesn't do much -- it checks the last-modified time of a file and *may* invoke COMMAND to do a copy -- but when started as a service, it doesn't even appear to be able to write an entry in its log. If I attempt to add the service again, not using the install script, just "wrapper.exe -i <conf-file>", with "c:\" as the working directory, I do get a log entry about the service already being installed. -jmc Hubert Felber writes: > What account do you use for the service to run? > Does it run with "localSystem" account? If not, then .... > > Start the Local Security Settings console from the Administrative Tools group. > 2. Navigate to User Rights Assignments under Local Policies. > 3. Verify that the Service account has explicitly been given the following rights: > * Log on as a service > * Act as part of the operating system > > Depending on what your service does it might be necessary to assign more rights. > > > > >>> John Chandler <jm...@mu...> 19.07.2007 22:08 >>> > On Windows XP, I've configured a wrapper.conf file such that I can > start my app from a command window and it runs with no problem. I run > the install script, and the app appears to have been installed as a > service. It's configured to start up automatically, and no complaints > appear anywhere, until I try to Start this service. Then I get the > message, > > "Could not start the <MyApp> service on Local Computer./ Error 5: > Access is denied." > > Essentially the same message appears when I use "net start". If I > look at the Properties of the service, and copy the command to a > Command window, the expected thing happens if I leave the "-s" in > place, but if I change to a "-t" I again get "Access is denied" but > this comes from the Wrapper logger. If I change the flag to "-c", > everything appears to work fine. > > I don't know how to get either the Wrapper or Windows (which is where > I suspect the problem lies, but I can't be sure) to be any more > expansive as to what resource I'm being denied access to. Does anyone > have any clues or suggestions? > > Thanks. > > -jmc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > |
|
From: Hubert F. <hub...@ab...> - 2007-07-20 07:10:44
|
What account do you use for the service to run?=20 Does it run with "localSystem" account? If not, then .... Start the Local Security Settings console from the Administrative Tools = group. 2. Navigate to User Rights Assignments under Local Policies. 3. Verify that the Service account has explicitly been given the = following rights: * Log on as a service * Act as part of the operating system Depending on what your service does it might be necessary to assign more = rights. >>> John Chandler <jm...@mu...> 19.07.2007 22:08 >>> On Windows XP, I've configured a wrapper.conf file such that I can start my app from a command window and it runs with no problem. I run the install script, and the app appears to have been installed as a service. It's configured to start up automatically, and no complaints appear anywhere, until I try to Start this service. Then I get the message, "Could not start the <MyApp> service on Local Computer./ Error 5: Access is denied." Essentially the same message appears when I use "net start". If I look at the Properties of the service, and copy the command to a Command window, the expected thing happens if I leave the "-s" in place, but if I change to a "-t" I again get "Access is denied" but this comes from the Wrapper logger. If I change the flag to "-c", everything appears to work fine. I don't know how to get either the Wrapper or Windows (which is where I suspect the problem lies, but I can't be sure) to be any more expansive as to what resource I'm being denied access to. Does anyone have any clues or suggestions? Thanks. -jmc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/=20 _______________________________________________ Wrapper-user mailing list Wra...@li...=20 https://lists.sourceforge.net/lists/listinfo/wrapper-user |
|
From: John C. <jm...@mu...> - 2007-07-19 20:08:40
|
On Windows XP, I've configured a wrapper.conf file such that I can start my app from a command window and it runs with no problem. I run the install script, and the app appears to have been installed as a service. It's configured to start up automatically, and no complaints appear anywhere, until I try to Start this service. Then I get the message, "Could not start the <MyApp> service on Local Computer./ Error 5: Access is denied." Essentially the same message appears when I use "net start". If I look at the Properties of the service, and copy the command to a Command window, the expected thing happens if I leave the "-s" in place, but if I change to a "-t" I again get "Access is denied" but this comes from the Wrapper logger. If I change the flag to "-c", everything appears to work fine. I don't know how to get either the Wrapper or Windows (which is where I suspect the problem lies, but I can't be sure) to be any more expansive as to what resource I'm being denied access to. Does anyone have any clues or suggestions? Thanks. -jmc |
|
From: ListAdministrator <mai...@ca...> - 2007-07-19 09:28:12
|
Hi, I don't think there exist and x64 binaries. But I have managed do build x64 binaries and added the instructions on how to do it here. http://sourceforge.net/tracker/index.php?func=detail&aid=1635188&group_id=39428&atid=425190 Regards, /Mattias > I looked through the download but can't seem to find a binary distro > for Win2K3 64 bit? Is that supported? > > > Thanks in advance > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > |
|
From: Toadie <toa...@gm...> - 2007-07-19 04:47:24
|
I looked through the download but can't seem to find a binary distro for Win2K3 64 bit? Is that supported? Thanks in advance |
|
From: Leif M. <le...@ta...> - 2007-07-18 22:13:59
|
Hardeep, Not at this time. Version 3.3.0 will have this, once I am able to get it released. Cheers, Leif Hardeep Singh wrote: > Hi, > > I was wondering if it is possible that service wrapper can notify my > application when the NT service is stopped by the user. > Is there a way to configure this. > > Thanks, > Hardeep Singh > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > |
|
From: Jason R B. <jas...@rh...> - 2007-07-18 21:00:22
|
In case anyone is interested, it appears the only answer is to setup a domain controller in your environment, to ensure that Net Logon will start. After doing so, the problem went away, and our service started without issue. Regards, Jason Lewis Leal wrote: > What account does your service run under (machine, domain, or local > system)? > Can you post your log? > > On 7/2/07, *Jason R Briggs* < jas...@rh... > <mailto:jas...@rh...>> wrote: > > Hi > > Apologies if this has been answered elsewhere, but I couldn't find > any > related messages with SF's rather abysmal search. > > I'm trying to use the service wrapper in our UAT environment and > failing > miserably. We've had it running on various development machines > without > any problems, and it starts up fine when run from the command > prompt on > the UAT server. > > After much fiddling, I eventually tracked the problem down to the fact > that it appears the wrapper has a dependency on Net Logon to be > running. But in this environment, Net Logon starts up and > straight away > shuts down. I believe this has something to do with the fact that > there's no domain controller... but I'm not sure on that front. I'm > seem to have as much difficulty finding info about Microsoft error > messages as I do finding messages on this mailing list... ;-) > > Anyone come across this problem? Is there a workaround or do we > have to > get the environment reconfigured so Net Logon runs properly? > > Thanks for any pointers you can give me. > > Jason > |
|
From: Hardeep S. <har...@gm...> - 2007-07-18 18:31:56
|
Hi, I was wondering if it is possible that service wrapper can notify my application when the NT service is stopped by the user. Is there a way to configure this. Thanks, Hardeep Singh |
|
From: John C. <jm...@mu...> - 2007-07-17 22:08:41
|
Windows XP. I've configured a wrapper.conf file such that I can start my app from a command window and it runs with no problem. I run the install script, and the app appears to have been installed as a service. It's configured to start up automatically, and no complaints appear anywhere, until I try to Start this service. Then I get the message, "Could not start the <MyApp> service on Local Computer./ Error 5: Access is denied." Essentially the same message appears when I use "net start". If I look at the Properties of the service, and copy the command to a Command window, the expected thing happens if I leave the "-s" in place, but if I change to a "-t" I again get "Access is denied" but this comes from the Wrapper logger. If I change the flag to "-c", everything appears to work fine. I don't know how to get either the Wrapper or Windows (which is where I suspect the problem lies, but I can't be sure) to be any more expansive as to what resource I'm being denied access to. Does anyone have any clues or suggestions? Thanks. -jmc |
|
From: Ashish A. <ash...@ya...> - 2007-07-16 04:09:19
|
Hi Leif and All, I am able to resolve my problem. The problem was that when I run JBoss using run.bat file, all JVM parameters (especially realated with Heap size) are passed properly to JVM and the memory goes above 500 MBs for one of the operation in my application, which is well expected. I observed this using jconsole utility. But when I run JBoss using wrapper, the memory hangs around 190 MB and hence the same operation took more time in this case. I am able to resolve this problem by supplying additional JVM parameter i.e. -server. Thanks Leif and everyone for your help. regards, Ashish ----- Original Message ---- From: Leif Mortenson <le...@ta...> To: wra...@li... Sent: Friday, July 13, 2007 1:50:27 PM Subject: Re: [Wrapper-user] Problem with JVM parameters incase of JDK 5 Ashish, What is the full command line that is being generated by the Wrapper? It should be in the wrapper.log file. Cheers, Leif Ashish Arya wrote: > Hi Leif, > Thanks a lot for your reply. > After passing JVM parameters individually, as suggested by you, I > noticed that they are passed properly to JVM. I have confirmed this > using jconsole utility. But still my problem is not resolved. > When I run JBoss using run.bat file, for one of the operations in my > application, the memory usage goes above 500 MB, which is very well > expected. But when I run the JBoss using Wrapper and passing JVM > parameters through conf file, the memory hangs around 190 MB and the > same operation takes longer time to finish. That also mean that > performance of my appliction drops when I use wrapper to run JBoss > against run.bat file. > I am unable to understand this behavior. Please help me. > regards, > Ashish > ----- Original Message ---- > From: Leif Mortenson <le...@ta...> > To: wra...@li... > Sent: Wednesday, July 11, 2007 3:47:53 PM > Subject: Re: [Wrapper-user] Problem with JVM parameters incase of JDK 5 > > Ashish, > The Wrapper expects that you break out the individual arguments > into their own properties. The way you are doing things will work > for Windows, but will fail if you use the wrapper.conf on UNIX > versions. > > Do it like this: > wrapper.java.additional.1=-Xdebug > wrapper.java.additional.2=-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n > wrapper.java.additional.3=-Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl > wrapper.java.additional.4=-Djboss.platform.mbeanserver > wrapper.java.additional.5=-Dcom.sun.management.jmxremote > wrapper.java.initmemory=128 > wrapper.java.maxmemory=256 > > When you say things are not being passed to the JVM correctly, > how do you know? What is the problem you are seeing? > > You can see the generated java command line by setting the > following property: > wrapper.java.command.loglevel=INFO > > Cheers, > Leif > > Ashish Arya wrote: > > Hi All, > > I am using Java Service Wrapper to run JBoss as windows service. This > > was working fine on IBM and SUN JDK 1.4. but recently I shifted to SUN > > JDK 1.5 and noticed that the JVM arguments are not passed properly to > > the JRE. Below is the snippet of the wrapper conf file. I am using > > Java service wrapper version 3.2.3. > > wrapper.java.additional.1= -Xms128m -Xmx256m -Xdebug > > -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n > > wrapper.java.additional.2= > > > -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl > > -Djboss.platform.mbeanserver -Dcom.sun.management.jmxremote > > even the spcified way of setting max and min heap size is also not > working > > wrapper.java.initmemory=128 > > wrapper.java.maxmemory=1024 > > Please help me to understand, how to pass additional java parameters > > to wrapper API in case of JDK 5. > > Many thanks in advance. > > regards, > > Ashish ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user ____________________________________________________________________________________ Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. http://autos.yahoo.com/carfinder/ |
|
From: Leif M. <le...@ta...> - 2007-07-13 08:28:21
|
Ashish, What is the full command line that is being generated by the Wrapper? It should be in the wrapper.log file. Cheers, Leif Ashish Arya wrote: > Hi Leif, > Thanks a lot for your reply. > After passing JVM parameters individually, as suggested by you, I > noticed that they are passed properly to JVM. I have confirmed this > using jconsole utility. But still my problem is not resolved. > When I run JBoss using run.bat file, for one of the operations in my > application, the memory usage goes above 500 MB, which is very well > expected. But when I run the JBoss using Wrapper and passing JVM > parameters through conf file, the memory hangs around 190 MB and the > same operation takes longer time to finish. That also mean that > performance of my appliction drops when I use wrapper to run JBoss > against run.bat file. > I am unable to understand this behavior. Please help me. > regards, > Ashish > ----- Original Message ---- > From: Leif Mortenson <le...@ta...> > To: wra...@li... > Sent: Wednesday, July 11, 2007 3:47:53 PM > Subject: Re: [Wrapper-user] Problem with JVM parameters incase of JDK 5 > > Ashish, > The Wrapper expects that you break out the individual arguments > into their own properties. The way you are doing things will work > for Windows, but will fail if you use the wrapper.conf on UNIX > versions. > > Do it like this: > wrapper.java.additional.1=-Xdebug > wrapper.java.additional.2=-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n > wrapper.java.additional.3=-Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl > wrapper.java.additional.4=-Djboss.platform.mbeanserver > wrapper.java.additional.5=-Dcom.sun.management.jmxremote > wrapper.java.initmemory=128 > wrapper.java.maxmemory=256 > > When you say things are not being passed to the JVM correctly, > how do you know? What is the problem you are seeing? > > You can see the generated java command line by setting the > following property: > wrapper.java.command.loglevel=INFO > > Cheers, > Leif > > Ashish Arya wrote: > > Hi All, > > I am using Java Service Wrapper to run JBoss as windows service. This > > was working fine on IBM and SUN JDK 1.4. but recently I shifted to SUN > > JDK 1.5 and noticed that the JVM arguments are not passed properly to > > the JRE. Below is the snippet of the wrapper conf file. I am using > > Java service wrapper version 3.2.3. > > wrapper.java.additional.1= -Xms128m -Xmx256m -Xdebug > > -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n > > wrapper.java.additional.2= > > > -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl > > -Djboss.platform.mbeanserver -Dcom.sun.management.jmxremote > > even the spcified way of setting max and min heap size is also not > working > > wrapper.java.initmemory=128 > > wrapper.java.maxmemory=1024 > > Please help me to understand, how to pass additional java parameters > > to wrapper API in case of JDK 5. > > Many thanks in advance. > > regards, > > Ashish |
|
From: Ashish A. <ash...@ya...> - 2007-07-13 06:17:41
|
Hi Leif, Thanks a lot for your reply. After passing JVM parameters individually, as suggested by you, I noticed that they are passed properly to JVM. I have confirmed this using jconsole utility. But still my problem is not resolved. When I run JBoss using run.bat file, for one of the operations in my application, the memory usage goes above 500 MB, which is very well expected. But when I run the JBoss using Wrapper and passing JVM parameters through conf file, the memory hangs around 190 MB and the same operation takes longer time to finish. That also mean that performance of my appliction drops when I use wrapper to run JBoss against run.bat file. I am unable to understand this behavior. Please help me. regards, Ashish ----- Original Message ---- From: Leif Mortenson <le...@ta...> To: wra...@li... Sent: Wednesday, July 11, 2007 3:47:53 PM Subject: Re: [Wrapper-user] Problem with JVM parameters incase of JDK 5 Ashish, The Wrapper expects that you break out the individual arguments into their own properties. The way you are doing things will work for Windows, but will fail if you use the wrapper.conf on UNIX versions. Do it like this: wrapper.java.additional.1=-Xdebug wrapper.java.additional.2=-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n wrapper.java.additional.3=-Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl wrapper.java.additional.4=-Djboss.platform.mbeanserver wrapper.java.additional.5=-Dcom.sun.management.jmxremote wrapper.java.initmemory=128 wrapper.java.maxmemory=256 When you say things are not being passed to the JVM correctly, how do you know? What is the problem you are seeing? You can see the generated java command line by setting the following property: wrapper.java.command.loglevel=INFO Cheers, Leif Ashish Arya wrote: > Hi All, > I am using Java Service Wrapper to run JBoss as windows service. This > was working fine on IBM and SUN JDK 1.4. but recently I shifted to SUN > JDK 1.5 and noticed that the JVM arguments are not passed properly to > the JRE. Below is the snippet of the wrapper conf file. I am using > Java service wrapper version 3.2.3. > wrapper.java.additional.1= -Xms128m -Xmx256m -Xdebug > -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n > wrapper.java.additional.2= > -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl > -Djboss.platform.mbeanserver -Dcom.sun.management.jmxremote > even the spcified way of setting max and min heap size is also not working > wrapper.java.initmemory=128 > wrapper.java.maxmemory=1024 > Please help me to understand, how to pass additional java parameters > to wrapper API in case of JDK 5. > Many thanks in advance. > regards, > Ashish ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user ____________________________________________________________________________________ Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center. http://autos.yahoo.com/green_center/ |