tomcat java.lang.ClassNotFoundException: javax.management.j2ee.statistics.JTAStats

2011-03-03 Thread java4dev
Hello everybody, I am having problem with tomcat + NetBeans. I am using NetBeans for a decade building Swing applications but this is my first time with web applications so please be nice ;) I posted this on NetBeans list but I think this list is most appropriate. I created a simple web

Re: [SECURITY] Tomcat 7 ignores @ServletSecurity annotations

2011-03-03 Thread Mark Thomas
On 03/03/2011 05:54, Caldarale, Charles R wrote: From: Michael McCutcheon [mailto:michael.mccutch...@att.net] Subject: Re: [SECURITY] Tomcat 7 ignores @ServletSecurity annotations On 3/2/2011 8:49 AM, Mark Thomas wrote: If code changes are required to address this, they will be included in

Re: [OT] IIS7/isapi/tomcat performance

2011-03-03 Thread Tony Anecito
Hi Chuck, You did not see my earlier response where I came to the same conclusion about the types after looking at some other sites including a wiki. Yes there was some confusion but now I am clear that it is compiler dependant as I said earlier. Thanks, -Tony

RE: how to configue tomcat ldap 2008

2011-03-03 Thread Tumsifu Orgenes
Hello Jill, How did you solve this problem? I'm also facing the same. Regards, Torgenes Felix Schumacher wrote: On Thu, 20 Jan 2011 13:10:06 -0600, Jill Han wrote: Still no luck after trying adCompat=true. That option was added in 6.0.21, it is not present in any 5.5.x. I didn't see

Problem accessing a secure resource with FORM login method when web application clustered on Tomcat 6.0.18

2011-03-03 Thread Vamsavardhana Reddy
Hi, I am using Tomcat 6.0.18 embedded in Geronimo server to cluster my web application. I have two nodes Node1 and Node2. On Node1 the HTTP port is 8080 and AJP port 8009. On Node2 the HTTP port is 8090 and AJP port 8019. I am using Apache HTTP Server (HTTP on port 80) with mod_jk as the

Re: Problem accessing a secure resource with FORM login method when web application clustered on Tomcat 6.0.18

2011-03-03 Thread Mark Thomas
On 03/03/2011 12:18, Vamsavardhana Reddy wrote: My guess is that there is an issue with Tomcat AJP connector because of which the request is getting forwarded to the login page when the HTTP server switches the node that will serve the request. Can someone throw light on what could be

Re: Problem accessing a secure resource with FORM login method when web application clustered on Tomcat 6.0.18

2011-03-03 Thread André Warnier
Mark Thomas wrote: On 03/03/2011 12:18, Vamsavardhana Reddy wrote: My guess is that there is an issue with Tomcat AJP connector because of which the request is getting forwarded to the login page when the HTTP server switches the node that will serve the request. Can someone throw light on

Re: Vetoing the start of a webapp

2011-03-03 Thread Olivier Lefevre
NB: Sorry if this a double posting but for some reason it didn't get through the first time. On 3/1/2011 7:52 PM, Caldarale, Charles R wrote: In the 3.0 spec, it's in section 11.6 (was 10.6 in the 2.5 version). The key statements are: Yes, that's what I was referring to. Because of the

apache-tomcat6 doesn't stop process after shutdown

2011-03-03 Thread Volodymyr Ladnik
Hello, I have issue using apache-tomcat-6.0.29 on Ubuntu and Gentoo Linux. After deploying my .war file to server Tomcat doesn't stop it's process when run bin/shutdown.sh script. This issue is also reproducible with tomcat-7.0.8. Steps to reproduce: 1. Download apache-tomcat-6.0.29.tar.gz

Re: apache-tomcat6 doesn't stop process after shutdown

2011-03-03 Thread Mark Thomas
On 03/03/2011 12:56, Volodymyr Ladnik wrote: Hello, I have issue using apache-tomcat-6.0.29 on Ubuntu and Gentoo Linux. After deploying my .war file to server Tomcat doesn't stop it's process when run bin/shutdown.sh script. This issue is also reproducible with tomcat-7.0.8. Most

Trouble connecting Tomcat 7.0 with Apache Server 2.2

2011-03-03 Thread John C
I am trying to connect Tomcat 7.0 and Apache Server 2.2 using Windows 7.0. I created a .jsp file to test if my setup was correct under C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0\webapps\sitepoint\count.jsp. I can successfully load the count.jsp file by entering

Re: Problem accessing a secure resource with FORM login method when web application clustered on Tomcat 6.0.18

2011-03-03 Thread Vamsavardhana Reddy
On Thu, Mar 3, 2011 at 5:57 PM, Mark Thomas ma...@apache.org wrote: On 03/03/2011 12:18, Vamsavardhana Reddy wrote: My guess is that there is an issue with Tomcat AJP connector because of which the request is getting forwarded to the login page when the HTTP server switches the node that

Trouble connecting Tomcat 7.0 with Apache Server 2.2 (reposting question - hopefully this formats better)

2011-03-03 Thread John C
Reposting the same question I posted a minute ago due to weird formatting issues. Hopefully this email fixes it. I am trying to connect Tomcat 7.0 and Apache Server 2.2 using Windows 7.0. I created a .jsp file to test if my setup was correct under C:\Program Files (x86)\Apache Software

