Got UnsatisfiedLinkError using Endevor Web Services with 64 bit Java
search cancel

Got UnsatisfiedLinkError using Endevor Web Services with 64 bit Java

book

Article ID: 138501

calendar_today

Updated On:

Products

Endevor Endevor - ECLIPSE Plugin

Issue/Introduction

Install Endevor Web Services 18.0.12 using 64 bit Java, start Tomcat and get the following error in Tomcat:


 Oct 01, 2019 11:17:43 AM org.apache.catalina.core.StandardContext loadOnStartup

 SEVERE: Servlet ¢Jersey REST Service| in web application ¢/EndevorService| threw load() exception

 java.lang.UnsatisfiedLinkError: com/ca/endevor/EndevorServiceNativeInterface.nativeTest(I)I

  at com.ca.endevor.EndevorServiceNativeInterface.Test(EndevorServiceNativeInterface.java:117)

  at com.ca.endevor.EndevorServiceMain.init(EndevorServiceMain.java:133)


Environment

Release : 18.0

Component : CA Endevor Software Change Manager

Resolution

Issue the following command in USS: 

ls -l $CATALINA_BASE/webapps/EndevorService/WEB-INF/classes 

Where CATALINA_BASE is defined in WSTOMENV


If the listing command output shows libEndevorNative64.so and libEndevorNative32.so, make sure user who starts the Tomcat job has the execute rights to libEndevorNative64.so. Then restart Tomcat. 


If both libEndevorNative64.so and libEndevorNative32.so are missing from the listing command output, Issue this command in USS:     

jar -tf $CATALINA_BASE/webapps/EndevorService.war | grep 'libEndevorNative64.so'

If the result returns nothing, apply SO07606 (this post 18.0.12 PTF adds 64 bit Java support), then reinstall Web Services

Or update JAVA_HOME in ENWSInstallOptions.properties to 32 bit Java then reinstall Web Services.