I am using mod_jk, tomcat 3.3

Nevertheless, I found the error...

I was trying to set up an Enhydra (www.enhydra.org) based
application server with Tomcat and Apache. Enhydra will load
servlet-classes depending on the URL-suffix passed to the Enhydra
super-servlet.

I jk-mounted the following JkMount /shop/*, so that all pages which
are under my /shop/ hierarchie would be loaded, but not those in
other hierarchies.

As soon as I added the path="/shop" into the Context, even those
pages outside the shop hierarchy are loaded as now tomcat
doesn't seem to append the first "/shop" to the request-url and so,
it works.

Even after days reading the documentation, I am unsure what the
interdependencies between the name of the JkMount-point, the
webapps-directory and the Context-path are, and this url-mapping
is also puzzling... with trial-and-error I came to my solution, but
that's not very neato.

Regards
Danny





On 3 Jul 2002, at 17:48, Ralph Einfeldt wrote:

> - Do you use mod_jk or mod_jk2 ?
> - Which tomcat version do you use ?
> - What error do you observe ?
>
> > -----Urspr�ngliche Nachricht-----
> > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Gesendet: Mittwoch, 3. Juli 2002 17:44
> > An: [EMAIL PROTECTED]
> > Betreff: VirtualHost
> >
> > This would mean I have just to go to my webapp directory and
> > mkdir host
> > put my symbolic link into the WEB-INF and edit the web.xml so it
> > contains a <Host> - Tags around each <Context> ... restarting
> > tomcat and apache and calling to /my.domain.com/shop/ will start
> > the appropriate Web-application and I can see that it
> > initializes, but as soon as that application has to load other
> > classes, everything fails. I didn't had this problem without the
> > <Host> Tag around...
> >
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to