On 14/11/2010 19:11, André Warnier wrote:
Great.
For the using JMX clients page, may I recommend :
http://code.google.com/p/jmxsh/
which for Java ignorami of my level, is a useful tool to do nifty things
in a scripting (non-graphic) mode.
I use it only for really simple things, but I have
On 15/11/2010 07:10, Rekha Ravi Pai wrote:
Hi,
I have installed tomcat-6.0.20 and postgresql-9.0.1
I have created a java bean PasswordEncryptService.java
I have kept it in WEB-INF/classes/beans directory and in beans package.
I compiled the java file and successfully ran the class and could
That's it! I have a single Tomcat/JVM instance but multiple applications
running on it.
In fact with System.exit(1) Tomcat is not completely stopped; it is still
running but it hangs. I have to kill the process to terminate it.
So, how to shut down properly the current application from a
Chris,
Also one more information:
None of my tomcat is configured with HTTP connector. They are configured
only for AJP. Does the jkmanager requires this HTTP port? Any relation
between the non-SSL HTTP connector and jkmanager?
Regards.
rikslovein wrote:
Thanks for the quick response
Hello team,
Tomcat Server going down frequently with the following messages in the logs.
kindly help.
body { margin: 0pt; padding: 0pt; }td, div { font-family: Tahoma; font-size:
8pt; vertical-align: top; }body { margin: 0pt; padding: 0pt; }.transcript {
background-color: rgb(210, 210, 210);
Amol Puglia wrote:
Hello team,
Tomcat Server going down frequently with the following messages in the logs.
kindly help.
Hello Amol.
If it is not too much of an inconvenience, would you kindly care to let us know which
version of Tomcat this is, which JVM, on which platform, and where you
On 15/11/2010 11:35, André Warnier wrote:
Amol Puglia wrote:
Hello team,
Tomcat Server going down frequently with the following messages in the
logs.
kindly help.
Hello Amol.
If it is not too much of an inconvenience, would you kindly care to let
us know which version of Tomcat this is,
On 15/11/2010 09:37, Patrick Sauts wrote:
So, how to shut down properly the current application from a 'listener'
leaving the other webapps deployed into Tomcat to continue their business?
It depends on what the problem actually is, and when it occurs.
If you do all of your initialisation in
2010/11/15 Rekha Ravi Pai re...@softjin.com:
The value for the useBean class attribute PasswordEncryptService is invalid.
According to your description, your class name is
beans.PasswordEncryptService.
-
To unsubscribe, e-mail:
awarnier,
Thanks for your response. I changed this and still it didn't solve my
problem. The request are still reaching to the server which I made down
using jkmanager.
Here's the updated workers.proeprties:
worker.list=loadbal_hub_prod,jkstatus
worker.loadbal_hub_prod.type=lb
Hello Pid,
Thanks for your response. We are using following versions of softwares.
1)Tomcat version :- 6.0.20
2)Jdk version :- jdk160_05
3)Operating System :- Solaris 5.10
4)Apache version :- 2.2.16
Also CSS contents are not form logs it came by mistake.
Please help and let me know in
André,
On 14.11.2010 20:11, André Warnier wrote:
For the using JMX clients page, may I recommend :
http://code.google.com/p/jmxsh/
which for Java ignorami of my level, is a useful tool to do nifty things
in a scripting (non-graphic) mode.
I use it only for really simple things, but I have the
Of course ... Sorry to bother ... I was catching the exceptions in order to log
properly but I was doing System.exit(1)
I'll resend the exception.
Thx a lot.
-Original Message-
From: Pid [mailto:p...@pidster.com]
Sent: lundi 15 novembre 2010 12:44
To: Tomcat Users List
Subject: Re:
Rainer Jung wrote:
André,
On 14.11.2010 20:11, André Warnier wrote:
For the using JMX clients page, may I recommend :
http://code.google.com/p/jmxsh/
which for Java ignorami of my level, is a useful tool to do nifty things
in a scripting (non-graphic) mode.
I use it only for really simple
Is LoginBean.java your code (or code that you control)? You might
have to change that code a bit to handle a session that has already
been invalidated.
On Mon, Nov 15, 2010 at 6:03 AM, Amol Puglia amolcpug...@yahoo.com wrote:
Hello team,
Tomcat Server going down frequently with the following
Am Tue, 09 Nov 2010 16:06:14 -0500
schrieb Christopher Schultz ch...@christopherschultz.net:
Have you correctly replaced lib/tomcat-juli.jar
and installed lib/tomcat-juli-adapters.jar? If not, you may be falling
back to the old logger which requires logging.properties.
For whatever-reason and
All,
I'm trying to configure a user to use the manager web application. I have
read the comments in the tomcat-users.xml file on my server and added the
following two lines to the file:
role rolename=manager/
user username=user password=pass roles=manager/
I have saved the file and
On 15/11/2010 15:51, Noah, Craig [USA] wrote:
All,
I'm trying to configure a user to use the manager web application. I have
read the comments in the tomcat-users.xml file on my server and added the
following two lines to the file:
role rolename=manager/
user username=user
Sorry. I'm using tomcat 6.0.26. I made sure my changes are not within
comments. The full file is:
?xml version='1.0' encoding='utf-8'?
!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work
On 15/11/2010 16:01, Noah, Craig [USA] wrote:
Sorry. I'm using tomcat 6.0.26.
OK, manager is the correct role.
I made sure my changes are not within
comments. The full file is:
Looks good.
Try:
http://localhost:8084/manager/html
Mark
2010/11/15 Noah, Craig [USA] noah_cr...@bah.com:
When I try to browse to the manager web
application at http://localhost:8084/manager/, I get a 404 report stating
the requested resource is not available.
That URL is incomplete. Try
http://localhost:8084/manager/html
Best regards,
Konstantin
Thanks, that's better. I get prompted for a username and password, but it
won't accept the values I've configured. No, I don't have caps lock turned
on.
-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: Monday, November 15, 2010 10:04 AM
To: Tomcat Users List
On 15/11/2010 16:07, Noah, Craig [USA] wrote:
Thanks, that's better. I get prompted for a username and password, but it
won't accept the values I've configured. No, I don't have caps lock turned
on.
OK. Moving in the right direction.
Clearly, from the URL you provided, the default
I don't remember making changes to the server.xml file, but here is mine:
?xml version='1.0' encoding='utf-8'?
Server port=8005 shutdown=SHUTDOWN
Listener className=org.apache.catalina.core.AprLifecycleListener
SSLEngine=on /
Listener className=org.apache.catalina.core.JasperListener /
From: Mark Thomas [mailto:ma...@apache.org]
Subject: Re: Configuring users
Clearly, from the URL you provided, the default server.xml isn't being
used. Has the Realm definition been changed? A copy of the complete
server.xml (less comments with any sensitive info replaced with ***) is
the
On 15/11/2010 16:21, Noah, Craig [USA] wrote:
I don't remember making changes to the server.xml file, but here is mine:
You aren't using the Tomcat instance you think you are.
Connector port=8080 protocol=HTTP/1.1
connectionTimeout=2
redirectPort=8443
Thank you. That was it. I'm using NetBeans and was trying to start the
server within the IDE. Why can't they just use the scripts themselves? Oh
well. I'm up and running now. Thanks Mark and Charles for your help.
Craig
-Original Message-
From: Caldarale, Charles R
On 15/11/2010 11:03, Amol Puglia wrote:
at
org.apache.catalina.session.StandardSessionFacade.getAttributeNames(StandardSessionFacade.java:120)
at com.ericsson.mars.jspbean.LoginBean.logout(LoginBean.java:2366)
at
It's really difficult to troubleshoot ISAPI redirector problems. No one really
seems to be able to help much when you get a problem and the logs are either
unhelpful or vastly too verbose. I think that changes in IIS have dramatically
complicated it and the Tomcat Docs have not kept up. In
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Thursday, November 11, 2010 10:18 AM
To: Tomcat Users List
Subject: Re: Any tools to detect tomcat services failure, and start it
again automatically?
Pid,
On 11/11/2010 3:40 AM, Pid
Has anyone successfully used (or experimented with) either of these?
-XX:OnError=cmd args;cmd args
-XX:OnOutOfMemoryError=cmd args;
cmd args
-Tim
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional
On 15/11/2010 17:39, Tim Funk wrote:
Has anyone successfully used (or experimented with) either of these?
-XX:OnError=cmd args;cmd args
-XX:OnOutOfMemoryError=cmd args;
cmd args
Yes.
Context: an occasional app bug which started occurring with more
frequency, under load. Couldn't track
I run development on Tomcat 6.0.29 and IE 8.
I need help to understand behavior of cookies. I created a new cookie and setup
maxAge to 60 seconds running script setMaxAge(60). I expected this cookie to be
persistent and to exist for 60 seconds. I ran this script to create the cookie
Cookie
Tomcat 6.0.29, HotSpot 1.6.0_21 on CentOS 5.
I had a problem recently where someone configured a standard AJP connector like
this:
Connector port=8009 connectionTimeOut=6 acceptCount=100
maxThreads=250 protocol=AJP/1.3 /
See the typo? connectionTimeOut should be connectionTimeout. Normally
On 15/11/2010 20:30, Luke Meyer wrote:
Tomcat 6.0.29, HotSpot 1.6.0_21 on CentOS 5.
I had a problem recently where someone configured a standard AJP connector
like this:
Connector port=8009 connectionTimeOut=6 acceptCount=100
maxThreads=250 protocol=AJP/1.3 /
See the typo?
On 15/11/2010 19:25, Igor Barkon wrote:
I run development on Tomcat 6.0.29 and IE 8.
Try testing with a browser that implements RFC2109. Unless there have
been some major improvements since I last tested IE8, it doesn't even
come close.
I'd also recommend using a tool that lets you examine HTTP
The BIO connector doesn't complain due to how properties are handled
internally. The NIO and APR/native connector will log warnings.
OK, good to know. I noticed the default HTTP connector also doesn't warn about
bogus properties. Hadn't checked the rest.
AJP connections are intended to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brian,
On 11/14/2010 1:30 AM, Brian wrote:
It seems that I solved my problems! So far, these are my
conclutions:
- Very often, when I restart/redeploy my app, some garbage is left in
the memory. I don't know why, given that my code closes
Hi Chris,
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Monday, November 15, 2010 09:04 PM
To: Tomcat Users List
Subject: Re: Tomcat 6.0.29 using more and more RAM until it collapses?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
From: Brian [mailto:bbprefix-m...@yahoo.com]
Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses?
sometimes Tomcat thinks that needs a huge buffer, so it makes
the array to increase to millions of chars. I have no such big
pages in my site
This is the crux of the problem
Hi,
After the Tomcat manager warns that there was a leak with one app what was
stopped or undeployed, how do I use the profiler to investigate that? I
mean, that is the starting point to analize that? What should I look for?
Brian
2010/11/16 Brian bbprefix-m...@yahoo.com:
Hi,
After the Tomcat manager warns that there was a leak with one app what was
stopped or undeployed, how do I use the profiler to investigate that? I
mean, that is the starting point to analize that? What should I look for?
E.g., using Eclipse MAT,
Maybe my question sounded too vague and repetitive.
What I meant is something like this Is the a class loader (or something
like that) than I should start analyzing? I mean, is there a route I should
follow in order to see which objects are stucked? If the Tomcat Manager
knows that something got
Hi Chuck,
Now I think you must be right.It is not impossible that one of my pages is
huge. They are dynamically created, so something could be wrong in my
programming to deliver a huge page for some requests.
Isn't there a log of all the requests? I have one running Maybe the log
could
From: Brian [mailto:bbprefix-m...@yahoo.com]
Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses?
Isn't there a log of all the requests?
Not by default, but you can enable the AccessLogValve in server.xml, that will
display the request URI and the response size. However,
Well, I am using the valve indeed! I will check if it is showing the size of
the responses. I guess I can find the huge pages easily there.
I'm not using the trimSpaces flag.
If I find it, I wont need to limit the buffer. That would be more elegant than
having to do it.
:-)
But the other
Thanks everyone, I simplify the problem with my own request.
In our real env, only one application deployed in one apache-tomcat server.
And application will always have its name under opt folder as:
/opt/tomcat/APP_NAME/tomcat-VERSION/webapp/APP_NAME
tomcat version: 5.5, 6.0.18, 6.0.29
Unix
hi all:
I wrote an app and there are some chinese content, and there are some code
like this
str = new String(chineseContentString.getBytes(iso-8859-1), utf-8);
the app runs pretty well in the tomcat of my pc. however ,when it was
deployed in other machine.
all the Chinese content becomes messy
Hello Pid,
Thanks for the updates.It would be great if you could let us know whether the
issue is in application server or application.
Also we are using apache to load balance tomcat instances using following
modules.
LoadModule proxy_module modules/mod_proxy.so
LoadModule
49 matches
Mail list logo