I'm using tomcat 4.0 with apache. I have developped an application with tomcat and it works fine. When I use apache to go to my application I get the index file.
This file has a form to login. It calls a servlet that calls a bean. In the bean I use a xml file to find my password file. To find the xml file I use an URL to find it. And I use JDom to build the xml file. When I use Tomcat everything works. When I use apache I can load the page, but I can't login. The servers just stop and I have to restart both. I have located the place where the servers stop where JDom builds the document with the URL. (Document doc = builder.build(URL);) The URL to locate the xml file is correct. When I type the URL in the address bar of the browser I get the file on screen. Also the xml file is correct otherwise the application wouldn't work at all. The URL is constructed with getServerName, getServerPort and getContextPath. I think that somehow the xml isn't found. But the URL is correct. I have tried to use different url's, like without a port. That didn't work either. I could login when I replaced the URL with File. But that is not an option, because then I would have to change the code whenever is use the application somewhere else. I have run out of ideas, can anyone help? Dennis Knol Make a difference, help support the relief efforts in the U.S. http://clubs.lycos.com/live/events/september11.asp