wood burning stoves 2.0*
The moose likes Tomcat and the fly likes accessing tom cat manager remotely Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "accessing tom cat manager remotely " Watch "accessing tom cat manager remotely " New topic
Author

accessing tom cat manager remotely

ananda natarajan
Greenhorn

Joined: Dec 15, 2009
Posts: 4
hi,
i will explain the scenario, we have deployed a software which is created using servlets and jsp and jtds to communicate with sql server 2005. the application is running on tomcat 6.0
the server in which the application and tomcat is running is in europe (clients head office) , the client using the application is in India. the application is working good from 2009, time by time they requested changes in software and we will finish it and upload to the server , they have given the shared access to the web-apps folder of tomcat, and we have amended the server.xml in the conf folder to allow autodeploy. i used to copy the war file to the webapps folders , the site will be get updated this was going well till this January, i dont know what happen suddenly
when ever i copy the war file to webapps folder , the application is not working. i.e. the browser throws 404 error. now i have to call the sever maintenance guy and i have to literally beg him to go to the tom cat manager stop the application undeploy it and redeploy . then the application starts working. i am able to see the tomcat welcome page in my client system but unable to login to the manager , so what are my options and why this is happening.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41599
    
  55
The first thing to consider would be to grant you access to the Tomcat manager web app; I think it'd be preferable to redeploy web apps that way over copying war files to a directory. The admin can use a Remove Address Filter -and, of course, authentication- to make sure it's not opened up too widely.

He should also provide you with some means to look at the log files; those might contain error messages that point to the problem preventing the redeploy from happening without hiccups.


Ping & DNS - my free Android networking tools app
ananda natarajan
Greenhorn

Joined: Dec 15, 2009
Posts: 4
Ulf Dittmer wrote:The first thing to consider would be to grant you access to the Tomcat manager web app; I think it'd be preferable to redeploy web apps that way over copying war files to a directory. The admin can use a Remove Address Filter -and, of course, authentication- to make sure it's not opened up too widely.

He should also provide you with some means to look at the log files; those might contain error messages that point to the problem preventing the redeploy from happening without hiccups.


sorry to ask this, but could you be more specific , so that i can simply copy and and paste in my email and fwd to that admin fellow.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41599
    
  55
What do you want me to be more specific about? You seem to be familiar with the Tomcat manager web app; I'm suggesting the admin make that available to you. That involves providing you with authentication credentials, and possibly restricting it to certain IP addresses. If you're unfamiliar with the Remote Address Filter, well - that's why I put the link there. If the admin knows Tomcat he should have no problems with any of these.
ananda natarajan
Greenhorn

Joined: Dec 15, 2009
Posts: 4
ok, i will send a mail to my client's admin, and will get back to this forum in case if had any problems, and i am making this post as resolved.

thanks Mr.Ulf Dittmer for your time.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: accessing tom cat manager remotely