i want to know load on Tomcat

2006-04-26 Thread balaraju mandala
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

RE: jk can't connect to tomcat

2006-04-26 Thread fooshyn
--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

jk can't connect to tomcat

2006-04-26 Thread tang jie
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

Re: j_security_check is there a way to force users to renew password

2006-04-26 Thread Frank W. Zammetti
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

j_security_check is there a way to force users to renew password

2006-04-26 Thread Ferindo Middleton
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

Re: JSPs, contexts, Tomcat 5.5.16+ and NPEs

2006-04-26 Thread Marc Farrow
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

RE: tomcat 5.5.16 does strange things with my log4j?

2006-04-26 Thread Tim Lucia
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

JSPs, contexts, Tomcat 5.5.16+ and NPEs

2006-04-26 Thread Corey Kaiser
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

RE: logging all URL requests

2006-04-26 Thread John Powers
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

Tomcat 5.5.12 No Common Encryption Algorithms Error

2006-04-26 Thread Wesley Gill
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

Re: Last Byte Detection

2006-04-26 Thread Darryl Miles
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

Re: logging all URL requests

2006-04-26 Thread Filip Hanik - Dev Lists
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

logging all URL requests

2006-04-26 Thread D Law
How can I log all the URL requests made to Tomcat?

deployXML question.

2006-04-26 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
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

Last Byte Detection

2006-04-26 Thread Nicolas Schwartz
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

Re: multiple axis webapps

2006-04-26 Thread Rajarshi Guha
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 ---

RE: tomcat 5.5.16 does strange things with my log4j?

2006-04-26 Thread Caldarale, Charles R
> 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

Re: tomcat 5.5.16 does strange things with my log4j?

2006-04-26 Thread Filip Hanik - Dev Lists
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!!!");

Re: tomcat 5.5.16 does strange things with my log4j?

2006-04-26 Thread Leon Rosenberg
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

Re: tomcat 5.5.16 does strange things with my log4j?

2006-04-26 Thread Leon Rosenberg
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);

Re: tomcat 5.5.16 does strange things with my log4j?

2006-04-26 Thread Leon Rosenberg
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

Re: tomcat 5.5.16 does strange things with my log4j?

2006-04-26 Thread Filip Hanik - Dev Lists
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

RE: tomcat 5.5.16 does strange things with my log4j?

2006-04-26 Thread Caldarale, Charles R
> 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

Re: Default my Enter key into the OK button of the Login screen

2006-04-26 Thread Oliver Schoenwald
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

Re: Default my Enter key into the OK button of the Login screen

2006-04-26 Thread Marc Farrow
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

Default my Enter key into the OK button of the Login screen

2006-04-26 Thread VIKASS NAGPAL
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.

tomcat 5.5.16 does strange things with my log4j?

2006-04-26 Thread Leon Rosenberg
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

RE: IIS Integration

2006-04-26 Thread Cory Foy
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 --

RE: Tomcat 4.1.24 - Out of memory

2006-04-26 Thread Caldarale, Charles R
> 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

Re: How to Install Tomcat 5.5 Administration Web Application

2006-04-26 Thread nissam
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

Unbalanced Session created/destroyed

2006-04-26 Thread Martin Goldhahn
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

Re: Tomcat 4.1.24 - Out of memory

2006-04-26 Thread Mark Thomas
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

Re: Tomcat 4.1.24 - Out of memory

2006-04-26 Thread opensta
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

Re: Tomcat 4.1.24 - Out of memory

2006-04-26 Thread Mark Thomas
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