Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RAM-Build Forge integration - policy to launch BF project fails with CRRAM0001E (Unexpected EOF)

 Hi,

We are using com.ibm.ram.buildforge.policy.BuildGovernor class in RAM 7.5.1.2 to invoke a process on Build Forge, but we are unable to connect to Build Forge. All we see in the RAM log is the following:

CRRAM0001E  7362047 ERROR web com.ibm.ram.buildforge.policy.RAFWpolicy - Exception caught
java.io.IOException: Unexpected EOF
at com.buildforge.services.client.api.APIClientBuffer.fill(APIClientBuffer.java:121)
at com.buildforge.services.client.api.APIClientConnection.call(APIClientConnection.java:584)
at com.buildforge.services.client.api.APIClientConnection.setVersion(APIClientConnection.java:929)
at com.buildforge.services.client.api.APIClientConnection.<init>(APIClientConnection.java:262)
at com.buildforge.services.client.api.APIClientConnection.<init>(APIClientConnection.java:248)
at com.buildforge.services.client.api.APIClientConnection.<init>(APIClientConnection.java:240)
at com.buildforge.services.client.api.APIClientConnection.<init>(APIClientConnection.java:332)
at com.buildforge.services.client.api.APIClientConnection.<init>(APIClientConnection.java:310)
at com.ibm.ram.buildforge.policy.ProjectLauncher.getConnection(ProjectLauncher.java:206)
at com.ibm.ram.buildforge.policy.ProjectLauncher.getProject(ProjectLauncher.java:268)
at com.ibm.ram.buildforge.policy.ProjectLauncher.getEnv(ProjectLauncher.java:286)
at com.ibm.ram.buildforge.policy.ProjectLauncher.setEnvValue(ProjectLauncher.java:301)
at com.ibm.ram.buildforge.policy.RAFWpolicy.test(RAFWpolicy.java:77)
at com.ibm.ram.repository.lifecycle.AssetLifecycleManager.runAssetPolicies(AssetLifecycleManager.java:2690)
at com.ibm.ram.repository.lifecycle.AssetLifecycleManager.handleEventCycle(AssetLifecycleManager.java:1684)
at com.ibm.ram.repository.lifecycle.AssetLifecycleManager.handleEventCycle(AssetLifecycleManager.java:1654)
at com.ibm.ram.repository.lifecycle.AssetLifecycleManager.triggerStateChangeEvent(AssetLifecycleManager.java:1972)
at com.ibm.ram.repository.lifecycle.AssetLifecycleManager.handleEventCycle(AssetLifecycleManager.java:1734)
at com.ibm.ram.repository.lifecycle.AssetLifecycleManager.handleEventCycle(AssetLifecycleManager.java:1654)
at com.ibm.ram.repository.lifecycle.AssetLifecycleManager.handleEvent(AssetLifecycleManager.java:488)
at com.ibm.ram.repository.lifecycle.AssetLifecycleManager.triggerActionEvent(AssetLifecycleManager.java:2104)
at com.ibm.ram.repository.assets.AssetManager.assetAction(AssetManager.java:4882)

I see the following warning for the Build Forge deployment policy in the Lifecycle I'm using to invoke the connection to Build Forge, but am not sure how to handle this warning:

"This policy is currently not used in any exit conditions. Select a transition to configure conditions."

Any suggestions on what is going on and how to address would be appreciated greatly. Thanks!

Peter

0 votes



2 answers

Permanent link
An EOF would indicate a syntax error. Either a , } or likely ) has occurred somewhere that would cause a pre-mature end of file error to be generated.

I understand this is vague but a syntax triple check is what I would do. Thanks for posting!!

0 votes

Comments

Hi Ryan,


I was not able to find a badly formatted file, but I am sure my lack of experience with RAM and Build Forge compound my problem. I will likely revisit my workflow and try to refine further.

Thanks!


Permanent link
Hi,

We had to associate our user-id and project with the access group "Build Engineer" and this resolved the exception. We are now able to invoke our BF project from RAM.

Peter

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Mar 17 '14, 10:35 p.m.

Question was seen: 5,487 times

Last updated: Jun 10 '14, 10:44 p.m.

Confirmation Cancel Confirm