Is possible to deploy an exploded application with the plugin?

          [JENKINS-31763] Deploy exploded application

          Hi,

          I never tried. Do you have more details about ?

          Raphael CHAUMIER added a comment - Hi, I never tried. Do you have more details about ?

          Raphael CHAUMIER added a comment - - edited

          It seems to be possible but not supported by the plugin :

          Deploy Enterprise Application as an Exploded Archive Directory
          Instead of using the weblogic admin console to install an application you can use command-line
          reference. Using it there will be no need some extra steps. For example, after installing an application on the console,your newly installed application would get an “prepared” status which means that you need to start it to serve all waiting requests. It really takes a while.
          Execute the below command while you are inside of the exploded archive directory which is:
          /home/eteration/dev/domains/vodafoneTestDomainMySql/onlineapps/com.vod.onl.oneear/ $
          java -cp /home/eteration/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar weblogic.Deployer -username weblogic -password password -url t3://212.65.145.218:7001 -name com.vod.onl.oneear -deploy -targets myCluster -source .

          After a successful execution, you will see on the weblogic admin console that your newly deployed application got the “active” status directly without no need some extra work.

          http://orhanyener.blogspot.fr/2013/06/weblogic-1032-command-line-deployment.html

          Raphael CHAUMIER added a comment - - edited It seems to be possible but not supported by the plugin : Deploy Enterprise Application as an Exploded Archive Directory Instead of using the weblogic admin console to install an application you can use command-line reference. Using it there will be no need some extra steps. For example, after installing an application on the console,your newly installed application would get an “prepared” status which means that you need to start it to serve all waiting requests. It really takes a while. Execute the below command while you are inside of the exploded archive directory which is: /home/eteration/dev/domains/vodafoneTestDomainMySql/onlineapps/com.vod.onl.oneear/ $ java -cp /home/eteration/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar weblogic.Deployer -username weblogic -password password -url t3://212.65.145.218:7001 -name com.vod.onl.oneear -deploy -targets myCluster -source . After a successful execution, you will see on the weblogic admin console that your newly deployed application got the “active” status directly without no need some extra work. http://orhanyener.blogspot.fr/2013/06/weblogic-1032-command-line-deployment.html

          https://docs.oracle.com/cd/E28280_01/web.1111/e13702/wldeployer.htm#DEPGD333

          Archive file or exploded archive directory to deploy. You can omit the -source option and supply only the file or directory to deploy.

          Raphael CHAUMIER added a comment - https://docs.oracle.com/cd/E28280_01/web.1111/e13702/wldeployer.htm#DEPGD333 Archive file or exploded archive directory to deploy. You can omit the -source option and supply only the file or directory to deploy.

          Document 12.1.2 (https://docs.oracle.com/middleware/1212/wls/DEPGD/deploy.htm#DEPGD214)

           

          In order to deploy an application or module to a domain, the deployment file(s) must be accessible to the domain's Administration Server. If the files do not reside on the Administration Server machine or are not available to the Administration Server machine via a network mounted directory, use the -upload option to upload the files before deploying them:

          java weblogic.Deployer -adminurl http://localhost:7001 -username weblogic -password weblogic -deploy -upload c:\localfiles\myapp.ear

          To upload an exploded archive directory, specify the directory name instead of an archive filename (for example c:\localfiles\myappEar).

          Raphael CHAUMIER added a comment - Document 12.1.2 ( https://docs.oracle.com/middleware/1212/wls/DEPGD/deploy.htm#DEPGD214 )   In order to deploy an application or module to a domain, the deployment file(s) must be accessible to the domain's Administration Server. If the files do not reside on the Administration Server machine or are not available to the Administration Server machine via a network mounted directory, use the  -upload  option to upload the files before deploying them: java weblogic.Deployer -adminurl http://localhost:7001 -username weblogic -password weblogic -deploy -upload c:\localfiles\myapp.ear To upload an exploded archive directory, specify the directory name instead of an archive filename (for example  c:\localfiles\myappEar ).

            raphc Raphael CHAUMIER
            esolis Edward Solis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: