Re: Performance question...

2015-04-07 Thread Linus Brimstedt
Hello Try to do a java thread dump and check the stuck threads (possibly by comparing with the output of the tomcat server status page). Hopefully this will give you a clue about what the threads are doing at that time. If the application uses a database, you may see that they are stuck waiting for

Problem with SimpleTcpCluster and nodes temporarily dropping out of cluster

2015-04-07 Thread Linus Brimstedt
Hello, We have a problem with SimpleTcpCluster and session replication. We have tested this in Tomcat 7 and 8 (latest versions) on Windows Server using latest revision of Hotspot JDK version 7, but checking the code it seems like this is not covered anyway. The problem: Replication works well whe

RE: Fedora 20 Yum and tomcat setup

2015-04-07 Thread Caldarale, Charles R
> From: Salam Y. Elias [mailto:salamli...@free.fr] > Subject: Fedora 20 Yum and tomcat setup > I used Yum to setup which installed Apache Tomcat/7.0.52. You should probably stop right there and undo that. The 3rd-party mangled versions of Tomcat tend to scatter files all over the place to the

Performance question...

2015-04-07 Thread PerfGuru
Hi All,We are noticing when running a simple load test of 25 virtual users that our Tomcat server is running at 40% CPU and transactions are taking over 40 seconds. We setup a test where we focused (in a loop) one of the longer response time requests. The access logs show the log response time a

Fedora 20 Yum and tomcat setup

2015-04-07 Thread Salam Y. Elias
Hi, Hi, I used Yum to setup which installed Apache Tomcat/7.0.52. I am trying to define CATALINA_HOME and really confused and don't know where are the tomcat directoris. I use this sudo yum install tomcat-native.x86_64 tomcat-admin-webapps.noarch tomcat-servlet-3.0-api.noarch tomcat-webapps.noarc

Re: Issue with JMX in tomcat

2015-04-07 Thread André Warnier
Paul, Subhro wrote: -Original Message- From: Neill Lima [mailto:neill.l...@visual-meta.com] Sent: Tuesday, April 07, 2015 11:25 AM To: Tomcat Users List Subject: Re: Issue with JMX in tomcat Email sent from outside of PSEG. Use caution before using links/attachments. Tried chmodding

RE: Issue with JMX in tomcat

2015-04-07 Thread Paul, Subhro
-Original Message- From: Neill Lima [mailto:neill.l...@visual-meta.com] Sent: Tuesday, April 07, 2015 11:25 AM To: Tomcat Users List Subject: Re: Issue with JMX in tomcat Email sent from outside of PSEG. Use caution before using links/attachments. Tried chmodding 600 in both .access a

RE: Issue with JMX in tomcat

2015-04-07 Thread Paul, Subhro
-Original Message- From: Niranjan Babu Bommu [mailto:niranjan.bo...@gmail.com] Sent: Tuesday, April 07, 2015 11:33 AM To: Tomcat Users List Subject: Re: Issue with JMX in tomcat Email sent from outside of PSEG. Use caution before using links/attachments. What you see in the log? can

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 wrote: > > > -Original Message- > From: Niranjan Babu Bommu [mailto:niranjan.bo...@gmail.com] > Sent: Tuesda

Re: Issue with JMX in tomcat

2015-04-07 Thread Neill Lima
Tried chmodding 600 in both .access and .password files? On Tue, Apr 7, 2015 at 5:19 PM, Paul, Subhro wrote: > > > -Original Message- > From: Niranjan Babu Bommu [mailto:niranjan.bo...@gmail.com] > Sent: Tuesday, April 07, 2015 11:02 AM > To: Tomcat Users List > Subject: Re: Issue with J

RE: Issue with JMX in tomcat

2015-04-07 Thread Paul, Subhro
-Original Message- From: Niranjan Babu Bommu [mailto:niranjan.bo...@gmail.com] Sent: Tuesday, April 07, 2015 11:02 AM To: Tomcat Users List Subject: Re: Issue with JMX in tomcat Email sent from outside of PSEG. Use caution before using links/attachments. I think the following OPTS is

RE: Issue with JMX in tomcat

2015-04-07 Thread Paul, Subhro
-Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Tuesday, April 07, 2015 11:02 AM To: Tomcat Users List Subject: Re: Issue with JMX in tomcat Email sent from outside of PSEG. Use caution before using links/attachments. Paul, Subhro wrote: > Dear Team, > > Below i

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 wrote: > Dear Team, > > Below is the property I was using to enable JMX in tomcat.conf file > without authentication : > > CATALINA_OPTS="${CATALINA_OPTS} -Dcom.sun.managemen

Re: Issue with JMX in tomcat

2015-04-07 Thread André Warnier
Paul, Subhro wrote: Dear Team, Below is the property I was using to enable JMX in tomcat.conf file without authentication : CATALINA_OPTS="${CATALINA_OPTS} -Dcom.sun.management.jmxremote.port=9010 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dj

Issue with JMX in tomcat

2015-04-07 Thread Paul, Subhro
Dear Team, Below is the property I was using to enable JMX in tomcat.conf file without authentication : CATALINA_OPTS="${CATALINA_OPTS} -Dcom.sun.management.jmxremote.port=9010 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostnam

Re: Apache 8.0.21 log in to admin pages

2015-04-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Peter, On 4/7/15 8:09 AM, Peter Walsh wrote: > Hi, > > I successfully installed tomcat version 8.0.21 and the main page > comes u p using http://serverip:8080. > > None of the buttons "Server Status", "Manager App", "Host Manager" > allow access d

Re: Problem with Tomcat6 catalina.out

2015-04-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Yogesh, On 4/7/15 8:12 AM, Bhagyashree Jog wrote: > Okay so I ran the java -version command on both machines: > > On machine 1 : Issue is reproducible (CentOS 6.2, tomcat 6.0.24) > java -version java version "1.7.0_17" Java(TM) SE Runtime > Enviro

Re: After parsing the custom server.xml file, catalinaBase is set to null

2015-04-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 4/6/15 5:48 PM, Konstantin Kolinko wrote: > 2015-04-02 14:01 GMT+03:00 Thusitha Thilina Dayaratne > : >> Hi, >> >> I'm using embedded-tomcat 8.0.20 in my project. In that I'm >> parsing a custom server.xml file. After the parsing Cat

Re: Need configuration example for Tomcat 7.0.55 TLS configuration

2015-04-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Tom, On 4/6/15 10:15 PM, Tom Williamson wrote: > Thank you (and the others who responded). I was tearing my hair > out trying to fix this. Some background (if anyone cares): > > I have a small private site protected by SSL, which has run fine >

Re: Apache 8.0.21 log in to admin pages

2015-04-07 Thread Konstantin Kolinko
2015-04-07 15:09 GMT+03:00 Peter Walsh : > Hi, > > I successfully installed tomcat version 8.0.21 and the main page comes u > p using http://serverip:8080. > > None of the buttons "Server Status", "Manager App", "Host Manager" allow > access despite tomcat-users.xml was setup correctly. You have t

Re: Problem with Tomcat6 catalina.out

2015-04-07 Thread Bhagyashree Jog
Okay so I ran the java -version command on both machines: On machine 1 : Issue is reproducible (CentOS 6.2, tomcat 6.0.24) java -version java version "1.7.0_17" Java(TM) SE Runtime Environment (build 1.7.0_17-b02) Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode) On machine 2 : Issue

Apache 8.0.21 log in to admin pages

2015-04-07 Thread Peter Walsh
Hi, I successfully installed tomcat version 8.0.21 and the main page comes u p using http://serverip:8080. None of the buttons "Server Status", "Manager App", "Host Manager" allow access despite tomcat-users.xml was setup correctly. The Apache tomcat was stopped and restarted after any changes w

Re: Problem with Tomcat6 catalina.out

2015-04-07 Thread Bhagyashree Jog
Hi, The problem is not reproducible after upgarding to CentOS 6.4 and above. I was earlier using CentOS 6.2. Cant understand why? Any explanations? On 2 April 2015 at 10:26, Yogesh Rao wrote: > Hello, > > Not sure if it would help but you could try installing crypto providers > into the JRE exte

Re: [Tomcat8] What happened to WebappLoader.addRepository()?

2015-04-07 Thread Thusitha Thilina Dayaratne
Hi, > Hi Mark, > > :) I think you meant snip rather than snipe. > Try addURL(). > Sorry for the inconvenience. > As I understand addURL() method is defined in WebAppClassLoaderBase. So > should I obtain the WebAppClassLoaderBase using getClassLoader() method and > use reflections to call the ad

Re: [Tomcat8] What happened to WebappLoader.addRepository()?

2015-04-07 Thread Mark Thomas
On 07/04/2015 09:27, Thusitha Thilina Dayaratne wrote: > Hi Mark, > > :) I think you meant snip rather than snipe. > Try addURL(). > Sorry for the inconvenience. > As I understand addURL() method is defined in WebAppClassLoaderBase. So > should I obtain the WebAppClassLoaderBase using getClassL

Re: [Tomcat8] Alternative for WebAppClassLoader.started

2015-04-07 Thread Mark Thomas
On 07/04/2015 10:00, Thusitha Thilina Dayaratne wrote: > Hi > >> In tomcat 7, there is a field in the WebAppClassLoader as >> protected boolean started - Has this component been started? > >> But In Tomcat 8 this field have been remove. What is the alternative way >> in Tomcat 8 for this? > I thi

Re: [Tomcat8] Alternative for WebAppClassLoader.started

2015-04-07 Thread Thusitha Thilina Dayaratne
Hi >In tomcat 7, there is a field in the WebAppClassLoader as >protected boolean started - Has this component been started? >But In Tomcat 8 this field have been remove. What is the alternative way in Tomcat 8 for this? I think I can use getState()== LifecycleState.STARTED Thanks 2015-04-07 1

[Tomcat8] Alternative for WebAppClassLoader.started

2015-04-07 Thread Thusitha Thilina Dayaratne
Hi, In tomcat 7, there is a field in the WebAppClassLoader as protected boolean started - Has this component been started? But In Tomcat 8 this field have been remove. What is the alternative way in Tomcat 8 for this? Thanks --

Re: [Tomcat8] What happened to WebappLoader.addRepository()?

2015-04-07 Thread Thusitha Thilina Dayaratne
Hi Mark, > @Override protected void startInternal() throws LifecycleException > { // validate the context, which is used for debugging messages > Context context; { Container container = getContainer(); if > (container == null) { throw new LifecycleException("Container is > null?!"); } if (!(cont

Re: [Tomcat8] What happened to WebappLoader.addRepository()?

2015-04-07 Thread Mark Thomas
On 07/04/2015 07:51, Thusitha Thilina Dayaratne wrote: > Hi All, > > I'm having the same issue. We have extend the WebAppLoader as follows in > the Tomcat 7 > > public class CarbonWebappLoader extends WebappLoader { > @Override > protected void startInternal() throws LifecycleException {