Hi!

I'm trying to start and stop local WAS server via two jenkins Jobs, stop 
job is working correctly but start Job doesnt.

I'm using the plugin "Execute Batch command line on Windows" as follows:

*D:\IBM\SDP\runtimes\base_v7\bin\stopServer.bat server1 -profileName 
AppSrv01 -username admin -password admin*

*Jenkins Console Output:*

Started by upstream project "Stop Was Server 
<http://172.31.44.171:8080/job/Stop%20Was%20Server/>" build number 50 
<http://172.31.44.171:8080/job/Stop%20Was%20Server/50>
originally caused by:
 Started by user ************** 
<http://172.31.44.171:8080/user/mohamed-amin.mengat>
Building in workspace C:\Program Files (x86)\Jenkins\jobs\Stop Was 
Server\workspace\default
[default] $ cmd /c call C:\Windows\TEMP\hudson12622.bat

C:\Program Files (x86)\Jenkins\jobs\Stop Was 
Server\workspace\default>D:\IBM\SDP\runtimes\base_v7\bin\stopServer.bat server1 
-profileName AppSrv01 -username admin -password admin
ADMU0116I: Tool information is being logged in file
           
D:\IBM\SDP\runtimes\base_v7\profiles\AppSrv01\logs\server1\stopServer.log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU3100I: Reading configuration for server: server1
ADMU3201I: Server stop request issued. Waiting for stop status.
ADMU4000I: Server server1 stop completed.

Finished: SUCCESS



*After this when i verifty the was console in browser i see effectively that 
app server was stopped.*
*Jenkins Start Job Console Output:*

*D:\IBM\SDP\runtimes\base_v7\bin\startServer.bat server1 -profileName AppSrv01 
-username admin -password sopra*

Started by upstream project "Start Was Server 7.0 
<http://172.31.44.171:8080/job/Start%20Was%20Server%207.0/>" build number 81 
<http://172.31.44.171:8080/job/Start%20Was%20Server%207.0/81>
originally caused by:
 Started by user **************
Building in workspace C:\Program Files (x86)\Jenkins\jobs\Start Was Server 
7.0\workspace\default
[default] $ cmd /c call C:\Windows\TEMP\hudson19590.bat

C:\Program Files (x86)\Jenkins\jobs\Start Was Server 
7.0\workspace\default>D:\IBM\SDP\runtimes\base_v7\bin\startServer.bat server1 
-profileName AppSrv01 -username admin -password admin
ADMU0116I: Tool information is being logged in file
           
D:\IBM\SDP\runtimes\base_v7\profiles\AppSrv01\logs\server1\startServer.log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU3100I: Reading configuration for server: server1
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3000I: Server server1 open for e-business; process id is 4924
Finished: SUCCESS







*After this when i verifty the was console in browser i see that App Server 
wasn't StartedApp Server starts perfectly when "startServer.bat"  its executed 
from command line, But when the batch its called from jenkins job, it doesnt 
not start.Thanks in advance for your Help *


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to