getting 404 after migrating app to rpm based tomcat install

2023-10-12 Thread Niranjan Babu Bommu
Can some please help me out with this?. recently we have started migrating our application from Tomcat 8.5.49 (tar file) to the RPM-installed Tomcat 8.5.89. We encountered a 404 error after the migration tomcat 8.5.49 tar file installation: TOMCAT_HOME: /deploy/software/tomcat TOMCAT_BASE:

Re: Tomcat SSL - Issue

2021-09-22 Thread Niranjan Babu Bommu
iddleware Admin > T +91.7879364483 > EMail - priyanka.kuma...@dxc.com > DL - ams-leveraged-webadmin-offsh...@dxc.com > > DXC Technology > > > > > > > -Original Message- > From: Niranjan Babu Bommu > Sent: 22 September 2021 04:53 > To: Tomcat User

Re: Tomcat SSL - Issue

2021-09-21 Thread Niranjan Babu Bommu
Another way you get supported is TLS and the cipher suite. nmap -sV --script ssl-enum-ciphers -p nmap -sV --script ssl-enum-ciphers -p On Tue, Sep 21, 2021 at 5:25 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > Priyanka, > > On 9/21/21 13:52, Kumawat,

Re: JVM job for Tomcat taking lots and lots of CPU

2020-02-12 Thread Niranjan Babu Bommu
have you turned on codecahe , if that is true can you monitor codecahe? known issue with codecache in java 7, when codecache fills up the compiler may not get get restarted even after the codecache occupancy drops down to half after the emergency flushing, this may cause high cpu usage by the

Re: setupenv.sh

2018-04-20 Thread Niranjan Babu Bommu
options -d32 and -d64 have been addd to the java launcher to specify whether the program is be run in a 32-bit or 64-bit env, this is valid only certain unix(solaris) env, windows and linux have their own 32-bit or 64-bit java installations. On Fri, Apr 20, 2018 at 8:32 AM, Cheltenham, Chris

Re: Tomcat managed server

2017-06-30 Thread Niranjan Babu Bommu
Hi Subhro, tomcat document has the all the info you are looking for. https://tomcat.apache.org/tomcat-7.0-doc/RUNNING.txt https://tomcat.apache.org/tomcat-8.0-doc/RUNNING.txt look for "Advanced Configuration - Multiple Tomcat Instances" in that page. thanks Niranjan On Fri, Jun 30, 2017 at

Re: tomcat installation errors

2016-12-20 Thread Niranjan Babu Bommu
may be pid file lying around from earlier stop/start? remove the pid file and start again. /opt/tomcat/temp/tomcat.pid On Tue, Dec 20, 2016 at 4:08 PM, Mary Wiegand wrote: > Hi, > > I'm installing tomcat v8.5.9 on ubuntu 16.04 > > this is my tomcat.service file: > >

Re: Apache/Tomcat vulnerability

2016-11-25 Thread Niranjan Babu Bommu
you can find who is flooding site in apache access.log and block them in firewall. ex to find the IP: cat /var/log/apache2/access.log |cut -d' ' -f1 |sort |uniq -c|sort -gr On Fri, Nov 25, 2016 at 8:42 AM, Jaaz Portal wrote: > hi, > we are from some weeks struggling

Re: tomcat cache database server IP forever

2016-06-16 Thread Niranjan Babu Bommu
takes care > of everything and you don't need to re-IP your whole cluster while > it's running. > > - -chris > > > On Tue, Jun 14, 2016 at 4:04 AM, Mark Thomas <ma...@apache.org > > <mailto:ma...@apache.org>> wrote: > > > > On 13/06/2016 19:21, Niran

Re: tomcat dns cache forever

2016-06-14 Thread Niranjan Babu Bommu
Hi Chris, here is how I'm connecting to the database. Thanks Niranjan On Tue, Jun 14, 2016 at 3:41 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Niranjan, > > On 6/10/16 11:45 AM, Niranjan Babu

