Apologies if this is the wrong forum but I'm not sure if this is a Tomcat or a JSP issue. I have a webapp with several JSPs running on a Linux server under Tomcat 5.0.28. For some reason two the JSPs don't compile on server start, but the others do, i.e. they generate _jsp files in the work directory. I've looked in the Tomcat logs directory but can't find any diagnostics as to why the rogue JSPs don't compile. The only reason I know they haven't compiled is because when I try and access them through the webapp I get a file not found exception. Just to complicate matters they work fine on Apache on my windows pc. Any ideas?
I would try hitting Tomcat as a standalone on the problem machine first. If all is well, then you know the issue is with your connector.
That you're not seeing anything in the logs, makes me wonder if the requests are reaching Tomcat at all.
Is the 404 screen a Tomcat or an Apache generated screen? (You may need to disable "friendly error messages" in MSIE to tell.) [ December 06, 2005: Message edited by: Ben Souther ]
Joined: Nov 28, 2005
Thanks very much for the pointers.
I did some more digging and the problem turned out to be permissions. The work directories were owned by the root user and Tomcat was running as a different user. Re-allocated the work directories and everything worked fine.
Thanks for your help, I'm new to using Tomcat, and java for that matter, and keep tripping over these things.