Not able to Export MetaData due to error in AdminUI
search cancel

Not able to Export MetaData due to error in AdminUI

book

Article ID: 267689

calendar_today

Updated On:

Products

SITEMINDER

Issue/Introduction

When trying to export the metadata, the UI reports this error :

Error:
Unexpected system error trying to export metadata: com.ca.federation.client.XPSException: Failed to find the requested Service : CA : XPS : sm-xpssvc-00850

The logs were showing these messages:

smps.log

[SmJavaAPI.cpp:1305][ERROR][sm-JavaApi-00670] SmJavaAPI: Unable to get a JVM environment
[CServer.cpp:6842][ERROR][sm-Tunnel-00160] Failed to initialize tunnel service library 'smjavaapi'. SmJavaAPI: Unable to get a JVM environment
[SmJavaAPI.cpp:1305][ERROR][sm-JavaApi-00670] SmJavaAPI: Unable to get a JVM environment
[CServer.cpp:6842][ERROR][sm-Tunnel-00160] Failed to initialize tunnel service library 'smjavaapi'. SmJavaAPI: Unable to get a JVM environment

smtracedefault.log

[XPSSvcHandlerServices.cpp:240][InvokeService][][][][][][][][][][][][][][][][][][][][][Invoking the CA.FED::JavaCall Service.][][]
[JavaCallService.cpp:208][PerformService][][][][][][][][][][][][][][][][][][][][][Enter PerformService][][]
[SmJVMSupport.cpp:262][GetJVMEnv][][][][][][][][][][][][][][][][][][][][][JVM library failed to load. Path = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b08-1.el7_9.x86_64/jre/lib/server/libjvm.so][][]
[SmJVMSupport.cpp:262][GetJVMEnv][][][][][][][][][][][][][][][][][][][][][JVM library failed to load. Path = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b08-1.el7_9.x86_64/jre/lib/server/libjvm.so][][]
[SmJavaAPI.cpp:1305][][][][][][][][][][][][][][][][][][][][][][LogMessage:ERROR:[sm-JavaApi-00670] SmJavaAPI: Unable to get a JVM environment][][]
[SmJavaAPI.cpp:1305][][][][][][][][][][][][][][][][][][][][][][LogMessage:ERROR:[sm-JavaApi-00670] SmJavaAPI: Unable to get a JVM environment][][]
[SmJavaAPI.cpp:1305][][][][][][][][][][][][][][][][][][][][][][LogMessage:ERROR:[sm-JavaApi-00670] SmJavaAPI: Unable to get a JVM environment][][]
[CServer.cpp:6842][][][][][][][][][][][][][][][][][][][][][][LogMessage:ERROR:[sm-Tunnel-00160] Failed to initialize tunnel service library 'smjavaapi'. SmJavaAPI: Unable to get a JVM environment][][]
[CServer.cpp:6842][][][][][][][][][][][][][][][][][][][][][][LogMessage:ERROR:[sm-Tunnel-00160] Failed to initialize tunnel service library 'smjavaapi'. SmJavaAPI: Unable to get a JVM environment][][]
[SmJVMSupport.cpp:262][GetJVMEnv][][][][][][][][][][][][][][][][][][][][][JVM library failed to load. Path = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b08-1.el7_9.x86_64/jre/lib/server/libjvm.so][][]

 

Environment

Release : 12.8.07

Cause

As noted in the smps and smtracedefault.log, there was an issue loading the JVM environment. This lead to the API calls failing and the export failing.

Resolution

Customer needed to fix their Java path so it pointed at the correct location. Once the JVM was able to load, the export issue was resolved.