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
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 away
> 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 , by any chan
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 sugges
> 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 whe
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 hand
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 wrote:
> My ques
This is how the Host element is defined in Server.xml.
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,
Keshav
On Thu, Mar 3, 2011 at 11:40 AM, Konstan
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 becau
-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 bui
2011/3/3 Keshav Arora :
>
> 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 copied o
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 y
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 c
-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
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 d
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
(x86)\Java\jdk1.6.0_17ps=\worker.list=myworkerworker.myworker.port=8009worker.myworker.host=localhostworker.my
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 Foundatio
On Thu, Mar 3, 2011 at 5:57 PM, 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
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
http://local
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 li
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 fr
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 s
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 what
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 happ
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 front-en
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
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
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 inc
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 proje
29 matches
Mail list logo