Reloading changed servlets problem

2001-06-07 Thread RANDRIAMPARANY Honitriniela


Hi,

Not having received a response for my mail, I would like to send it again. It
is very significant for us to have Tomcat that is able to reload the changed 
servlets since we use it for the exercises of the students in a computer 
science course.
So, please help me. I put my original message below. We use Tomcat-3.2.1 
standalone.

-- Honitra.

 original message -Date: 
Wed, 06 Jun 2001 14:15:33 +0200
From: RANDRIAMPARANY Honitriniela [EMAIL PROTECTED]
Subject: Reloading changed servlets problem
To: [EMAIL PROTECTED]


Hi,

I use tomcat-3.2.1. I still have problem with the reloading of changed 
servlets whereas I have the following entry in the server.xml file.

Context path=/TP_genielog 
 docBase=webapps/TP_genielog 
 crossContext=false
 debug=0 
 reloadable=true  
/Context

I read this in the FAQ:
Note: Do NOT include the classes or .jar files from WEB-INF directories for
 which you want to enable automatic servlet reloading in the CLASSPATH of the
 shell that starts Tomcat. 

I followed this instruction. The reloading worked fine for a moment, and then 
the
problem arised again. 

Could somebody say me what I must do? How can one erase the cache memory of 
Tomcat?

Thanks for any help.


-- Honitra.





Re: Reloading changed servlets problem

2001-06-07 Thread Jim Cheesman

At 10:00 AM 07/06/01, you wrote:

Hi,

Not having received a response for my mail, I would like to send it again. It
is very significant for us to have Tomcat that is able to reload the changed
servlets since we use it for the exercises of the students in a computer
science course.
So, please help me. I put my original message below. We use Tomcat-3.2.1
standalone.


In server.xml:
 Context path=/admin
  docBase=d:/webapps/admin
  crossContext=true
  debug=0
  reloadable=true  -- this is the line you want
  trusted=false 
 /Context

Jim





--

   *   Jim Cheesman   *
 Trabajo: 
[EMAIL PROTECTED] - (34)(91) 724 9200 x 2360
   If a pig loses its 
voice is it disgruntled?





RE: Reloading changed servlets problem

2001-06-07 Thread William Kaufman

I think the reason no one responded was, you didn't say _what_ problem you
had.

If you're getting an exception/error somewhere, post the stack trace, and
the line of code where it happened.

If it's just that the servlet didn't reload, it might be a problem with the
timestamp on the file (esp. if the directory is remotely mounted),...

-- Bill K.


 -Original Message-
 From: RANDRIAMPARANY Honitriniela
 [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 07, 2001 1:01 AM
 To: [EMAIL PROTECTED]
 Subject: Reloading changed servlets problem
 
 
 
 Hi,
 
 Not having received a response for my mail, I would like to 
 send it again. It
 is very significant for us to have Tomcat that is able to 
 reload the changed 
 servlets since we use it for the exercises of the students in 
 a computer 
 science course.
 So, please help me. I put my original message below. We use 
 Tomcat-3.2.1 
 standalone.
 
 -- Honitra.
 
  original message 
 -Date: 
 Wed, 06 Jun 2001 14:15:33 +0200
 From: RANDRIAMPARANY Honitriniela 
 [EMAIL PROTECTED]
 Subject: Reloading changed servlets problem
 To: [EMAIL PROTECTED]
 
 
 Hi,
 
 I use tomcat-3.2.1. I still have problem with the reloading 
 of changed 
 servlets whereas I have the following entry in the server.xml file.
 
 Context path=/TP_genielog 
  docBase=webapps/TP_genielog 
  crossContext=false
  debug=0 
  reloadable=true  
 /Context
 
 I read this in the FAQ:
 Note: Do NOT include the classes or .jar files from WEB-INF 
 directories for
  which you want to enable automatic servlet reloading in the 
 CLASSPATH of the
  shell that starts Tomcat. 
 
 I followed this instruction. The reloading worked fine for a 
 moment, and then 
 the
 problem arised again. 
 
 Could somebody say me what I must do? How can one erase the 
 cache memory of 
 Tomcat?
 
 Thanks for any help.
 
 
 -- Honitra.
 
 



Reloading changed servlets problem

2001-06-06 Thread RANDRIAMPARANY Honitriniela


Hi,

I use tomcat-3.2.1. I still have problem with the reloading of changed 
servlets whereas I have the following entry in the server.xml file.

Context path=/TP_genielog 
 docBase=webapps/TP_genielog 
 crossContext=false
 debug=0 
 reloadable=true  
/Context

I read this in the FAQ:
Note: Do NOT include the classes or .jar files from WEB-INF directories for
 which you want to enable automatic servlet reloading in the CLASSPATH of the
 shell that starts Tomcat. 

I followed this instruction. The reloading worked fine for a moment, and then 
the
problem arised again. 

Could somebody say me what I must do? How can one erase the cache memory of 
Tomcat?

Thanks for any help.


-- Honitra.