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

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

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

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

Re: How to Install Tomcat 5.5 Administration Web Application

2006-04-26 Thread nissam
Hi Add a user like below. user username=nisam password=nisam roles=standard,manager,admin/ Remove the cache and restart tomcat. The admin application should be working. rgds nissam -- View this message in context:

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

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

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

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. I

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 userid and

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

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 =

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

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

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 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 load

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

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

logging all URL requests

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

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

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

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

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

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: Host name=www.mysite.com appBase=/web/mysite

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 a

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)?

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: 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