----------------------------------------------------------------
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!!!
----------------------------------------------------------------

> In simple terms, it has to be somewhere in your classpath if it is loading
> from from somewhere other than where you want it to load. Pipe th eoutput
> of java -vervose to file then cat the file and look through each of the
> paths your jav says it is looking in.

I tried :

[...]
[Loaded java.lang.ClassLoader$2 from /usr/lib/jdk1.2.2/jre/lib/rt.jar]
[Loaded spanake.web.servlet.SiteWrapper]
[Loaded spanake.web.util.SiteCookiesCenter]
[Loaded java.io.CharConversionException from
/usr/lib/jdk1.2.2/jre/lib/rt.jar]
[...]

That (now) famous servlet is the 'spanake.web.util.SiteWrapper' one. As
you see, no information is provided concerning from where it has been
loaded. "of course, if you 
don't put it in a package !"... well actually, it was in the package
"/usr/local/httpd/servlets/dev/site.jar".

Surprising, no ?

That really looks like jserv is getting this class from somewhere else.
Isn't that my problem after all ?!! :)




> Did you check mod_jserv.log and see what it has to say about your
> classpath? Maybe jserv is getting a different classpath to the one you are
> getting in your shell. What username is apache being started by (I'm
> assuming JServ uses the same username as HTTPD does)?

Well... I start jserv by hand using 'java -classpath' switch... and
that's the one reported in mod_jserv.log.


> PS I was joking about turning off for 20 mins... sometimes it is just nice
> to have thinking time.

I've been thinking all week-end. Maybe not enough ? :)

  --javier


--
--------------------------------------------------------------
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