Stephen Caine wrote:
We are using a c:import url tag. Under most circumstances this works
just fine, but when it is iterated hundreds of times within the same
page, it causes the java process to quickly exhaust threads. This is on
a 64 bit machine with a 2 gig heap size. The number of thread
Hi all,
I have a question regarding context reloading in tomcat. Our app
consists of two type of Java class files (1) core modules consisting
of many singletons which are initialized once by reading large files
from filesystem at the start of application (2) helper classes mostly
for formatting, e
Hi
The Following was done for the Clustering (2 tomcats )
Values TOMCAT5523_ITOMCAT5523_II
Startup 80818082
ShutDown80078008
APJ 80098010
TCP Listener40014002
tcpListenAddressautoauto
jvmRoute
Hi all,
I have successfully installed Tomcat 5.5.27 over my Solaris system with x86
architecture.
but when i tried to start tomcat it takes almost 2 hours to start.
when i start the server in normal mode with command
" /opt/tomcat/in/catalina.sh run"
it starts in almost 2 hours.
but with debu
Use http://tuckey.org/urlrewrite/
It will let you easily map http://www.bla.com to http://bla1.com.
On Apr 28, 2008, at 7:52 PM, Pavel Pragin wrote:
Hello,
Can I add a configuration to redirect from one URL to another. So if
the
user goes to http://www.bla.com it will redirect to htt
All,
This question may not belong here, so let me apologize in advance if
this is posted inappropriately.
We are using a c:import url tag. Under most circumstances this works
just fine, but when it is iterated hundreds of times within the same
page, it causes the java process to quickly
Hello,
Can I add a configuration to redirect from one URL to another. So if the
user goes to http://www.bla.com it will redirect to http://www.bla1.com
.
Is it something I need to add to server.xml in Tomcat. Tomcat is using
the Coyote http connector.
Thanks
Don't let it go. Just use the top mail link at the bottom of every
message.
On Apr 28, 2008, at 7:09 PM, Stephen Caine wrote:
Mark,
The correct procedure is to create a new message with a new subject.
This will start a new thread.
Actually, this is what I thought I did. My sincere apolo
> From: Ben Stover [mailto:[EMAIL PROTECTED]
> Subject: Into which dir do I have to deploy web service *.war
> files ? "Hot" deployment or restart required?
>
> Into which dir in Tomcat installation do I have to
> deploy/copy web service *.war files ?
For a default Tomcat configuration, the no
Ben Stover wrote:
Into which dir in Tomcat installation do I have to deploy/copy web service
*.war files ?
For a default installation, any war files (web service or not) placed in
$CATALINA_HOME/webapps will be auto-deployed. There should be no need for a
restart.
Are you expecting Tomcat
Stephen Caine wrote:
Mark,
The correct procedure is to create a new message with a new subject.
This will start a new thread.
Actually, this is what I thought I did. My sincere apologies. Would it
be better for me to start a new thread or should I just let this go?
The headers never lie
Sorry for these newbie questions: I know the answers only for JBoss.
So I need assistance to do the same with Tomcat:
Into which dir in Tomcat installation do I have to deploy/copy web service
*.war files ?
Is there a "hot" deployment in Tomcat? Read: Do I have to restart Tomcat in
order
to let
Mark,
The correct procedure is to create a new message with a new subject.
This will start a new thread.
Actually, this is what I thought I did. My sincere apologies. Would
it be better for me to start a new thread or should I just let this go?
Stephen
--
Stephen Caine wrote:
All,
This question may not belong here, so let me apologize in advance if
this is posted inappropriately.
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing message and change the
subject line. This is known
All,
This question may not belong here, so let me apologize in advance if
this is posted inappropriately.
We are using a c:import url tag. Under most circumstances this works
just fine, but when it is iterated hundreds of times within the same
page, it causes the java process to quickly
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
Christopher Schultz wrote:
| This means that, for users who are using both applications at once,
| all requests to '/foo' have TWO values sent for the JSESSIONID
| cookie. It appears that Tomcat will try both cookie ids and use the
| one that ac
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Larry,
Other than Mark's comments...
Larry Prikockis wrote:
| 1) Any thoughts on why the Apache SSL -> Tomcat combination should be so
| much slower?
If your transactions are short, it's certainly possible that most of t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Larry,
Larry Prikockis wrote:
| Mark H. Wood wrote:
|> That's certainly worth thinking about. What exactly do you mean by
|> "performance"?
|
| good point... shoulda been more specific-- we were mainly looking at raw
| connections per second and thr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
I'm having a weird problem in production that I completely understand
but I'm not sure if there's a good way to fix it without re-locating one
of my applications.
I have 3 webapps running in separate VMs. One of them is running as ROOT
(context
Mark H. Wood wrote:
On Mon, Apr 28, 2008 at 11:27:09AM -0400, Larry Prikockis wrote:
Specifically, we have a webapp on a Windows 2003 server that utilizes
Apache 2.2 SSL as a frontend and mod_proxy_ajp to send requests to Tomcat
5.5.17 (on the same server). By eliminating the Apache frontend
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jin,
Jin Kim wrote:
| In Tomcat documentations, the removeAbandonedTime¡¯
| attribute is the number of seconds a dB connection has
| been idle before it is considered abandoned.
|
| Is the idle time calculated since the connection was
| borrowed from
Hello,
In Tomcat documentations, the removeAbandonedTime¡¯
attribute is the number of seconds a dB connection has
been idle before it is considered abandoned.
Is the idle time calculated since the connection was
borrowed from the pool? Or, is it calculated from the
last time the connection has b
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Smith wrote:
| I'll bet money the added, idle postgres connections are just sleeping
| while they wait for work. Given idle connections contribute virtually
| no additional load, don't see his argument that
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Smith wrote:
| I'll bet money the added, idle postgres connections are just sleeping
| while they wait for work. Given idle connections contribute virtually
| no additional load, don't see his argument that idle connections
| contribute
Out tomcat servers are handling around 30K SSL hits every 5 minutes
with very little effort (10% cpu average on a dual core machine, good
response time).
We tried to put in httpd in front thinking we can squeeze out better
performance and memory consumption.
The system just couldn't handle th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Larry,
Other than Mark's comments...
Larry Prikockis wrote:
| 1) Any thoughts on why the Apache SSL -> Tomcat combination should be so
| much slower?
If your transactions are short, it's certainly possible that most of the
time is taken up by movin
Well, I'm not using APR, just the default connector.
And I cannot get Tomcat to ever compress an HTML or text file of any
size. It's as if it completely ignores the setting.
I've tried small medium and large html and text files, and it doesn't
matte whether I set compression to "on",
On Mon, Apr 28, 2008 at 11:27:09AM -0400, Larry Prikockis wrote:
> I know the latest edition of the O'Reilly Tomcat book by Brittain and
> Darwin strongly advocates the use of standalone Tomcat as opposed to the
> traditional httpd->Tomcat approach, but this seems to be somewhat of a
> paradigm
Similar problem here - only seeing it with Safari, only going through apache,
only on the first try (canceling upload and trying again always works).
Any solutions yet?
tomcat 5.5.26, apache 2.2.6
Thanks,
Alex
ps- I did a tomcat thread dump when it hung. Here's where it appears to be
stuck:
you keep with holding information,
post the entire thread dump, in its native format
Filip
Barak Yaish wrote:
My mistake, you right. There is one thread waiting for a db connection from
the pool:
where 0x184e
[1] java.lang.Object.wait (native method)
[2] com.mchange.v2.resourcep
I know the latest edition of the O'Reilly Tomcat book by Brittain and
Darwin strongly advocates the use of standalone Tomcat as opposed to the
traditional httpd->Tomcat approach, but this seems to be somewhat of a
paradigm shift for most people. I'm interested in hearing what the
wider commun
karthikn wrote:
Hi
Somebody Please Help me with this form
http://wiki.apache.org/tomcat/FAQ/Tomcat_User#Q2
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
On Apr 28, 2008, at 9:59 AM, Alan Chaney wrote:
David Smith wrote:
No, I have at most 20 idle connections, that's goes right, but my
boss want
less idle connections to avoid to overload the database server. So
there
isn't way to close an idle connection to remove the relative
process
David Smith wrote:
>I'll bet money the added, idle postgres connections are just sleeping
>while they wait for work. Given idle connections contribute virtually
>no additional load, don't see his argument that idle connections
>contribute to a database overload. If the minor increase in overhe
On 28/04/2008, at 4:59 PM, Alan Chaney wrote:
David Smith wrote:
No, I have at most 20 idle connections, that's goes right, but my
boss want
less idle connections to avoid to overload the database server. So
there
isn't way to close an idle connection to remove the relative
process?
If
David Smith wrote:
No, I have at most 20 idle connections, that's goes right, but my boss
want
less idle connections to avoid to overload the database server. So there
isn't way to close an idle connection to remove the relative process?
If so, I will set maxIdle="2" and everyone will be ha
> From: Jonathan O'Donovan [mailto:[EMAIL PROTECTED]
> Subject: Re: Deploying discovered web applications
>
> Or do you mean that some of the files have a timestamp set
> to a time in the future?
Yes - transferring files from some system to another with a different
time base can cause "interest
Hi Chuck - many thanks for your help. I'm not sure what you mean by set in
the future. Do you mean that the timestamp of some files get reset at some
point after deployment and this makes tomcat redeploy. Or do you mean that
some of the files have a timestamp set to a time in the future?
I sea
Hi
Somebody Please Help me with this form
with regards
Karthik
karthikn wrote:
Hi
I have few Questions which i was not able to get TOMCAT CLUSTERING HOWTO
and form.
a) Clustering
1) Do we need to deploy the war files on each individual Tomcat
when joined the clustering.
No, I have at most 20 idle connections, that's goes right, but my boss want
less idle connections to avoid to overload the database server. So there
isn't way to close an idle connection to remove the relative process?
If so, I will set maxIdle="2" and everyone will be happy (expecially me :)
Christopher Schultz wrote:
>| Enrico Sadelli wrote:
>| If so, I will set maxIdle="2" and everyone will be happy (especially me :)
>
>That's it! But I suspect that this setting will reduce your performance,
>especially if you have an application with lots of db access and
>sporadic traffic patterns.
I cannot reproduce this error on demand. It happens sporadically throughout
all the logs.
I did remove socket_timeout and set maxThreads to 380 and I'm still seeing
the exact same errors:
[1660:3036] [info] jk_ajp_common.c (840): awaited reply cpong, received 3
instead
[1660:3036] [info] jk_ajp_
My mistake, you right. There is one thread waiting for a db connection from
the pool:
> where 0x184e
[1] java.lang.Object.wait (native method)
[2] com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable
(BasicResourcePool.java:1,315)
[3] com.mchange.v2.resourcepool.BasicResourcePool.pr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Enrico,
Enrico Sasdelli wrote:
| No, I have at most 20 idle connections, that's goes right, but my boss
want
| [fewer] idle connections to avoid to overload the database server. So
there
| isn't way to close an idle connection to remove the relative
Thanks for reply,
>I see you have maxIdle="20". Do you have more that 20 connections
>sitting idle? Is this really that much of a concern? As long as the
>connections are released (closed) and returned to the pool, I don't see
>the problem.
No, I have at most 20 idle connections, that's go
I see you have maxIdle="20". Do you have more that 20 connections
sitting idle? Is this really that much of a concern? As long as the
connections are released (closed) and returned to the pool, I don't see
the problem.
The entire idea of a connection pool is the system keeps around a set of
> From: Barak Yaish [mailto:[EMAIL PROTECTED]
> Subject: Tomcat HTTTP Connectior Hangs
>
> thread dump of the JVM running the tomcat does not show
> any stuck thread
The above is rather hard to believe - you might want to post the thread
dump, or at least non-duplicate parts of it.
Are your da
Hello all,
I'm running tomcat 5.5.23 on CentOS5 machine, JAVA1.6.2. Once every few
days, Tomcat hangs. The Servlet deployed into it seems to be still running
(keep writing to log), but telnet to 8080 hangs, browsing to tomcat'
homepage hangs. Catalina.out doesn't show any exceptions, thread dum
> From: Jonathan O'Donovan [mailto:[EMAIL PROTECTED]
> Subject: Deploying discovered web applications
>
> I was wondering if anybody has encountered a situation where
> Tomcat keeps deploying a given webapp?
>
> I noticed that it has cropped up on this forum before but
> there doesn't seem to
Hi all,
I use tomcat-6.0.14 and postgresql-8.1 with JNDI connection pool, after a
while, my web application (written in Java/JSP), creates many database
connections and postgres processes.
But all of these connections are signed as "Idle", I want to close this idle
connections to avoid getting to g
Hi,
I was wondering if anybody has encountered a situation where Tomcat keeps
deploying a given webapp?
I noticed that it has cropped up on this forum before but there doesn't seem to
have been any solution found.
.
The following is continually logged every 15 seconds to the context logger of
Thanks a lot for that help Christopher - I am trying to debug someones else's
app here so it can get tricky!
Best Wishes,
Jonathan
Hi
I have few Questions which i was not able to get TOMCAT CLUSTERING HOWTO
and form.
a) Clustering
1) Do we need to deploy the war files on each individual Tomcat
when joined the clustering.
>> "deploy your apps only to one server, and the cluster will
distribute the deplo
53 matches
Mail list logo