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
#84
mikerena77 (User)
Junior Boarder
Posts: 21
graph
User Offline Click here to see the profile of this user
Re:KB Server not starting 8 Months, 2 Weeks ago Karma: 0&nbsp&nbsp
Okay, different Remote Build Server, different Knowledge _base_ Server (KB is running patch 1 last OpenMake release and RB is running Meister 7.1)

The RB cannot be installed as a Windows service because the JNT command portion of the Win_RBS_Service_Cmd.txt always fails with an error for "overlapping IO processes".

But when I attempt to run the startrbs.pl _script_, I get the following from the RemoteBuildStartup.log. At this point, the javaw process dies and nothing else happens.

************************************************************************
* Openmake Version 7.00, Copyright 1995-2007 OpenMake Software
*
* Build Server
*
* KBHost: HQENTWB01
* KBPort: 58080
*
* Attempting to validate the Knowledge _base_ Server connection for the server located at: http://HQENTWB01:58080/openmake
* The Knowledge _base_ Server connection passed validation
*
* http://HQENTWB01:58080/openmake/flexlm.jar will not be handled through the OMClient cache manager.
* http://HQENTWB01:58080/openmake/EccpressoAll.jar will not be handled through the OMClient cache manager.
* http://HQENTWB01:58080/openmake/mlclient.jar will not be handled through the OMClient cache manager.
* Retrieving libraries
* Loading archive: C:\Program Files\openmake\client\bin\xerces.jar
* Loading archive: C:\Program Files\openmake\client\bin\log4j.jar
* Loading archive: C:\Program Files\openmake\client\bin\castor.jar
* Loading archive: C:\Program Files\openmake\client\bin\IdooXoap.jar


The startrbs_stdout.log reports the following for the process:
Install Dir: C:/Program Files/openmake/client
Using: C:\Program Files\Java\jdk1.5.0_13\jre\bin\javaw.exe
CmdLine: javaw.exe -Xms128m -Xmx512m -Djava.class.path="C:/Program Files/openmake/client/bin/commons-logging.jar;C:/Program Files/openmake/client/bin/xerces.jar;C:/Program Files/openmake/client/bin/castor.jar;C:/Program Files/openmake/client/bin/omremotebuildserver.jar" -cp "C:/Program Files/openmake/client/bin/commons-logging.jar;C:/Program Files/openmake/client/bin/xerces.jar;C:/Program Files/openmake/client/bin/castor.jar;C:/Program Files/openmake/client/bin/omremotebuildserver.jar" com.openmake.remotebuildmanager.Main -home "C:/Program Files/openmake/client/buildserver"


Any advice/insight would be appreciated.

Michael Andrews
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/01/28 15:04 By mikerena77.
  The administrator has disabled public write access.
#85
steve (Admin)
Admin
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Re:KB Server not starting 8 Months, 2 Weeks ago Karma: 0&nbsp&nbsp
Can you reach the KB Server from that Build Server using the Meister UI?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#86
mikerena77 (User)
Junior Boarder
Posts: 21
graph
User Offline Click here to see the profile of this user
Re:KB Server not starting 8 Months, 2 Weeks ago Karma: 0&nbsp&nbsp
Yes, Meister runs fine. I can even do an identical build successfully for the local machine in Meister using the workflow and project data from the remote KB server. But the RBS always dies on startup without having processed the Remote Build licensing information.

I've also confirmed that omint.jar is in the same directory as xerces.jar, log4j.jar, castor.jar, and IdooXoap.jar, but I never see any sign of it processing in the RemoteBuildStartup.log.

Thanks. Appreciate any help.

Michael Andrews
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#87
mikerena77 (User)
Junior Boarder
Posts: 21
graph
User Offline Click here to see the profile of this user
Re:KB Server not starting 8 Months, 2 Weeks ago Karma: 0&nbsp&nbsp
In an attempt to test exactly where the failure occurs, I switched the RB server from pointing to the OpenMake 6.4.1 KB server in our production environment to the developmental/test Meister 7.1 KB server running on a different machine in development.

I knew that the Remote Build Server would not pass validation for this exercise because this license file does not contain this RB server. This time, though, we do see the RemoteBuildStartup.log reporting the second connection to the Knowledge _base_ Server in order to perform the Remote Build Server validation. Also, I see that the omint.jar has loaded and processed. Neither of these processes succeed in the connection in our production environment.
************************************************************************
* 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
* Loading archive: C:\Program Files\openmake\client\bin\omint.jar
* Loading archive: C:\Program Files\openmake\client\bin\xerces.jar
* Loading archive: C:\Program Files\openmake\client\bin\log4j.jar
* Loading archive: C:\Program Files\openmake\client\bin\castor.jar
* Loading archive: C:\Program Files\openmake\client\bin\IdooXoap.jar
* Adding file:/C:/Program Files/openmake/client/bin/omint.jar to ClassPath
* Adding file:/C:/Program Files/openmake/client/bin/xerces.jar to ClassPath
* Adding file:/C:/Program Files/openmake/client/bin/log4j.jar to ClassPath
* Adding file:/C:/Program Files/openmake/client/bin/castor.jar to ClassPath
* Adding file:/C:/Program Files/openmake/client/bin/IdooXoap.jar to ClassPath

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

************************************************************************
* Validating Remote Build Server license. Host: hardev2
*
* hardev2 failed Remote Build Server license validation. Exiting Remote Build Server.


The previous test showed the "loading archive" as the last step before failure, but this time I see "Adding file..." all the way through the actual license validation failure. What would be happening (not happening) to prevent "Adding file..." just by changing the KB server? And why would the omint.jar file process using the second KB server, but not the first?

Thanks.

Michael Andrews
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/01/28 15:00 By mikerena77.
  The administrator has disabled public write access.
#88
steve (Admin)
Admin
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Re:KB Server not starting 8 Months, 2 Weeks ago Karma: 0&nbsp&nbsp
In both cases the omint.jar should be loaded from the c:program filesopenmakeclientbin directory. I will need to some more investigation on what is going on.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#89
mikerena77 (User)
Junior Boarder
Posts: 21
graph
User Offline Click here to see the profile of this user
Re:KB Server not starting 8 Months, 2 Weeks ago Karma: 0&nbsp&nbsp
In another attempt to get the RB server running, I switched from using the Perl _script_ for running the server to installing the Windows service and using it.

I was able to successfully create the Windows service. It is set up to run under my logon account and password.

When I attempt to process a workflow from a third machine against the Remote Build Server now running under the Windows services, nothing appears to happen in Meister on the third machine. No entries ever appear in the Workflow Monitor for the remote build process.

When I check the logs for the Remote Build Server, the stderr.log looks like this:
Exception in thread "Thread-2" java.lang.NoClassDefFoundError: com/openmake/integration/OMEnvironment
  • 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:595)


Additionally, the RemoteBuildOut.log shows the appropriate input to setup the omtemp_rbs_xxxxx.bat file, but this file remains empty. Also, no omtemp_rbs_xxxxx.rsp is ever generated.

Also, the appropriate line for processing the workflow is never generated in the RemoteBuildOut.log:
* start /min /wait cmd.exe /C "C:\Program Files\openmake\client\buildserver\jobs\omtemp_rbs_60802.bat"
  • This excerpt was taken from the RemoteBuildOut.log of the developmental/test RBS which is functioning properly


Hope this helps. Thanks.

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
Meister Public Training - Nov 12-14, in Chicago @ MicroTrain facility Learn More

Google PageRank 
Checker - Page Rank Calculator