Re: [OT] Question about setting CATALINA_OPTS when starting Tomcat using a Windows Service in Tomcat 7.0.54

2018-08-09 Thread tomcat
On 09.08.2018 20:05, Louis Zipes wrote: Oh! André, if you aren't using JMX in production, you are missing-out on a wealth of monitoring information about your JVM(s). OK, fine, I accept that. I was just saying "IF you don't need it in production". So, scratch the idea of running Tomcat in a

[UPDATE][SECURITY] CVE-2018-8037 Apache Tomcat - Information Disclosure

2018-08-09 Thread Mark Thomas
CVE-2018-8037 Apache Tomcat - Information Disclosure Severity: Important Vendor: The Apache Software Foundation Versions Affected: Apache Tomcat 9.0.0.M9 to 9.0.9 Apache Tomcat 8.5.5 to 8.5.31 Description: If an async request was completed by the application at the same time as the

Re: three layers model

2018-08-09 Thread Loai Abdallatif
Thanks Chris for your response On Thu, Aug 9, 2018 at 8:37 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Loai, > > On 8/8/18 3:51 PM, Loai Abdallatif wrote: > > Dear All > > > > I have java apps running over three tiers

RE: [OT] Question about setting CATALINA_OPTS when starting Tomcat using a Windows Service in Tomcat 7.0.54

2018-08-09 Thread Louis Zipes
Oh! André, if you aren't using JMX in production, you are missing-out on a wealth of monitoring information about your JVM(s). But rather than using the JMX protocol, I would recommend using Tomcat's JMXProxyServlet -- a part of the Manager application. That allows you to make JMX queries over

Re: [OT] Question about setting CATALINA_OPTS when starting Tomcat using a Windows Service in Tomcat 7.0.54

2018-08-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 8/9/18 12:39 PM, André Warnier (tomcat) wrote: > 7) a helpful feature of tomcat, is that it itself provides code to > connect to localhost port 8005 and send that shutdown string, so > that one does not have to write its own separate

Re: Domain name change in Tomcat

2018-08-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Laurie, On 8/9/18 8:31 AM, Laurie Miller-Cook wrote: > Hi there > > Sorry for the confusion. > > We have two servers with multiple hosts on. East host has it's own > Host entry in Server.xml due to using a wildcard SSL certificate > > At the

Re: Domain name change in Tomcat

2018-08-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Laurie, On 8/7/18 11:51 AM, Laurie Miller-Cook wrote: > Hi there, > > I have an issue where I need to either change the URL of a Website > in Tomcat. > > The current URL is https://training.ondemand.com and this needs to > be changed to

Re: three layers model

2018-08-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Loai, On 8/8/18 3:51 PM, Loai Abdallatif wrote: > Dear All > > I have java apps running over three tiers model ( Apache - modJK) , > Tomcat 8.5.29, and postgress 9.4 cluster with repmgr and pgpool -- > all the layers use same OS Debian 8.10 > >

Re: JAXB not available on Tomcat 9 and Java 10

2018-08-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nicolaj, On 8/8/18 1:17 AM, Nicolai Parlog wrote: > Hi, > > with the help of an answer on StackOverflow we have solved this. > In case anybody was watching this, here's what happened... > > First some random facts: > > * if not given a class

Re: Question about setting CATALINA_OPTS when starting Tomcat using a Windows Service in Tomcat 7.0.54

2018-08-09 Thread tomcat
Maybe it is time here to quote Arthur Clarke's 3rd law : "Any sufficiently advanced technology is indistinguishable from magic" (See : https://en.wikipedia.org/wiki/Clarke%27s_three_laws) The process by which Tomcat is started and/or stopped - particularly under Windows and as a Service - is

RE: Documentation for Catalina Base

2018-08-09 Thread Lemke, Michael ST/HZA-ZIC2
On Thursday, August 09, 2018 4:23 PM, Marek Czernek wrote: >Hi, > >any thoughts about the PR anyone? [1] Feel free to suggest any >improvements, or help me better the docs with your comments of course. > >[1] https://github.com/apache/tomcat/pull/117 Hi Marek, thanks for writing this. Wish

Re: Working JKS file for SSL from Tomcat8 doesn't work with Tomcat9

2018-08-09 Thread Arnold Morein
Ugh, right after I sent this, the next search turned up what I needed, the XML had changed.             On Aug 08, 2018, at 02:22 PM, Arnold Morein wrote: I have a company-issued, signed SSL cert installed in my Tomcat 8 system and all is well. I downloaded and set up

