• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

accessing tom cat manager remotely

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
ananda natarajan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic