Hi, thanx for the interesting solution.
Anyway, not always possible to run 2 tomcat instances because of memory
requirements.
Do you see any different solution with 1 tomcat only (or tomcat + apache)?
Thx in advance,
Gabriele.
Gabriele Bulfon - Sonicle S.r.l.
Tel +39 028246016 Int. 30 - Fax +39
I am migrating application from tomcat 5.5 to tomcat 6.0 and I'm a bit
confused about Connector configuration attributes.
In 5.5 i had minSpareThreads and maxSpareThreads. Are those still used
in 6.0? They are not listed in as attributes here:
On 03/05/2010 09:29, Mario Splivalo wrote:
I am migrating application from tomcat 5.5 to tomcat 6.0 and I'm a bit
confused about Connector configuration attributes.
In 5.5 i had minSpareThreads and maxSpareThreads. Are those still used
in 6.0? They are not listed in as attributes here:
I wish to use JPA RESOURCE _LOCAL in my tomcat webapp, does tomcat have a
default JPA provider I can use in perssistence.xml?
Pid wrote:
On 03/05/2010 09:29, Mario Splivalo wrote:
I am migrating application from tomcat 5.5 to tomcat 6.0 and I'm a bit
confused about Connector configuration attributes.
In 5.5 i had minSpareThreads and maxSpareThreads. Are those still used
in 6.0? They are not listed in as attributes
Hello,
I'm trying to deploy an application that is located under the webapps
directory. I'm using the http call:
http://localhost:8080/manager/deploy?path=/var/lib/tomcat6/webapps/JSPTuttag=JSPTut
And I'm getting this answer back:
FAIL - Failed to deploy application at context path
Gabriele Bulfon wrote:
Hi, thanx for the interesting solution.
Anyway, not always possible to run 2 tomcat instances because of memory
requirements.
Do you see any different solution with 1 tomcat only (or tomcat + apache)?
Gabriele,
I think Peter gave you the only appropriate general answer.
Mario Splivalo wrote:
One just have to love Tomcat documentation :)
Specially considering the price you pay for it.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail:
If your tomcat instance crashes, it'll be sudden and not anything the
tomcat instance itself can do anything about. Try looking into a cron
script or some other scheduled task external to tomcat. The script
could make a request of tomcat every minute or so and restart it if it's
down. Generally
Hi,
I am running a few applications on Tomcat 5.5.17, I used to normally go to
'Tomcat Manager' App and click the 'Server Status' link on top right side of
'Application List' page to monitor thread counts, memory usage etc..
My OS is Fedora Core-6 (2.6.22.9-61.fc6PAE)
This used to work well till
Hi Luís de Sousa,
Could you provide your
OS:
Tomcat Version:
JDK:
If you trying to deploy pointing it to a folder, you need to ensure that the
folder have the needed permission.
2010/5/3 Luís de Sousa luis.a.de.so...@gmail.com
Hello,
I'm trying to deploy an application that is located under
From: Mario Splivalo [mailto:mario.spliv...@megafon.hr]
Subject: Re: minSpareThreads maxSpareThreads
So, if I don't use executor I can't set those attributes?
Correct.
One just have to love Tomcat documentation :)
Please submit a patch for any doc improvements you'd like to see.
- Chuck
Hi Saurabh,
Is the problem tomcat-wide or only your Manager App suffering from this
problem?
On Mon, May 3, 2010 at 7:48 PM, Saurabh Singh singh...@gmail.com wrote:
Hi,
I am running a few applications on Tomcat 5.5.17, I used to normally go to
'Tomcat Manager' App and click the 'Server
André Warnier wrote:
Mario Splivalo wrote:
One just have to love Tomcat documentation :)
Specially considering the price you pay for it.
Oh, that is so professional. So, it's cheap therefore it can be
unprofessional? It's a joke, I hear you saying?
Pardon my 'humor', I meant no offense.
From: Saurabh Singh [mailto:singh...@gmail.com]
Subject: Apache Tomcat 5.5.17 - Error in manager app - HTML-500 on
clicking 'Server Status'
I am running a few applications on Tomcat 5.5.17
As a first step, upgrade to a Tomcat that's less than four years old - many,
many fixes have gone in
Caldarale, Charles R wrote:
From: Mario Splivalo [mailto:mario.spliv...@megafon.hr]
Subject: Re: minSpareThreads maxSpareThreads
So, if I don't use executor I can't set those attributes?
Correct.
The documentation for executors mention just maxThreads and
minSpareThreads, does that mean
From: Mario Splivalo [mailto:mario.spliv...@megafon.hr]
Subject: Re: minSpareThreads maxSpareThreads
There really is NO mention whatsoever about minSpareThreads
and maxSpareThreads in documentation, using executors or not.
That's simply not true; they're documented here:
Caldarale, Charles R wrote:
From: Mario Splivalo [mailto:mario.spliv...@megafon.hr]
Subject: Re: minSpareThreads maxSpareThreads
There really is NO mention whatsoever about minSpareThreads
and maxSpareThreads in documentation, using executors or not.
That's simply not true; they're
From: Mario Splivalo [mailto:mario.spliv...@megafon.hr]
Subject: Re: minSpareThreads maxSpareThreads
The documentation for executors mention just maxThreads
and minSpareThreads, does that mean that maxSpareThreads
is completely obsolete?
Correct.
- Chuck
THIS COMMUNICATION MAY CONTAIN
From: Yucca Nel [mailto:yucca...@live.co.za]
Subject: JPA privider in tomcat wbapp
I wish to use JPA RESOURCE _LOCAL in my tomcat webapp, does tomcat have
a default JPA provider I can use in perssistence.xml?
I don't believe Tomcat 5.5 or 6.0 support such, since it's not in the 2.4 or
2.5
On Mon, May 3, 2010 at 1:09 PM, Jie Sheng Chua chuajiesh...@gmail.com wrote:
Hi Luís de Sousa,
Could you provide your
OS:
Tomcat Version:
JDK:
Hi, sorry for not including this info,
OS: Ubuntu 9.10
Tomcat: Apache Tomcat/6.0.20
JDK: OpenJDK Runtime Environment (IcedTea6 1.6.1)
2010/5/3 Luís de Sousa luis.a.de.so...@gmail.com:
I'm trying to deploy an application that is located under the webapps
directory. I'm using the http call:
http://localhost:8080/manager/deploy?path=/var/lib/tomcat6/webapps/JSPTuttag=JSPTut
And I'm getting this answer back:
FAIL - Failed
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
On 4/29/2010 1:36 PM, David kerber wrote:
I don't know how to crash tomcat intentionally once it has started
successfully, except for deleting or renaming files and folders it needs
to run, which would require direct access to the server.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter,
On 4/30/2010 10:33 AM, Peter Crowther wrote:
In normal use, Tomcat1 is running. The load balancer directs all users to
Tomcat1. Tomcat2 could even be stopped.
I would say that normal use would include both (or however many)
instances
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 5/2/2010 6:48 AM, André Warnier wrote:
It is there to avoid the possibility for some miscreant to overwhelm
your server by sending it a POST request with a body of, for example, 10
Gigabyte, through a slow connection.
In the absence of
Mario Splivalo wrote:
André Warnier wrote:
Mario Splivalo wrote:
One just have to love Tomcat documentation :)
Specially considering the price you pay for it.
Oh, that is so professional.
You are right, it wasn't professional.
Just at the same level as your previous comment ?
Peace.
I
Hello,
Trying with this command:
http://localhost:8080/manager/deploy?path=/JSPTutwar=file:/var/lib/tomcat6/webapps/JSPTut
The result is the same:
FAIL - Failed to deploy application at context path /JSPTut
Thank you,
Luís
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mario,
On 5/3/2010 8:18 AM, Mario Splivalo wrote:
André Warnier wrote:
Mario Splivalo wrote:
One just have to love Tomcat documentation :)
Specially considering the price you pay for it.
Oh, that is so professional. So, it's cheap therefore
2010/5/3 Luís de Sousa luis.a.de.so...@gmail.com:
Hello,
Trying with this command:
http://localhost:8080/manager/deploy?path=/JSPTutwar=file:/var/lib/tomcat6/webapps/JSPTut
The result is the same:
FAIL - Failed to deploy application at context path /JSPTut
Do you try to automate
Hi Konstantin,
I initially tried to access the application without deploying and got
the server not found message. I then tried deploying it with the GUI
and was also unsuccessful. I then dug out of some old notes the
command that had the tag and tried it, receiving the FAIL message. I
though
Hello *,
In my servlet I am collecting some information which are stored on the
UnixWare system.
The generated files are stored on the system correctly and after
transferring via scp to the Windows all is OK.
But when I am trying to download that files over servlet and https I
receive following
From: Luís de Sousa [mailto:luis.a.de.so...@gmail.com]
Subject: Re: Failed to deploy application
I initially tried to access the application without deploying and got
the server not found message.
Let's stop here and go back to the basics: can you access *anything* on this
Tomcat? A
From: Petr Hracek [mailto:phrac...@gmail.com]
Subject: Problem with downloading file over servlet
But when I am trying to download that files over servlet and https I
receive following error:
java.lang.ClassCastException:
sun.net.www.protocol.http.HttpURLConnection cannot be cast to
On Mon, May 3, 2010 at 3:43 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
Let's stop here and go back to the basics: can you access *anything* on this
Tomcat? A server not found message indicates that Tomcat may not be
running, or there's something blocking the port.
Hi Chuck,
Sorry for just getting back to this problem. I had to go out of town. Nothing
is in the logs. It just goes straight to 404 without hitting any code or
erroring to the logs. Below is what is in server.xml. I also added the
respective contexts to context.xml under META-INF. Still the same
Angela Day wrote:
Sorry for just getting back to this problem. I had to go out of town. Nothing
is in the logs. It just goes straight to 404 without hitting any code or
erroring to the logs. Below is what is in server.xml. I also added the
respective contexts to context.xml under
I have a web app running under tomcat-6.0.26 with
JreMemoryLeakPreventionListener, java jdk1.6.0_18.
Using jmap -histo pid, I can watch
com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl, etc increase in number
after running my unmarshal action, followed by undeploy and redeploy. Find
Leaks
On 03/05/2010 16:55, André Warnier wrote:
Angela Day wrote:
Sorry for just getting back to this problem. I had to go out of
town. Nothing is in the logs. It just goes straight to 404 without
hitting any code or erroring to the logs. Below is what is in
server.xml. I also added the
On 03/05/2010 17:15, Mark Shifman wrote:
I have a web app running under tomcat-6.0.26 with
JreMemoryLeakPreventionListener, java jdk1.6.0_18.
Using jmap -histo pid, I can watch
com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl, etc increase in number
after running my unmarshal action,
On 05/03/2010 12:48 PM, Pid wrote:
On 03/05/2010 17:15, Mark Shifman wrote:
I have a web app running under tomcat-6.0.26 with
JreMemoryLeakPreventionListener, java jdk1.6.0_18.
Using jmap -histo pid, I can watch
com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl, etc increase in number
Here is the Server.xml:
?xml version=1.0 encoding=UTF-8?
Server
Listener className=org.apache.catalina.core.AprLifecycleListener/
Listener
className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener/
Listener
From: Angela Day [mailto:akc...@yahoo.com]
Subject: Re: one path working, one not
root cause
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC
driver of class '' for connect URL 'null'
This indicates your Resource is not configured correctly *or* your driver
classes
From: Mark Shifman [mailto:mark.shif...@yale.edu]
Subject: Re: JAXBContext leaks memory
This is also in the webapp in WEB-INF/classes/org/blablabla
When you say also, does that mean the class is in more than one place? (That
would be a Bad Thing.)
- Chuck
THIS COMMUNICATION MAY CONTAIN
On 05/03/2010 02:18 PM, Caldarale, Charles R wrote:
From: Mark Shifman [mailto:mark.shif...@yale.edu]
Subject: Re: JAXBContext leaks memory
This is also in the webapp in WEB-INF/classes/org/blablabla
When you say also, does that mean the class is in more than one place?
(That would be
common/lib/ojdbc14.jar
Thanks,
Angela Day
National Autism Association of Central Texas
http://www.naacentraltexas.org
From: Caldarale, Charles R chuck.caldar...@unisys.com
To: Tomcat Users List users@tomcat.apache.org
Sent: Mon, May 3, 2010 1:17:26 PM
On 03/05/2010 18:30, Mark Shifman wrote:
On 05/03/2010 12:48 PM, Pid wrote:
On 03/05/2010 17:15, Mark Shifman wrote:
I have a web app running under tomcat-6.0.26 with
JreMemoryLeakPreventionListener, java jdk1.6.0_18.
Using jmap -histo pid, I can watch
Angela Day wrote:
...
Environment name=cseaPropertiesFile type=java.lang.String
value=C:\\jakarta-tomcat-4.1.24\\webapps\\csea\\WEB-INF\\csea.properties/
...
Imay have missied something, but does this mean that the Tomcat you are
talking about is Tomcat 4.1 ?
That is quite old (many years),
I am migrating to version 5.28.28 from 4.1. Sorry for the confusion.
Angela Day
National Autism Association of Central Texas
http://www.naacentraltexas.org
From: André Warnier a...@ice-sa.com
To: Tomcat Users List users@tomcat.apache.org
Sent: Mon, May 3,
From: Angela Day [mailto:akc...@yahoo.com]
Subject: Re: one path working, one not
common/lib/ojdbc14.jar
That's good.
But I was getting a database connection before. Here is my context.xml file:
?xml version=1.0 encoding=UTF-8?
Context reloadable=true crossContext=true
Resource
I figured that out. I had to take the sysadm2 out of
sysa...@atlow2.tdhca.state.tx.us and it worked fine. Not sure why, but it
works now. Now onto the other two applications.
Thanks,
Angela Day
National Autism Association of Central Texas
http://www.naacentraltexas.org
Petr
Martin Gainty
__
Jogi és Bizalmassági kinyilatkoztatás/Verzicht und
Vertraulichkeitanmerkung/Note de déni et de confidentialité
Ez az
üzenet bizalmas. Ha nem ön az akinek szánva volt, akkor kérjük, hogy
jelentse azt nekünk vissza. Semmiféle
Petr
Martin Gainty
__
Jogi és Bizalmassági kinyilatkoztatás/Verzicht und
Vertraulichkeitanmerkung/Note de déni et de confidentialité
Ez az
üzenet bizalmas. Ha nem ön az akinek szánva volt, akkor kérjük, hogy
jelentse azt nekünk vissza. Semmiféle
X-zuka-RWMailScanner-ID: 5186753823B.AD285
X-zuka-rw-MailScanner-Information: Please contact the ISP for more information
Received: from Magnolia.local (unknown [70.48.209.168])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(No client certificate requested)
X-zuka-RWMailScanner-ID: 5186753823B.AD285
X-zuka-rw-MailScanner-Information: Please contact the ISP for more information
Received: from Magnolia.local (unknown [70.48.209.168])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(No client certificate requested)
On 03/05/2010 23:40, Dave Filchak wrote:
Humm ... sorry it has taken a while to get back to you with this. I have
been busy trying to get all my clients up. There is not a lot of them
but it is very time consuming. Before I get to all the configs, does
Tomcat, by default, take over ALL the
X-zuka-RWMailScanner-ID: 66C1153823B.AFC52
X-zuka-rw-MailScanner-Information: Please contact the ISP for more information
Received: from Magnolia.local (unknown [70.48.209.168])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(No client certificate requested)
X-zuka-RWMailScanner-ID: 66C1153823B.AFC52
X-zuka-rw-MailScanner-Information: Please contact the ISP for more information
Received: from Magnolia.local (unknown [70.48.209.168])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(No client certificate requested)
Dear users,
I am trying to setup tomcat clustering/session replication between two
tomcats of version 6.0.18. The following is the cluster snippet inserted
into server.xml of both servers:
Cluster className=org.apache.catalina.ha.tcp.SimpleTcpCluster
channelSendOptions=8
X-zuka-RWMailScanner-ID: B0236538235.AD627
X-zuka-rw-MailScanner-Information: Please contact the ISP for more information
Received: from Magnolia.local (unknown [70.48.209.168])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(No client certificate requested)
X-zuka-RWMailScanner-ID: B0236538235.AD627
X-zuka-rw-MailScanner-Information: Please contact the ISP for more information
Received: from Magnolia.local (unknown [70.48.209.168])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(No client certificate requested)
Pid p...@pidster.com writes:
On 16/04/2010 19:30, Paul Chany wrote:
Hi,
I have installed on my Debian GNU/Linux Lenny system tomcat5.5.
When the system boot, and in firefox browser opens the tomcat 's page:
http://localhost:8180/ , I get an error message:
---
type Exception report
Warren Pace warren.p...@gmail.com writes:
If you installed your Tomcat using the Debian package manager, take a
look at the tomcat startup script. While it's been a number of years
since I used Debian, I seem to remember this from back in the day -
look for a statement referencing security
Hi
Try looking into a cron
script or some other scheduled task external to tomcat
We considered this feature of shell script , but to have to plug with O/s which
is not a good idea.
We would like to make the process more general across O/s ( JVM level as
discussed)
With regards
karthik
63 matches
Mail list logo