Re: App fails to completely startup on a Tomcat restart

2018-08-09 Thread M. Manna
What is your full context.xml file? Also, is there any reason why you have named your application as ROOT.war? Regards, On 9 August 2018 at 15:48, Donald J wrote: > We are running a Tomcat application where the login always fails after a > tomcat restart > with an error about unable to load

App fails to completely startup on a Tomcat restart

2018-08-09 Thread Donald J
We are running a Tomcat application where the login always fails after a tomcat restart with an error about unable to load the configuration context. The app has a context file defined in /usr/share/tomcat/webapps/ROOT/META-INF/context.xml which contains : After a Tomcat manager "reload",

Re: Documentation for Catalina Base

2018-08-09 Thread Marek Czernek
Hi, any thoughts about the PR anyone? [1] Feel free to suggest any improvements, or help me better the docs with your comments of course. [1] https://github.com/apache/tomcat/pull/117 Cheers, On 07/30/2018 09:22 AM, Marek Czernek wrote: Hi there, recently, we noticed the lack of

RE: Domain name change in Tomcat

2018-08-09 Thread Laurie Miller-Cook
Hi there Sorry for the confusion. We have two servers with multiple hosts on. East host has it's own Host entry in Server.xml due to using a wildcard SSL certificate At the bottom of the email I used the details of the prod server ondemand.com and below I applied the Alias to different

RE: Tomcat 9 does not work with war file named along with revision number

2018-08-09 Thread premsudhan jaikumar
Thanks Mark for the reply. Tried out with a simple app and it works perfectly. Looks like some tweaking may be needed at the application side. Appreciate your help. Thanks Prem -Original Message- From: Mark Thomas Sent: Wednesday, August 08, 2018 10:44 AM To: users@tomcat.apache.org

Re: Question about setting CATALINA_OPTS when starting Tomcat using a Windows Service in Tomcat 7.0.54

2018-08-09 Thread Mark Thomas
On 09/08/18 12:11, Suvendu Sekhar Mondal wrote: > On Thu, Aug 9, 2018 at 2:39 PM Mark Thomas wrote: >> >> On 09/08/18 01:06, Daniel Savard wrote: >> >>> Louis, >>> >>> I believe you need to understand a bit more how things are working with >>> Java and the JVM. >> >> Actually Daniel, it is you

Re: Question about setting CATALINA_OPTS when starting Tomcat using a Windows Service in Tomcat 7.0.54

2018-08-09 Thread Mark Thomas
On 09/08/18 12:45, Louis Zipes wrote: > Hi Mark, > > You wrote: > > 1. You see the error you are see because you are using Java mode. Switch to > jvm mode and all should be well. > >>> I'm already using 'C:\Program >>> Files\Java\jdk1.7.0_80\jre\bin\server\jvm.dll' in my Java Virtual Machine

RE: Question about setting CATALINA_OPTS when starting Tomcat using a Windows Service in Tomcat 7.0.54

2018-08-09 Thread Louis Zipes
Hi Mark, You wrote: 1. You see the error you are see because you are using Java mode. Switch to jvm mode and all should be well. >> I'm already using 'C:\Program Files\Java\jdk1.7.0_80\jre\bin\server\jvm.dll' >> in my Java Virtual Machine tab. I assume that means I'm already in JVM >>

Re: Question about setting CATALINA_OPTS when starting Tomcat using a Windows Service in Tomcat 7.0.54

2018-08-09 Thread Suvendu Sekhar Mondal
On Thu, Aug 9, 2018 at 2:39 PM Mark Thomas wrote: > > On 09/08/18 01:06, Daniel Savard wrote: > > > Louis, > > > > I believe you need to understand a bit more how things are working with > > Java and the JVM. > > Actually Daniel, it is you who needs to understand things better. > > > Louis, > >

Re: Question about setting CATALINA_OPTS when starting Tomcat using a Windows Service in Tomcat 7.0.54

2018-08-09 Thread Mark Thomas
On 09/08/18 01:06, Daniel Savard wrote: > Louis, > > I believe you need to understand a bit more how things are working with > Java and the JVM. Actually Daniel, it is you who needs to understand things better. Louis, Clearly, when Tomcat is started a new JVM instance is created and it