I've been given my own server (Debian) at work, with the condition that I will get no support... I program in Java/ Flex mostly and am green in linux so this is a poison chalice if ever there was one.
I'm trying to upload a 'hello world' style jsp onto the server. It works fine on my own computer, within a NetBeans/virtual tomcat enviroment. I can build a war then deploy the file from within the tomcat manager. This all works fine.
When I move the file to the server then try to deploy the war from the tomcat manager I get the following message:
Are you logged on as ether root of the tomcat5.5 user?
It is a permissions thing - my directory /var/cache/tomcat6 is owed by tomcat6 user, which will probably be the same for you.
Check that dir is owned by your relevant tomcat user (and pref sub-directories). When deploying, check that that directory is using the correct permissions.
Try to deploy using the web-manager and see if that runs ok.
Just a few ideas!
Joined: Oct 11, 2010
The 'work' folder and subfolders within the tomcat folder were owned by root. I changed them to being owned by tomcat and it worked!
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: unable to deploy war file on tomcat5.5 (JVM 1.5.0)