How to fix java.lang.UnsatisfiedLinkError: com/ca/endevor/EndevorServiceNativeInterface.nativeTest in WSTOMSTC ?

Document ID:  TEC1607993
Last Modified Date:  08/02/2017
{{active ? 'Hide' : 'Show'}} Technical Document Details

Products

  • CA Endevor Software Change Manager

Releases

  • CA Endevor Software Change Manager:Release:18.0

Components

  • CA Endevor Software Change Manager:ENDBAS
Question:

 

I am having this UnsatisfiedLinkErro error in Endevor Web Services Started task (WSTOMSTC), how to fix it ?

 

Jul 27, 2017 7:04:28 PM org.apache.catalina.core.ApplicationContext log
SEVERE: StandardWrapper.Throwable
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)
at com.ca.endevor.jersey.EndevorServiceContainerListener.onStartup(EndevorServiceApplication.java:38)
at org.glassfish.jersey.server.internal.ConfigHelper$3.onStartup(ConfigHelper.java:95)
at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:170)
at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:358)
at javax.servlet.GenericServlet.init(GenericServlet.java:160)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1088)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5123)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5407)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:977)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1654)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:483)
at java.util.concurrent.FutureTask.run(FutureTask.java:274)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:627)
at java.lang.Thread.run(Thread.java:809)

Answer:

 

Causes of this UnsatisfiedLinkError error:

1) The user who runs the WSTOMSTC does not have the execute permission to libEndevorSCLJNI.so

2) incorrect symbolic link for endevorSCLJNI

 

Solution:

  • Make sure $TOMCAT/shared/lib/endevorSCLJNI is a symbolic link pointing to $TOMCAT/shared/lib/libEndevorSCLJNI.so (for example: endevorSCLJNI -> /u/users/endevor/support/V1808/tomcat1810/shared/lib/libEndevorSCLJNI.so)
  • Make sure the user who runs the WSTOMSTC job have the execute permission to $TOMCAT/shared/lib/libEndevorSCLJNI.so

Please help us improve!

Will this information enable you to resolve your issue?

Please tell us what we can do better.

{{feedbackText.length ? feedbackText.length : '0'}}/255

{{status}}

Not what you were looking for?

Search Again >

Product Information

Support by Product >

Communities

Join a Community >