Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-19564

deploy plugin - issue with tomcat 7 context path using parallel deployment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • deploy-plugin
    • Tomcat 7.0.34
      Jenkins 1.530
      deploy plugin 1.9

      I would like to take advantage of Tomcat 7 parallel deployment feature and I generated my app with the following name:

      myapp##1.0.0.war

      Deploying it manually copying it in tomcat webapps work as expected, unzipping it in myapp##1.0.0 folder and running the app with context path "myapp".

      Deploying with Jenkins, I'm not able to configure deploy plugin in order to perform the deployment without the context path. In fact:

      • If I put the context path "myapp" in the settings of the job, the WAR is copied in tomcat webapps with name myapp.war and I loose the parallel deployment benefits.
      • if I leave the context path blank in the job settings the war is copied with the proper name myapp##1.0.0.war but I get the following error on tomcat logs:
      Caused by: org.codehaus.cargo.container.tomcat.internal.TomcatManagerException: FAIL - Failed to deploy application at context path /myapp//1.0.0
      

      Is there any solution/workaround?

      Many thanks in advance for your help, best regards

            Unassigned Unassigned
            mottam76 Marco Motta
            Votes:
            4 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: