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

Unable to deploy from a windows slave node

    Details

    • Similar Issues:

      Description

      We are trying to deploy a .war file into a weblogic server from Windows node using weblogic deployer plugin. Jenkins Master is on Linux while slave node 'VZK.WIN' is on Windows. We are getting below error while trying to do this. Can someone help us in resolving this issue.

      Started by user Natarajan, Bharath
      [EnvInject] - Loading node environment variables.
      Building remotely on CAO.EWDV.VZK in workspace D:\VZK.WIN\workspace\CAO.EWDV.Vzkauthoring.Vzk.Deploy_DEV
      [WeblogicDeploymentPlugin] - Pay attention of Jdk version

      {selected version is 1.8.0_25}

      compatibility with Weblogic Deployer API (see Oracle documentation).
      [WeblogicDeploymentPlugin] - The JDK /usr/java/jdk1.8.0_25/jre will be used.
      [WeblogicDeploymentPlugin] - Retrieving artifacts recorded [filtered resources on vzkauthoring.war]...
      [WeblogicDeploymentPlugin] - 2 files found under del
      [WeblogicDeploymentPlugin] - the following resource ['vzknowledge.war'] doesn't match vzkauthoring.war
      [WeblogicDeploymentPlugin] - the following resource recorded /apps/opt/jenkinsnfs/internal-vd/jnmisc/del/vzkauthoring.war is eligible.
      [WeblogicDeploymentPlugin] - Deploying the artifact on the following target : (name=DEV-DELETE-LATER-LINX) (host=abc.mycompany.com) (port=2001)
      [WeblogicDeploymentPlugin] - UNDEPLOYING ARTIFACT...
      $ /usr/java/jdk1.8.0_25/jre/bin/java -Xms256M -Xmx256M -cp /apps/opt/jenkinsnfs/internal-vd/jnmisc/weblogic/wlfullclient.jar weblogic.Deployer -debug -remote -verbose -noexit -name vzkauthoring -targets WLS_Cluster -adminurl t3://wlhost.mycompany.com:2001 -userconfigfile /apps/opt/jenkinsnfs/internal-vd/jnmisc/temp/myuserconfigfile.secure -userkeyfile /apps/opt/jenkinsnfs/internal-vd/jnmisc/temp/myuserkeyfile.secure -undeploy
      java.io.IOException: Cannot run program "/usr/java/jdk1.8.0_25/jre/bin/java": CreateProcess error=2, The system cannot find the file specified
      at java.lang.ProcessBuilder.start(Unknown Source)
      at hudson.Proc$LocalProc.<init>(Proc.java:244)
      at hudson.Proc$LocalProc.<init>(Proc.java:216)
      at hudson.Launcher$LocalLauncher.launch(Launcher.java:815)
      at hudson.Launcher$ProcStarter.start(Launcher.java:381)
      at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1148)
      at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1113)
      at hudson.remoting.UserRequest.perform(UserRequest.java:120)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:326)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at hudson.remoting.Engine$1$1.run(Engine.java:62)
      at java.lang.Thread.run(Unknown Source)
      at ......remote call to CAO.EWDV.VZK(Native Method)
      at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
      at hudson.remoting.UserResponse.retrieve(UserRequest.java:220)
      at hudson.remoting.Channel.call(Channel.java:781)
      at hudson.Launcher$RemoteLauncher.launch(Launcher.java:928)
      at hudson.Launcher$ProcStarter.start(Launcher.java:381)
      at org.jenkinsci.plugins.deploy.weblogic.task.DeploymentTaskServiceImpl.undeploy(DeploymentTaskServiceImpl.java:274)
      at org.jenkinsci.plugins.deploy.weblogic.task.DeploymentTaskServiceImpl.perform(DeploymentTaskServiceImpl.java:170)
      at org.jenkinsci.plugins.deploy.weblogic.WeblogicDeploymentPlugin.perform(WeblogicDeploymentPlugin.java:239)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
      at hudson.model.Build$BuildExecution.post2(Build.java:185)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
      at hudson.model.Run.execute(Run.java:1763)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:410)
      Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
      at java.lang.ProcessImpl.create(Native Method)
      at java.lang.ProcessImpl.<init>(Unknown Source)
      at java.lang.ProcessImpl.start(Unknown Source)
      at java.lang.ProcessBuilder.start(Unknown Source)
      at hudson.Proc$LocalProc.<init>(Proc.java:244)
      at hudson.Proc$LocalProc.<init>(Proc.java:216)
      at hudson.Launcher$LocalLauncher.launch(Launcher.java:815)
      at hudson.Launcher$ProcStarter.start(Launcher.java:381)
      at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1148)
      at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1113)
      at hudson.remoting.UserRequest.perform(UserRequest.java:120)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:326)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at hudson.remoting.Engine$1$1.run(Engine.java:62)
      at java.lang.Thread.run(Unknown Source)
      ERROR: [WeblogicDeploymentPlugin] - Failed to deploy.
      [INFO] ------------------------------------------------------------------------
      [INFO] DEPLOYMENT FAILURE
      [INFO] ------------------------------------------------------------------------
      Build step 'Deploy the artifact to any Weblogic environments' changed build result to FAILURE
      Started calculate disk usage of build
      Finished Calculation of disk usage of build in 0 seconds
      Started calculate disk usage of workspace
      Finished Calculation of disk usage of workspace in 0 seconds
      Notifying upstream projects of job completion
      Finished: FAILURE

        Attachments

          Issue Links

            Activity

            bharath_natarajan Bharath Natarajan created issue -
            bharath_natarajan Bharath Natarajan made changes -
            Field Original Value New Value
            Description We are trying to deploy a .war file into a weblogic server from Windows node using weblogic deployer plugin. Jenkins Master is on Linux while slave node 'CAO.EWDV.VZK' is on Windows. We are getting below error while trying to do this. Can someone help us in resolving this issue.


            Started by user Natarajan, Bharath
            [EnvInject] - Loading node environment variables.
            Building remotely on CAO.EWDV.VZK in workspace D:\OneJenkinsVZ\workspace\CAO.EWDV.Vzkauthoring.Vzk.Deploy_DEV
            [CAO.EWDV.Vzkauthoring.Vzk.Deploy_DEV] $ sh -xe C:\Users\tnsh\AppData\Local\Temp\3\hudson682326336128695604.sh
            The system cannot find the file specified
            FATAL: command execution failed
            java.io.IOException: Cannot run program "sh" (in directory "D:\OneJenkinsVZ\workspace\CAO.EWDV.Vzkauthoring.Vzk.Deploy_DEV"): CreateProcess error=2, The system cannot find the file specified
            at java.lang.ProcessBuilder.start(Unknown Source)
            at hudson.Proc$LocalProc.<init>(Proc.java:244)
            at hudson.Proc$LocalProc.<init>(Proc.java:216)
            at hudson.Launcher$LocalLauncher.launch(Launcher.java:815)
            at hudson.Launcher$ProcStarter.start(Launcher.java:381)
            at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1148)
            at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1113)
            at hudson.remoting.UserRequest.perform(UserRequest.java:120)
            at hudson.remoting.UserRequest.perform(UserRequest.java:48)
            at hudson.remoting.Request$2.run(Request.java:326)
            at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
            at java.util.concurrent.FutureTask.run(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at hudson.remoting.Engine$1$1.run(Engine.java:62)
            at java.lang.Thread.run(Unknown Source)
            at ......remote call to CAO.EWDV.VZK(Native Method)
            at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
            at hudson.remoting.UserResponse.retrieve(UserRequest.java:220)
            at hudson.remoting.Channel.call(Channel.java:781)
            at hudson.Launcher$RemoteLauncher.launch(Launcher.java:928)
            at hudson.Launcher$ProcStarter.start(Launcher.java:381)
            at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:95)
            at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:64)
            at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
            at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
            at hudson.model.Build$BuildExecution.build(Build.java:205)
            at hudson.model.Build$BuildExecution.doRun(Build.java:162)
            at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
            at hudson.model.Run.execute(Run.java:1738)
            at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:410)
            Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
            at java.lang.ProcessImpl.create(Native Method)
            at java.lang.ProcessImpl.<init>(Unknown Source)
            at java.lang.ProcessImpl.start(Unknown Source)
            at java.lang.ProcessBuilder.start(Unknown Source)
            at hudson.Proc$LocalProc.<init>(Proc.java:244)
            at hudson.Proc$LocalProc.<init>(Proc.java:216)
            at hudson.Launcher$LocalLauncher.launch(Launcher.java:815)
            at hudson.Launcher$ProcStarter.start(Launcher.java:381)
            at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1148)
            at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1113)
            at hudson.remoting.UserRequest.perform(UserRequest.java:120)
            at hudson.remoting.UserRequest.perform(UserRequest.java:48)
            at hudson.remoting.Request$2.run(Request.java:326)
            at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
            at java.util.concurrent.FutureTask.run(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at hudson.remoting.Engine$1$1.run(Engine.java:62)
            at java.lang.Thread.run(Unknown Source)
            Build step 'Execute shell' marked build as failure
            Archiving artifacts
            [WeblogicDeploymentPlugin] - build didn't finished successfully. The plugin execution is disabled.
            [INFO] ------------------------------------------------------------------------
            [INFO] DEPLOYMENT UNSTABLE
            [INFO] ------------------------------------------------------------------------
            Started calculate disk usage of build
            Finished Calculation of disk usage of build in 0 seconds
            Started calculate disk usage of workspace
            Finished Calculation of disk usage of workspace in 0 seconds
            Notifying upstream projects of job completion
            Finished: FAILURE
            We are trying to deploy a .war file into a weblogic server from Windows node using weblogic deployer plugin. Jenkins Master is on Linux while slave node 'CAO.EWDV.VZK' is on Windows. We are getting below error while trying to do this. Can someone help us in resolving this issue.

            Started by user Natarajan, Bharath
            [EnvInject] - Loading node environment variables.
            Building remotely on CAO.EWDV.VZK in workspace D:\OneJenkinsVZ\workspace\CAO.EWDV.Vzkauthoring.Vzk.Deploy_DEV
            [WeblogicDeploymentPlugin] - Pay attention of Jdk version {selected version is 1.8.0_25} compatibility with Weblogic Deployer API (see Oracle documentation).
            [WeblogicDeploymentPlugin] - The JDK /usr/java/jdk1.8.0_25/jre will be used.
            [WeblogicDeploymentPlugin] - Retrieving artifacts recorded [filtered resources on vzkauthoring.war]...
            [WeblogicDeploymentPlugin] - 2 files found under del
            [WeblogicDeploymentPlugin] - the following resource ['vzknowledge.war'] doesn't match vzkauthoring.war
            [WeblogicDeploymentPlugin] - the following resource recorded /apps/opt/jenkinsnfs/internal-vd/jnmisc/del/vzkauthoring.war is eligible.
            [WeblogicDeploymentPlugin] - Deploying the artifact on the following target : (name=DEV-DELETE-LATER-LINX) (host=ewdsacovn54.ebiz.verizon.com) (port=2001)
            [WeblogicDeploymentPlugin] - UNDEPLOYING ARTIFACT...
            $ /usr/java/jdk1.8.0_25/jre/bin/java -Xms256M -Xmx256M -cp /apps/opt/jenkinsnfs/internal-vd/jnmisc/weblogic/wlfullclient.jar weblogic.Deployer -debug -remote -verbose -noexit -name vzkauthoring -targets WLS_Cluster -adminurl t3://ewdsacovn54.ebiz.verizon.com:2001 -userconfigfile /apps/opt/jenkinsnfs/internal-vd/jnmisc/temp/myuserconfigfile.secure -userkeyfile /apps/opt/jenkinsnfs/internal-vd/jnmisc/temp/myuserkeyfile.secure -undeploy
            java.io.IOException: Cannot run program "/usr/java/jdk1.8.0_25/jre/bin/java": CreateProcess error=2, The system cannot find the file specified
            at java.lang.ProcessBuilder.start(Unknown Source)
            at hudson.Proc$LocalProc.<init>(Proc.java:244)
            at hudson.Proc$LocalProc.<init>(Proc.java:216)
            at hudson.Launcher$LocalLauncher.launch(Launcher.java:815)
            at hudson.Launcher$ProcStarter.start(Launcher.java:381)
            at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1148)
            at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1113)
            at hudson.remoting.UserRequest.perform(UserRequest.java:120)
            at hudson.remoting.UserRequest.perform(UserRequest.java:48)
            at hudson.remoting.Request$2.run(Request.java:326)
            at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
            at java.util.concurrent.FutureTask.run(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at hudson.remoting.Engine$1$1.run(Engine.java:62)
            at java.lang.Thread.run(Unknown Source)
            at ......remote call to CAO.EWDV.VZK(Native Method)
            at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
            at hudson.remoting.UserResponse.retrieve(UserRequest.java:220)
            at hudson.remoting.Channel.call(Channel.java:781)
            at hudson.Launcher$RemoteLauncher.launch(Launcher.java:928)
            at hudson.Launcher$ProcStarter.start(Launcher.java:381)
            at org.jenkinsci.plugins.deploy.weblogic.task.DeploymentTaskServiceImpl.undeploy(DeploymentTaskServiceImpl.java:274)
            at org.jenkinsci.plugins.deploy.weblogic.task.DeploymentTaskServiceImpl.perform(DeploymentTaskServiceImpl.java:170)
            at org.jenkinsci.plugins.deploy.weblogic.WeblogicDeploymentPlugin.perform(WeblogicDeploymentPlugin.java:239)
            at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
            at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
            at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
            at hudson.model.Build$BuildExecution.post2(Build.java:185)
            at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
            at hudson.model.Run.execute(Run.java:1763)
            at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:410)
            Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
            at java.lang.ProcessImpl.create(Native Method)
            at java.lang.ProcessImpl.<init>(Unknown Source)
            at java.lang.ProcessImpl.start(Unknown Source)
            at java.lang.ProcessBuilder.start(Unknown Source)
            at hudson.Proc$LocalProc.<init>(Proc.java:244)
            at hudson.Proc$LocalProc.<init>(Proc.java:216)
            at hudson.Launcher$LocalLauncher.launch(Launcher.java:815)
            at hudson.Launcher$ProcStarter.start(Launcher.java:381)
            at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1148)
            at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1113)
            at hudson.remoting.UserRequest.perform(UserRequest.java:120)
            at hudson.remoting.UserRequest.perform(UserRequest.java:48)
            at hudson.remoting.Request$2.run(Request.java:326)
            at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
            at java.util.concurrent.FutureTask.run(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at hudson.remoting.Engine$1$1.run(Engine.java:62)
            at java.lang.Thread.run(Unknown Source)
            ERROR: [WeblogicDeploymentPlugin] - Failed to deploy.
            [INFO] ------------------------------------------------------------------------
            [INFO] DEPLOYMENT FAILURE
            [INFO] ------------------------------------------------------------------------
            Build step 'Deploy the artifact to any Weblogic environments' changed build result to FAILURE
            Started calculate disk usage of build
            Finished Calculation of disk usage of build in 0 seconds
            Started calculate disk usage of workspace
            Finished Calculation of disk usage of workspace in 0 seconds
            Notifying upstream projects of job completion
            Finished: FAILURE

            raphc Raphael CHAUMIER made changes -
            Comment [ Hi [~arunb]

            The issue of your latest deployment log is different. It is a NoClassDefFound java.lang.NoClassDefFoundError: com/rsa/jsafe/JSAFE_SecureRandom. Here is a link related to this (https://community.oracle.com/thread/3519739?start=0&tstart=0)



            ]
            raphc Raphael CHAUMIER made changes -
            Summary Weblogic Deployer plugin 3.3 issue Unable to deploy from a windows slave node
            raphc Raphael CHAUMIER made changes -
            Labels plugin weblogic-deployer-plugin-3.3 plugin weblogic-deployer-plugin-3.3 weblogic-deployer-plugin-3.5
            bharath_natarajan Bharath Natarajan made changes -
            Description We are trying to deploy a .war file into a weblogic server from Windows node using weblogic deployer plugin. Jenkins Master is on Linux while slave node 'CAO.EWDV.VZK' is on Windows. We are getting below error while trying to do this. Can someone help us in resolving this issue.

            Started by user Natarajan, Bharath
            [EnvInject] - Loading node environment variables.
            Building remotely on CAO.EWDV.VZK in workspace D:\OneJenkinsVZ\workspace\CAO.EWDV.Vzkauthoring.Vzk.Deploy_DEV
            [WeblogicDeploymentPlugin] - Pay attention of Jdk version {selected version is 1.8.0_25} compatibility with Weblogic Deployer API (see Oracle documentation).
            [WeblogicDeploymentPlugin] - The JDK /usr/java/jdk1.8.0_25/jre will be used.
            [WeblogicDeploymentPlugin] - Retrieving artifacts recorded [filtered resources on vzkauthoring.war]...
            [WeblogicDeploymentPlugin] - 2 files found under del
            [WeblogicDeploymentPlugin] - the following resource ['vzknowledge.war'] doesn't match vzkauthoring.war
            [WeblogicDeploymentPlugin] - the following resource recorded /apps/opt/jenkinsnfs/internal-vd/jnmisc/del/vzkauthoring.war is eligible.
            [WeblogicDeploymentPlugin] - Deploying the artifact on the following target : (name=DEV-DELETE-LATER-LINX) (host=ewdsacovn54.ebiz.verizon.com) (port=2001)
            [WeblogicDeploymentPlugin] - UNDEPLOYING ARTIFACT...
            $ /usr/java/jdk1.8.0_25/jre/bin/java -Xms256M -Xmx256M -cp /apps/opt/jenkinsnfs/internal-vd/jnmisc/weblogic/wlfullclient.jar weblogic.Deployer -debug -remote -verbose -noexit -name vzkauthoring -targets WLS_Cluster -adminurl t3://ewdsacovn54.ebiz.verizon.com:2001 -userconfigfile /apps/opt/jenkinsnfs/internal-vd/jnmisc/temp/myuserconfigfile.secure -userkeyfile /apps/opt/jenkinsnfs/internal-vd/jnmisc/temp/myuserkeyfile.secure -undeploy
            java.io.IOException: Cannot run program "/usr/java/jdk1.8.0_25/jre/bin/java": CreateProcess error=2, The system cannot find the file specified
            at java.lang.ProcessBuilder.start(Unknown Source)
            at hudson.Proc$LocalProc.<init>(Proc.java:244)
            at hudson.Proc$LocalProc.<init>(Proc.java:216)
            at hudson.Launcher$LocalLauncher.launch(Launcher.java:815)
            at hudson.Launcher$ProcStarter.start(Launcher.java:381)
            at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1148)
            at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1113)
            at hudson.remoting.UserRequest.perform(UserRequest.java:120)
            at hudson.remoting.UserRequest.perform(UserRequest.java:48)
            at hudson.remoting.Request$2.run(Request.java:326)
            at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
            at java.util.concurrent.FutureTask.run(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at hudson.remoting.Engine$1$1.run(Engine.java:62)
            at java.lang.Thread.run(Unknown Source)
            at ......remote call to CAO.EWDV.VZK(Native Method)
            at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
            at hudson.remoting.UserResponse.retrieve(UserRequest.java:220)
            at hudson.remoting.Channel.call(Channel.java:781)
            at hudson.Launcher$RemoteLauncher.launch(Launcher.java:928)
            at hudson.Launcher$ProcStarter.start(Launcher.java:381)
            at org.jenkinsci.plugins.deploy.weblogic.task.DeploymentTaskServiceImpl.undeploy(DeploymentTaskServiceImpl.java:274)
            at org.jenkinsci.plugins.deploy.weblogic.task.DeploymentTaskServiceImpl.perform(DeploymentTaskServiceImpl.java:170)
            at org.jenkinsci.plugins.deploy.weblogic.WeblogicDeploymentPlugin.perform(WeblogicDeploymentPlugin.java:239)
            at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
            at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
            at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
            at hudson.model.Build$BuildExecution.post2(Build.java:185)
            at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
            at hudson.model.Run.execute(Run.java:1763)
            at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:410)
            Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
            at java.lang.ProcessImpl.create(Native Method)
            at java.lang.ProcessImpl.<init>(Unknown Source)
            at java.lang.ProcessImpl.start(Unknown Source)
            at java.lang.ProcessBuilder.start(Unknown Source)
            at hudson.Proc$LocalProc.<init>(Proc.java:244)
            at hudson.Proc$LocalProc.<init>(Proc.java:216)
            at hudson.Launcher$LocalLauncher.launch(Launcher.java:815)
            at hudson.Launcher$ProcStarter.start(Launcher.java:381)
            at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1148)
            at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1113)
            at hudson.remoting.UserRequest.perform(UserRequest.java:120)
            at hudson.remoting.UserRequest.perform(UserRequest.java:48)
            at hudson.remoting.Request$2.run(Request.java:326)
            at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
            at java.util.concurrent.FutureTask.run(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at hudson.remoting.Engine$1$1.run(Engine.java:62)
            at java.lang.Thread.run(Unknown Source)
            ERROR: [WeblogicDeploymentPlugin] - Failed to deploy.
            [INFO] ------------------------------------------------------------------------
            [INFO] DEPLOYMENT FAILURE
            [INFO] ------------------------------------------------------------------------
            Build step 'Deploy the artifact to any Weblogic environments' changed build result to FAILURE
            Started calculate disk usage of build
            Finished Calculation of disk usage of build in 0 seconds
            Started calculate disk usage of workspace
            Finished Calculation of disk usage of workspace in 0 seconds
            Notifying upstream projects of job completion
            Finished: FAILURE

            We are trying to deploy a .war file into a weblogic server from Windows node using weblogic deployer plugin. Jenkins Master is on Linux while slave node 'VZK.WIN' is on Windows. We are getting below error while trying to do this. Can someone help us in resolving this issue.

            Started by user Natarajan, Bharath
            [EnvInject] - Loading node environment variables.
            Building remotely on CAO.EWDV.VZK in workspace D:\VZK.WIN\workspace\CAO.EWDV.Vzkauthoring.Vzk.Deploy_DEV
            [WeblogicDeploymentPlugin] - Pay attention of Jdk version {selected version is 1.8.0_25} compatibility with Weblogic Deployer API (see Oracle documentation).
            [WeblogicDeploymentPlugin] - The JDK /usr/java/jdk1.8.0_25/jre will be used.
            [WeblogicDeploymentPlugin] - Retrieving artifacts recorded [filtered resources on vzkauthoring.war]...
            [WeblogicDeploymentPlugin] - 2 files found under del
            [WeblogicDeploymentPlugin] - the following resource ['vzknowledge.war'] doesn't match vzkauthoring.war
            [WeblogicDeploymentPlugin] - the following resource recorded /apps/opt/jenkinsnfs/internal-vd/jnmisc/del/vzkauthoring.war is eligible.
            [WeblogicDeploymentPlugin] - Deploying the artifact on the following target : (name=DEV-DELETE-LATER-LINX) (host=abc.mycompany.com) (port=2001)
            [WeblogicDeploymentPlugin] - UNDEPLOYING ARTIFACT...
            $ /usr/java/jdk1.8.0_25/jre/bin/java -Xms256M -Xmx256M -cp /apps/opt/jenkinsnfs/internal-vd/jnmisc/weblogic/wlfullclient.jar weblogic.Deployer -debug -remote -verbose -noexit -name vzkauthoring -targets WLS_Cluster -adminurl t3://wlhost.mycompany.com:2001 -userconfigfile /apps/opt/jenkinsnfs/internal-vd/jnmisc/temp/myuserconfigfile.secure -userkeyfile /apps/opt/jenkinsnfs/internal-vd/jnmisc/temp/myuserkeyfile.secure -undeploy
            java.io.IOException: Cannot run program "/usr/java/jdk1.8.0_25/jre/bin/java": CreateProcess error=2, The system cannot find the file specified
            at java.lang.ProcessBuilder.start(Unknown Source)
            at hudson.Proc$LocalProc.<init>(Proc.java:244)
            at hudson.Proc$LocalProc.<init>(Proc.java:216)
            at hudson.Launcher$LocalLauncher.launch(Launcher.java:815)
            at hudson.Launcher$ProcStarter.start(Launcher.java:381)
            at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1148)
            at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1113)
            at hudson.remoting.UserRequest.perform(UserRequest.java:120)
            at hudson.remoting.UserRequest.perform(UserRequest.java:48)
            at hudson.remoting.Request$2.run(Request.java:326)
            at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
            at java.util.concurrent.FutureTask.run(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at hudson.remoting.Engine$1$1.run(Engine.java:62)
            at java.lang.Thread.run(Unknown Source)
            at ......remote call to CAO.EWDV.VZK(Native Method)
            at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
            at hudson.remoting.UserResponse.retrieve(UserRequest.java:220)
            at hudson.remoting.Channel.call(Channel.java:781)
            at hudson.Launcher$RemoteLauncher.launch(Launcher.java:928)
            at hudson.Launcher$ProcStarter.start(Launcher.java:381)
            at org.jenkinsci.plugins.deploy.weblogic.task.DeploymentTaskServiceImpl.undeploy(DeploymentTaskServiceImpl.java:274)
            at org.jenkinsci.plugins.deploy.weblogic.task.DeploymentTaskServiceImpl.perform(DeploymentTaskServiceImpl.java:170)
            at org.jenkinsci.plugins.deploy.weblogic.WeblogicDeploymentPlugin.perform(WeblogicDeploymentPlugin.java:239)
            at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
            at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
            at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
            at hudson.model.Build$BuildExecution.post2(Build.java:185)
            at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
            at hudson.model.Run.execute(Run.java:1763)
            at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:410)
            Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
            at java.lang.ProcessImpl.create(Native Method)
            at java.lang.ProcessImpl.<init>(Unknown Source)
            at java.lang.ProcessImpl.start(Unknown Source)
            at java.lang.ProcessBuilder.start(Unknown Source)
            at hudson.Proc$LocalProc.<init>(Proc.java:244)
            at hudson.Proc$LocalProc.<init>(Proc.java:216)
            at hudson.Launcher$LocalLauncher.launch(Launcher.java:815)
            at hudson.Launcher$ProcStarter.start(Launcher.java:381)
            at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1148)
            at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1113)
            at hudson.remoting.UserRequest.perform(UserRequest.java:120)
            at hudson.remoting.UserRequest.perform(UserRequest.java:48)
            at hudson.remoting.Request$2.run(Request.java:326)
            at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
            at java.util.concurrent.FutureTask.run(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at hudson.remoting.Engine$1$1.run(Engine.java:62)
            at java.lang.Thread.run(Unknown Source)
            ERROR: [WeblogicDeploymentPlugin] - Failed to deploy.
            [INFO] ------------------------------------------------------------------------
            [INFO] DEPLOYMENT FAILURE
            [INFO] ------------------------------------------------------------------------
            Build step 'Deploy the artifact to any Weblogic environments' changed build result to FAILURE
            Started calculate disk usage of build
            Finished Calculation of disk usage of build in 0 seconds
            Started calculate disk usage of workspace
            Finished Calculation of disk usage of workspace in 0 seconds
            Notifying upstream projects of job completion
            Finished: FAILURE

            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 172876 ] JNJira + In-Review [ 184822 ]
            raphc Raphael CHAUMIER made changes -
            Labels plugin weblogic-deployer-plugin-3.3 weblogic-deployer-plugin-3.5 plugin weblogic-deployer-plugin-3.3
            raphc Raphael CHAUMIER made changes -
            Labels plugin weblogic-deployer-plugin-3.3 plugin weblogic-deployer-plugin-3.3 weblogic-deployer_plugin_4.0
            raphc Raphael CHAUMIER made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            raphc Raphael CHAUMIER made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            raphc Raphael CHAUMIER made changes -
            Remote Link This issue links to "Page (Jenkins Wiki)" [ 17491 ]
            raphc Raphael CHAUMIER made changes -
            Status In Review [ 10005 ] Closed [ 6 ]
            Resolution Fixed [ 1 ]

              People

              • Assignee:
                raphc Raphael CHAUMIER
                Reporter:
                bharath_natarajan Bharath Natarajan
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: