Error "java.lang.UnsatisfiedLinkError" When Executing a Custom Application Using WCI Portal Server APIs (Doc ID 1263811.1)

Last updated on AUGUST 29, 2016

Applies to:

Oracle WebCenter Interaction - Version 6.1.2 and later
Information in this document applies to any platform.

Symptoms

When attempting to run a custom stand-alone WCI Portal Server API application, the following error occurs:

com.plumtree.openkernel.impl.config.Context@41d05d
Exception in thread "main" java.lang.UnsatisfiedLinkError: Native library openkernelsearch_4-2j cannot be loaded. Either the library or its dependencies cannot be found, or all copies of the library have been loaded already:
[attempt 1]: no openkernelsearch_4-2j_0 in java.library.path
[attempt 2]: no openkernelsearch_4-2j_1 in java.library.path
[attempt 3]: no openkernelsearch_4-2j_2 in java.library.path
[attempt 4]: no openkernelsearch_4-2j_3 in java.library.path
[attempt 5]: no openkernelsearch_4-2j_4 in java.library.path
[attempt 6]: no openkernelsearch_4-2j_5 in java.library.path
[attempt 7]: no openkernelsearch_4-2j_6 in java.library.path
[attempt 8]: no openkernelsearch_4-2j_7 in java.library.path
[attempt 9]: no openkernelsearch_4-2j_8 in java.library.path
[attempt 10]: no openkernelsearch_4-2j_9 in java.library.path
at com.plumtree.openkernel.impl.search.core.PRFSearchGlobals.<clinit>(PRFSearchGlobals.java:20)
at com.plumtree.openkernel.impl.search.SearchService.Init(SearchService.java:81)
at com.plumtree.server.impl.core.InternalSession.Init(InternalSession.java:158)
at com.plumtree.server.PortalObjectsFactory.Init(PortalObjectsFactory.java:53)
at TestAPI.main(TestAPI.java:47)



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms