Re: Servlet throws exceptions

2010-10-22 Thread Thomas Hauk
On Oct 22, 2010, at 12:12 AM, Pid wrote: > You don't need the window server for this. I didn't think so. Whatever that is. :) > Add -Djava.awt.headless=true to the environment variable CATALINA_OPTS. I think that's worked, although I'll do a few more restarts to be sure. Thanks! For future refe

Servlet throws exceptions

2010-10-21 Thread Thomas Hauk
As per my previous post, I'm setting up Tomcat 6.0.24 with Apache on Mac OS X Server 10.5, using the built-in versions that come with the OS, and Java 1.5.0_26 (the latest from Apple, just released). When I invoke a specific operation in my servlet from my Web client, which involves uploading a

Re: How does Tomcat on Mac OS X Server handle requests to different domain names?

2010-10-21 Thread Thomas Hauk
On Oct 21, 2010, at 1:06 AM, André Warnier wrote: > Start here : > > http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html > >>> Use the special name 'ROOT' for each application and it will serve >>> resource on the default path. >> Can you describe this in more detail? > > Start he

Re: How does Tomcat on Mac OS X Server handle requests to different domain names?

2010-10-20 Thread Thomas Hauk
On Oct 20, 2010, at 3:22 AM, Pid wrote: > Presumably by 'different servlet' you mean different 'web application > which contains one or more servlets'? I'm not sure what kind of distinction you're trying to get at here, so let me phrase what I need in another way. I have brandedapp1.war and bran

How does Tomcat on Mac OS X Server handle requests to different domain names?

2010-10-19 Thread Thomas Hauk
I'm setting up a Mac OS X Server (10.5) machine, and that will include setting up Tomcat. The machine will be the host for at least two different domain names -- let's say myapp.example.com and myapp.anotherexample.com -- each of which will need to be hooked up to a different servlet. In other w