It's all about the answers!

Ask a question

Why are we getting CRJAZ1240I exception?


Jojie Valiente (3021417) | asked Oct 01 '12, 9:23 p.m.

Hi,

While checking if the ccm/jts servers are running using the repotools command, we found the error below. What needs to be done in resolving this IO exception?

[rationaladmin@lxapp8053 server]$ ./repotools-ccm.sh isServerRunning
Repo Tools
Provisioning using "./conf/ccm/provision_profiles".
  Change and Configuration Management - Core Libraries, Version 4.0 (RTC-I20120612-0919)
  Jazz Foundation - Core Libraries, Version 4.0 (RJF-I20120531-1400)

CRJAZ1363I Loading the configuration from "file:conf/ccm/teamserver.properties".
CRJAZ1778I This server is configured as an application.
CRJAZ1093I The following service class was not activated: "com.ibm.team.repository.service.internal.rdb.ConnectionPoolService"
CRJAZ1240I An IO exception was caught while trying to obtain a file lock for file "/tmp/_JazzRepo1BDDB19F24C05CABB09657BFA54801588473E8C4". This is needed to lock access to the repository database at location "oracle:ccmusr@/lxdb8055:1521/CLM01P".
The server is running.
[rationaladmin@lxapp8053 server]$ ./repotools-jts.sh isServerRunning
Repo Tools
Provisioning using "./conf/jts/provision_profiles".
  Jazz Foundation - Core Libraries, Version 4.0 (RJF-I20120531-1400)

CRJAZ1363I Loading the configuration from "file:conf/jts/teamserver.properties".
CRJAZ1779I This server is configured as a JTS.
CRJAZ1093I The following service class was not activated: "com.ibm.team.repository.service.internal.rdb.ConnectionPoolService"
CRJAZ1240I An IO exception was caught while trying to obtain a file lock for file "/tmp/_JazzRepoDBDF9858ECEBF2A3599495E31D5AE1D2A0995FDD". This is needed to lock access to the repository database at location "oracle:jtsusr@/lxdb8055:1521/CLM01P".
The server is running.

One answer



permanent link
Clement Liu (1.5k54349) | answered Oct 01 '12, 9:53 p.m.
edited Oct 01 '12, 10:00 p.m.
This looks similar:


the problem turned out to be that the file already existed as created by the root user, so other users only had read but not write access to the file.  In this case she was trying to run as herself.

Maybe you can try changing the permission of /tmp/_JazzRepoDBDF9858ECEBF2A3599495E31D5AE1D2A0995FDD so rationaladmin can access the file. 

Your answer


Register or 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.