Turning off session persistence

2003-08-14 Thread Aurele Venet
Hello, anyone knows how to switch off session persistence across all applications deployed on a toncat server? I know how to do it for a single app, by declaring explicitly a PersitentManager () within the in server.xml. However, each time I deploy a new app I need to edit the server.xml fil

Re: Turning off session persistence

2003-08-14 Thread Aurele Venet
ok, found it! Small correction though. Each app has its own SESSIONS.ser file. Hence needs to be deleted for each app deployed. I guess one could search all files and delete, but it is still not a clean solution. If no is defined, then the default used by Tomcat is the one that persist

Re: Need help : how to shutdown & restart Tomcat, how to reload servlet

2003-08-14 Thread Aurele Venet
Hello Vincent, fro problem 1: you are using the correct procedure, but it looks like your server was never started in the first place. The connection refused is due to the fact that it tries to connect to a port (for shutdown procedure) which is not open. Alternatively, tomcat can some time g

Re: Turning off session persistence

2003-08-14 Thread Aurele Venet
I agree, a few extra words go along way with these answers. Persistence is a good thing (no pun intended ;) . Vrata Angus Mezick wrote: Don't know, with the scattered nature of the FM, any one stating RTFM probably should include which part (FP?) of which FM they want you to R. Or at least giv

Re: ANT tasks for management console

2003-08-11 Thread Aurele Venet
note you can also define the classpath to the catalina-ant.jar from the taskdef itself: this way you may wish to keep the path independant rather than copying the jar to the ant home! Steph Richardson wrote: Juraj Look for TOMCAT_HOME/server/lib/catalina-ant.jar and copy it to your ANT_HOME

Re: Turning off session persistence

2003-08-05 Thread Aurele Venet
Hi Yoav, thanks for the pointer. I will look it up. Indeed now that you mention the DefaultContext, that rings a bell. I will experiment with that. Apologies for my RTFQ! Vrata -- V . . . . . . . . . tel:+34.918.131.331 --

Re: Turning off session persistence

2003-08-05 Thread Aurele Venet
thanks, I did already! But I don't think you understand my question! I know you can reset the defaut, but that's only on a per context basis. I want to reset the default for all contexts, ie if a new context is deployed and not defined, then the default should not persist! The manual doesn'

Re: customised : SystemOut and SystemErr loggers

2003-07-24 Thread Aurele Venet
that worked thanks! Shapira, Yoav wrote: Howdy, I see in the manual that it is possible to have customised loggers (Logger tag within a Context). I managed to do a customised FileLogger for my web app, but I couldn't override the default std output and std error logger (cantalina.out). An

customised : SystemOut and SystemErr loggers

2003-07-24 Thread Aurele Venet
Hi, I see in the manual that it is possible to have customised loggers (Logger tag within a Context). I managed to do a customised FileLogger for my web app, but I couldn't override the default std output and std error logger (cantalina.out). Any ideas how to do that? thanks vrta -- V . .

Re: Session persistance after server restart: a bug?

2003-07-24 Thread Aurele Venet
delete all SESSIONS.ser under work before you start tomcat) Aurele Venet wrote: Hello, I am having a strange effect with my tomcat server. My web app sends a session cookie (JSESSIONID) to the browser for session tracking. This keeps a boolean flag to say wether or not a user is logged in. I find t

Session persistance after server restart: a bug?

2003-07-24 Thread Aurele Venet
Hello, I am having a strange effect with my tomcat server. My web app sends a session cookie (JSESSIONID) to the browser for session tracking. This keeps a boolean flag to say wether or not a user is logged in. I find that when I stop and restart the server, the cookie is sent back from the

Re: Tomcat deployment problem: Exception processing TLD--SOLVED

2003-07-24 Thread Aurele Venet
used a we.xml example file that he picked in a tutorial which has a lot of extra tag declarations. Aurele Venet wrote: Hola, we've just upgrade our tomcat server from 4.0.3 to 4.1.24 and after a few teething problems which I managed to fix, I am left with one app that refused to start up.

Re: Deploying a webapp with ant

2003-07-23 Thread Aurele Venet
, then you can even ftp it using ssh from the ant script without requiring any password exchanges! Michael Kessler wrote: The Idea behind is to deploy a webapp automatically on severals servers in the cluster, manual deploy is not the problem ;-) On Wed, 2003-07-23 at 17:15, Aurele Venet wrote

Re: Deploying a webapp with ant

2003-07-23 Thread Aurele Venet
sorry... I meant server.xml file! Aurele Venet wrote: then copy the war to your webapps dir first and make an install from there! Make sure autodeploy war file is set in your servlet.xml file so at restart it will get redeployed! Michael Kessler wrote: With the install task the webapp is

Re: Deploying a webapp with ant

2003-07-23 Thread Aurele Venet
On Wed, 2003-07-23 at 16:55, Aurele Venet wrote: I managed to deploy using ant with the following script: http://localhost:8000/manager"; username="root"/> http://localhost:8000/manager"; username="root" war="file:/

Re: Dynamic Context

2003-07-23 Thread Aurele Venet
Elisabeth, not sure what you use for uploading mechanism (i use the o-reilly classes - cos.jar) but just to say that we upload images to a dir on the server which are then included in a dyanmic page which is served by a jsp works fine! Not sure the content of your files, but if you manage

Re: Deploying a webapp with ant

2003-07-23 Thread Aurele Venet
I managed to deploy using ant with the following script: http://localhost:8000/manager"; username="root"/> http://localhost:8000/manager"; username="root" war="file://${d_build}XAT.war"/> note you need tomcat/4.1.24 + tomcatAntLib path variable pointing to

Tomcat deployment problem: Exception processing TLD

2003-07-23 Thread Aurele Venet
Hola, we've just upgrade our tomcat server from 4.0.3 to 4.1.24 and after a few teething problems which I managed to fix, I am left with one app that refused to start up. This webapp worked fine in the previous installation. Here is the log error message I get, can any one be so kind as to s