RE: Need to restart Tomcat in order to deploy a new .war

2004-01-22 Thread Sanjeev Kumar
reload operation. Is this correct? [>>] [>>] Reload will look for updating the classes that are loaded earlier. So this will not work for the .war file. From the manager app stopping and then starting the application will redeploy the application. Vladislav Pernin Le jeu 22/01/

RE: Need to restart Tomcat in order to deploy a new .war

2004-01-22 Thread Sanjeev Kumar
Everything is in the subject. I'd like to know if it is necessary to restart Tomcat each time a new version a .war file is put in the deployment folder ? [>>] [>>] Whenever a new war file is put in the directory the restart of Tomcat is not necessary. But the application needs to be restarted. R

RE: long startup time with JDK1.4

2004-01-22 Thread Sanjeev Kumar
I had the same problem sometime back. The following change worked for me. In the JAVA_HOME\jre\lib\logging.properties, I changed the property .level=ALL To .level=INFO -Original Message- FYI... This didn't work either. In the meantime I figured out, that the time is spent in the PlainS

RE: Single session across webapps

2004-01-21 Thread Sanjeev Kumar
Putting in /common/lib ensures the classes are loaded by the system classloader. The application classes are loaded by the 'war classloader' which is a child of system classloader. You can access the classes loaded by the system classloader from the web applications. -Original Message- Fro

RE: Tomcat - Automatically writes a session?

2004-01-21 Thread Sanjeev Kumar
Login to the tomcat server administration (http://:8080/admin). In the left frame go to Tomcat Server -> Service -> Host. Below the Host click on the context which is applicable to your web application. In the right frame you can see the Context properties. Set the values for Cookies to 'false'. C

RE: Tomcat - Automatically writes a session?

2004-01-20 Thread Sanjeev Kumar
[>>] >>> - Maintaining a session per user is not a big deal, as these are [>>] >>> - tiny [>>] >>> - objects by default. They only get big if you put big attributes [>>] >>> - in [>>] >>> - them. Make sure sessiontimeout is not -1 >Someone just pointed out that my JSPs are have this in the h

RE: Problem with WEB-INF/classes

2004-01-20 Thread Sanjeev Kumar
Replace the line <[EMAIL PROTECTED] import="java.util.*, es.uib.ein.multimedia" %> with <[EMAIL PROTECTED] import="java.util.*, es.uib.ein.multimedia.*" %> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: Problem with WEB-INF/classes

2004-01-20 Thread Sanjeev Kumar
I've just downloaded Tomcat 5 and I've created a simple new webapp ($TOMCAT_HOME/webapps/myapp). I've compiled a class into myapp/WEB-INF/classes/ and I've writen a simple JSP page that uses this class. When I access the JSP page I get a compilation error (ClassNotFound). [>>] [>>] put the

RE: TC5 won't start on Xeon | severe error

2004-01-19 Thread Sanjeev Kumar
What is the error now? -Original Message- From: K. Harvatis [mailto:[EMAIL PROTECTED] Sent: Monday, January 19, 2004 7:56 PM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: Re: TC5 won't start on Xeon | severe error Ok, what was needed was an installation of SDK 1.4 and the creatio

RE: TC5 won't start on Xeon

2004-01-19 Thread Sanjeev Kumar
Attach bin/Catalina.bat, bin/startup.bat and conf/server.xml files along with "set" command output from the dos prompt -Original Message- From: K. Harvatis [mailto:[EMAIL PROTECTED] Sent: Monday, January 19, 2004 5:55 PM To: Tomcat Users List Subject: Re: TC5 won't start on Xeon No cha

RE: TC5 won't start on Xeon

2004-01-19 Thread Sanjeev Kumar
In Catalina.bat replace the below line with >>> set _EXECJAVA=start "Tomcat" %_RUNJAVA% With >>> set _EXECJAVA= %_RUNJAVA% Then cd to the bin directory and type Catalina start --- Check the output now -Original Message- From: K. Harvatis [mailto:[EMAIL PROTECTED] Sent: Monday, Januar

RE: TC5 won't start on Xeon

2004-01-19 Thread Sanjeev Kumar
Checkout few env properties CATALINA_HOME JAVA_HOME ... -Original Message- From: K. Harvatis [mailto:[EMAIL PROTECTED] Sent: Monday, January 19, 2004 3:25 PM To: [EMAIL PROTECTED] Subject: TC5 won't start on Xeon I have tried both with the EXE and ZIP versions: Tomcat 5 refuse to start

RE: out of memory problem. Help!

2004-01-18 Thread Sanjeev Kumar
Check session-timeout in web.xml. -1 is never timeout -1 -Original Message- From: Christophe Andreoli [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 9:19 PM To: Tomcat Users List Subject: Re: out of memory problem. Help! "Shapira, Yoav" wrote: > > Howdy, > > >root cause > >

RE: getRuntime().exec(...) root command problem

2004-01-16 Thread Sanjeev Kumar
Try cmd="/sbin/ifconfig \n"; -Original Message- From: Philippe Valle [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 2:31 PM To: Tomcat Users List Subject: getRuntime().exec(...) root command problem I want do do ipconfig on linux with exec java command. When i do 'ls' for e