Tomcat..Unable to deploy application remotely in tomcat


 
Thread Tools Search this Thread
Operating Systems Solaris Tomcat..Unable to deploy application remotely in tomcat
# 1  
Old 12-06-2012
Tomcat..Unable to deploy application remotely in tomcat

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
Code:
<!--
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

Code:
<?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?p...pp&update=true

Any idea? please help me
Moderator's Comments:
Mod Comment Please use code tags

Last edited by jim mcnamara; 12-07-2012 at 10:29 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Where is the best location to deploy an application on Tomcat over Linux?

Hi, I'm trying to figure out the best location to deploy an application on Tomcat over Linux server. The application structure is as follows: 1. WAR - the app itself. 2. conf - configuration files that are part of the product, not to be changed in deployment 3. local_conf - overriding... (0 Replies)
Discussion started by: moshebs
0 Replies

2. Solaris

Tomcat installation

Hi Friends, I have a upgrade task of tomcat from 5.5.20 to latest 7.0.32 stable release on solaris 10 sparc 64 bit.. Is tomcat package same for solaris 10 x86 and sparc 64bit..?? Can we upgrade directly from 5 to 7? Please help me.. (1 Reply)
Discussion started by: phani4u
1 Replies

3. Shell Programming and Scripting

Multiple instance in tomcat

I need to install a tomcat6 with multiple instances like instance1,instance2 and instance3 in a server. I came to know that for that we need to install tomcat6,apache2.0,mod_jk1.2 and jre with tools.jar installed.And we need to create multiple instances with same web.xml and difference... (0 Replies)
Discussion started by: tuxslonik
0 Replies

4. Solaris

tomcat installation

hi.. i need to install tomcat on my solaris 10 x86 OS.. can u please guide me .. i know that tomcat is already present in solaris 10 x86.. tell me how to enable it.. tel me as soon as possible.. i tried but its throwing me the following error.. The JAVA_HOME environment variable is not... (5 Replies)
Discussion started by: senkerth
5 Replies

5. UNIX for Advanced & Expert Users

Tomcat Connection closed

Hi how can do why a process closed a connection? # lsof -i tcp:8080 COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME java 5851 tomcat 29u IPv6 73216185 TCP *:webcache (LISTEN) # telnet localhost 8080 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1).... (0 Replies)
Discussion started by: lain
0 Replies

6. Red Hat

Configure Tomcat to syslog

Hi ALL, Thanks for previous replies.. This thread is regarding tomcat logs -> Syslog Server. I have followed this doc:- Red Hat Knowledgebase: How do I log Tomcat output to a remote syslog server? But no success.. any clues? Thanks alot! Sudhir (3 Replies)
Discussion started by: sidhurana
3 Replies

7. IP Networking

can I use tomcat server for my chatting application?

Hello, I have a socket programming code to do chatting(both server and client). But this is limited to a single machines with multi users. But my target is to perform chat operation on multiple IP addresses in a given LAN in college. Can you please tell me if I can use TOMCAT as my server to... (3 Replies)
Discussion started by: nsharath
3 Replies

8. UNIX for Dummies Questions & Answers

Tomcat configuration

i want to use jsp and servlets on my fedora core 6 system.So,I want to run tomcat.i dont how to configure tomcat in linux. the command:service tomcat5 start is working but http://localhost/8180 or http://localhost:8080 are not working plzzzz help (1 Reply)
Discussion started by: preeti chouhan
1 Replies
Login or Register to Ask a Question