Re: tomcat cache database server IP forever

2016-06-14 Thread Niranjan Babu Bommu
in-house application works in jboss when we change the IP of DB server but tomcat behaving differently. I ran out of options to figure out where is the problem. Thanks Niranjan On Tue, Jun 14, 2016 at 4:04 AM, Mark Thomas <ma...@apache.org> wrote: > On 13/06/2016 19:21, Niranjan Babu Bo

tomcat cache database server IP forever

2016-06-13 Thread Niranjan Babu Bommu
Hi All, I have an issue with tomcat dns cache ttl, where if I change the IP address of the database, tomcat still sending connection requests to an old IP until I restart tomcat, this is not the case with Jboss. I verified in java security, this what we have in java. #networkaddress.cache.ttl=-1

tomcat dns cache forever

2016-06-10 Thread Niranjan Babu Bommu
Hi All, I have an issue with tomcat dns cache ttl, where if I change the IP address of the database, tomcat still sending connection requests to an old IP until I restart tomcat, this is not the case with Jboss. I verified in java security, this what we have in java. #networkaddress.cache.ttl=-1

Re: Problem with monitoring with JMX

2016-05-24 Thread Niranjan Babu Bommu
henticate=false \ -Dcom.sun.management.jmxremote.ssl=false " I'm guessing when you set this in setenv.sh, this may not able to find all the classes. On Tue, May 24, 2016 at 4:31 PM, Niranjan Babu Bommu < niranjan.bo...@gmail.com> wrote: > make sense, if you are not using shared apps better to use CATALINA_OPTS.

Re: Problem with monitoring with JMX

2016-05-24 Thread Niranjan Babu Bommu
make sense, if you are not using shared apps better to use CATALINA_OPTS. On Tue, May 24, 2016 at 4:07 PM, Edwin Quijada <listas_quij...@hotmail.com> wrote: > I read that is better use CATALINA_OPTS instead of JAVA_OPTS > > ____ > From: N

Re: Problem with monitoring with JMX

2016-05-24 Thread Niranjan Babu Bommu
I think this would be JAVA_OPTS. CATALINA_OPTS="-Xms512M -Xmx1024M -server -XX:+UseParallelGC" On Tue, May 24, 2016 at 2:50 PM, Edwin Quijada wrote: > Hi! > I am trying to monitor my Tomcat server using JMX remote when I configure > the JMX protocol when I try to

Re: tomcat(7.0.56) is not releasing idle jdbc connections

2016-05-11 Thread Niranjan Babu Bommu
I'm re-posting my ds On Wed, May 11, 2016 at 10:16 AM, Niranjan Babu Bommu < niranjan.bo...@gmail.com> wrote: > I tried the same config on test stacks. numidle always "10" why it is > behaving differently in prod? > >auth="Container"

Re: tomcat(7.0.56) is not releasing idle jdbc connections

2016-05-11 Thread Niranjan Babu Bommu
I tried the same config on test stacks. numidle always "10" why it is behaving differently in prod? On Wed, May 11, 2016 at 7:35 AM, Niranjan Babu Bommu < niranjan.bo...@gmail.com> wrote: > Hi Mark > I have included defined data source in this mail, do you want me

Re: tomcat(7.0.56) is not releasing idle jdbc connections

2016-05-11 Thread Niranjan Babu Bommu
Hi Mark I have included defined data source in this mail, do you want me to include complete server.xml? thanks Niranjan On Wed, May 11, 2016 at 7:19 AM, Mark Thomas <ma...@apache.org> wrote: > On 11/05/2016 11:58, Niranjan Babu Bommu wrote: > > Hi, > > > > we

tomcat(7.0.56) is not releasing idle jdbc connections

2016-05-11 Thread Niranjan Babu Bommu
Hi, we are migrating prod servers to tomcat, since we are doing it slowly we have found an issue in jdbc connection pool, tomcat is not releasing idle jdbc connections, even we have tried setting maxIdle="10" but "NumIdle 97" always. due to this threads are piling up in database. I'm including

