Cannot invoke native method: java.lang.UnsatisfiedLinkError

Solution Unverified - Updated -


  • I'm trying to invoke a native library from my ESB action class, but I get the error listed below.  Note that this is not a failure to find the shared object, as the error is a little different.  It seems not to be able to find the native method within the shared library.

2011-11-09 17:19:35,226 WARN  [org.jboss.soa.esb.listeners.message.MessageAwareListener] (pool-57-thread-1) TransactionalRunner caught throwable:

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.jboss.soa.esb.listeners.message.ActionProcessorMethodInfo.processMethods(
at org.jboss.soa.esb.listeners.message.OverriddenActionLifecycleProcessor.process(
at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(
at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(
at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(
at org.jboss.soa.esb.listeners.message.MessageAwareListener$
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
at java.util.concurrent.ThreadPoolExecutor$


  • JBoss Enterprise Application Platform (EAP) 5.x
  • JBoss Enterprise Application Platform (EAP) 4.x
  • JBoss SOA Platform (SOA-P) 5.x
  • JBoss SOA Platform (SOA-P) 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In