Tomcat's session and memory management

2006-07-06 Thread Cameron
Hello Would anyone know how to adjust the length of time/period tomcat's session is active? Is there a way to force session to clear when someone closes their browser? Another question is how does one increase the memory available for tomcat (V4.1.31) in a windows environment running as a

Firefox and servlet issues

2006-07-06 Thread Cameron
Hello We have a servlet which uses org.jdom.output.XMLOutputter to update a file and at the end of the servlet there is a redirect using response.sendRedirect(). The servlet works perfectly on IE but displays a blank screen on firefox upon submission. There are no errors on tomcat. Any ideas...

Re: only https on login form

2006-07-06 Thread dirk ooms
Mark, Thanks for your answer. So is it common practice to keep the complete session encrypted even if one only desires encrypted authentication? cheers, dirk On Thursday 06 July 2006 03:01, Mark Thomas wrote: dirk ooms wrote: Is there a way to do this or am i missing something? Not

HTTP header details returned by HttpServletRequest.getInputStream()

2006-07-06 Thread David Fraser
Hi Users, Our company has a software application that consists of a number of servlets hosted by the Tomcat webserver (version 5.0.16). One of the servlets responds to HTTP POST requests, the body of which contains details about what exactly is being requested. The data in the body is a simple

tomcat version output in error messages

2006-07-06 Thread Mike Schmelzer
Hi *! I'm using Apache 2 and Tomcat 5 to host several websites. For security reasons I don't want that Tomcat is displaying the Tomcat version in its error messages (i.e. 404 error message). How can I prevent Tomcat from displaying those software information? I know the deal with the error-page

Re: Specification of web.xml

2006-07-06 Thread Schalk Neethling
http://java.sun.com/dtd/web-app_2_3.dtd wolverine my wrote: Hi! May I know which specification that describe the web.xml contents? And where can we download it? - To start a new topic, e-mail: users@tomcat.apache.org To

RE: Tomcat's session and memory management

2006-07-06 Thread Harshal Joshi
Hi, In web.xml you can define session time. Like, session-config session-timeout30/session-timeout /session-config here 30 is in minutes... when you close window at that time just write session.invalidate(); -Original Message- From: news

RE: Tomcat's session and memory management

2006-07-06 Thread Peter Crowther
From: Cameron Would anyone know how to adjust the length of time/period tomcat's session is active? http://www.jguru.com/faq/view.jsp?EID=415341 Is there a way to force session to clear when someone closes their browser? No, as you cannot know reliably that the browser has been closed

Re: Firefox and servlet issues

2006-07-06 Thread Mark Thomas
Cameron wrote: Any ideas... Any suggestions most appreciated. Use ieHttpHeaders for IE and Live HTTP Headers with Firefox to take a look at the requests responses going back and forth. It may shed some light on the issue. Mark

maintenance redirect best practice

2006-07-06 Thread Fletcher Cocquyt
Hi, we are tossing around different ideas on how to best manage web application maintenance redirect pages. That is do we update apache config to have the JkMount redirect to a tailored webapp 1/30 is down for maintenace (has someone coded a please check back in X minutes dynamic message form

RE: Invoking web services via Tomcat

2006-07-06 Thread Mike Noel
[EMAIL PROTECTED] wrote: Hello, I've used Tomcat to build web services and it is terrific. Thanks a lot to all the Tomcat developers. I need to call out from a servlet to a remote web service. I know I can do this by piecing together a HTTP POST, but I wonder if there are some functions

Jakarta Connector 1.2.14 with Apache 2 under Solaris 8

2006-07-06 Thread Lopez Jarillo, Cesar
Hello all, I'm installing mod_jk.so version 1.2.14 on Apache 2.0.55 (Solaris 8 OS). I've compiled the source code I'm having problems when I user a load balancer worker, because Apache seems unable to contact with Tomcat. I the worker is not defined as a balanced worker, I can connect

Re: Authenticate Client!

2006-07-06 Thread Jack
Yes it does there is some work involved. I have some instructions at: http://jack.godau.googlepages.com/jbosscertificatesandopenssl hope it helps Jack... On 05/07/06, ngolehung84 [EMAIL PROTECTED] wrote: Hi, I'm using Tomcate 5.5.15. I have just configured SSL successful. Now I want tthat

Re: tomcat reject client certificate

2006-07-06 Thread Jack
I have some instructions at http://jack.godau.googlepages.com/jbosscertificatesandopenssl hopefully they are helpful. Cheers Jack... On 28/06/06, gabriele cicala [EMAIL PROTECTED] wrote: Hi to everybody. I have a problem with tomcat 5.5.17 where I try to set the client authentication to true

Re: How to configure tomcat SSL with pem file

2006-07-06 Thread Jack
You could turn the key into a certificate and then it would (most likely) work. Have a look at these instructions: http://jack.godau.googlepages.com/jbosscertificatesandopenssl Cheers Jack... On 30/06/06, Sujit Choudhury [EMAIL PROTECTED] wrote: I am running tomcat server and would like to

Re: Jakarta Connector 1.2.14 with Apache 2 under Solaris 8

2006-07-06 Thread Rainer Jung
Hi, Lopez Jarillo, Cesar schrieb: Hello all, I'm installing mod_jk.so version 1.2.14 on Apache 2.0.55 (Solaris 8 OS). I've compiled the source code You should definitely not use 1.2.14. For example have a look at http://issues.apache.org/bugzilla/show_bug.cgi?id=36525 If you need the

Host information outside server.xml

2006-07-06 Thread Vivek Lakshmanan
Hi! Is it possible to place the Host element of the server.xml in a separate file in tomcat5.5.x? The idea is to separate Host specific configuration from the main server.xml file. All comments appreciated! Thanks, Vivek - To

Why are there 200000 Finalizer objects at OOME???

2006-07-06 Thread John McClain
I have was profiling my application using yourkit profiler. The statisxtics are stange and I need help to understand them. Here is the scenario: 1) started Tomcat @ 1:00 profiling using yourkit profiler - only 1 context, our application. I set the profiler to take a heap snapshot on 90% of heap

