Re: SV: [OT Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-09-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hans, On 9/4/20 07:08, Hans Schou wrote: > >> On Tue, Aug 4, 2020 at 2:18 PM Christopher Schultz wrote: >> >> So how do you switch Java versions? > > In case anyone care to know... > > I have a directory called C:\Java Here we have > jdk1.8.0_25

SV: Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-09-04 Thread Hans Schou
Fra: Christopher Schultz Sendt: 4. august 2020 15:47 Til: users@tomcat.apache.org Emne: Re: Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9 >> Enhancement requests for this should go to Commons Daemon. Should be >> simple enough just to

SV: [OT Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-09-04 Thread Hans Schou
> On Tue, Aug 4, 2020 at 2:18 PM Christopher Schultz wrote: > > So how do you switch Java versions? In case anyone care to know... I have a directory called C:\Java Here we have jdk1.8.0_25 jdk1.8 [jdk1.8.0_25] And JAVA_HOME=C:\Java\jdk1.8 And upgrade is then performed with:

Re: Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-08-25 Thread Bill Stewart
On Tue, Aug 25, 2020 at 8:29 AM Mark Thomas wrote: >> Enhancement requests for this should go to Commons Daemon. Should > >> be simple enough just to dump current config. > > > > Done. > > > > https://issues.apache.org/jira/browse/DAEMON-422 > > Done. > > It outputs the command to (re-)create the

Re: Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-08-25 Thread Mark Thomas
On 04/08/2020 14:47, Christopher Schultz wrote: >> Enhancement requests for this should go to Commons Daemon. Should >> be simple enough just to dump current config. > > Done. > > https://issues.apache.org/jira/browse/DAEMON-422 Done. It outputs the command to (re-)create the current config

Re: [OT] Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-08-06 Thread Bill Stewart
On Thu, Aug 6, 2020 at 10:18 AM Christopher Schultz wrote: The problem is that if you don't have your old command-line saved and > handy, you have to figure out how to re-generate it. Thus, the > feature-request for procrun to dump the current configuration to a > script which can re-create itself

Re: [OT Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-08-06 Thread Bill Stewart
On Thu, Aug 6, 2020 at 10:01 AM wrote: I like what you are showing here, but are you implying a shared > CATALINA_HOME and CATALINA_BASE? > Sorry; I don't understand the question. The alternate installer doesn't set or use the CATALINA_HOME or CATALINA_BASE environment variables; it uses procrun

Re: [OT] Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-08-06 Thread Bill Stewart
On Thu, Aug 6, 2020 at 10:18 AM Christopher Schultz wrote: The problem is that if you don't have your old command-line saved and > handy, you have to figure out how to re-generate it. Thus, the > feature-request for procrun to dump the current configuration to a > script which can re-create itself

Re: [OT] Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-08-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bill, On 8/6/20 11:56, Bill Stewart wrote: > On Thu, Aug 6, 2020 at 9:09 AM Christopher Schultz wrote: > > I don't know if you are interested in such things, but being table > to >> export a configuration from one machine to another might be >> usef

RE: [OT Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-08-06 Thread jonmcalexander
. Thank you for your cooperation. -Original Message- From: Bill Stewart Sent: Thursday, August 6, 2020 10:57 AM To: Tomcat Users List Subject: Re: [OT Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9 On Thu, Aug 6, 2020 at 9:09 AM Christopher

Re: [OT Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-08-06 Thread Bill Stewart
On Thu, Aug 6, 2020 at 9:09 AM Christopher Schultz wrote: I don't know if you are interested in such things, but being table to > export a configuration from one machine to another might be useful for > your installer, too. Something like "deploy to server A, > manually-configure, tweak, test, pro

Re: [OT Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-08-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bill, On 8/4/20 18:59, Bill Stewart wrote: > On Tue, Aug 4, 2020 at 4:01 PM Christopher Schultz wrote: > > I have a client who runs our product on Windows (we usually run it > on >> Linux) and there are 2-4 separate Tomcat-based services on each >>

Re: [OT Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-08-04 Thread Bill Stewart
On Tue, Aug 4, 2020 at 4:01 PM Christopher Schultz wrote: I have a client who runs our product on Windows (we usually run it on > Linux) and there are 2-4 separate Tomcat-based services on each node, > so they have "Tomcat 8.5.x for FOO", "Tomcat 8.5.x for BAR", etc. in > their service description

Re: [OT Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bill, On 8/4/20 17:06, Bill Stewart wrote: > On Tue, Aug 4, 2020 at 2:18 PM Christopher Schultz wrote: > > So how do you switch Java versions? >> > > What do you mean? 1. Point an existing Tomcat instance to a > different Java runtime, or 2. Upgrade

Re: [OT Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-08-04 Thread Bill Stewart
On Tue, Aug 4, 2020 at 2:18 PM Christopher Schultz wrote: So how do you switch Java versions? > What do you mean? 1. Point an existing Tomcat instance to a different Java runtime, or 2. Upgrade an existing instance of Java? For 1: Use the procrun GUI and change the path to the jvm.dll file. Nat

Re: [OT Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bill, (Marking OT because this isn't about tomcatXw.exe anymore) On 8/4/20 10:48, Bill Stewart wrote: > On Tue, Aug 4, 2020 at 7:47 AM Christopher Schultz wrote: > > Done. >> >> https://issues.apache.org/jira/browse/DAEMON-422 >> > > I like this id

Re: Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-08-04 Thread Bill Stewart
On Tue, Aug 4, 2020 at 7:47 AM Christopher Schultz wrote: Done. > > https://issues.apache.org/jira/browse/DAEMON-422 > I like this idea as an enhancement to procrun. I would also point out, for anyone interested, that my alternate installer supports upgrading without needing to document the sett

Re: Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, On 8/2/20 12:00, Mark Thomas wrote: > On July 27, 2020 4:03:04 PM UTC, Christopher Schultz wrote: > All, > > On 7/27/20 10:43, Bill Stewart wrote: On Mon, Jul 27, 2020 at 12:22 AM Hans Schou wrote: Yes I can add and change infor

Re: Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-08-02 Thread Mark Thomas
On July 27, 2020 4:03:04 PM UTC, Christopher Schultz wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA256 > >All, > >On 7/27/20 10:43, Bill Stewart wrote: >> On Mon, Jul 27, 2020 at 12:22 AM Hans Schou wrote: >> >> Yes I can add and change information, but how can I get the >> information out

Re: Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-07-30 Thread Igal Sapir
Then I also have to check if the instance is running Java 8 or Java 11. > I run tomcat8w.exe to get and set Java options and memory usage. > > Here is the script: > > IF [%1] == [] ( > ECHO Error > EXIT /B > ) > SET INSTANCE=%1 > SET JAVA_HOME=D:

SV: Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-07-28 Thread Hans Schou
my upgrade task with a script which can only upgrade from Tomcat 8.5 to 9.0 As I can not see from command line which tomcat are being used, I had to look that up first. Then I also have to check if the instance is running Java 8 or Java 11. I run tomcat8w.exe to get and set Java options and memory

Re: Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-07-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, On 7/27/20 10:43, Bill Stewart wrote: > On Mon, Jul 27, 2020 at 12:22 AM Hans Schou wrote: > > Yes I can add and change information, but how can I get the > information out >> so I can use that for an upgrade to a new major version? >> > > From

Re: Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-07-27 Thread Bill Stewart
On Mon, Jul 27, 2020 at 12:22 AM Hans Schou wrote: Yes I can add and change information, but how can I get the information out > so I can use that for an upgrade to a new major version? > >From an elevated command line, run: tomcat8w.exe "//ES//servicename" This displays the GUI configuration d

SV: Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-07-26 Thread Hans Schou
> Fra: Christopher Schultz > Note that everything you can configure using tomcatXw.exe //ES/svcname > you can also install from the command-line. Yes I can add and change information, but how can I get the information out so I can use that for an upgrade to a new major version? To change I run

Re: Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-07-24 Thread Bill Stewart
On Fri, Jul 24, 2020 at 9:36 AM Christopher Schultz wrote: Note that everything you can configure using tomcatXw.exe //ES/svcname > you can also install from the command-line. > Correct. See the InstallService PascalScript procedure in the installer which performs the equivalent: https://github.

Re: Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-07-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bill, Hans, On 7/24/20 09:42, Bill Stewart wrote: > On Fri, Jul 24, 2020 at 2:26 AM Hans Schou wrote: > > "document" manually? Like copy&paste into a text file? >> > > Yes, however you customarily do so. Note that everything you can configure using

Re: Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-07-24 Thread Bill Stewart
On Fri, Jul 24, 2020 at 2:26 AM Hans Schou wrote: "document" manually? Like copy&paste into a text file? > Yes, however you customarily do so. > > 2. If you used Apache's Windows installer, uninstall it (unfortunately > this removes the service and service configuration info). > > I use the zip

SV: Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-07-24 Thread Hans Schou
Fra: Bill Stewart > https://github.com/Bill-Stewart/ApacheTomcatSetup/releases I will look into that. > Basically the steps would be: > 1. Back up/document your 8.x configuration. "document" manually? Like copy&paste into a text file? > 2. If you used Apache's Windows installer, uninstall i

Re: Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-07-23 Thread Bill Stewart
On Thu, Jul 23, 2020 at 6:24 AM Hans Schou wrote: I am about to upgrade a lot of Tomcat 8.0 instances to 9.0 on Windows. > ... > But in this process I loose some parameters like "Log on", "Initial memory > pool" and "Java options" which has been set w

Upgrade: tomcat8w.exe //ES//example - dump Java Options and other information to tomcat9

2020-07-23 Thread Hans Schou
\bin\service install example But in this process I loose some parameters like "Log on", "Initial memory pool" and "Java options" which has been set with tomcat8w.exe //ES//example or tomcat8w.exe //US//example Is there a way where I can get the say "Java

Re: JAVA OPTIONS

2019-07-04 Thread Mohan T
I am posting here after trying options over the net Sent from my Samsung Galaxy smartphone. Original message From: "André Warnier (tomcat)" Date: 04/07/2019 4:15 pm (GMT+05:30) To: users@tomcat.apache.org Subject: Re: JAVA OPTIONS On 03.07.2019 14:47, Mohan T wro

Re: JAVA OPTIONS

2019-07-04 Thread tomcat
c/default/tomcat e.g. I believe that the person responsible for the RH tomcat package is also on this list. Maybe he can provide more detailed instructions as to how to do this correctly for that platform. Of course, you could also search Google for "red hat change tomcat java options"

RE: JAVA OPTIONS

2019-07-03 Thread Mohan T
Hi, Tom cat 0- version 8.5.35 Operating system- RHEL 7.4 Thanks Mohan -Original Message- From: André Warnier (tomcat) [mailto:a...@ice-sa.com] Sent: Wednesday, July 3, 2019 6:00 PM To: users@tomcat.apache.org Subject: Re: JAVA OPTIONS Hi. It's always a good idea to provid

Re: JAVA OPTIONS

2019-07-03 Thread tomcat
) On what platform ? And if Windows, as a service or on the command-line ? How do I set the JAVA OPTIONS for the com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl. It depends on the answers to the above ques

JAVA OPTIONS

2019-07-03 Thread Mohan T
Hi , We are using tomcat 8 . How do I set the JAVA OPTIONS for the com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl. Thanks in advance Mohan DISCLAIMER: This communication contains information which is confidential and the copyright of Ramco Systems Ltd, its subsidiaries

Re: Tomcat 7 Java options format on Windows

2012-10-22 Thread David Kerber
On 10/22/2012 4:57 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Tomcat 7 Java options format on Windows AFAIK, Java command-line options are the same on all platforms except that file paths (not URLs!) on win32 systems generally

RE: Tomcat 7 Java options format on Windows

2012-10-22 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Tomcat 7 Java options format on Windows > AFAIK, Java command-line options are the same on all platforms except > that file paths (not URLs!) on win32 systems generally use backslashes > instead of

Re: Tomcat 7 Java options format on Windows

2012-10-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 PJ, On 10/22/12 3:22 PM, PJ Delsh wrote: > Is the format of the following Java options correct for the Java > tab of the Tomcat 7 monitor on Windows x64? > -XX:+HeapDumpOnOutOfMemoryError-XX:+UseConcMarkSweepGC-XX:+UsePa

RE: Tomcat 7 Java options format on Windows

2012-10-22 Thread PJ Delsh
My last email was hard to read because it dropped all the carriage returns . Here's another try: Is the format of these Java options correct for the Java tab of the Tomcat monitor on Windows?-XX:+HeapDumpOnOutOfMemoryError -XX:+UseConcMarkSweepGC -XX:+UseParNewGC

RE: Carriage Return being added to Java Options in Tomcat Configuration Tomcat 7.0.26

2012-04-02 Thread Debbie Shapiro
Shapiro [mailto:dshap...@cardiacscience.com] Sent: Monday, April 02, 2012 4:48 PM To: Tomcat Users List Subject: Carriage Return being added to Java Options in Tomcat Configuration Tomcat 7.0.26 Hello - I'm seeing some strange behavior and I don't quite understand why this keeps recur

Carriage Return being added to Java Options in Tomcat Configuration Tomcat 7.0.26

2012-04-02 Thread Debbie Shapiro
Hello - I'm seeing some strange behavior and I don't quite understand why this keeps recurring. In the Java Options on the Java tab of the Tomcat Configuration, a carriage return keeps being added, even though I am removing it. I have tried hitting apply and OK and just OK. Doesn'