IntelliJ Java IDE
The moose likes Tomcat and the fly likes Can I deploy the web app remotely? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Can I deploy the web app remotely?" Watch "Can I deploy the web app remotely?" New topic
Author

Can I deploy the web app remotely?

Nancy Zhong
Greenhorn

Joined: Jun 17, 2003
Posts: 2
Hello!
I was trying to install a web application on Tomcat 4.0.3 in the Department by typing "http://www.foo.edu:8080/manager/install?path=/app1&war=file:/path/to/war/bar.war" in the address bar of the browser at home, and the bar.war is on the www.foo.edu server machine.
And I saw the following msg on the browser:
OK - Installed application at context path /app1
But when I tried to access "http://www.foo.edu:8080/app1", the following error msg was shown:
message /usr/share/tomcat4/work/localhost/app1//index$jsp.java (No such file or directory)
I sshed to the server machine, and found there was no directory /usr/share/tomcat4/work/localhost/app1
Do I have to install the web application on the server machine and use "http://localhost:8080/manager/install?..."?

Thanks a lot!
Nancy Zhong
Greenhorn

Joined: Jun 17, 2003
Posts: 2
It's because the person who started Tomcat has no write permission on work directory.
Let root start Tomcat, and the problem was solved.
 
 
subject: Can I deploy the web app remotely?
 
Threads others viewed
Remote Appln Deployment in Tomcat4
Remote Appln Deployment in Tomcat4
Problen in starting Tomcat
PLEEEEASE tomcat4.1.12 doesn't start
Problem with JWSDP - Tomcat 4
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture