Re: Servlet reloading problems

2001-04-17 Thread H.F.N. den Boer



In server.xml set reloadable to true. I use the 
context mapping;
 
Context path="/xx" 
 
docBase="xx" 
 
crossContext="true" 
debug="i" 
reloadable="true" 
 
trusted="true"  
 
/Context
That's all. And it works perfect on the following config I use;
Win2K server, build 5.00.2195IIS 5.0, 
configured with ISAPI filterJDK1.3.1betaTomcat 3.2.1 running as NT 
service
Nico

  - Original Message - 
  From: 
  Steve Brainard 
  To: '[EMAIL PROTECTED]' 
  
  Sent: Tuesday, April 17, 2001 8:06 
  PM
  Subject: Servlet reloading problems
  
  I've read all the 
  archives and still cannot get my servlet to reload. I am running TOMCAT 
  Version 3.2.1 on Windows 2000. Does anyone have a formula to get this to 
  work?
  
  My servlet is in 
  WEB-INF/classes, and I do not have WEB-INF in my classpath, and I have tried 
  setting reloadable to both true and false. Is there anything else I can 
  do?
  
  
  Thanks,
  Steve


RE: Servlet reloading problems

2001-04-17 Thread Steve Brainard



Thanks 
for the reply. Is this the same as adding the following lines to 
TomcatConf.xml?

!-- Dev Network 
console context -- Context 
path="" docBase="c:\dev\propel\devnetwork\" crossContext="true" debug="0" 
reloadable="true"  
/Context

Or, do 
I have to set up another context in server.xml? (the above works fine for 
everthing except reloading servlets without restarting tomcat. It doesn't make 
sense to have to duplicate the context definition.)

Thanks,
Steve

  -Original Message-From: H.F.N. den Boer 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, April 17, 2001 11:44 
  AMTo: [EMAIL PROTECTED]Subject: Re: Servlet 
  reloading problems
  In server.xml set reloadable to true. I use the 
  context mapping;
   
  Context path="/xx" 
   
  docBase="xx" 
   
  crossContext="true" 
  debug="i" 
  reloadable="true" 
   
  trusted="true"  
   
  /Context
  That's all. And it works perfect on the following config I use;
  Win2K server, build 5.00.2195IIS 5.0, 
  configured with ISAPI filterJDK1.3.1betaTomcat 3.2.1 running as NT 
  service
  Nico
  
- Original Message - 
From: 
Steve Brainard 
To: '[EMAIL PROTECTED]' 

Sent: Tuesday, April 17, 2001 8:06 
PM
Subject: Servlet reloading 
problems

I've read all 
the archives and still cannot get my servlet to reload. I am running TOMCAT 
Version 3.2.1 on Windows 2000. Does anyone have a formula to get this to 
work?

My servlet is in 
WEB-INF/classes, and I do not have WEB-INF in my classpath, and I have tried 
setting reloadable to both true and false. Is there anything else I can 
do?


Thanks,
Steve


Re: Servlet reloading problems

2001-04-17 Thread situbu42

as far as i know, when you recompile a class, you need to restart 
tomcat.  there is nothing that you can do about it and there are no plans 
to change that.  (i got that tidbit from an online discussion group from a 
sun employee.)  sorry :(


At 11:06 04/17/2001 -0700, you wrote:
I've read all the archives and still cannot get my servlet to reload. I am 
running TOMCAT Version 3.2.1 on Windows 2000. Does anyone have a formula 
to get this to work?

My servlet is in WEB-INF/classes, and I do not have WEB-INF in my 
classpath, and I have tried setting reloadable to both true and false. Is 
there anything else I can do?


Thanks,
Steve







_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




RE: Servlet reloading problems

2001-04-17 Thread CPC Livelink Admin


Actually, it does work - you have to set the reload attribute to true in the
server.xml - my entry looks like this :

Context path="/tracking" docBase="d:/servlet/tracking"
 crossContext="false" debug="0" reloadable="true" 
/Context


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 3:08 PM
To: [EMAIL PROTECTED]
Subject: Re: Servlet reloading problems


as far as i know, when you recompile a class, you need to restart
tomcat.  there is nothing that you can do about it and there are no plans
to change that.  (i got that tidbit from an online discussion group from a
sun employee.)  sorry :(


At 11:06 04/17/2001 -0700, you wrote:
I've read all the archives and still cannot get my servlet to reload. I am
running TOMCAT Version 3.2.1 on Windows 2000. Does anyone have a formula
to get this to work?

My servlet is in WEB-INF/classes, and I do not have WEB-INF in my
classpath, and I have tried setting reloadable to both true and false. Is
there anything else I can do?


Thanks,
Steve







_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





Re: Servlet reloading problems

2001-04-17 Thread Milt Epstein

On Tue, 17 Apr 2001 [EMAIL PROTECTED] wrote:

 as far as i know, when you recompile a class, you need to restart
 tomcat.  there is nothing that you can do about it and there are no
 plans to change that.  (i got that tidbit from an online discussion
 group from a sun employee.)  sorry :(

Funny, it's working fine for me.  Guess there was a problem with that
little tidbit.

One thing to watch out for is that the servlet class must *not* be on
the classpath.


 At 11:06 04/17/2001 -0700, you wrote:
 I've read all the archives and still cannot get my servlet to reload. I am
 running TOMCAT Version 3.2.1 on Windows 2000. Does anyone have a formula
 to get this to work?
 
 My servlet is in WEB-INF/classes, and I do not have WEB-INF in my
 classpath, and I have tried setting reloadable to both true and false. Is
 there anything else I can do?
 
 Thanks,
 Steve

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]




Re: Servlet reloading problems

2001-04-17 Thread Jason_Henriksen


Servlet reloading works fine under Tomcat, however I've been bitten where
the servlet re-loaded OK, but a class my servlet depends on changed but was
not reloaded.

For example, if ServletA uses StaticServiceB.  I can reload ServletA all
day long, but changes to StaticServiceB wont be picked up until a restart.
I don't know if this is applicable for your situation or not, but it's
gotten me before so I thought I'd mention it.

Jason


--
Warning : The information contained in this message may be privileged and confidential 
and protected from disclosure. If the reader of this message is not the intended 
recipient, you are hereby notified that any dissemination, distribution or copying of 
this communication is strictly prohibited. If you have received this communication in 
error, please notify us immediately by replying to this message and then delete it 
from your computer. All e-mail sent to this address will be received by the Providian 
Financial corporate e-mail system and is subject to archiving and review by someone 
other than the recipient.

==




RE: Servlet reloading problems

2001-04-17 Thread Steve Brainard

Thanks for the reply. Is this the same as adding the following lines to
TomcatConf.xml?
 
  !-- Dev Network console context --
Context path="" docBase="c:\dev\propel\devnetwork\"
crossContext="true" debug="0" reloadable="true" 
/Context
 
Or, do I have to set up another context in server.xml? (the above works fine
for everthing except reloading servlets without restarting tomcat. It
doesn't make sense to have to duplicate the context definition.)
 
Thanks,
Steve

-Original Message-
From: CPC Livelink Admin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 12:15 PM
To: [EMAIL PROTECTED]
Subject: RE: Servlet reloading problems



Actually, it does work - you have to set the reload attribute to true in the
server.xml - my entry looks like this :

Context path="/tracking" docBase="d:/servlet/tracking"
 crossContext="false" debug="0" reloadable="true" 
/Context


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 3:08 PM
To: [EMAIL PROTECTED]
Subject: Re: Servlet reloading problems


as far as i know, when you recompile a class, you need to restart
tomcat.  there is nothing that you can do about it and there are no plans
to change that.  (i got that tidbit from an online discussion group from a
sun employee.)  sorry :(


At 11:06 04/17/2001 -0700, you wrote:
I've read all the archives and still cannot get my servlet to reload. I am
running TOMCAT Version 3.2.1 on Windows 2000. Does anyone have a formula
to get this to work?

My servlet is in WEB-INF/classes, and I do not have WEB-INF in my
classpath, and I have tried setting reloadable to both true and false. Is
there anything else I can do?


Thanks,
Steve







_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




RE: Servlet reloading problems

2001-04-17 Thread CPC Livelink Admin


I have never heard/seen of the TomcatConf.xml file, so you are one up on me
there.

-Original Message-
From: Steve Brainard [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 4:26 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Servlet reloading problems


Thanks for the reply. Is this the same as adding the following lines to
TomcatConf.xml?

  !-- Dev Network console context --
Context path="" docBase="c:\dev\propel\devnetwork\"
crossContext="true" debug="0" reloadable="true"
/Context

Or, do I have to set up another context in server.xml? (the above works fine
for everthing except reloading servlets without restarting tomcat. It
doesn't make sense to have to duplicate the context definition.)

Thanks,
Steve

-Original Message-
From: CPC Livelink Admin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 12:15 PM
To: [EMAIL PROTECTED]
Subject: RE: Servlet reloading problems



Actually, it does work - you have to set the reload attribute to true in the
server.xml - my entry looks like this :

Context path="/tracking" docBase="d:/servlet/tracking"
 crossContext="false" debug="0" reloadable="true" 
/Context


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 3:08 PM
To: [EMAIL PROTECTED]
Subject: Re: Servlet reloading problems


as far as i know, when you recompile a class, you need to restart
tomcat.  there is nothing that you can do about it and there are no plans
to change that.  (i got that tidbit from an online discussion group from a
sun employee.)  sorry :(


At 11:06 04/17/2001 -0700, you wrote:
I've read all the archives and still cannot get my servlet to reload. I am
running TOMCAT Version 3.2.1 on Windows 2000. Does anyone have a formula
to get this to work?

My servlet is in WEB-INF/classes, and I do not have WEB-INF in my
classpath, and I have tried setting reloadable to both true and false. Is
there anything else I can do?


Thanks,
Steve







_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com