Kingston Sew wrote:
> Any ideas on what is the cause of the problem?
Sounds like your application has a memory leak. A profiler tool should
be able to show you where.
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
just increase your max memory of JVM ,
problem will get solved
--
View this message in context:
http://www.nabble.com/Tomcat-4.1.24---Out-of-memory-t1509167.html#a4098698
Sent from the Tomcat - User forum at Nabble.com.
-
To un
opensta wrote:
> just increase your max memory of JVM ,
> problem will get solved
If the problem is a memory leak this suggestion will not work. It will
reduce the frequency of the OOM errors (since it will take longer for
the leak to fill all the available memory) but it will not fix the root
cau
In order to track down an error in my servlet application, I'm trying to
trace when sessions are created and destroyed. For this I defined a
HttpSessionListener.
public void sessionCreated(HttpSessionEvent se) {
se.getSession().setAttribute(ATTRIBUTE, this);
if (trace.wanted(UqT
Hi
Add a user like below.
Remove the cache and restart tomcat. The admin application should be
working.
rgds
nissam
--
View this message in context:
http://www.nabble.com/How-to-Install-Tomcat-5.5-Administration-Web-Application-t1368054.html#a4099700
Sent from the Tomcat - User forum at
> From: opensta [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat 4.1.24 - Out of memory
>
> just increase your max memory of JVM ,
> problem will get solved
That's called attacking the symptom, not the problem - a rather
short-sighted approach that might postpone the issue temporarily, but
will r
I meant isapi_redirector2.dll. Sorry!
Because of the problems we had, and the challenge of finding correct
documentation, we ended up going with a hardware solution that does URL pattern
matching to forward requests to Tomcat. That buys us the time until we can get
rid of it.
Thanks!
Cory
--
Hi,
I'm still in process of migrating my application from 5.0 to 5.5. One
of the still open issues is the shutdown behaviour of the tomcat.
Right now I see very strange exceptions in the log file after I call
shutdown.sh or hit ctrl-c in catalina.sh run:
I get null pointer exceptions in following
Hi All,
I have a login screen that prompts for userid and
password. But when you press enter after inputing
these fields it does not "defaults" to Ok button. So I
want to "default" the button press event of "Enter"
button into action perform event of "OK" button. Can
anyone hint me regarding this.
This is an HTML question.
Is the button in a FORM tag? If not, then you will have to handle the
"button-pressed" event with javascript and then submit the page if it is an
enter key.
On 4/26/06, VIKASS NAGPAL <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> I have a login screen that prompts for use
Hi,
if you use a (x)html-formular to create the login screen, you can
add a hidden input-field that contains the OK-Parameter (the same
parameter-name and parameter-value as the OK-Button). So, when
you hit "Return" OR the submit-button in that formular, the OK-Parameter
is send in both cases (wh
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
> Subject: tomcat 5.5.16 does strange things with my log4j?
>
> I get null pointer exceptions in following code:
> static{
> log = Logger.getLogger(QueuedEventSender.class);
> }
> static {
> log = Logge
could you post the stack trace you get from the NPE
Leon Rosenberg wrote:
Hi,
I'm still in process of migrating my application from 5.0 to 5.5. One
of the still open issues is the shutdown behaviour of the tomcat.
Right now I see very strange exceptions in the log file after I call
shutdown.sh
The abovementioned code is executed approx. 10 times a second from the
beggining and never fails except when downing tomcat...
I also see the log entries in the log file, so the logging works
during the lifetime of the application.
Forgot to mention, but all of the NPEs happen in threads. The tim
ok, I changed the code a bit:
if (log==null)
System.out.println("LOG IS NULL!!!");
if (/*log!=null && */log.isDebugEnabled())<-- line 231
log.debug("Timer execution lasted: "+duration);
I modified the code a bit more to get more insight. Things are getting
even stranger:
private static long logCount;
private static Logger log;
static {
log = Logger.getLogger(TimerServiceImpl.class);
threadGroup = new ThreadGroup("VincentTime
this is interesting, can you supply a simple test case, cause somewhere
the variable "log" must be set to null
Filip
Leon Rosenberg wrote:
ok, I changed the code a bit:
if (log==null)
System.out.println("LOG IS NULL!!!");
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
> Subject: Re: tomcat 5.5.16 does strange things with my log4j?
>
> The only thing I can think of is change of the classloader,
> so old instances become invalid, is there a chance log4j is
> loaded via another classloader
Even if a second class l
On Tue, 25 Apr 2006 19:08:34 -0500, Filip Hanik - Dev Lists wrote:
> my guess is that there was an error when /newapp started up, hence it
> never got deployed. Check the logs
Thanks for the pointer. Indeed, the logfile contained the error.
Thanks,
Rajarshi
---
Hi everybody,
I'm trying to get the information of sending the last byte of a file through
Tomcat.
I've done many tests, I've looked in the archives and nothing came up.
So I'm thinking that maybe I'm not posting where I should, if it is so, please
tell me so and tell me where I could find the i
The deployXML attribute in the server.xml is defaulted to true.
In the Tomcat Docs it states this:
Security consious environments should set this to false to prevent
applications from interacting with the container's configuration.
Can anyone explain what the exposure might be by leaving this
How can I log all the URL requests made to Tomcat?
configure the AccessLogValve
http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html
Filip
D Law wrote:
How can I log all the URL requests made to Tomcat?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional co
Nicolas Schwartz wrote:
I'm trying to get the information of sending the last byte of a file through
Tomcat.
I've done many tests, I've looked in the archives and nothing came up.
So I'm thinking that maybe I'm not posting where I should, if it is so, please
tell me so and tell me where I could
Hello,
I'm trying to setup SSL on a standalone Tomcat 5.5.12 install on Windows XP.
I generated the .keystore file by running the following at the command
prompt:
C:\>"C:\Program Files\Java\jre1.5.0_06\bin\keytool.exe" -genkey
-alias tomcat -keyalg RSA
I entered values for all the quest
The access log is that isn't it?
Otherwise a filter would be fired off with each request.. you could put
a logger in there... but I'm thinking the access log does what you want
already correct?
-Original Message-
From: D Law [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 26, 2006 1:31
I've finally nailed down what I think my problem with Tomcat 5.5.16 and
greater is, and condensed it into this easy-to-use, FunSize-ed post.
I have a webapp that is at the root of my appBase, defined in a Context
element in my server.xml, like so:
I have a
Have you tried watching "log" with a debugger?
Tim
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 26, 2006 11:17 AM
To: Tomcat Users List
Subject: Re: tomcat 5.5.16 does strange things with my log4j?
this is interesting, can you supply
I don't have much to add, but I will try to give a suggestion or pointers
for you to research. I just wanted to start off by saying (in my opinion)
this was an excellent post and it described the problem and situation very
clearly.
Have you tried getServletContext().getContext("/web/mysite")?
Al
Is there a way to force users to renew their password or enforce password
rules using the native j_security_check authentication mechanisms of tomcat?
Ferindo
Hi Ferindo,
No, there is not. j_security_check implements simple container-managed
authentication (sometimes called J2EE security), and that does not
include password management of any sort. At work for instance, we have
built a whole security framework on top of J2EE security to deal with
I sometimes met the problem that apache can't connect to tomcat
through jk.Iwant to know why,the records of mod_jk.log like:
[Wed Apr 26 18:46:54 2006] [error] ajp_service::jk_ajp_common.c (1758):
Error connecting to tomcat. Tomcat is probably not started or is listening
on the wrong port. worker
--Tomcat is probably not started or is listening on the wrong port--
Probably the Tomcat or AJP port setting is wrong? Seems that your tomcat
runs on port 8010...what are your settings for Tomcat AJP connector?
HTH
FooShyn
-Original Message-
From: tang jie [mailto:[EMAIL PROTECTED]
S
Dear Comunity,
I want to know how much load is on my Tomcat. How can i do this?
I hav a Client, which continues calls set of Servlets. I want to test how
many Clients(max) i can run at a time, for this i want to know load on
Tomcat.
regards,
bala
34 matches
Mail list logo