RE: Tomcat 5.5.7+JRockit = windows service won't start
You need to build prunsrv.exe, then rename it to replace tomcat5.exe. Robert -Original Message- From: Brad Baynes [mailto:[EMAIL PROTECTED] Sent: 19 August 2005 18:05 To: 'Tomcat Users List' Subject: RE: Tomcat 5.5.7+JRockit = windows service won't start I'm a little fuzzy on the interaction between the components so I might be missing something here... I downloaded the latest nightly build of commons-daemon. This included the java components of daemon (commons-daemon.jar) but not the native component (procrun). I replaced my existing Tomcat commons-daemon.jar but this didn't seem to have any effect. Since I am using Tomcat5.exe (procrun) to install the service would I also need an updated build of this? Brad -Original Message- From: Longson, Robert [mailto:[EMAIL PROTECTED] Sent: Friday, August 19, 2005 5:56 AM To: Tomcat User List (E-mail) Subject: RE: Tomcat 5.5.7+JRockit = windows service won't start The current CVS version of commons-daemon works for me with the jvm.dll from BEA Weblogic 8.1. I ran a test java service rather than tomcat but I expect the result would be the same with tomcat. The current CVS commons-daemon has had the -Xrs code removed by revision 190890. Robert The information contained in this message is intended only for the recipient, and may be a confidential attorney-client communication or may otherwise be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, please be aware that any dissemination or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by replying to the message and deleting it from your computer. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5.5.7+JRockit = windows service won't start
Hi Robert, We are a java only shop so I don't have a c/c++ compiler readily available to me. Would it be possible for you to send me your prunsrv build so I could give it a test? Brad -Original Message- From: Longson, Robert [mailto:[EMAIL PROTECTED] Sent: Monday, August 22, 2005 3:19 AM To: Tomcat Users List Subject: RE: Tomcat 5.5.7+JRockit = windows service won't start You need to build prunsrv.exe, then rename it to replace tomcat5.exe. Robert -Original Message- From: Brad Baynes [mailto:[EMAIL PROTECTED] Sent: 19 August 2005 18:05 To: 'Tomcat Users List' Subject: RE: Tomcat 5.5.7+JRockit = windows service won't start I'm a little fuzzy on the interaction between the components so I might be missing something here... I downloaded the latest nightly build of commons-daemon. This included the java components of daemon (commons-daemon.jar) but not the native component (procrun). I replaced my existing Tomcat commons-daemon.jar but this didn't seem to have any effect. Since I am using Tomcat5.exe (procrun) to install the service would I also need an updated build of this? Brad -Original Message- From: Longson, Robert [mailto:[EMAIL PROTECTED] Sent: Friday, August 19, 2005 5:56 AM To: Tomcat User List (E-mail) Subject: RE: Tomcat 5.5.7+JRockit = windows service won't start The current CVS version of commons-daemon works for me with the jvm.dll from BEA Weblogic 8.1. I ran a test java service rather than tomcat but I expect the result would be the same with tomcat. The current CVS commons-daemon has had the -Xrs code removed by revision 190890. Robert The information contained in this message is intended only for the recipient, and may be a confidential attorney-client communication or may otherwise be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, please be aware that any dissemination or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by replying to the message and deleting it from your computer. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5.5.7+JRockit = windows service won't start
The current CVS version of commons-daemon works for me with the jvm.dll from BEA Weblogic 8.1. I ran a test java service rather than tomcat but I expect the result would be the same with tomcat. The current CVS commons-daemon has had the -Xrs code removed by revision 190890. Robert The information contained in this message is intended only for the recipient, and may be a confidential attorney-client communication or may otherwise be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, please be aware that any dissemination or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by replying to the message and deleting it from your computer.
RE: Tomcat 5.5.7+JRockit = windows service won't start
I'm a little fuzzy on the interaction between the components so I might be missing something here... I downloaded the latest nightly build of commons-daemon. This included the java components of daemon (commons-daemon.jar) but not the native component (procrun). I replaced my existing Tomcat commons-daemon.jar but this didn't seem to have any effect. Since I am using Tomcat5.exe (procrun) to install the service would I also need an updated build of this? Brad -Original Message- From: Longson, Robert [mailto:[EMAIL PROTECTED] Sent: Friday, August 19, 2005 5:56 AM To: Tomcat User List (E-mail) Subject: RE: Tomcat 5.5.7+JRockit = windows service won't start The current CVS version of commons-daemon works for me with the jvm.dll from BEA Weblogic 8.1. I ran a test java service rather than tomcat but I expect the result would be the same with tomcat. The current CVS commons-daemon has had the -Xrs code removed by revision 190890. Robert The information contained in this message is intended only for the recipient, and may be a confidential attorney-client communication or may otherwise be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, please be aware that any dissemination or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by replying to the message and deleting it from your computer. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5.5.7+JRockit = windows service won't start
In the meantime since the last post in this thread BEA has released updates to JRockit such that it now supports the -Xrs switch. Has anybody on this list now had success running 5.5.x as a windows service with JRockit as the jvm? I am still getting errors when trying to start the service (Tomcat 5.5.9). From the log: [2005-08-15 11:32:20] [173 javajni.c] [error] The specified module could not be found. [2005-08-15 11:32:20] [897 prunsrv.c] [error] Failed creating java C:\ jrockit-jre1.5.0_03\jre\bin\jrockit\jvm.dll [2005-08-15 11:32:20] [1131 prunsrv.c] [error] ServiceStart returned 1 I have verified the jvm path listed above is correct and that the jvm is indeed the latest JRockit release. Brad From: Brad Baynes [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 4:48 PM To: tomcat-user@jakarta.apache.org Subject: Re: FW: RE: Tomcat 5.5.7+JRockit = windows service won't start No, the -Xrs is not available in the registry using the tomcat5 with 5.5.7 (or any version since 5.0.22 it seems). In the related Bugzilla entry (http://issues.apache.org/bugzilla/show_bug.cgi?id=33777) Mladen Turk states 'If you wish to use JRockit then simply update your params'. What does this mean? Was this also a reference to the registry params? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5.5.7+JRockit = windows service won't start
Does JRockit support the JNI standard for a native interface? Wade --- Brad Baynes [EMAIL PROTECTED] wrote: In the meantime since the last post in this thread BEA has released updates to JRockit such that it now supports the -Xrs switch. Has anybody on this list now had success running 5.5.x as a windows service with JRockit as the jvm? I am still getting errors when trying to start the service (Tomcat 5.5.9). From the log: [2005-08-15 11:32:20] [173 javajni.c] [error] The specified module could not be found. [2005-08-15 11:32:20] [897 prunsrv.c] [error] Failed creating java C:\ jrockit-jre1.5.0_03\jre\bin\jrockit\jvm.dll [2005-08-15 11:32:20] [1131 prunsrv.c] [error] ServiceStart returned 1 I have verified the jvm path listed above is correct and that the jvm is indeed the latest JRockit release. Brad From: Brad Baynes [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 4:48 PM To: tomcat-user@jakarta.apache.org Subject: Re: FW: RE: Tomcat 5.5.7+JRockit = windows service won't start No, the -Xrs is not available in the registry using the tomcat5 with 5.5.7 (or any version since 5.0.22 it seems). In the related Bugzilla entry (http://issues.apache.org/bugzilla/show_bug.cgi?id=33777) Mladen Turk states 'If you wish to use JRockit then simply update your params'. What does this mean? Was this also a reference to the registry params? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FW: RE: Tomcat 5.5.7+JRockit = windows service won't start
From: Caldarale, Charles R [EMAIL PROTECTED] Subject: RE: Tomcat 5.5.7+JRockit = windows service won't start Date: Tue, 15 Mar 2005 14:40:33 -0600 That's odd, since the -Xrs is in my registry entry, albeit this is with an older Tomcat level. - Chuck No, the -Xrs is not available in the registry using the tomcat5 with 5.5.7 (or any version since 5.0.22 it seems). In the related Bugzilla entry (http://issues.apache.org/bugzilla/show_bug.cgi?id=33777) Mladen Turk states 'If you wish to use JRockit then simply update your params'. What does this mean? Was this also a reference to the registry params? I tried using tomcat/tomcat5 from older versions with 5.5.7 with no success. Is this a possible workaround? Do I need to also regress the bootstrap.jar (and/or others)? Brad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5.5.7+JRockit = windows service won't start
From: Caldarale, Charles R [EMAIL PROTECTED] By definition _all_ -X parameters are non-standard, but there are quite a few you simply can't avoid using (-Xmx being the obvious example). It would seem like JRockit took the wrong turn here, since -Xrs has been used to reduce JVM signal usage for many, many years. As someone else suggested, why don't you simply edit the registry entry generated by the installer and change the -Xrs to -Xnohup? I acknowledge that all -X parameters are non-standard and would agree that JRockit seems to have made an odd choice in not supporting -Xrs. But having said that, I still think it should have remained a parameter to be explicitly set when calling the installer (seems to have changed to hard-coded around 5.0.22 or so?). With regards to the registry, the installer does not appear to create an entry that explicitly defines the -Xrs parameter. If it did it would be an easy change as has been suggested. The ...ParametersJavaOptions entry defines the various -D parameters being used but does not define -Xrs. I tried adding -Xnohup to this entry but no change in results. (sorry if this message double-posts) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5.5.7+JRockit = windows service won't start
From: BB Commish [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat 5.5.7+JRockit = windows service won't start With regards to the registry, the installer does not appear to create an entry that explicitly defines the -Xrs parameter. That's odd, since the -Xrs is in my registry entry, albeit this is with an older Tomcat level. It's at the end of the parameter string, and normally won't display in regedit unless you've got a really wide screen or use the Modify menu. Haven't tried installing 5.5.7 as a service yet. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5.5.7+JRockit = windows service won't start
Perhaps you could try looking in the registry to see what parameters have been set there and if they are compatible with the JRockit JVM? Mark BB Commish wrote: Hi, I am running Tomcat 5.5.7 with the JRockit 1.5.0 jdk. Everything is fine if I start TC using the startup.bat approach but installing it as a Windows service presents an issue (XP Home). I have tried using the Tomcat.exe installer and by modifying the provided service.bat file (modified to point to the jrockit jvm.dll) to install the service. The service gets installed ok but will not start - the following message is displayed: The Tomcat5 service could not be started. A service specific error occurred: 0. Perhaps the Tomcat5.exe process manager is trying to send sun jvm specific parameters to the jrockit jvm? I have tried stripping down the service.bat to the minimum but no change in results. Any suggestions would be appreciated. Thanks, Brad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5.5.7+JRockit = windows service won't start
Perhaps the Tomcat5.exe process manager is trying to send sun jvm specific parameters to the jrockit jvm? Indeed, it does. Tomcat5w.exe passes -Xrs to the jvm and you can do nothing about it as it is hardcoded. See Bugzilla Bug 33777: http://issues.apache.org/bugzilla/show_bug.cgi?id=33777 regz /dd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5.5.7+JRockit = windows service won't start
Perhaps the Tomcat5.exe process manager is trying to send sun jvm specific parameters to the jrockit jvm? Indeed, it does. Tomcat5w.exe passes -Xrs to the jvm and you can do nothing about it as it is hardcoded. See Bugzilla Bug 33777: http://issues.apache.org/bugzilla/show_bug.cgi?id=33777 Thanks Dominik. I am surprised the developers would hardcode a non-standard -X parameter. And looking at the bugzilla entry I am stunned that they don't seem to be planning for a fix. Is the source for the Tomcat5.exe available somewhere to look at? Brad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5.5.7+JRockit = windows service won't start
From: BB Commish [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat 5.5.7+JRockit = windows service won't start Thanks Dominik. I am surprised the developers would hardcode a non-standard -X parameter. By definition _all_ -X parameters are non-standard, but there are quite a few you simply can't avoid using (-Xmx being the obvious example). It would seem like JRockit took the wrong turn here, since -Xrs has been used to reduce JVM signal usage for many, many years. As someone else suggested, why don't you simply edit the registry entry generated by the installer and change the -Xrs to -Xnohup? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]