----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

We also use a custom package in our servlets.  The way we are both doing it,
the custom package classes are loaded into memory via the bootstrap class
loader and so they can not be reloaded.  You can just restart Apache
(apachectl restart) which will restart JServ and the Java Virtual Machine,
blowing away the custom package classes that were loaded.  So it will then
load in the new classes next time you load a servlet that uses it.  It's not
necessary to reboot your machine each time to blow away the JVM.

Hope that helps,
Kevin

-----Original Message-----
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
Date: Wednesday, January 19, 2000 5:38 AM
Subject: own custom classes in servlet?


----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------


Beginners Questions:
I developed a servlet that uses other own custom classes. The servlet
runs in a JServ Zone and the custom classes i put into an own package.
That the servlet can use the custom classes i put my own package into
the system classpath of Jserv (in the jserv.properties file). All works
fine
but the problem is, that changes that i make in my custom classes are not
reflected by JServ. In fact i have to reboot my machine for the changes to
take effect. If I make changes to the servlet class all works fine the
changes
are reflectet at once by JServ. Is it possible for my servlet to use my own
classes without adding an entry to the JServ System Classpath so that
changes in this classes are reflected immediately? What have i got to do?
Another problem is that i can�t see the Java Exceptions in JServ. I am used
to
write code like
try {
  .
  .
  .
} catch(Exception ex) {
  ex.printStackTrace();
}
and the StackTrace helps me VERY much for debugging purposes. Where is this
Output send to if using
jserv??
Furthermore i also want to see Linenumbers in the StackTrace so i have to
pass
the

-Djava.compiler=NONE property to java to disable the jit. How can this be
achieved with
JServ?
I hope somebody can help me!
Regards, Thomas




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]





--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to