tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hassan Schroeder" <>
Subject Re: Virtual Host problem with classpath
Date Fri, 19 May 2006 14:49:03 GMT
On 5/19/06, <> wrote:

> But, when I set my Virtual Host
> then doesn't find imported classes and
> can't compile.

> In server.xml I have something like :
> <Host name="" debug="0" appBase="webapps/mysite"
> unpackWARs="false" autoDeploy="true">
> <Context path="" docBase="."/>

The appBase is where you place your webapps: ROOT, widgets, etc.
So your default app would go in 'webapps/mysite/ROOT', widgets (if
it's a separate all) 'webapps/mysite/widgets', and so on.


Try that and see if your classpath issues disappear.

And for troubleshooting at least, it may help to use absolute paths in
your configs to avoid confusion...

Hassan Schroeder ------------------------

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message