Announcement Announcement Module
Collapse
No announcement yet.
TC Server Remote Deployment Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • TC Server Remote Deployment

    What is the best way to remotely deploy a WAR file from an ANT script to TC Server? I know I can delete the WAR folder and drop another WAR file in a folder. I would like to stop and start an application as well. Is there a JMX way, I know Tomcat has a ANT Tasks.

    Thanks

    Jay

  • #2
    hi Jay,
    you have multiple options.
    1. the Management Server and Agent with tcServer ship with a command line client. It would be easy to wrap an ant script around the tc command line client
    2. you can deploy the "manager" application and do it the Tomcat way
    3. You could write some tasks that talk JMX to the tcServer container directly

    best
    Filip

    Comment


    • #3
      Hi Filip,

      Do you mind giving some info on step 1.

      I was searching ways to deploy apps. I see command line tool web server api. i don't see commands for deployment.

      Could you please pass url to download and command link..

      Thanks,
      Hari.

      Comment


      • #4
        Main URL
        http://static.springsource.com/proje...6.0/index.html

        what you are looking for
        http://static.springsource.com/proje...admscript.html

        Comment


        • #5
          I have installed Hyperic HQ, since i could not find springsource AMS server /agent binaries.

          when i follow the link you gave..

          Downloading the tc Server Command-Line Interface

          You must download the tc Server command-line interface binaries onto each computer on which you want to run it, as described in the following procedure:

          1.

          On the computer on which you want to download and install the tc Server command-line interface, invoke the AMS administration console in a browser. See the Getting Started with the AMS Console link in the left frame of the Getting Started with tc Server guide for details.
          2.

          Click the Administration link at the top of the main AMS console page.
          3.

          In the Plugins section, click the tc Server Command-line Interface link.
          4.

          Click the springsource-ams-scripting-client.zip link and save the ZIP file to a temporary directory on your computer.
          5.

          Unzip the file to the directory of your choice.
          6.

          The tcsadmin.sh (Unix) and tcsadmin.bat (Windows) scripts are located in the springsource-ams-scripting-client-version/bin directory, where version refers to a version string, such as 2.0.0.RC3.


          I could not get springsource-ams-scripting-client.zip. In hyperic HQ, it is webservice API. but i dont see deployment commands for this..

          Thanks,
          Hari.

          Comment


          • #6
            Hari,

            You must download the tc Server evaluation in order to get AMS (which contains the tc Server plugin).

            Click the Download tc Server link at the top-right of the page - http://www.springsource.com/products/tcserver

            The current HQ release does not contain tc Server capabilities, the next release of tc Server will have the upgrade to HQ 4.x.

            Once you download the eval, you should be able to access the tc Server command line client.

            The client does not need to be downloaded to each machine. You can specify which server you wish to connect to, by the parameters you set.

            Those instructions will work fine, once you download the tc Server eval.

            -Jason

            Comment

            Working...
            X