Skip to main content
Deepti_v_Jain
Level 2
Oct 16, 2015 2:29 AM UTC
Solved

load native library in OSGI bundle

i am trying loading dll using Bundle-NativeCode but getting below exception while bundle starts

cqse-httpservice %bundles.pluginTitle: Cannot start (org.osgi.framework.BundleException: Unresolved constraint in bundle XXXXXX: No matching native libraries found.) org.osgi.framework.BundleException: Unresolved constraint in bundle XXXXXX: No matching native libraries found.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
joerghoh
joerghohAccepted solution
Adobe Employee
Oct 16, 2015 2:29 AM UTC

Hi,

I guess, that's not a problem specific to AEM, but rather a general JNI problem or maybe something special to OSGI and JNI.

kind regards,
Jörg

3 replies

Deepti_v_Jain
Level 2
Oct 16, 2015 2:29 AM UTC
While using bundle-nativecode in manifest I am getting error no matching native libraries found
Translate
smacdonald2008
Level 10
Oct 16, 2015 2:29 AM UTC

See http://blog.vogella.com/2010/07/27/osgi/

However most dlls have a equilvant Java library. Its far better to use Java libraries with AEM then try and get dlls to work with AEM.

Translate
joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
Oct 16, 2015 2:29 AM UTC

Hi,

I guess, that's not a problem specific to AEM, but rather a general JNI problem or maybe something special to OSGI and JNI.

kind regards,
Jörg

Translate