Hi,
We have upgrade tomcat from 5.0.20 to 7.0.33 and made changes to server.xml file according to newer version.. how ever the upgrade went fine and now i am unable to deploy application remotely.. it is giving 403 access denied error.. we have seperate appbase directory mentioned in server.xml.. because all the deployed application will be saved here instead of default webapps directory... however I am able to access http://localhost:8080:/manager/status page after creating the manager.xml and host-manager.xml files in /tomcathomedirectroy/conf/Catalina/localhost
cat manager.xml
<!--
Context configuration file for the Tomcat Manager Web App
$Id: manager.xml 303123 2004-08-26 17:03:35Z remm $
-->
<Context docBase="${catalina.home}/webapps/manager" privileged="true" antiResourceLocking="false" antiJARLocking="false">
<Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase" />
<!-- Link to the user database we will get roles from -->
<ResourceLink name="users" global="UserDatabase" type="org.apache.catalina.UserDatabase"/>
</Context>
After adding the above file I am abel to access manager/status page.. my tomcat-user.xml file is
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<role rolename="manager-jmx"/>
<role rolename="manager-status"/>
<role rolename="tomcat"/>
<role rolename="admin-script"/>
<role rolename="admin-gui"/>
<user username="deploy" password="save" roles="manager-script"/>
<user username="tomcat" password="tomcat" roles="tomcat, manager-gui, manager-jmx, manager-status"/>
<user username="host" password="test" roles="admin-gui"/>
</tomcat-users>
and the url gets %2 added
http://host1-a:8080/manager/deploy?path=%2FLogApp&update=true
Any idea? please help me