IBM Support

Attempts to deploy a stub give "java.io.IOException: Couldn't get lock" error

Troubleshooting


Problem

IBM Rational Integration Tester Agent (RIT-Agent) starting new stubs gives error "java.io.IOException: Couldn't get lock for <logfile location>/RIT-Engine%u-%g.log, maxLocks: 100"

Symptom

Stubs start successfully but cannot create log files.
RIT-Agent log file <RIT-Agent installation>/logs/agent-0-0.log contains an error similar to the following:
[RunTests/instance4 (3)]: Can't load log handler "java.util.logging.FileHandler" [RunTests/instance4 (3)]: java.io.IOException: Couldn't get lock for C:\Program Files\IBM\RIT-Agent/logs/engine-%u-%g.log, maxLocks: 100
[RunTests/instance4 (3)]: java.io.IOException: Couldn't get lock for C:\Program Files\IBM\RIT-Agent/logs/engine-%u-%g.log, maxLocks: 100
[RunTests/instance4 (3)]:       at java.util.logging.FileHandler.openFiles(FileHandler.java:467) 
  ...

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSBLXN","label":"IBM Rational Test Virtualization Server"},"Component":"","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"9.2","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
07 January 2019

UID

ibm10794157