Re: Issue with JMX in tomcat

2015-04-07 Thread Niranjan Babu Bommu
I think the following OPTS is missing. -Dcom.sun.management.jmxremote=true On Tue, Apr 7, 2015 at 10:45 AM, Paul, Subhro subhro.p...@pseg.com wrote: Dear Team, Below is the property I was using to enable JMX in tomcat.conf file without authentication : CATALINA_OPTS=${CATALINA_OPTS}

Re: Issue with JMX in tomcat

2015-04-07 Thread Niranjan Babu Bommu
What you see in the log? can you try chmod to read on two files? -r 1 jmxremote.password -r 1 jmxremote.access On Tue, Apr 7, 2015 at 11:19 AM, Paul, Subhro subhro.p...@pseg.com wrote: -Original Message- From: Niranjan Babu Bommu [mailto:niranjan.bo

Re: catalina.out rotation in tomcat 7.0.56

2014-11-26 Thread Niranjan Babu Bommu
Hi Chris, Can you please help me out catalina.out rotation, I have only thing pending in my migration project. I want to rotate catalina.out everyday midnight. Thanks Niranjan On Fri, Nov 21, 2014 at 2:00 PM, Niranjan Babu Bommu niranjan.bo...@gmail.com wrote: Hi Chris, Thanks for your

Re: Deploying .ca-bundle file .crt file as SSL certificates

2014-11-24 Thread Niranjan Babu Bommu
Hi Kernel, I think you have create a keystore from the cert, please follow these instruction and ket me know. Create store with temporary key inside: keytool -genkey -alias alias name -keystore yourkeystore.jks -storepass Hello1 Then delete existing entry: keytool -delete -alias temp -keystore

Re: Deploying .ca-bundle file .crt file as SSL certificates

2014-11-24 Thread Niranjan Babu Bommu
, and what about the CA-Bundle file? Did you got a chance to look at the question I have posted on Stackoverflow mentioned in the original question? On Mon, Nov 24, 2014 at 4:51 PM, Niranjan Babu Bommu niranjan.bo...@gmail.com wrote: Hi Kernel, I think you have create a keystore from

Re: Deploying .ca-bundle file .crt file as SSL certificates

2014-11-24 Thread Niranjan Babu Bommu
encrypted. What am I doing wrong? On Mon, Nov 24, 2014 at 5:20 PM, Niranjan Babu Bommu niranjan.bo...@gmail.com wrote: Sorry, I did not notice that. - *Import a root or intermediate CA certificate to an existing Java keystore* keytool -import -trustcacerts -alias root

Re: Deploying .ca-bundle file .crt file as SSL certificates

2014-11-24 Thread Niranjan Babu Bommu
=TLSv1 / On Mon, Nov 24, 2014 at 11:27 AM, Niranjan Babu Bommu niranjan.bo...@gmail.com wrote: Are you able to see the 8443 port listening? nc -z ipaddress 8443 On Mon, Nov 24, 2014 at 11:25 AM, Kernel freak kernelfr...@gmail.com wrote: I have added the certificate. I modified the server.xml

catalina.out rotation in tomcat 7.0.56

2014-11-21 Thread Niranjan Babu Bommu
Hi I’m working on a project migrating apps from jboss to tomcat, I’m running into an issue that is catalina.out rotation, I’m using log4.properties. Everything works fine, log rotation happening but not everyday midnight. I ‘m having difficult time to figure out. could some one help me out on

Re: catalina.out rotation in tomcat 7.0.56

2014-11-21 Thread Niranjan Babu Bommu
...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Niranjan, On 11/21/14 10:38 AM, Niranjan Babu Bommu wrote: I’m working on a project migrating apps from jboss to tomcat, I’m running into an issue that is catalina.out rotation, I’m using log4.properties