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

I'd just pipe the output of the java -vebose command to a file, cat the
file into grepping your grapped classpath and see what it finds...
complicated yeah.

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.

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


Chris

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



On Mon, 01 May 2000 18:14:22 +0200, Javier Iglesias wrote:

>----------------------------------------------------------------
>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!!!
>----------------------------------------------------------------
>
>> Did you try (see previous email):
>> 
>> java -verbose yourclass.class
>> 
>> What did it say? Is is picking up the correct class or finding it in jar
>> in your classpath?
>
>[Sorry for the delay... I was doing it... people came to disturb...]
>
>
>The famous servlet was not in a jar.
>
>So I put it in one, and restarted jserv using JDK1.2.2 (was 1.1.7
>before) with the '-verbose' switch... surprise ! the servlet doesn't
>seem to be loaded from the jar !!
>
>Well... that's a new problem... or maybe still the same.
>
>Anyway, I do have new things to try... but still can't see what could
>solve that.
>
>Shutting down server for 20 minutes is something to be tried...
>
>Any other suggestion ?
>
>
>  -- javier "disappointed"
>
>
>--
>--------------------------------------------------------------
>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