Hi,
You can try several approaches (I'll list 2 that I'm aware of):
1) Automatic restarts on OutOfMemory errors:
Add the following to CATALINA_OPTS:
-XX:OnOutOfMemoryError=/usr/sbin/restart_tcserver
Write your restart_tcserver (you may send an e-mail notification from it
etc.)
2) This is what
thanks. I tried it on tomcat 6.0.26, and 6.0.29, it worked for the second
one, i can get correct response headers on tomcat 6.0.26 and tomcat 6.0.29:
tomcat 6.0.26
suse10sp268:~ # wget -S -O - --post-data='test send post'
http://9.125.1.248:8080/BasicAuthor_without_realm/BasicAuthor
--07:21:33-- h
Glad you brought this back up P - was cursing this problem again yesterday.
So if tomcat 6.0.29 is running and my foo webapp is deployed, if I dare copy
in foo.war for auto re-deployment tomcat nukes my foo.xml context definition
in conf/Catalina/HOST/ directory. Absolutely maddening. Is this exp
Thanks for your reply.
Yes, the server is using a test certificate. Server has a truststore & a
keystore. keystore has server's privatekey and truststore has client's
publickey (stored as trustedcert).
on the client side, i have setup a client.keystore (type JKS) that contains
2 keys. One key i
I have had browsers (IE) that can establish an SSL (https) connection
to a server even when the server did not provide the intermediate
certificates. Other browsers (like Firefox) won't allow the
connection to be established unless the intermediate certificates are
provided.
On Wed, Sep 22, 2010
Is your server using a test certificate? If so, Have you tried setting
the Java system property "javax.net.ssl.trustStore"?
If your server is using a certificate signed by a certificate
authority, then your certificate may have been signed using a
intermediate certificate. Your server is responsib
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concern,
On 9/22/2010 3:04 PM, aravidu wrote:
> but how? this is not a webclient
The class is called WebService and the identified in your code is
"client". How is this not a client?
> nor is the client running on a webserver.
That's
On 22/09/2010 21:04, rujin raj wrote:
> Chris,
>
> I have installed LambdaProbe for monitoring tomcat. I am not able to
> monitor the memory utilisation for the application.
>
> *Error:This page requires Java5 with enabled JMX Agent. To enable the JXM
> Agent please add "-Dcom.sun.management.jmx
On 04/08/2010 08:25, vinay basavanal wrote:
> hi,
>
>i downloaded an application from java world which has jsf and spring and
> myfaces but when i deploy application on tomcat i get this
>
> http://www.javaworld.com/javaworld/jw-04-2008/jw-04-acegi-jsf.html
Anything unclear about the excepti
On 10/09/2010 01:03, Jason Britton wrote:
> Could anyone give me an explanation what might cause my webapp's context
> configuration to be deleted out of the tomcat/conf/Catalina/[HOST]/
> directory? I've got a foo.war file in the webapps directory, it gets
> exploded upon startup. It has its cont
Chris,
I have installed LambdaProbe for monitoring tomcat. I am not able to
monitor the memory utilisation for the application.
*Error:This page requires Java5 with enabled JMX Agent. To enable the JXM
Agent please add "-Dcom.sun.management.jmxremote" to java command line or
$JAVA_OPTS environme
but how? this is not a webclient nor is the client running on a webserver.
how can i do this?
i tried giving the client.keystore and client.truststore in VMARGS (of
eclipse) but it wont work.
Christopher Schultz-2 wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> To whom it may
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concern,
On 9/22/2010 2:05 PM, aravidu wrote:
> I don't know if this is directly related to "tomcat"
It is not related to Tomcat, but that's okay. Just mark the thread
"off-topic" using [OT] in the subject as I have done.
> 5. what i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Shashank,
On 9/22/2010 8:30 AM, Mendiratta, Shashank wrote:
> Thanx , about that here the outbound port 80 is blocked so we cannot
> wget , moreover this wont solve the problem as to why the the services
> are getting hung.
Hmm. Can you monitor from
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Viola,
On 9/21/2010 10:13 PM, viola lu wrote:
> Here is my client:
[snip]
Note that your client can be replaced by this one-liner:
$ wget -S -O - --header='Transfer-Encoding: unsupported' \
--post-data='test send post' \
http://localh
Never Mind. It was a security issue on our side. There is no problem.
Thanks,
Lance Campbell
Software Architect/DBA/Project Manager
Web Services at Public Affairs
217-333-0382
-Original Message-
From: Campbell, Lance [mailto:la...@illinois.edu]
Sent: Wednesday, September 22, 2010 1:0
I took the image file that Outlook won't display from Tomcat 6 and
copied it to a public directory on our web server. I then resent the
email to Outlook using the public web location on apache and it
displayed fine.
Thanks,
Lance Campbell
Software Architect/DBA/Project Manager
Web Services at P
Guys.. need help asap.
I don't know if this is directly related to "tomcat" but here is the
situation:
1. I have deployed web services on tomcat
2. they listen on a secure port - https://:port//
3. mutual authentication on the server side is established. implies, i have
configured the server t
> From: Campbell, Lance [mailto:la...@illinois.edu]
> Subject: Outlook 2003and 2010 does not display image when streamed through
> tomcat
> I am streaming an image through tomcat 6.29. In a browser
> the image looks fine. But in an email in Outlook 2003 and
> 2010 the image does not display.
I am streaming an image through tomcat 6.29. In a browser the image
looks fine. But in an email in Outlook 2003 and 2010 the image does not
display. Any thoughts?
System.out.println content:
fileSize:80848
contentTypeStr:image/jpeg
The file name does have .jpg
Code:
if (con
After I change the grail datasource setting from using hsqldb to postgresql,
this problem has solved
On Wed, Sep 22, 2010 at 12:42 PM, Pid wrote:
> On 22/09/2010 17:33, Yue Yuanyuan wrote:
> > I delete the ROOT directory under /webapp. Then I deployed one grail
> project
> > which is package
Server version: Apache Tomcat/6.0.26
Server built: March 11 2010 1923
Server number: 6.0.26.0
OS Name:Linux
OS Version: 2.6.21.7-2.fc8xen
Architecture: i386
JVM Version:1.6.0_14-b08
JVM Vendor: Sun Microsystems Inc.
CentOS
On Wed, Sep 22, 2010 at 12:42 PM, Pid wrote:
>
Sep 22, 2010 12:40:59 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/vazztcaster-0.1] startup failed due to previous errors
Sep 22, 2010 12:40:59 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesJdbc
SEVERE: A web application registered the JBDC driver [org.hsqldb
On 22/09/2010 17:33, Yue Yuanyuan wrote:
> I delete the ROOT directory under /webapp. Then I deployed one grail project
> which is package to ROOT.war through HTMLmanager. This step works fine.
> But when I want to deploy more project, like abc.war through HTMLmanager.
> It always fails and cannot
On 22/09/2010 17:29, Mendiratta, Shashank wrote:
> Hi .. can you share the script ??
Which script? You wrote it, according to the below:
> On 22/09/2010 13:54, Mendiratta, Shashank wrote:
>> So I have to come up with a cript also which how the system is serving
>
>> pages if its to slow . then
I delete the ROOT directory under /webapp. Then I deployed one grail project
which is package to ROOT.war through HTMLmanager. This step works fine.
But when I want to deploy more project, like abc.war through HTMLmanager.
It always fails and cannot run .
On Wed, Sep 22, 2010 at 12:27 PM, Pid wr
On 22/09/2010 14:00, McElroy Sean wrote:
> I'm using this because I am providing support to a project that uses
> 6.0.13.
On the upside, as you run into bugs that have already been patched in
later versions of Tomcat, you can just look in Bugzilla for the fixes.
p
0x62590808.asc
Description: a
Hi .. can you share the script ??
-Original Message-
From: Pid [mailto:p...@pidster.com]
Sent: Wednesday, September 22, 2010 9:52 PM
To: Tomcat Users List
Subject: Re: How ot monitor hung tomcat/apache processes?
On 22/09/2010 13:54, Mendiratta, Shashank wrote:
> So I have to come up wit
On 22/09/2010 13:58, Caldarale, Charles R wrote:
>> From: Oliver Schwerk [mailto:oliver.schw...@flexis.com]
>> Subject: RE: Can't install tomcat as a service on windows
>
>> Try to use 6.0.14, it is pretty stable
!
> You must be joking. Move to a current version - with many, many security and
On 22/09/2010 17:22, Yue Yuanyuan wrote:
> Hi,
> I delete the original ROOT directory and deploy my ROOT.war. But after
> this I can not deploy any grail project anymore. What is this problem?
>Thank you.
> Best,
Is that a riddle?
If not:
http://www.catb.org/esr/faqs/smart-questions.html
On 22/09/2010 17:16, Eero Nevalainen wrote:
> I've got an exploded web app running on a Tomcat 6.0.26 server on
> Debian Lenny, and I've run into a really strange problem with trying
> to up the session timeout into something like 120 minutes from the
> default 30... regardless of what it says in t
On 22/09/2010 13:03, Mendiratta, Shashank wrote:
> Hi ,
>
> I am working on a monitoring system to find out hung tomcat/apache
> processes.
Instead of looking for problems so you can restart the JVM, trying
looking at the actual problem and fixing it, then you won't have to
invent crazy solutio
Hi,
I delete the original ROOT directory and deploy my ROOT.war. But after
this I can not deploy any grail project anymore. What is this problem?
Thank you.
Best,
Gavin
On 22/09/2010 13:54, Mendiratta, Shashank wrote:
> So I have to come up with a cript also
> which how the system is serving pages if its to slow . then to restart
> the JVM .
Really? That sounds, well, a little drastic...
p
0x62590808.asc
Description: application/pgp-keys
signature.asc
Desc
On 22/09/2010 13:08, Darryl Lewis wrote:
> In my experience, the PID can still exist of tomcat but a Java heap crash has
> stopped it responding.
>
> Checking a PID will not check if the application is responding.
Obviously, I exist whether Tomcat is running or not.
p
0x62590808.asc
Descri
On 22/09/2010 12:55, Garg, Saman wrote:
> Hi All,
Exactly which Tomcat, JVM, OS versions are you using?
> I am having a very strange issue wherein after starting the tomcat
> instance, it doesn't show any errors and also doesn't listen on port
> (9046)
How are you starting the instance? Which s
I've got an exploded web app running on a Tomcat 6.0.26 server on
Debian Lenny, and I've run into a really strange problem with trying
to up the session timeout into something like 120 minutes from the
default 30... regardless of what it says in the application's web.xml,
or the server's conf/web.x
It appears to be working. Many thanks.
-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: 22 Sep 2010 16 06
To: Tomcat Users List
Subject: Re: Issue with logging in to Tomcat 6.0
On 22/09/2010 07:50, Martin O'Shea wrote:
>> Because you haven't told Tomcat that those pag
On 22/09/2010 07:50, Martin O'Shea wrote:
>> Because you haven't told Tomcat that those pages need to be protected by
>> authentication. Do that, and Tomcat will handle the whole process for you.
>
> But won't the authentication apply to the whole page in question? I'm only
> looking to have a use
> Because you haven't told Tomcat that those pages need to be protected by
> authentication. Do that, and Tomcat will handle the whole process for you.
But won't the authentication apply to the whole page in question? I'm only
looking to have a user log in when they seek to do something, like post
On 22/09/2010 06:27, Martin O'Shea wrote:
> But when I try to login to Tomcat, I am given message 'Invalid direct
> reference to form login page' but do not quite see why.
Because you haven't told Tomcat that those pages need to be protected by
authentication. Do that, and Tomcat will handle the w
On 21/09/2010 19:13, viola lu wrote:
> Can someone give some hints?
Take a look at the security pages.
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apach
That's great!
Oliver Schwerk
flexis AG
Schockenriedstraße 46
D-70565 Stuttgart
Telefon:+49 (711) 78 23 80 - 0
Telefax:+49 (711) 78 23 80 - 78
E-Mail: oliver.schw...@flexis.com
www.flexis.de
--
flexis AG
Handelsregister Stuttgart, HRB 21229
Vorsta
Hi Oliver,
I downloaded the zip version of 6.0.13 and managed to get it up and running
using the bat files that come with it.
Thanks,
Sean
-Original Message-
From: Oliver Schwerk [mailto:oliver.schw...@flexis.com]
Sent: 22 September 2010 13:54
To: Tomcat Users List
Subject: RE: Can't i
Hello
I have a Java / Tomcat application which creates a cookie for a user when
they visit the homepage. This cookie is used to recognize that user on
subsequent visits and generate recent lists. These are working well and so
far without any type of authentication of the user using Tomcat itself.
I'm using this because I am providing support to a project that uses
6.0.13.
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: 22 September 2010 13:56
To: Tomcat Users List
Subject: RE: Can't install tomcat as a service on windows
> From: McElroy Sea
> From: Oliver Schwerk [mailto:oliver.schw...@flexis.com]
> Subject: RE: Can't install tomcat as a service on windows
> Try to use 6.0.14, it is pretty stable
You must be joking. Move to a current version - with many, many security and
stability fixes - rather than one that's three years old.
> From: McElroy Sean [mailto:sean.mcel...@uk.fujitsu.com]
> Subject: RE: Can't install tomcat as a service on windows
> I have done this, but it did not solve my problem
1) Is there any particular reason you're mucking about with a version of Tomcat
that's 3.5 years old? Move to 6.0.29 and try
Will do. I've been using the 6.0.13 for some time, and haven't had any
problems... until now.
-Original Message-
From: Oliver Schwerk [mailto:oliver.schw...@flexis.com]
Sent: 22 September 2010 13:54
To: Tomcat Users List
Subject: RE: Can't install tomcat as a service on windows
Sean,
T
I get you point . well we are using dynatrace to keep a track on how
slow the server is serving pages and for the entire system metrics
monitoring we are using monit and both are done externally . The
firewall has closed all the outbound ports so wget is not possible.
Its just that we have to mon
Sean,
Try to use 6.0.14, it is pretty stable, I use it for years now and it contains
service.bat.
Oliver Schwerk
flexis AG
Schockenriedstraße 46
D-70565 Stuttgart
Telefon:+49 (711) 78 23 80 - 0
Telefax:+49 (711) 78 23 80 - 78
E-Mail: oliver.schw...@flexis.com
www.flexi
Hi Hari, I have done this, but it did not solve my problem
-Original Message-
From: hariprasad [mailto:haribach...@gmail.com]
Sent: 22 September 2010 12:07
To: Tomcat Users List
Subject: Re: Can't install tomcat as a service on windows
FYI
follow below steps to install tomcat in windo
Sorry Oliver I should have said the installation does not contain a service.bat
file
-Original Message-
From: Oliver Schwerk [mailto:oliver.schw...@flexis.com]
Sent: 22 September 2010 12:35
To: Tomcat Users List
Subject: RE: Can't install tomcat as a service on windows
Sean,
Did you ru
Are you trying to monitor from the same computer that tomcat is running on?
That's not a good idea. What happens if the entire system crashes...you won't
get any data/alerts. End to end uses another machine to monitor the first.
You could monitor catalina.out for errors, but I don't think you'll
HI Darryl ,
Thanx , about that here the outbound port 80 is blocked so we cannot
wget , moreover this wont solve the problem as to why the the services
are getting hung.
Well I had an idea, please critic it. Why not monitor the server.log
file if we get some kind of error. We send an alert and t
It depends on the application you are running, but a simple test would be to
access the webpage (ensuring part of it is served from Tomcat, not apache) and
check for an expected response.
For example, a simple jsp page that prints out "ok"
You can then do a wget, and check for that string.
Chee
Hi Darryl,
Yes This is the same problem I am facing. Sorry I am kind of new to it
but can you tell me what kind of end to end monitoring should I do ?
Regards
Shashank
-Original Message-
From: Darryl Lewis [mailto:darryl.le...@unsw.edu.au]
Sent: Wednesday, September 22, 2010 5:38 PM
T
In my experience, the PID can still exist of tomcat but a Java heap crash has
stopped it responding.
Checking a PID will not check if the application is responding.
You're better to do some sort of end to end monitoring
On 22/09/10 10:03 PM, "Mendiratta, Shashank"
wrote:
Hi ,
I am work
Try using another machine and :
telnet {server} 9045
and
telnet {server} 9046
You should get a response.
You can also try
lsof -i :9045
To see if tomcat has opened that port.
You might not the port opened in IPTABLES
The file the firewall outputs its logs to is usually either /var/log/syslog o
Hi ,
I am working on a monitoring system to find out hung tomcat/apache
processes .
By this I mean if the PID exists and still the apache / tomcat is not
responding that die to memory leak or variety of other reasons . Is
their a tool to find this .
Regards
Shashank
Hi All,
I am having a very strange issue wherein after starting the tomcat
instance, it doesn't show any errors and also doesn't listen on port
(9046) specified in server.xml as it doesn't list this port on using
"netstat" command. But similar thing is working for other tomcat
instance which is
Sean,
Did you run this file? What happens? I use 6.0.14, services
install/uninstall/run/stop without any problems.
1. Open a console so you can see the output of the batch file
2. Navigate to apache-tomcat-6.0.14\bin
3. type service.bat and enter
4. See the output. Service name should be "tomcat6
Hi Chuck, thanks for the reply. I am using CentOS linux with kernel
version 2.6.18-53.1.13.el5.
I have changed the BIO Connector due to our application which makes use
of the comet functionality. This has been a hard time since I need to
make the application work with tomcat 6.0.29 and after s
FYI
follow below steps to install tomcat in windows.
note: plz install java before installing tomcat.
1. double click " x.exe" file.
2. when it prompts "please provide your jre details..
3.then..next..finish.
if u enable check boxes" before installation complete ..it tomcat already i
Hi Oliver,
I'm using 6.0.13 and this installation does contain a service.bat file.
Thanks,
Sean
-Original Message-
From: Oliver Schwerk [mailto:oliver.schw...@flexis.com]
Sent: 22 September 2010 12:03
To: Tomcat Users List
Subject: RE: Can't install tomcat as a service on windows
Sean
Sean,
I did it several time successfully using apache-tomcat-6.0.14\bin\service.bat.
What exactly happens if you run this file?
Thanks,
Oliver Schwerk
flexis AG
Schockenriedstraße 46
D-70565 Stuttgart
Telefon:+49 (711) 78 23 80 - 0
Telefax:+49 (711) 78 23 80 - 78
E-Mail:
Hello,
I am trying to install apache-tomcat-6.0.13 as a service on my machine
but despite trying various suggestions from different forums (copying
MSVCR71.dll to various folders, making sure my JAVA_HOME and Path
variables are set correctly etc) I still cannot get it to install.
I am using
67 matches
Mail list logo