RE: Trouble connecting Tomcat 7.0 with Apache Server 2.2 (reposting question - hopefully this formats better)

2011-03-03 Thread John C
I fixed my own problem. I changed the workers.properties file to this: workers.tomcat_home=C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0workers.java_home=C:\Program Files

Re: Trouble connecting Tomcat 7.0 with Apache Server 2.2 (reposting question - hopefully this formats better)

2011-03-03 Thread André Warnier
You are still having formatting issues, which makes it a bit difficult to follow. But you seem to have found the issue : the worker name used as the last item on a JkMount line, must match one named in the workers.properties file. (The worker in this case meaning one background Tomcat to do

Re: Error in Tomcat when redeploying the Web application

2011-03-03 Thread Thomas Freitag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Keshav, On 02.03.11 um 14:39, Keshav Arora wrote: Hi All, We have been using Tomcat version 6.0.29 to deploy our webapp and everything works great. In our development environment we can deploy/undeploy our web app multiple times without

Re: Error in Tomcat when redeploying the Web application

2011-03-03 Thread Keshav Arora
Thomas, Thanks so much for your reply! Yes you are correct, we redeploy the application by copying the new version of war file to webapps folder. I've created a build script that builds the war file and copy it to Tomcat\webapps folder. Tomcat is installed on my local machine. So file is always

Re: Cleaning up after tomcat jdbc-pool?

2011-03-03 Thread Filip Hanik - Dev Lists
hi Nicholas, where is your pool configured? In server.xml or in your application context? If it is configured in server.xml, then this is a bug, the thread should have been created with the class loader from the pool itself. If it is configured in the application context, then this simply means

Re: Error in Tomcat when redeploying the Web application

2011-03-03 Thread Konstantin Kolinko
2011/3/3 Keshav Arora karor...@gmail.com: Yes you are correct, we redeploy the application by copying the new version of war file to webapps folder. I've created a build script that builds the war file and copy it to Tomcat\webapps folder. Tomcat is installed on my local machine. So file is

Re: Error in Tomcat when redeploying the Web application

2011-03-03 Thread Thomas Freitag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Keshav, On 03/03/2011 05:07 PM, Keshav Arora wrote: Thomas, Thanks so much for your reply! Yes you are correct, we redeploy the application by copying the new version of war file to webapps folder. I've created a build script that builds

Re: Cleaning up after tomcat jdbc-pool?

2011-03-03 Thread Filip Hanik - Dev Lists
On 3/3/2011 11:44 AM, Olivier Lefevre wrote: On 3/3/2011 5:17 PM, Filip Hanik - Dev Lists wrote: If it is configured in the application context, then this simply means you forgot to call DataSource.close on the connection pool when your web application is stopped. This is confusing advice

Re: Error in Tomcat when redeploying the Web application

2011-03-03 Thread Keshav Arora
This is how the Host element is defined in Server.xml. Host appBase=webapps name=localhost /Host We are getting these errors on Windows XP, Windows 2003 and on Windows 7 workstations. War file is about 14 MB. I'll try the approach of renaming of war file and let everyone know. Regards,

RE: Tomcat and SSL

2011-03-03 Thread jvr
Yes, this helps me. Thank You. -Original Message- From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther Sent: jueves, 03 de marzo de 2011 0:48 To: Tomcat Users List Subject: Re: Tomcat and SSL On 2 March 2011 15:56, jvr jvr...@gmail.com

Getting http connection status

2011-03-03 Thread David kerber
I should know this because I've done it before, but I'm drawing a blank on it now. How do I get a status on the http connection threads in tc 5.5.somethingLate? I'm looking for some performance bottlenecks that right now appear to be related to the number of concurrent connections it is

RE: Getting http connection status

2011-03-03 Thread Caldarale, Charles R
From: David kerber [mailto:dcker...@verizon.net] Subject: Getting http connection status How do I get a status on the http connection threads in tc 5.5.somethingLate? JMX is your friend... You could use jConsole or VisualVM; those will let you poke around individual threads to see where

Tomcat JMX Monitoring - Busy Threads?

2011-03-03 Thread Sean Laurent
I'm trying to monitor Tomcat 6.0.29 using JMX. Specifically, I want to monitor the number of active threads servicing requests so I can get an alert if it approaches the maximum. While I have JMX monitoring working in general, I can't seem to get the number of threads. Everything I have read

RE: Tomcat JMX Monitoring - Busy Threads?

2011-03-03 Thread Caldarale, Charles R
From: Sean Laurent [mailto:s...@studyblue.com] Subject: Tomcat JMX Monitoring - Busy Threads? Catalina:type=ThreadPool,name=http-8080 examining the currentThreadsBusy attribute. Unfortunately, I only ever seem to get -1 as a value. Seems to work for me. Are you using an Executor, by any

Re: Cleaning up after tomcat jdbc-pool?

2011-03-03 Thread Nicholas Sushkin
Hi, Filip, My tomcat jdbc pool is configured in my app's context.xml. My app uses MyBatis 3 to do the work. I store MyBatis SqlSessionFactory in ServletContext attributes. I was able to get DataSources back from Batis SqlSessionFactory, and invoke .close on each. The leak seems to have gone

Re: Cleaning up after tomcat jdbc-pool?

2011-03-03 Thread Olivier Lefevre
Can we see the relevant part of your context.xml, too? Thanks, -- O.L. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org