Re: Why are there 200000 Finalizer objects at OOME???

2006-07-06 Thread Nikita Tovstoles
John, You should be catching Throwable t, not Exception e. Also replace DriverAdapterCPDS cpds = new DriverAdapterCPDS(); with DriverAdapterCPDS cpds = null; //before try cpds = new DriverAdapterCPDS(); //inside try Finally, how are you closing connections (i.e returning them to the pool?).

Why are there 200000 Finalizer objects all with socket reterents at OOME???

2006-07-06 Thread John McClain
I forgot to mention in my last post that all the Finalizers left in memory had a referent of java.net.socket* John McClain Senior Software Engineer TCS Healthcare [EMAIL PROTECTED] (530)886-1700x235 Skepticism is the first step toward truth

Jonas Virtual host webapps

2006-07-06 Thread Ali Sadroudine
is it possible for jonas to manage multiple virtual host ? i follow the example that it's figure on this forum http://www.nabble.com/Virtual-Hosting-with-WAR-files-tf227119.html#a634539 Engine name=Catalina defaultHost=localhost Host name=localhost appBase=webapps unpackWARs=true

Re: The requested resource (/servlet/RegistraMarcaPropriedade) is not available

2006-07-06 Thread Mark Thomas
[EMAIL PROTECTED] wrote: Dear all, My servlet RegistraMarcaPropriedade that was working fine suddenly stopped working. I am not sure if the problem is because of my navigation or if it's related to Tomcat. Can someone give me a hint? Don't use packageless classes.

Re: Authenticate Client!

2006-07-06 Thread navaneethan loganathan
Hi, I am sorry for that.. Since I am new to this group, I was not aware of that. I will follow your advise and do accordingly in future. Thanks Navin. On 7/5/06, Mark Thomas [EMAIL PROTECTED] wrote: When starting a new thread (ie sending a message to the list about a new topic) please do not

SSL Installation with tomcat

2006-07-06 Thread navaneethan loganathan
Hi, I am trying to install SSL certificate with Tomcat 5.5.15. I obtained the certificate file from verisign.Imported the certificate into my server with a Certificate key file through keytool command and it successfully added.I am trying to configure it in Tomcat. At present

[ANN] Apache Tomcat 4.1.32-beta Now available

2006-07-06 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The Apache Tomcat team is proud to announce the immediate availability of Tomcat v4.1.32-beta. This release contains dozens of bug fixes and a number of other updates. Please consult the release notes included in the distributions for more details.

Question about cpu usage of tomcat 4.1.30

2006-07-06 Thread ? ??
Hi. I'm using tomcat 4.1.30 for my web applications. Here I got a requirement to get the CPU usage of tomcat process both on windows and unix-liked systems(linux AIX). So does tomcat give a API to get this information? I know it could be done by

Tomcat intialization problem

2006-07-06 Thread Rohit Kumar
Greetings everyone, i am having trouble initializing tomcat on Mandriva Linux. here's the output of catalina.out: code [EMAIL PROTECTED] logs]# cat catalina.out Jul 7, 2006 8:48:40 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which

Re: SSL Installation with tomcat

2006-07-06 Thread Pankaj DHINGRA
You are using apache server to handle http requests so SSL configuration is required on the apache server not on the tomcat. Cheers, Pankaj navaneethan loganathan wrote: Hi, I am trying to install SSL certificate with Tomcat 5.5.15. I obtained the certificate file from verisign.Imported the