Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problem when activating custom plugin in OAM

soverboschJan 28 2013 — edited Jan 29 2013
Hi,

I've developed a custom authentication plugin for OAM which makes use of the javax.net.ssl lilbrary. The compilation, packaging, import and distribution are fine but when I try to activate the plugin it fails with the following message:

+<Jan 28, 2013 11:31:21 AM CET> <Warning> <oracle.oam.extensibility.lifecycle> <BEA-000000> <Activation failed due to felix bundle exception while installing and starting the bundle.Unresolved constraint in bundle MyAuthPlugin [1]: Una+
ble to resolve 1.0: missing requirement [1.0] package; (package=javax.net.ssl)
org.osgi.framework.BundleException: Unresolved constraint in bundle MyAuthPlugin [1]: Unable to resolve 1.0: missing requirement [1.0] package; (package=javax.net.ssl)

The MANIFEST file contains the following import statement:

Manifest-Version: 1
Bnd-LastModified: 1359369013922
Build-Jdk: 1.6.0_37
Built-By: QSO
Bundle-Activator: package.MyAuthPlugin
Bundle-ManifestVersion: 2
Bundle-Name: MyAuthPlugin
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-SymbolicName: MyAuthPlugin
Bundle-Version: 2
Created-By: Apache Maven Bundle Plugin
Export-Package: nl.com.iam.oam.plugins.provider;uses:="oracle.security.am.co
mmon.utilities.principal,oracle.security.am.plugin,javax.security.auth,
javax.net.ssl,oracle.security.am.plugin.authn,oracle.security.am.plugin
+.impl";version=2+
+Import-Package: javax.net.ssl,javax.security.auth,oracle.security.am.com+
+mon.utilities.principal,oracle.security.am.plugin,oracle.security.am.pl+
+ugin.api,oracle.security.am.plugin.authn,oracle.security.am.plugin.impl+
+,oracle.security.idm,org.osgi.framework;version="1.3.0"+
+Tool: Bnd-1.43.0+

The jvm OAM is running on (AIX):

+java version "1.7.0"+
+Java(TM) SE Runtime Environment (build pap6470sr3-20121025_01(SR3))+
+IBM J9 VM (build 2.6, JRE 1.7.0 AIX ppc64-64 20121024_126071 (JIT enabled, AOT enabled)+
+J9VM - R26_Java726_SR3_20121024_1635_B126071+
+JIT - r11.b02_20120924_26343a+
+GC - R26_Java726_SR3_20121024_1635_B126071+
+J9CL - 20121024_126071)+
+JCL - 20121019_01 based on Oracle 7u6-b17+

So any pointers to how to solve the problem a greatly appreciated!

Br,

Sarris

Edited by: soverbosch on 29-jan-2013 22:42
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 26 2013
Added on Jan 28 2013
8 comments
1,247 views