Background:

JAVA Web application, Eclipse workspace with an ANT build.xml. 

Using Windows, this project builds using java 1.7, deploys to multiple
Solaris environments running Tomcat 5, 6 or 7 and runs cleanly.

 

I have to deploy the preceding to a Linux environment with Tomcat 8. Which
is running JAVA 1.8

 

Problem:

The deploy task fails with: BUILD FAILED.... java.io.IOException: Error
writing request body to server

Looking in the Tomcat, localhost.log, I see: "PUT
/manager/deploy?path=%2FFXInSite&update=true HTTP/1.1" 403 3196 

The other logs contain no errors or warnings.

 

Investigations:

I have set the Tomcat (catalina) logging levels to DEBUG and FINEST. 

I can get into the tomcat and the manager on the same port as what the
delpoyment uses.

The user that Tomcat is running under ( not root ) has full permissions to
all folders.

I have compared the server.xml and web.xml configuration files between Linux
and Solaris and they are essentially identical.

Google searches for anything to do with ANT and the delpoy task, Tomcat 403
errors, permissions have been unsucessful. 

 

Thank you for your time and consideration.

Reply via email to