Hi Lee,

We're using iPlanet-4.1, so we have a similar setup as you. We don't
have a problem with reloading and I'm not sure why you have to restart
the Web server and not the servlet engine to get a servlet to reload.
Not meaning to insult you, but are you sure you're using JRun 3.0 as
your servlet engine and not the one built into iPlanet?

In the directory structure I use for our Web site, I have a directory
for our Web Applications which we call webapps. Our build process puts
our servlet classes in the following dir:

/webSiteName/webapps/webAppName/WEB-INF/classes

In JRun 3.0 management console, I have the application root directory
defined in:

/webSiteName/webapps/webAppName

and the Application Mapping as:

/webAppName

So if my Web site was bmpcoe and the Web Application was User, I would
have the following:
Application Root Directory (physical directory): /bmpcoe/webapps/user
Application Mapping (URI): /user
Servlets go here: /bmpcoe/webapps/user/WEB-INF/classes

I actually have this directory structure on another file system so there
is stuff in front of bmpcoe, but that doesn't matter for this
explanation. These naming conventions are just what I use though, theres
no reason you couldn't have /user map to /blah or whatever. I just find
this way is easier to keep track of things. The only thing that's
defined in the spec as far as I know is the WEB-INF/classes underneath
the "Application Root Directory".

Lloyd


"Lonitz, Lee M" wrote:
> 
> Hi Lloyd,
> 
> I was wondering if I could ask you a question since you're using JRun 3.0 on
> a Sparc Solaris machine w/ JDK V 1.2.1. Are you having problems at all
> getting your servlets to dynamically reload? For ours on our Sun machine
> using I-Planet (Netscape Enterprise Server 4.0), we have to keep stopping
> and restarting the Web server to get changes to servlets to take effect.
> Could you tell me in what directory you place servlets?
> 
> Thanks!
> 
> Lee Lonitz
> Lockheed Martin Corporation

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to