top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Tomcat deployments from a central location

0 votes
332 views

Is there a way by which we can handle the tomcat deployment of war files from a central location via a Web UI screen ?

I 'm aware of PROBE (http://code.google.com/p/psi-probe/) by which we can do the deployment from a Web UI screen but for that we need to individually deploy the Probe.war across all instances .

Is there a way out by which we can handle the tomcat deployments from a central location ( i.e by avoiding deploying probe.war on all instances) on to different physical machines.

Please suggest & share your valuable thoughts

posted Aug 3, 2013 by Sheetal Chauhan

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
answer Aug 3, 2013 by Meenal Mishra
Similar Questions
+1 vote

I was just wondering, if we do have a method to perform remote deployment.

I did take a look at the code for the Tomcat deployer and as per my understanding, it performs a HTTP PUT request, with the deployment file, to the Manager application to further perform the deployment.

If for some reason, the Manager application is / can not be deployed, is there still a way to achieve remote deployment on to Tomcat? Or is it a must, that we must be having Manager application deployed to deploy applications remotely?

+2 votes

I got a Problem with Tomcat deployment. I am using TC 7.0.42, OS: Win2k8r2, J 1.7.0._45.

We used to deploy unpacked webapps (dirs) on a Tomcat 5.0.26 outside the Webapps-dir. We used the manager (web-IF) to deploy these apps, giving the context name and the local directory. The tomcat ran the app from this location. It creates a .xml in it's config dir.

Now in TC7, the tomcat COPIES the APP from the given location to the default Webapps directory. But we want it to run from where it is, not a copy. One way to archieve this is to manually create a .xml file in the conf/server/localhost dir. But our deployment process needs it to be done via web interface. So, is there any possibility to configure tomcat 7 to behave like tomcat 5 when deploying local webapp directories from outside the webapps dir? I tried autoDeploy and unpackWars to false, but it didn't help. :(

+1 vote

How do I start and stop just the tomcat admin application from a command line?

I had someone try to guess the password to my Tomee-Plume server last night. Thankfully I changed the default password and the hacker only tried twice. I want to be able to keep the admin application closed most of the time. On the rare occasion that I need access to the tomcat admin console I would like to start it up only for a brief period of time and then stop it.

Internet searches showed me how to stop other applications using the tomcat admin application. I want to stop just the Tomcat admin application not the whole server.

+4 votes

Is there a command i can issue to get the exact system time that the remote Tomcat server is using? And then is there a command or some way (with applicable admin rights) to set the remote time?

The idea is the sync'ing of the different PC's I am hoping to use, if there is some other way used I am grateful to hear it. I am setting up a distributed system that's running in Linux.

+2 votes

I downloaded a website say "test.org" using wget utility. Now I want to deploy in Apache Tomcat 8.0 RC. That I have done it.

But I want to do in this manner that I want to access "test.org" locally from my browser as if I am browsing on the internet because links in the test.org refers to itself. Because when I click any link it goes to
Internet and not to my locally saved website.

Please help

...