Hi All,
I have a J2EE webapp that works perfectly when I run it on Eclipse and my local tomcat server (I've also tested on a friend's tomcat server), but not on a production server.
This is the problem: The app is supposed to create a folder at a specific location (I've tried hardcoding this as well), but when run on the production server, it doesn't create it and throws no exceptions that it was unable to create it. Later on in the code when it's trying to use those files, it complains that they don't exist.
I thought this could be a process permission issue, although I start the tomcat server in init.d using sudo, so the process should be root and have no permission problems! If you have any thoughts on this, I would love to hear them. Thanks a lot guys.
p.s. All the computers I've tested on are Max OS X(10.5.6) and the production server is RedHat Linux (Unsure of version, but quite recent).