OpenSource Solutions Enterprise Solutions
Feature Tour View Demo Get Ttrial
ASK THE MEISTER
Welcome, Guest
Please Login or Register.    Lost Password?
Re:KB Server not starting (1 viewing) (1) Guests
Go to bottom Post Reply Favoured: 0
TOPIC: Re:KB Server not starting
#66
mikerena77 (User)
Fresh Boarder
Posts: 19
graph
User Offline Click here to see the profile of this user
Re:KB Server not starting 8 Months ago Karma: 0&nbsp&nbsp
Yes, the Remote Build Server responds perfectly when launched by the perl _script_, just not under the Windows service.

Thanks,

Michael Andrews
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#67
steve (Admin)
Admin
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Re:KB Server not starting 8 Months ago Karma: 0&nbsp&nbsp
Can you post the full log from the RBS when it is started as a service?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#68
mikerena77 (User)
Fresh Boarder
Posts: 19
graph
User Offline Click here to see the profile of this user
Re:KB Server not starting 8 Months ago Karma: 0&nbsp&nbsp
The state of the Remote Build Server at the time of this capture:
  • Remote Build Server running from the perl _script_ has been stopped;

  • Wiped the contents of all RB server logs to start fresh;

  • The Win_RBS_Service_Cmd.txt file has been modified to change "com.openmake.remotebuildmanager.main" to "com.openmake.remotebuildmanager.Main" for both start and stop parameters;

  • Copied the edited Win_RBS_Service_Cmd.txt file to a batch file and ran the batch file;

  • Rebooted the server;

  • Captured the following logs:


Here's the output from the Windows service "Openmake 7 Build Server" stdout.log:

  • Checking args

  • Getting RBS _object_

  • RBS not null

  • Loading environment


Here's the output of the RemoteBuildStartup.log:


************************************************************************
* Openmake Version 7.00, Copyright 1995-2007 OpenMake Software
*
* Build Server
*
* KBHost: HARDEV1
* KBPort: 58080
*
* Attempting to validate the Knowledge _base_ Server connection for the server located at: http://HARDEV1:58080/openmake
* The Knowledge _base_ Server connection passed validation
*
* http://HARDEV1:58080/openmake/flexlm.jar will not be handled through the OMClient cache manager.
* http://HARDEV1:58080/openmake/EccpressoAll.jar will not be handled through the OMClient cache manager.
* http://HARDEV1:58080/openmake/mlclient.jar will not be handled through the OMClient cache manager.
* Retrieving libraries
* Errors occurred while attempting to cache the required archive, omint.jar.
Loading from remote location, http://HARDEV1:58080/openmake/omint.jar
* Errors occurred while attempting to cache the required archive, xerces.jar.
Loading from remote location, http://HARDEV1:58080/openmake/xerces.jar
* Errors occurred while attempting to cache the required archive, log4j.jar.
Loading from remote location, http://HARDEV1:58080/openmake/log4j.jar
* Errors occurred while attempting to cache the required archive, castor.jar.
Loading from remote location, http://HARDEV1:58080/openmake/castor.jar
* Errors occurred while attempting to cache the required archive, IdooXoap.jar.
Loading from remote location, http://HARDEV1:58080/openmake/IdooXoap.jar
* Adding http://HARDEV1:58080/openmake/omint.jar to ClassPath
* Adding http://HARDEV1:58080/openmake/xerces.jar to ClassPath
* Adding http://HARDEV1:58080/openmake/log4j.jar to ClassPath
* Adding http://HARDEV1:58080/openmake/castor.jar to ClassPath
* Adding http://HARDEV1:58080/openmake/IdooXoap.jar to ClassPath

************************************************************************
* Contacting Knowledge _base_ Server. Host: HARDEV1 Port: 58080
*
* Connected to Knowledge _base_ Server

************************************************************************
* Validating Remote Build Server license. Host: HARDEV3
*
* HARDEV3 passed Remote Build Server license validation. Remote Build Server licensed to run in LOCAL mode.
*
* Starting Remote Build Manager on port 59090
*
************************************************************************


The logs stderr.log, startrbs_stdout.log, startrbs_stderr.log, RemoteBuildOut.log, and RemoteBuildErr.log are all empty at this point.

Hope this helps. Thanks again for your assistance.

Michael Andrews
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/01/09 13:49 By mikerena77.
  The administrator has disabled public write access.
#69
mikerena77 (User)
Fresh Boarder
Posts: 19
graph
User Offline Click here to see the profile of this user
Re:KB Server not starting 8 Months ago Karma: 0&nbsp&nbsp
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
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/01/09 15:16 By mikerena77.
  The administrator has disabled public write access.
#70
steve (Admin)
Admin
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Re:KB Server not starting 8 Months ago Karma: 0&nbsp&nbsp
Stop the RBS Windows Service, then edit the Service and provide a logon account for the service to run as. Use the same id that you are using to start the RBS from the perl _script_. Then start the service and try running the Workflow.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#71
mikerena77 (User)
Fresh Boarder
Posts: 19
graph
User Offline Click here to see the profile of this user
Re:KB Server not starting 8 Months ago Karma: 0&nbsp&nbsp
Success! Thanks for all your help. It's greatly appreciated!

Michael Andrews
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
Openmake Live OPENMAKE LIVE
Build Blogs BUILD BLOGS
Ask the Meister ASK THE MEISTER
LOGIN LOGIN
Contact Us CONTACT US
RSS RSS
Google PageRank 
Checker - Page Rank Calculator