After rebooting the server and capturing the previously submitted logs, I attempted a Remote Build launched from another system. This system does see the Remote Build Server and is connected to the same KB server as the Remote Build Server in question.
The workflow specified execution of activities for both the local machine and for the Remote Build Server. Local machine activities were successfully accomplished and reflected in the Workflow Monitor. Activities specified for the Remote Build Server never launched and nothing was ever seen in the Workflow Monitor for the Remote Build Server.
This workflow has been previously executed successfully when the Remote Build Server was launched using the Perl _script_.
These are the contents of the
stdout.log after attempting the Remote Build:
- Checking args
- Getting RBS _object_
- RBS not null
- Loading environment
- : loadOMProperties: Start load Openmake properties...
- : loadOMProperties: Attempting load from User Home: C: \Documents and Settings\Default User\Application Data\openmake
- : loadIniFile: Attempting to load properties file: C: \Documents and Settings\Default User\Application Data\openmake/omenvironment.properties
- : loadIniFile: Caught IOException while loading properties file: C: \Documents and Settings\Default User\Application Data\openmake/omenvironment.properties
- Caught Exception: C: \Documents and Settings\Default User\Application Data\openmake\omenvironment.properties (The system cannot find the file specified)
- : loadOMProperties: Unable to locate Openmake properties file in User Home.
- : loadOMProperties: Current Working Directory is not defined locally. Use "user.dir" System Property
- : loadOMProperties: Attempting load from current working directory: C: \WINDOWS\system32
- : loadIniFile: Attempting to load properties file: C: \WINDOWS\system32/omenvironment.properties
- : loadIniFile: Caught IOException while loading properties file: C: \WINDOWS\system32/omenvironment.properties
- Caught Exception: C: \WINDOWS\system32\omenvironment.properties (The system cannot find the file specified)
- : loadOMProperties: Unable to locate Openmake properties file.
- : loadOMProperties: End load Openmake properties.
These are the contents of the
RemoteBuildErr.log:
- * null
[li]java.lang.NullPointerException
[li] at com.openmake.integration.OMEnvironment.getExportEnvVarString(Unknown Source)
- at com.openmake.remotebuildmanager._script_ExecutionManager.run_script_Text(Unknown Source)
- at com.openmake.remotebuildmanager.OMRemoteBuildManager.run(Unknown Source)
- at java.lang.Thread.run(Thread.java: 619)
These are the contents of the
RemoteBuildOut.log:
* 8|Submit: .submit/submit.txt
BuildDirectory: C: \builds\_meta_lWorks
PreserveRSP: true
KeepMetrics: false
BuildJobName: MTLWRKS RMT BLD
BuildLabel: MTLWRKS RMT BLD 2008-01-09 07_56_43
BuildNumber:
BuildDate: 2008-01-09 07_56_39
BuildMachineLabel: HARDEV3
BuildIsPublic: true
BuildUser: andrewsmic
######################
Command: bldmake "JAVA _meta_LWORKS" "RELEASE" -s -ob -lj "MTLWRKS RMT BLD" -lo "andrewsmic" -ld "2008-01-09 07_56_39" -lm "HARDEV3" -lp -la "Generate Meister Build Control File" -ln "" -li "MTLWRKS RMT BLD 2008-01-09 07_56_43"
ActivityType: Generate Meister Build Control File
Name: Generate Meister Build Control File for MTLWRKS RMT BLD
BuildDirectory: C: \builds\_meta_lWorks
Configuration: set OPENMAKE_SERVER=http: //hardev1: 58080/openmake
Exit_onerror_: false
DependsOnSuccess:
DependsOnFailure:
DependsOnComplete:
######################
Command: om clean all -b "buildaudit.html" -g -j -ov -ob -lj "MTLWRKS RMT BLD" -lo "andrewsmic" -ld "2008-01-09 07_56_39" -lm "HARDEV3" -lp -la "Execute Meister Clean All Build With Audit Report" -ln "" -li "MTLWRKS RMT BLD 2008-01-09 07_56_43"
ActivityType: Execute Meister Clean All Build With Audit Report
Name: Execute Meister Clean All Build With Audit Report for MTLWRKS RMT BLD
BuildDirectory: C: \builds\_meta_lWorks
Configuration: set OPENMAKE_SERVER=http: //hardev1: 58080/openmake
Exit_onerror_: false
DependsOnSuccess: 1,
DependsOnFailure:
DependsOnComplete:
######################
Command: perl -e "use File: : Copy;copy $ENV{REFDIR} . "/_meta_lworks/release/MyTheme.theme", ".""
ActivityType: Execute shell command
Name: Copy Theme File Local
BuildDirectory: C: \builds\_meta_lWorks
Configuration: set OPENMAKE_SERVER=http: //hardev1: 58080/openmake
Exit_onerror_: false
DependsOnSuccess: 2,
DependsOnFailure:
DependsOnComplete:
######################
Command: java -cp _meta_lworks.jar _meta_lworks
ActivityType: Execute shell command
Name: Launch _meta_lworks
BuildDirectory: C: \builds\_meta_lWorks
Configuration: set OPENMAKE_SERVER=http: //hardev1: 58080/openmake
Exit_onerror_: false
DependsOnSuccess: 3,
DependsOnFailure:
DependsOnComplete:
* 1
* 8
* Submit: .submit/submit.txt
BuildDirectory: C: \builds\_meta_lWorks
PreserveRSP: true
KeepMetrics: false
BuildJobName: MTLWRKS RMT BLD
BuildLabel: MTLWRKS RMT BLD 2008-01-09 07_56_43
BuildNumber:
BuildDate: 2008-01-09 07_56_39
BuildMachineLabel: HARDEV3
BuildIsPublic: true
BuildUser: andrewsmic
######################
Command: bldmake "JAVA _meta_LWORKS" "RELEASE" -s -ob -lj "MTLWRKS RMT BLD" -lo "andrewsmic" -ld "2008-01-09 07_56_39" -lm "HARDEV3" -lp -la "Generate Meister Build Control File" -ln "" -li "MTLWRKS RMT BLD 2008-01-09 07_56_43"
ActivityType: Generate Meister Build Control File
Name: Generate Meister Build Control File for MTLWRKS RMT BLD
BuildDirectory: C: \builds\_meta_lWorks
Configuration: set OPENMAKE_SERVER=http: //hardev1: 58080/openmake
Exit_onerror_: false
DependsOnSuccess:
DependsOnFailure:
DependsOnComplete:
######################
Command: om clean all -b "buildaudit.html" -g -j -ov -ob -lj "MTLWRKS RMT BLD" -lo "andrewsmic" -ld "2008-01-09 07_56_39" -lm "HARDEV3" -lp -la "Execute Meister Clean All Build With Audit Report" -ln "" -li "MTLWRKS RMT BLD 2008-01-09 07_56_43"
ActivityType: Execute Meister Clean All Build With Audit Report
Name: Execute Meister Clean All Build With Audit Report for MTLWRKS RMT BLD
BuildDirectory: C: \builds\_meta_lWorks
Configuration: set OPENMAKE_SERVER=http: //hardev1: 58080/openmake
Exit_onerror_: false
DependsOnSuccess: 1,
DependsOnFailure:
DependsOnComplete:
######################
Command: perl -e "use File: : Copy;copy $ENV{REFDIR} . "/_meta_lworks/release/MyTheme.theme", ".""
ActivityType: Execute shell command
Name: Copy Theme File Local
BuildDirectory: C: \builds\_meta_lWorks
Configuration: set OPENMAKE_SERVER=http: //hardev1: 58080/openmake
Exit_onerror_: false
DependsOnSuccess: 2,
DependsOnFailure:
DependsOnComplete:
######################
Command: java -cp _meta_lworks.jar _meta_lworks
ActivityType: Execute shell command
Name: Launch _meta_lworks
BuildDirectory: C: \builds\_meta_lWorks
Configuration: set OPENMAKE_SERVER=http: //hardev1: 58080/openmake
Exit_onerror_: false
DependsOnSuccess: 3,
DependsOnFailure:
DependsOnComplete:
************************************************************************
* Error executin Remote Build Server build: null
*
* null
* StackTrace found in: RemoteBuildErr.log
*
************************************************************************Log files stderr.log, startrbs_stdout.log, startrbs_stderr.log, and RemoteBuildStartup.log had no changes from their previous state.
Upon investigating the errors in the stdout.log, I discovered that no openmake directory and no omenvironment.properties file existed under C: \Documents and Settings\Default User\Application Data or C: \WINDOWS\system32. The only copy of the omenvironment.properties file was found under the C:\Program Files\openmake\client\bin directory on the Remote Build Server.
Furthermore, an omtemp_rbs_50707.bat file had been created on the Remote Build Server under C: \Program Files\openmake\client\bin\buildserver\jobs during the workflow execution, but the file was empty.
In attempting to clear the errors in the stdout.log, I copied the omenvironment.properties file from the C: \Program Files\openmake\client\bin directory to a newly created openmake directory under the C: \Documents and Settings\Default User\Application Data directory.
Upon launching a second Remote Build for the same workflow, there were no repeat errors in the stdout.log, but I did see the error repeated under the RemoteBuildErr.log:
- * null
- java.lang.NullPointerException
- at com.openmake.integration.OMEnvironment.getExportEnvVarString(Unknown Source)
- at com.openmake.remotebuildmanager._script_ExecutionManager.run_script_Text(Unknown Source)
- at com.openmake.remotebuildmanager.OMRemoteBuildManager.run(Unknown Source)
- at java.lang.Thread.run(Thread.java: 619)
Once again, an empty omtemp_rbs_50708.bat file had been created on the Remote Build Server.Thanks again. I appreciate your help.
Michael Andrews