Tuesday, September 12, 2017

CARS not starting - Event Viewer error as -> "No Environment returned from jwrGetJNIEnvForCallingThread()"

//PROBLEM//
CARS not starting - Event Viewer error as -> "No Environment returned from jwrGetJNIEnvForCallingThread()"

//SOLUTION//

1. Take backup of OpenText CARS database
Example

C:\Program Files\OpenText\OpenText CARS\openldap\bin>slapd.exe -T"cat" -f slapd.conf -l backup.ldif

54c0d343 hdb_db_open: database "o=opentext.net": unclean shutdown detected; attempting recovery.
54c0d343 hdb_db_open: database "o=opentext.net": recovery skipped in read-only mode. Run manual recovery if errors are encountered.
54c0d343 hdb_monitor_db_open: monitoring disabled; configure monitor database to enable

2.Recover the OpenText CARS database
Example

C:\Program Files\OpenText\OpenText CARS\openldaptest\bin>db_recover.exe -v -h "C:\Program Files\OpenText\OpenText CARS\openldaptest\bdb"

BDB2526 Finding last valid log LSN: file: 7 offset 5437111
BDB1518 Recovery complete at Thu Jan 22 16:04:41 2015
BDB1519 Maximum transaction ID 0 recovery checkpoint [7][5437055]

3. Remove alock file in the OpenText CARS database directory
From the \bdb folder, delete the file named alock.

4.Start OpenText CARS from Windows services or execute service using the net start command.

-- Narasimha Reddy, Lomadi

No comments:

Post a Comment

Generating a CSR with Java keytool , deploying the certificates in keystore and configuring the same in the tomEE server.

  Deploying security certificates is a three-step process in general 1. CSR Generation 2. Importing the certificatates into the keystore 3. ...