On 03.07.2019 14:47, Mohan T wrote:
Hi,
Tom cat 0- version 8.5.35
Operating system- RHEL 7.4
Thanks
Ok. Note that what you are asking is not a tomcat-specific question, it is more of a
standard Java question.
You need to find the shell script that starts Tomcat on your system.
That is likely to be in the directory /etc/init.d, or /etc/init.d/rc2.d or
similar.
In that script, you will find the line(s) that starts the JVM that runs tomcat.
(I cannot tell you what that is exactly, because I do not have a RHEL system available to
look at right now).
That script should have some internal variables, such as "JAVA_OPTIONS" e.g., which
contain the options used on the Java command-line.
That's where you must start looking, to make you modifications.
Note that this system startup/stop script is likely to be overwritten, whenever you
install an OS or Tomcat package update. So it would be better to do such changes in a
separate file, which is "called-in" when executing the script.
The startup script probably already references such separate files just for that purpose.
Look at (for example) any references to a directory like /etc/tomcat8 or
/etc/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", which
would have given everyone the nice and comforting feeling that you had "done your
homework" before coming here.
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 provide ALL the precise host/versions information in
advance :
it saves time for the people answering the question, and it helps you getting
answers faster.
On 03.07.2019 13:36, Mohan T wrote:
Hi ,
We are using tomcat 8 .
Which version precisely ? (8.x.y)
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 questions.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
DISCLAIMER: This communication contains information which is confidential and
the copyright of Ramco Systems Ltd, its subsidiaries or a third party
(“Ramco”). This email may also contain legally privileged information.
Confidentiality and legal privilege attached to this communication are not
waived or lost by reason of mistaken delivery to you.This email is intended to
be read or used by the addressee only. If you are not the intended recipient,
any use, distribution, disclosure or copying of this email is strictly
prohibited without the express written approval of Ramco. Please delete and
destroy all copies and email Ramco at le...@ramco.com immediately. Any views
expressed in this communication are those of the individual sender, except
where the sender specifically states them to be the views of Ramco. Except as
required by law, Ramco does not represent, warrant and/or guarantee that the
integrity of this communication has been maintained nor that the communication
is free
of errors, virus, interception or interference. If you do not wish to receive
such communications, please forward this communication to market...@ramco.com
and express your wish not to receive such communications henceforth.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org