Christian Schausberger wrote:
Rainer Jung wrote:
I would start adding a prepost_timeout. See:
http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html
and
http://tomcat.apache.org/connectors-doc/reference/workers.html
Maybe I misunderstood this directive. connect_timeout only appli
Hi,
I have the following web.xml
=
testeweb
Teste
/*
*
Hi,
I have a setup like this for running multiple instance of tomcat
installation
CATALINA_HOME is set to the tomcat installation dir
(D:/apache-tomcat-6.0.14)
CATALINA_BASE is set to the personal tomcat instance (D:/test/tomcat)
Under my personal tomcat dir(D:/test/tomcat), I have the
Hi ,all
I deploy many web applications on Tomcat.
But sometimes the response time of Tomcat is very long. At that time,
the CPU usage is very high.
Is there any tool for me to find out which web application consumes most
of the CPU resource?
Is there any tool to provide such information Remotely
Hi all.
I have installed test x64 environment. Server 2008. I have installed latest
Tomcat as well (6.0) and latest Java (1.6).
I had ot install JAVA 32bit - Tomcat did not wanted to start. I know that
service is 32 bit (i can see in task manager *32 at the end) and it can not
start Java 64 bit.
En l'instant précis du 24/01/08 14:32, maggie s'exprimait en ces termes:
Hi ,all
I deploy many web applications on Tomcat.
But sometimes the response time of Tomcat is very long. At that time,
the CPU usage is very high.
Is there any tool for me to find out which web application consumes most
o
> From: Diogenes Gomes [mailto:[EMAIL PROTECTED]
> Subject: Problem with protecting pages in Tomcat 5.5
>
>
> *
>
IIRC, 5.0 misinterpreted a setting of *; this was corrected
in 5.5 and above. The asterisk does not mean "any role", but rather
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: Running multiple tomcat instances with Tomcat 6.0.14
>
> conf
> Catalina
> localhost
> context.xml
>
> Contents of context.xml are as follows -
> privileged="true" allowL
Thank you very much Caldarale.
Please, do you know how to define "any role"? The framework I use
takes care of authorization (based on service's methods). I only need
to authenticate the user, otherwise I would double the access
configuration.
Diogenes
2008/1/24, Caldarale, Charles R <[EMAIL PRO
Hi,
I know it's weird, but I'm doing the simplest thing and can't believe there
such a leak that I'm the first one to notice. I bet it's my bad, please
someone explain, what I'm doing wrong...
I created the simplest JSP and when I load test it - tomcat (6.0.14,
jre1.6.0_03) goes to 99.9% memory
> From: Diogenes Gomes [mailto:[EMAIL PROTECTED]
> Subject: Re: Problem with protecting pages in Tomcat 5.5
>
> Please, do you know how to define "any role"?
I don't believe the servlet spec allows for such a weak constraint. You
may want to consider using programmatic authentication (as define
you will need to allow remote access to tomcat jmx via configured JAVA_OPTS
such as
-Dcom.sun.management.jmxremote
Complete details available at
http://java.sun.com/j2se/1.5.0/docs/guide/management/agent.html
Martin-
- Original Message -
From: "David Delbecq" <[EMAIL PROTECTED]>
To: "Tomc
Yes, struts and spring together. Dropping struts soon.
The thing I don't understand is that if I connect to one of the servers'
tomcat instance directly, it works fine. The error only shows up when I go
through httpd as the load balancer.
-Original Message-
From: Len Popp [mailto:[EMAIL P
I would think the simplest way to go is to define a role and add all
registered users to it. Nothing says a user can't have more than one role.
--David
Diogenes Gomes wrote:
Thank you very much Caldarale.
Please, do you know how to define "any role"? The framework I use
takes care of author
Rainer Jung wrote:
> Christian Schausberger wrote:
>> Rainer Jung wrote:
>>> I would start adding a prepost_timeout. See:
>>>
>>> http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html
>>> and
>>> http://tomcat.apache.org/connectors-doc/reference/workers.html
>>>
>> Maybe I misundersto
Hi,
I know it's weird, but I'm doing the simplest thing and can't believe there
such a leak that I'm the first one to notice. I bet it's my bad, please someone
explain, what I'm doing wrong...
I created the simplest JSP and when I load test it - tomcat (6.0.14,
jre1.6.0_03) goes to 99.9% memor
I think one of the files wasn't attached for some reason...
- Original Message -
From: Ofer Kalisky
To: users@tomcat.apache.org
Sent: Thursday, January 24, 2008 4:51 PM
Subject: Tomcat memory leak?
Hi,
I know it's weird, but I'm doing the simplest thing and can't believe
Good Morning Ofer
I dont see attachement of /LoadTest/something.jsp
Martin-
- Original Message -
Wrom: FPEGAUTFJMVRESK
To: users@tomcat.apache.org
Sent: Thursday, January 24, 2008 9:51 AM
Subject: Tomcat memory leak?
Hi,
I know it's weird, but I'm doing the simplest thi
I think the mailing list blocks war files...
trying with zip...
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, January 24, 2008 5:00 PM
Subject: Re: Tomcat memory leak?
Good Morning Ofer
I dont see attachement of /LoadTest/something.jsp
Mart
Change file ext to zip...
- Original Message -
From: "Ofer Kalisky" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, January 24, 2008 5:08 PM
Subject: Re: Tomcat memory leak?
I think the mailing list blocks war files...
trying with zip...
- Original Message -
F
Ok, since sending an attachment doesn't work,
simply create a webapp by the name of LoadTest and create two files inside:
something.jsp and something.html
the content of both files should be:
try the load.py with both:
import httplib
i = 0
while 1:
conn = httplib.HTTPConnection("localhost:
I downloaded your example.
So you are telling us, that simply calling a JSP file with html markup
only and without any code kills your tomcat?
Regards
Leon
On Jan 24, 2008 4:19 PM, Ofer Kalisky <[EMAIL PROTECTED]> wrote:
> Ok, since sending an attachment doesn't work,
>
> simply create a webapp b
still missing ChangeConfig.jsp ?
M-
- Original Message -
From: "Ofer Kalisky" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, January 24, 2008 10:13 AM
Subject: Re: Tomcat memory leak?
> Change file ext to zip...
>
> - Original Message -
> From: "Ofer Kalisky" <[EMAI
That's what I'm saying, I've been sitting on this for two days and can't
figure it out.
Do you mean to say that you tried it and even when accessing the JSP with
the script - your memory stays low? What am I doing wrong then?
Please notice the tomcat version and the JRE version I stated (6.0.14
i downloaded the war file and put it info webapps (it was the only webapp )
started tomcat (5.5.17)
started following in another shell:
while true; do wget "http://localhost:8080/LoadTest/something.jsp"; ; done
canceled after some thousands of iterations
i checked the memory usage via activity m
I missed the JSP -- did it disable sessions?
If not, then the most common way to cause such an issue is to use a test
harness that does not understand/preserve cookies between hits and thus
produces a different session for each hit. Empty sessions are small,
but do add up over time and choke
This issue was resolved by correctly utilizing the constructor of the
StreamSource object. It was expecting a String in URL/URI format and we were
passing in the file name only. The Zip download option of Tomcat did not
mind, but the Windows Service Installer option threw the "Unknown protocol
c"
In addition:
I have installed JAVA 1.6 and Tomcat 1.6 on my machine (XP) and all works
Perfect.
I have installed 32bit version on 2008 x64 and it does work but not perfect.
I can not start using (zipped version) startup.bat script. If i use Windows
installer it works. The problem is i wna to
Hi,
We are intending to deploy our application on individual laptops
(to be used by field personnel who does not have internet connectivity
to connect to our central server). The idea is that a trimmed down
version of our core application will be deployed on individual
> From: hoffmandirt [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat Windows Service Installer vs Core zip install xml
>
> The Zip download option of Tomcat did not mind, but the
> Windows Service Installer option threw the "Unknown protocol
> c" error.
Possibly due to the lack of a current dire
mor_feusz wrote:
In addition:
I have installed JAVA 1.6 and Tomcat 1.6 on my machine (XP) and all works
Perfect.
I have installed 32bit version on 2008 x64 and it does work but not perfect.
I can not start using (zipped version) startup.bat script. If i use Windows
installer it works. The p
That makes sense to me. Thanks Chuck.
Caldarale, Charles R wrote:
>
>> From: hoffmandirt [mailto:[EMAIL PROTECTED]
>> Subject: Re: Tomcat Windows Service Installer vs Core zip install xml
>>
>> The Zip download option of Tomcat did not mind, but the
>> Windows Service Installer option threw
Sureka, Sushil wrote:
Hi,
We are intending to deploy our application on individual laptops
(to be used by field personnel who does not have internet connectivity
to connect to our central server). The idea is that a trimmed down
version of our core application will be deployed on in
XP but there is no guarantee that they won't go to Vista in a year
timeframe.
Sushil
> -Original Message-
> From: Gabe Wong [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 24, 2008 11:54 AM
> To: Tomcat Users List
> Subject: Re: Tomcat installation/deployment question
>
> Sureka, S
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
|> From: Diogenes Gomes [mailto:[EMAIL PROTECTED]
|> Subject: Re: Problem with protecting pages in Tomcat 5.5
|>
|> Please, do you know how to define "any role"?
|
| I don't believe the servlet spec allows for such
you need to modify web.xml to point to your jsp file e.g.
something.jsp
we can help you with your action class ChangeConfig.jsp when you get around
sending us that class
attached is a picture of jconsole memory profiler run while loading and
init'ing something.jsp
notice the jump to 75% on the ini
To help save someone else a bit of perplexity and confusion there
appears to be a couple of slight errors in the Asynchronous writes
section of the tomcat-6-0-doc/aio.html page.
Any servlet can instruct Tomcat to perform a sendfile call by setting the
appropriate response attributes. When us
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ofer,
Ofer Kalisky wrote:
| That's what I'm saying, I've been sitting on this for two days and can't
| figure it out.
Does your JSP disable sessions? It's possible that your python script is
creating millions of (unused) sessions that don't expire b
possibly better off with a server offering as specified in documentation
http://people.apache.org/~mturk/docs/article/ftwai.html
"For non server products like Windows 2000 Professional or Windows XP the
number of concurrent connections is limited to 10. This mean that you can
not use workstation pr
Well we are not intending to use laptops to server multiple user. The
idea is that the user who is logged in on the laptop would just work
locally, when disconnected from network, and then we would synch up the
database running on laptop with the central database.
> -Original Message-
>
Hello Sushil, IMHO: ANT 1.7 has much improved deployment features in the area
of remote distributed deployments.
Sureka, Sushil wrote ..
>
>
>
> Hi,
>
> We are intending to deploy our application on individual laptops
> (to be used by field personnel who does not have inter
you can install a server product (2003) on a laptop which has the requisite
chip characteristics/sufficient ram (4gb)/sufficient diskspace(.25 tera) and
sufficient clockspeed (in other words server hardware characteristics) to
support that server
Databases:
You can configure your connection-string
Martin, thanks for the advise. We are already decided to move forward
with the decision to deploy on individual laptops. So yes we will have
sufficient hardware on laptop.
The question, what is the best way to put the tomcat installation and
upgrades, application installation and upgrades on the s
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Filip,
Filip Hanik - Dev Lists wrote:
| no, its just common sense, given that the session should represent a
| client state,
| and by the time the cluster tries to serialize it, the request is over.
There's no guarantee t
Caldarale, Charles R wrote:
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Subject: Re: ConcurrentModificationException on tomcat
cluster with SimpleTcpClusterstrategy
given that the session should represent a client state,
and by the time the cluster tries to serialize it, the
reque
even with your code, I wasn't able to replicate what you were seeing.
what I would need to see what's going on for you:
1. a war file with your comet server, and source code
2. a test client
3. your server.xml
Filip
Peter Warren wrote:
Thanks, Filip, for your time on this! I used your change
mor_feusz wrote:
Hi all.
I have installed test x64 environment. Server 2008. I have installed latest
Tomcat as well (6.0) and latest Java (1.6).
I had ot install JAVA 32bit - Tomcat did not wanted to start. I know that
service is 32 bit (i can see in task manager *32 at the end) and it can not
> From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
> Subject: Re: ConcurrentModificationException on tomcat
> cluster with SimpleTcpClusterstrategy
>
> that is correct, we thought of this scenario and decided that we
> wouldn't support it.
Not unreasonable to avoid the performance hit f
You should search through the list archives, e.g. at Nabble.com. In
this list there were several reports of successfully running Tomcat on
64-bit Windows during the last 6 months. Though that required some
manual configuration or tweaks.
Have a look at
1)
http://www.nabble.com/Installing-Tomcat-o
maggie-41 wrote:
>
> But sometimes the response time of Tomcat is very long. At that time,
> the CPU usage is very high.
>
First of all, some of your application is causing this, you should be guess
which ones can cause. Otherwise, it could be followings;
1. Garbage collectors kicked in.
2. Co
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Filip,
Filip Hanik - Dev Lists wrote:
|> In fact, you still are not covered, because removing the object from the
|> session merely removes the reference. If the session replicator is
|> running and copying, say, a Map to another machine in the clust
IMHO, try jakarta.apache.org JMeter. Take a close look at the very rigorous
load/stress testing so-called Test Plan that is a distributed load test. HTH.
Tobias Schulz-Hess wrote ..
> Hi there,
>
> we use the current Tomcat 6.0 on 2 machines. The hardware is brand new and is
> really
> fast. We
Hi there,
we use the current Tomcat 6.0 on 2 machines. The hardware is brand new and is
really fast. We get lots of traffic which is usually handled well by the
tomcats and the load on those machines is between 1 and 6 (when we have lots of
traffic).
The machines have debian 4.1/64 as OS.
Howe
Tobias,
You probably need to tune some kernel paramerters. I had some issues
with our application get "stuck" at some point that we needed to
restart everything. And since you said it is a brend new server, you
might have the defalt values set in there.
What Does "uname -a" say?
The kernel param
"Diogenes Gomes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Thank you very much Caldarale.
>
> Please, do you know how to define "any role"? The framework I use
> takes care of authorization (based on service's methods). I only need
> to authenticate the user, otherwise I would
Hi All,
I am from IBM - Informix Product Interoperability team . I tried to
create a JNDI connection from Tomcat to Database Informix. But it is
throwing error. I classified the error by the following way :
1. When I tried with type="javax.sql.DataSource" , I am getting error
"Cannot creat
Hi all,
We're using Apache 2.0.61 with mod_jk 1.2.25 and Tomcat 6.0.14.
We have a simple (non-load-balanced) apache/tomcat configuration using a
single worker to forward requests from apache to tomcat.
(workers.properties is below)
Our problem is: Some client requests kick off an expensive, long
Amitava Chakraborty wrote:
Hi All,
I am from IBM - Informix Product Interoperability team . I tried to
create a JNDI connection from Tomcat to Database Informix. But it is
throwing error. I classified the error by the following way :
1. When I tried with type="javax.sql.DataSource" , I am
Gabe,
Informix JDBC jars (ifxjdbc.jar , ifxjdbcx.jar) are already there under
./common/lib/
Thanks..
Amitava Chakraborty PMP®
Lead - Informix Interoperability
IBM India PVT LTD.
Plot No 1&2, Block - G, 2nd Floor ,
The Mira Corporation Suites, Old Ishwar Nagar,
Mathura Rd. New Delhi 110065
Amitava Chakraborty wrote:
Gabe,
Informix JDBC jars (ifxjdbc.jar , ifxjdbcx.jar) are already there under
./common/lib/
Bunch of other things:
I assume you are not adding classpath to Tomcat startup script?
And it is a distro directly from tomcat.apache.org
And of course not a GNU (linux di
Hi Bruno,
thanks for your quick reply.
Bruno Vilardo schrieb:
> What Does "uname -a" say?
:~# uname -a
Linux bruder 2.6.18-5-amd64 #1 SMP Thu May 31 23:51:05 UTC 2007 x86_64
GNU/Linux
You are probably more interested in:
~# cat /proc/version
Linux version 2.6.18-5-amd64 (Debian 2.6.18.dfsg.1-13)
Hello all,
I've encountered interesting thing while working with Apache Tomcat 6.0.14.
I have clear aim: to change running server port number using the remote
application.
There is an ability described in Tomcat documentation which provides
administrative tools for server management. In particula
62 matches
Mail list logo