Scott, thanks for responding.

At 01:14 AM 12/31/00 -0500, you wrote:
>As long as the servlet class files are not in the JVM's classpath, they
>should reload dynamically.

Our servlets are located in jrun/servers/default/myapp/WEB-INF/classes, 
which is not in my CLASSPATH; I don't think they should be.  The 
application is installed using makefiles, so we make use of the command 
line deploy and remove capabilities.  We use makefiles because our app is 
developed collaboratively, geographically speaking, via cvs.  We currently 
debug using the jrun event logging (jrun/logs) accessible from the servlet 
"context."

>Also, it depends where you're putting the newly compiled classes.  In JRun
>3.0 the /servlet/ mapping only works for the default-app, by default.
>
>Please give more details about which version of JRun you're using and what
>you application is set up like (where are you putting the servlet classes?).

We're using jrun 3.01 on redhat 6.2 with jdk 1.3 and oracle on the back 
end.  The config is standard I think, as described above.  Any help is 
welcome.  Restarting the server each run is slow.

Thanks, BenG.

>You mentioned debugging in the subject.  A problem with a debugger may be
>that the debugger JVM can't find the servlet classes unless they're in its
>classpath, which will prevent them from being dynamically reloaded while
>debugging.
>
>Scott Stirling
>
> > -----Original Message-----
> > From: Ben Groeneveld [mailto:[EMAIL PROTECTED]]
> >
> > What's a good way to have servlets auto-reloaded when recompiled?  I
> > looked though the manual and this was not obvious.  When I change a .jsp
> > jrun seems to detect that and reload, but servlets don't (I'm using the
> > invoker servlet shortcut).  What am I missing?  Currently I restart the
> > default jrun server to debug, but this is painfully slow.  Thanks, BenG.
>
>
>
~~~~~~~~~~~~~ Paid Sponsorship ~~~~~~~~~~~~~
Get Your Own Dedicated Win2K Server!      Instant Activation for $99/month w/Free 
Setup from SoloServer      PIII600 / 128 MB RAM / 20 GB HD / 24/7/365 Tech Support     
 Visit SoloServer, https://secure.irides.com/clientsetup.cfm.
Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to