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 proxy_connect_modul
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 mes
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 e
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 issue
> 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
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 sho
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 s
2010/11/16 Brian :
> 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,
[1] http://www.ec
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
> 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 pro
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
-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 e
> 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 pe
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
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:
> maxThreads="250" protocol="AJP/1.3" />
>
> See the typo? "connectionTimeOut" should be "connectionTimeout". Normall
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:
See the typo? "connectionTimeOut" should be "connectionTimeout". Normally
Tomcat complains when you have bogus properties, e.g.:
WARNING org.apache.tomcat.util.di
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 newC
On 15/11/2010 17:39, Tim Funk wrote:
> Has anyone successfully used (or experimented with) either of these?
>
> -XX:OnError=";"
> -XX:OnOutOfMemoryError=";
>
Yes.
Context: an occasional app bug which started occurring with more
frequency, under load. Couldn't track down the source easily and i
Has anyone successfully used (or experimented with) either of these?
-XX:OnError=";"
-XX:OnOutOfMemoryError=";
-Tim
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@to
> -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
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 parti
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
> com.ericsson.mars.jspbean.LoginBean.valueUnbound(L
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 [mailto:chuck.ca
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.
> connectionTimeout="2"
>redirectPort="8443" />
The URL fro your previous e-m
> 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
>
I don't remember making changes to the server.xml file, but here is mine:
-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: Monday, November 15, 2010 10:13 AM
To: Tomcat Users List
Subject:
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 server.
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
Subject:
2010/11/15 Noah, Craig [USA] :
> 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 Kolinko
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
Sorry. I'm using tomcat 6.0.26. I made sure my changes are not within
comments. The full file is:
-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: Monday, November 15, 2010 9:55 AM
To: Tomcat Users List
Subject: Re: Configuring users
On 15/11/2010
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:
>
>
>
>
>
> I have saved the file and restarted th
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:
I have saved the file and restarted the server, but am still unable to get
to the manager web app
Am Tue, 09 Nov 2010 16:06:14 -0500
schrieb Christopher Schultz :
> 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 different than tomcat-jul
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 wrote:
> Hello team,
>
> Tomcat Server going down frequently with the following messages in the lo
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 thi
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: Shut
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
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 case
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
worker.loadbal_hub
2010/11/15 Rekha Ravi Pai :
> The value for the useBean class attribute PasswordEncryptService is invalid.
According to your description, your class name is
"beans.PasswordEncryptService".
-
To unsubscribe, e-mail: users-unsubscr
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
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 o
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 go
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); }
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 Chr
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 'listen
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 cou
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
49 matches
Mail list logo