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

This part:

> > Ok............
> > So with your class in /usr/local/jserv/servlets/rappo
> > your repository for the zone should be at least
> > /usr/local/jserv/servlets/rappo

is not quite correct.  The directory specified by the repository property
*SHOULD NOT* include the package directories.  The following is what you
need:

        repositories=/usr/local/jserv/servlets

AND NOT

        repositories=/usr/local/jserv/servlets/rappo

- Fernando

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Luca
> Beretta
> Sent: Wednesday, September 27, 2000 6:25 AM
> To: Java Apache Users
> Subject: Re: It's working!!!
>
>
> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
>
>
>
> Ola Samuelson 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!!!
> > ----------------------------------------------------------------
> >
> > >
> > > my haccesso.java have this statement
> > >
> > >         package rappo;
> > >
> >
> > Ok............
> > So with your class in /usr/local/jserv/servlets/rappo
> > your repository for the zone should be at least
> > /usr/local/jserv/servlets/rappo
>
> ok!
>
> > And dependant classes that are NOT to be autoreloaded and
> accessible from
> > other zones should be in wrapper.classpath.
>
> now i remove my gxclassr.zip and jt400.zip from repositories
> and added to jserv.properties with these lines :
>
> wrapper.classpath=/usr/local/jserv/servlets/rappo/gxclassr.zip
> wrapper.classpath=/usr/local/jserv/servlets/rappo/jt400.zip
>
> > > classes; i created a zone rappo and i declare it in
> >
> > So, what mountpoint do you have for the zone? It seems
> > a bit odd to have a mount point with name not relevant to the zone name.
> > Your log output indicates that
> >
> > ": Servlet zone "root" not found." My guess is that you have
> > the wrong properties file assigned to the zone.
> > AND if you create a properties-file you must point at it
> > in your jserv.properties.
>
> that's was bad! now i correct this and i've put these lines to
> jserv.conf :
>
> ApJServMount /servlets /rappo
> ApJServMount /servlet /rappo
>
>
> > So, check your jserv.properties:
> > * Mount point must have a properties file assigned
> > * Properties-file must have repository-statements
> > * Supporting classes in wrapper.classpath(classes not to be
> autoreloaded)
> >
>
> i tried with these new settings and this is the results :
>
> if i called my servlet like this :
> 'http://10.0.0.160/servlets/rappo.haccesso'
>
> mod_jserv.log tells : 'ClassNotFoundException: rappo.haccesso'
>
> where could be the problem ?! i think should be that jserv cannot
> read classes in gxclassr.zip and/or jt400.zip. should be ???
>
> thanks a lot
>
> Luca
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search Archives:
> <http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]
>



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to