3 Replies Latest reply: Apr 24, 2013 7:31 AM by TusharPalekar RSS

    Plugin registraion error during creation of event ahndler

    TusharPalekar
      Hii,
      I'm creating a event handler in oim 11 gr2.for that :
      1) i have create the jar file and place it in lib folder.
      2) create a eventhandler config file
      3) develop the plugin.xml file and make the zip file of plugin.xml file and the lib folder in which the jar file is placed.
      and now i'm trying to register the zip file in the oim server
      to do that I run the ant -f pluginregistration.xml register

      for that it ask
      oim user id:xelsysadm
      password:Oracle123
      server url:t3://localhost:14000
      Enter the Context Factory: weblogic.jndi.WLInitialContextFactory
      Enter name (complete file name with path) of the plugin file:

      after that it shows the following error :

      -register-to-wls-server:
      *[java] Java Result: 1*
      *[delete] Deleting: c:\yash\Oracle\Middleware\Oracle_IDM1\server\plugin_utility\20130417115924.tmp*
      *[echo] Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jrf/PortabilityLayerException*
      *[echo] at oracle.iam.platformservice.utils.PluginUtility.main(PluginUtility.java:210)*
      *[echo] Caused by: java.lang.ClassNotFoundException: oracle.jrf.PortabilityLayerException*
      *[echo] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)*
      *[echo] at java.security.AccessController.doPrivileged(Native Method)*
      *[echo] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)*
      *[echo] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)*
      *[echo] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)*
      *[echo] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)*
      *[echo] ... 1 more*
      *[echo] classpath=C:\yash\Oracle\Middleware\Oracle_IDM1\server\ext\spring.jar;C:\yash\Oracle\Middleware\Oracle_IDM1\server\ext\jakarta-commons\commons-logg*
      *\iam-platform-context.jar;C:\yash\Oracle\Middleware\Oracle_IDM1\server\platform\iam-platform-utils.jar;C:\yash\Oracle\Middleware\Oracle_IDM1\server\platform\ia*
      DM1\server\platform\iam-platform-pluginframework.jar;C:\yash\Oracle\Middleware\Oracle_IDM1\server\client\oimclient.jar;C:\yash\Oracle\Middleware\wlserver_10.3\
      *[echo]*
      *[echo]*
      *[echo] was_home=null*
      *[echo]*
      *[echo]*
      *[echo] client_home=null*
      *[echo]*
      *[echo]*
      *[echo] xl_home=null*
      *[echo]*
      *[echo]*
      *[echo] mw_home=null*
      *[echo]*
      *[echo]*
      *[echo] newClasspath=C:\yash\Oracle\Middleware\Oracle_IDM1\server\ext\spring.jar;C:\yash\Oracle\Middleware\Oracle_IDM1\server\ext\jakarta-commons\commons-l*
      orm\iam-platform-context.jar;C:\yash\Oracle\Middleware\Oracle_IDM1\server\platform\iam-platform-utils.jar;C:\yash\Oracle\Middleware\Oracle_IDM1\server\platform
      e_IDM1\server\platform\iam-platform-pluginframework.jar;C:\yash\Oracle\Middleware\Oracle_IDM1\server\client\oimclient.jar;C:\yash\Oracle\Middleware\wlserver_10
      null/ext/ucp.jar:null/oracle_common/modules/oracle.jmx_11.1.1/jmxspi.jar:null/lib/oimclient.jar:null/server/lib/wlfullclient.jar:null/ext/jakarta-commons/commo
      ar:null/ext/spring.jar:null/server/lib/webserviceclient+ssl.jar:null/platform/iam-platform-utils.jar:null/server/lib/wlclient.jar:null/server/lib/weblogic.jar:
      features-system-configuration.zip:null/features/iam-features-identity.zip:null/features/iam-features-platformservice.zip:null/ext/log4j-1.2.8.jar:null/lib/Xell
      */lib/xlVO.jar:null/lib/xlUtils.jar:null/lib/xlCrypto.jar:null/lib/xlAuthentication.jar:null/lib/xlDataObjectBeans.jar:null/ext/oscache.jar:null/ext/javagroups-*
      jrf-api.jar:null/oracle_common/modules/oracle.jrf_11.1.1/jrf-api.jar:null/ext/jrf-api.jar:null/oracle_common/webservices/wsclient_extended.jar:null/oracle_comm
      on/modules/oracle.jmx_11.1.1/jmxspi.jar:null/oracle_common/modules/oracle.jmx_11.1.1/jmxframework.jar

      BUILD SUCCESSFUL
      Total time: 1 minute 30 seconds


      please help how to resolve the error:

      Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jrf/PortabilityLayerException*
      **[echo] at oracle.iam.platformservice.utils.PluginUtility.main(PluginUtility.java:210)**
      **[echo] Caused by: java.lang.ClassNotFoundException: oracle.jrf.PortabilityLayerException*