> NameVirtualHost 111.222.333.444

> <VirtualHost www.mydomain.com>

> server.xml:
> <Host www.mydomain.com>

Thanks for this info. I grabbed the source last night and although I am 
having a great deal of difficulty finding my way around in it ( Im not a 
Java programmer ) I did find references to the host header in the mod_jk 
stuff.

Anyway, I'm not sure what I changed last night but I did make some 
progress. I turned every debug I could find in server.xml to 100, and can 
now confirm that tomcat is looking in the right directory and now finds 
the file. I have also created a servlet directory ( just a link to the 
one in tomcat's home ).

I now get a java error as tomcat can not find dates.JspCalendar, which is 
understandable. I have found the class library but Im not sure where it 
should be in the virtual host environment.

It would appear that the webapps directory and its content are more than 
a little special. I get the impression that I should be mirroring some of 
this 'specialness' in my virtual host but Im not sure what that really 
involves/means. I would like each virtual hosts file space to be 
autonomous so what must be present in terms of structure to make tomcat 
happy.  How do I set a private classpath for the virtual host etc.

Glen.

Reply via email to