Necessary assistance for the deployment of a manager of validation in OIM 11 g

Hi all

I wanted to deploy a validation in OIM 11 g Manager so that I can verify that the phone number that is entered by the user has a length of ten and are all numbers.

I created a new eclipse workspace called TelephoneValidationHandler on the host of the IOM. I created a new Java project in the workspace with the name TelephoneValidationHandler. I created a class called TelephoneValidationHandler in this project. Put in the following code in the java file-

/ * TelephoneValidationHandler.java * /.

package com.custom;

import java.io.Serializable;
import java.util.HashMap;

Import oracle.iam.platform.kernel.ValidationException;
Import oracle.iam.platform.kernel.ValidationFailedException;
Import oracle.iam.platform.kernel.spi.ValidationHandler;
Import oracle.iam.platform.kernel.vo.BulkOrchestration;
Import oracle.iam.platform.kernel.vo.Orchestration;


/ public class TelephoneValidationHandler implements ValidationHandler {}

@Override
Public Sub initialize (HashMap < String, String > arg0) {}
Initialization of TODO
System.out.println("***********************************************************************************");
System.out.println ("* Init validate handler *");
System.out.println("***********************************************************************************");
}

@Override
public void Validate (processId long, long eventId, orchestration of the Orchestration)
throws a ValidationException ValidationFailedException {}

System.out.println ("* beginning of validation *");


Parameters HashMap < String, Serializable > = orchestration.getParameters ();
Telephone string = (String) parameters.get ("phone number");
String regex = "[0-9] {10}"; "
If (telephone.length () is 10)
{
for (int i = 0; i < 10; i ++)
{
If (Character.isDigit (telephone.charAt (i))) {}
continue;
}
on the other
{
throw new ValidationFailedException();
}
}
System.out.println ("* validated *");
}
on the other
{
System.out.println ("* EXCEPTION OCCURRED *");
throw new ValidationFailedException();
}
System.out.println ("* end of validation *");


}

@Override
public void Validate (processId long, long eventId, BulkOrchestration arg2)
throws a ValidationException ValidationFailedException {}
TODO - N/A
System.out.println ("* in BULK to the INTERIOR of ENTER *");
}
}
- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - - - - - - - - - - - - - - - - - - - -

I have included the files in reference libraries as - right-click on the project, click Build Path-> Configure Build Path-> Add External JARs. In this, I selected the pots that were needed to compile code successfully and I chose them to the place where they exist in the host of IOM for example. C:\Oracle\Middleware\server\platform\iam-platform-kernel.jar iam-platform - kernel.jar path.

Now, I've created a jar file of the project compiled by right-clicking on the project name and click Export-> Java-> JAR file. Selected files .classpath and .project for export as well. Choose the first option 1. Export the files option and generated class resources. Other three existing options outside that I chose were: 2 export all output folders checked projects. 3 export Java source files and resources 4. Export the refactorings for registered projects. So with the 1st selection, I clicked on next selected file generate a new manifest in the last screen and clicked on finish. This exported under the name TelephoneValidationHandler.jar on the desktop. If I open this jar by changing the zip extension, I see the following folder structure on the inside:
[[
com-> customize-> TelephoneValidationHandler.class
META-INF-> MANIFESTS. INF
.classpath
. Project
]]

I created a folder named lib and placed this file jar inside the lib folder. Then, outside of this folder, I placed the plugin.xml file created for this as follows:

plugin. XML->

<? XML version = "1.0" encoding = "UTF-8"? >
< oimplugins xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" >
< pluginpoint = "oracle.iam.platform.kernel.spi.ValidationHandler plugins" >
< class = "com.custom.TelephoneValidationHandler plugin" version = "1.0" name = "TelephoneValidationHandler" > "
< / plugin >
< / plugins >
< / oimplugins >
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Now, I selected the folder lib and plugin.xml and created a new zip file under the name of TelephoneValidationHandler.zip that will be used for the registration of plugin. File zip directly inside it has structure - file and lib plugin.xml file, having the jar inside.

[[
lib-> TelephoneValidationHandler.jar
plugin. XML
]]

Now I went to the C:\Oracle\Middleware\server\plugin_utility directory and open the ant.properties file in this and set the values as:

Ant. Properties->

# WLS installation directory
WLS. Home=C:\\Oracle\\Middleware\\wlserver_10.3

# The directory of IOM. If shiphome its same as installation directory
IOM. Home = C:\\Oracle\\Middleware\\Oracle_IDM1\\server

#login filename with the path.
Login.config=C:\\Oracle\\Middleware\\Oracle_IDM1\\server\\config\\authwl.conf

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Now, I opened a cmd prompt, crossing to the C:\Oracle\Middleware\server\plugin_utility directory and typed in "Ant f pluginregistration.xml registry" and run this command.
He asked the IOM userid - xelsysadm, IOM password: password, server url: t3: / / oimhost:14000, name of plugin file with the path: C:\\temp\\TelephoneValidationHandler.zip

I had these errors in the redirector.out file in C:\Oracle\Middleware\server\plugin_utility:

Error in registering the plugin. null
Error occurred when using the utility check plugin.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

And it comes to the detailed description in the redirector.err in C:\Oracle\Middleware\server\plugin_utility:

17 July 2012 18:05:58 main PluginUtility
SEVERE: Exception occurred in {0}
java.lang.NullPointerException
at java.util.regex.Matcher.getTextLength(Matcher.java:1140)
at java.util.regex.Matcher.reset(Matcher.java:291)
in java.util.regex.Matcher. < init > (Matcher .java: 211)
at java.util.regex.Pattern.matcher(Pattern.java:888)
at weblogic.utils.classloaders.FilteringClassLoader.matchesClassFilterList(FilteringClassLoader.java:213)
at weblogic.utils.classloaders.FilteringClassLoader.findClass(FilteringClassLoader.java:97)
at weblogic.utils.classloaders.FilteringClassLoader.loadClass(FilteringClassLoader.java:86)
at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
at oracle.iam.platform.pluginframework.PluginReader.validateInstance(PluginReader.java:303)
at oracle.iam.platform.pluginframework.PluginReader.validatePluginsFromFile(PluginReader.java:363)
at oracle.iam.platform.pluginframework.PluginReader.readPluginsFromZIP(PluginReader.java:147)
at oracle.iam.platform.pluginframework.PluginReader.readPlugins(PluginReader.java:66)
at oracle.iam.platform.pluginframework.PluginManagerImpl.registerPlugin(PluginManagerImpl.java:74)
at oracle.iam.platformservice.impl.PlatformServiceImpl.registerPlugin(PlatformServiceImpl.java:129)
at oracle.iam.platformservice.api.PlatformServiceEJB.registerPluginx (unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
to $Proxy528.registerPluginx (Unknown Source)
at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.__WL_invoke (unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.registerPluginx (unknown Source)
at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl_WLSkel.invoke (unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
to weblogic.rmi.internal.BasicServerRef$ 1.run(BasicServerRef.java:522)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
17 July 2012 18:05:58 main PluginUtility
SEVERE: Exception occurred in {0}
java.lang.NullPointerException
at java.util.regex.Matcher.getTextLength(Matcher.java:1140)
at java.util.regex.Matcher.reset(Matcher.java:291)
in java.util.regex.Matcher. < init > (Matcher .java: 211)
at java.util.regex.Pattern.matcher(Pattern.java:888)
at weblogic.utils.classloaders.FilteringClassLoader.matchesClassFilterList(FilteringClassLoader.java:213)
at weblogic.utils.classloaders.FilteringClassLoader.findClass(FilteringClassLoader.java:97)
at weblogic.utils.classloaders.FilteringClassLoader.loadClass(FilteringClassLoader.java:86)
at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
at oracle.iam.platform.pluginframework.PluginReader.validateInstance(PluginReader.java:303)
at oracle.iam.platform.pluginframework.PluginReader.validatePluginsFromFile(PluginReader.java:363)
at oracle.iam.platform.pluginframework.PluginReader.readPluginsFromZIP(PluginReader.java:147)
at oracle.iam.platform.pluginframework.PluginReader.readPlugins(PluginReader.java:66)
at oracle.iam.platform.pluginframework.PluginManagerImpl.registerPlugin(PluginManagerImpl.java:74)
at oracle.iam.platformservice.impl.PlatformServiceImpl.registerPlugin(PlatformServiceImpl.java:129)
at oracle.iam.platformservice.api.PlatformServiceEJB.registerPluginx (unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
to $Proxy528.registerPluginx (Unknown Source)
at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.__WL_invoke (unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.registerPluginx (unknown Source)
at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl_WLSkel.invoke (unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
to weblogic.rmi.internal.BasicServerRef$ 1.run(BasicServerRef.java:522)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Exception in thread "Main Thread" java.lang.NullPointerException
at java.util.regex.Matcher.getTextLength(Matcher.java:1140)
at java.util.regex.Matcher.reset(Matcher.java:291)
in java.util.regex.Matcher. < init > (Matcher .java: 211)
at java.util.regex.Pattern.matcher(Pattern.java:888)
at weblogic.utils.classloaders.FilteringClassLoader.matchesClassFilterList(FilteringClassLoader.java:213)
at weblogic.utils.classloaders.FilteringClassLoader.findClass(FilteringClassLoader.java:97)
at weblogic.utils.classloaders.FilteringClassLoader.loadClass(FilteringClassLoader.java:86)
at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
at oracle.iam.platform.pluginframework.PluginReader.validateInstance(PluginReader.java:303)
at oracle.iam.platform.pluginframework.PluginReader.validatePluginsFromFile(PluginReader.java:363)
at oracle.iam.platform.pluginframework.PluginReader.readPluginsFromZIP(PluginReader.java:147)
at oracle.iam.platform.pluginframework.PluginReader.readPlugins(PluginReader.java:66)
at oracle.iam.platform.pluginframework.PluginManagerImpl.registerPlugin(PluginManagerImpl.java:74)
at oracle.iam.platformservice.impl.PlatformServiceImpl.registerPlugin(PlatformServiceImpl.java:129)
at oracle.iam.platformservice.api.PlatformServiceEJB.registerPluginx (unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
to $Proxy528.registerPluginx (Unknown Source)
at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.__WL_invoke (unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl.registerPluginx (unknown Source)
at oracle.iam.platformservice.api.PlatformService_ott20t_PlatformServiceRemoteImpl_WLSkel.invoke (unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
to weblogic.rmi.internal.BasicServerRef$ 1.run(BasicServerRef.java:522)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

But at the end of this race, he always show - BUILD SUCCESSFUL message but it obviously doesn't work properly because after this entry is made, I'll the MDS through the command prompt and import the new EventHandlers.xml I create as shown below:

EventHandlers.xml->

<? XML version = "1.0" encoding = "UTF - 8"? >
< eventhandlers xmlns = "http://www.oracle.com/schema/oim/platform/kernel" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: schemaLocation = "http://www.oracle.com/schema/oim/platform/kernel orchestration - handlers.xsd" >
< class = "Manager validation com.custom.TelephoneValidationHandler" name = "TelephoneValidationHandler" entity-type = 'User' operation = "ANY" order = "1002" / > "
< / eventhandlers >

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

This importation of EventHandlers.xml is made for the path - / metadata/user/custom

But after all this, whenever I try to create a new user, I don't even see the page of the user you want to create. Instead, I get a NullPointer exception thrown on me.

Can someone please go through these steps above and tell me if there is a particular step, I could hurt? Maybe the ant.properties is not set correctly, or maybe ValidationHandler java code is not implemented correctly. But I see that I think these steps are correct. I checked with the other messages in this category and followed them. However this error still exists. Please help me.

Thank you
$id

Published by: $id on July 17, 2012 18:36

plugin. XML->


http://www.w3.org/2001/XMLSchema-instance">




If you're on 11.1.1.5, your plugin.xml should look like this:




pluginclass= "com.custom.TelephoneValidationHandler" version = "1.0" name = "TelephoneValidationHandler" >


Two differences of definition yorst:

1. no namespace declaration (it is unused in any case)
2. the name of the attribute for the Java class must be pluginclass, no class

The battery supplied indicates that the value null is passed to java.lang.ClassLoader.loadClass () by the validateInstance() with no check of value whatsoever. Validation good :-) method

Published by: madhatter on 17 July 2012 22:55

Tags: Fusion Middleware

Similar Questions

  • hp support assistant for the new version update is not installed

    HP Pavilion Slimline s5306ukP; Monitor LCD 20-inch HP 2010

    My problem is that I recently had a HP Support Assistant alert to download the new HP Support Assistant for the latest features.

    Well I tried to download the update, but it would not install? I'll go through the events on the screen and maybe you can inform me as to why this update for the new Assistant support will not correctly installed, thank you.  Everything goes up to 4. Then it will skip "Download updates" and go on 5 /, but nothing happens?

    Point adjustment 1/restore... pass; 2 disk space / audit... pass. 3 / connecting to HP services for new updates and alerts... pass. 4 / download updates... N/a; 5 / install/apply the selected items... no?

    Should I have to uninstall the version that I already have the update through and re - install a new Version, or you have any patch that can be applied to make this update installs successfully?

    I have Windows 7 Home premium 64-bit.

    Hi DP - K,.

    I tried again since my last email with the problem where I couldn't find the program once it is downloaded, and alongside the race/Save little was downloaded files. I clicked on it and watched the sp54931.ex download in a folder "view and track downloads. I then told run this and asked that my administrative password. I thought here goes while I'm waiting for a response from you, nothing to lose to new and low and here is the update for the new Version HP Support Assistant downloaded correctly. Since then, I had a glance in the desktop program and there is no warning, everything is up-to-date.

    If all is well now and I can't thank you enough for all your help to try to solve this problem for me. You are the experts, and I was just lucky. I sincerely thank you.

    Best regards

    Gerry

    PS I will now know where to go if I have more problems... experts.

  • Use two assistants for the acquisition of data at the same time

    Hello

    I want to read multiple data channels of analog inputs on my DAQ hardware. However, when I try to create two separate data acquisition assistants for each entry, it gives an error saying "is reserved for the specified resource. The operation could not be performed as indicated "." Can't use two assistants for the acquisition of data at the same time?

    I have to add different channels in the same assistant DAQ? I tried, but I couldn't separate the data in different graphs.

    How does this work?

    Kind regards

    Allard

    You can't have multiple tasks of the same type (in this case inputs analog) on the same device.  Just so having 1 DAQ Assistant read all your channels and separate your channels for individual transformation.

  • What happened to the "out of office assistant" for the email, when you will be missing? is there another product now?

    What happened to the "out of office assistant" for the email, when you will be missing?

    is there another product now?

    Saturday, September 15, 2012 20:29:54 + 0000, blb_899 wrote:

    What happened to the "out of office assistant" for the email, when you will be missing?

    "Out of Office" is a function of an e-mail program. Not all e-mail messages
    programs for this. What email program are you using?

    Ken Blake, Microsoft MVP

  • Workflow for the deployment TIME of the catalogue.

    Hi team... Am new VCO and I'm not able to find the workflow for the deployment of a paralyzed man in a VDC among the models in the public catalog of vCloud Director. Kindly direct me to the right workflow, method or script if it is available.

    Welcome.

    It's called Instantiate. VAPP model

    Christophe.

  • Extremely strange: Ipa works for the 'debugging device' but breaks down for the "deployment."

    Hello
    In both types of investment promotion, the application starts well, but if the app is respected for the deployment, it hangs at this point where the data is downloaded and written in a database. In debug mode, the app works very well every time and never shows an error. I'm completely stumped. Thank you. I really need your help.

    Hi Luke,.

    Can you please share your project with me? It would be useful in the investigation of the issue. You can attach your project here or send it to me akharban (at) adobe (dot) com.

  • Necessary assistance to the configuration for weblogic server 11g

    Dear all,

    My Version of the OS is:

    [oracle@wbctaxapp1 wlserver_10.3] $ cat/etc/redhat-release

    Release of Red Hat Enterprise Linux Server 6.2 (Santiago)

    Linux wbctaxapp1 2.6.32 - 220.el6.x86_64 #1 SMP Wed Nov 9 08:03:13 EST 2011 x86_64 x86_64 x86_64 GNU/Linux

    WebLogic Server is 11g

    ---------------------------------

    Installation directory is:

    [oracle@wbctaxapp1 wlserver_10.3] $ pwd

    /Home/app/Oracle/middleware/wlserver_10.3

    [oracle@wbctaxapp1 wlserver_10.3] $

    Please help me to configure the following settings... Thanks in advance...

    Archived real path setting

    Enable

    WebLogic plug-in

    Enable

    Properties of Node Manager

    Must be true for the start

    Environmental variables

    MW_HOME, WL_HOME must be set to the profile

    Entries for the crontab Manager node

    Starting the Manager node in the crontab.

    Data sources

    Data sources will be created after the migration of the DB

    Thanks and greetings

    Yvon Das

    Solved

  • Why must update the ADF BC connection details for the deployment?

    I know it's a matter of the ADF, but still post in this forum that it was found in the deployment of BPM on OBPM 11.1.1.6. I get a bpm of the internet project and decide to test it on my local. The goal was to complete the payload of the process dynamically, i.e. based on the selection made by the participant on the user interface (a component of ADF to a table of database management is created and made on the form of task for the user to select). I imported the code on my JDev and changed the JDBCDataStore for both Module local <>& module < Module > Shared in running the application configurations to point to a Data Source that I created on my WLS.

    Assuming that's all it was necessary to test, tried to deploy the application on my WLS. Deployment failed with a logon - question usname/pws 'incompatibility '. It was very strange because I tested the data source after it is created. It took time for me to understand that it wasn't ' the JDBCDataStore that was causing the problem but it seems that the creator of the application created a database connection to connect to its local database to create the application's business components. I had to update correct 'uname/pwd"(i.e. the one on my local) to run the deployment.

    Now coming to the question - I think that connection at the base is a configuration at design time to create business components? Once they are created in the project, the deployment should be agnostic of the environment, as long as we upgrade our TIME configurations correctly? Someone please help understand that. With my limited understanding of the ADF I prefer having an expert comment and clarify this point.

    Thank you
    GSR

    Uncheck "Auto generate and synchronize weblogic descriptors - jdbc.xml during deployments" in properties of Application-> Deploymennt-> EAR used for deployment

    refer
    http://theblasfrompas.blogspot.in/2010/05/JDeveloper-11g-ADF-deployment-using.html

  • Strategy for the deployed application

    Hello

    I deployed a simple application to standalone WLS 10.3.5 in a mode of development.

    The application uses oracle/wss_username_token_over_ssl_client_policy for the spirit of the Web Service communication.

    When I opened the page, WLS generates the following error:

    PolicySet invalid: WSM-06102 PolicyReference reference URI "oracle/wss_username_token_over_ssl_client_policy" is not valid.

    What do I need to configure to ensure the validity of this policy?

    Thank you very much for the support

    Daniel

    Application of GOSA (wsm - MP) is not deployed in your WLS field or the data source "SDM-GOSA" is not targeted to the WLS managed server where you have deployed your application. If the "wsm - pm" application is not deployed in the area, you can deploy them by extending the WLS field with the "Oracle Policy Manager - WSM 11.x.x.x." model.

    Dimitar

  • Configuration of the database for the deployment of Hyperion Planning 9.3.1

    Hello

    I'm deployment Hyperion Planning 9.3.1. I read in many places that I need to configure a separate database for each component rather than use a single. Nobody knows the ideal of data distribution if I install the following components:

    -Hyperion Shared Services
    -Essbase Server
    -Essbase Administration services
    -Essbase service provider
    -Oracle Hyperion Enterprise Performance Management architect
    -Planning
    -Hyperion reports & analysis

    Can I configure EPMA and planning on separate databases as well? As for the configuration of data source?

    Any help would be appreciated.

    Thanks in advance

    Shehzad

    Hello

    Best practices during the installation would be to create the DB sql distinct for each of your products as follows (you don't have to follow the naming conventions)

    -SSP Hyperion 9 (hypHSS)
    -Essbase Server (without SQL repository Req'd)
    -Essbase Services Administration (hypEAS)
    -Essbase provider Services (without SQL repository Req'd)
    -Oracle Hyperion Enterprise Performance Management architect (hypEPMA)
    -Planning (hypPlanSys)
    -Hyperion Reporting & analysis (hyper)

    Remember, if you are creating applications to planning you will also need to create a db SQL distinct for the application, as well as planning SQL db.

    DataSource configurations can then raise the relevant DB.

    Hope this helps

    J

  • Number of client for the deployment program

    Hello.

    I'm trying to register my company on the deployment program, but struggling to get the customer number.

    Someone who can help me out here?

    42 employees and the plan is that they must get their own iPad that we can manage easily thanks to our it staff.

    Enterprise
    1-866-752-7753

  • Looking for what software required for the Installation of Enterprise Manager

    Hi all

    I'm quite new to work with Enterprise Manager, previously used 11g Database Control, but never install Enterprise Manager (OEM). Now, due to the increase of the databases, I am planning to install OEM (Oracle Enterprise Manager) to list all the database (more than 20 Linux servers) in one place.

    I have read the documentation and still confused on what needs to be installed for the OEM. I intend to use OEM 12 c Release (12.1.0.4), my current databases are 11 GR 2 (11.2.0.4).

    Could you tell what I need to at the bottom of the list?

    1. OEM (12.1.0.4)
    2. Web logic Server (do I need that separately, or it will be installed with OEM)?
    3. OEM agent on all other 20 servers (I have to install a software on them? Please guide)
    4. A specific version of Java.

    Please guide me if I need any other software or plugin.

    I have already installed the oracle software and created a database by using the "Custom" option in DBCA. My server operating system is Linux 64 Bit for Enterprise Manager.

    Thanks in advance.

    Hello

    You need to control software for cloud 12 c OEM, software database (for creating repository) and software agent (for tracking targets on other hosts)

    Java Development Kit (JDK) 1.6.0.43.0 and Oracle WebLogic Server 11 g Release 1 (10.3.6) are installed by default with the installation of SGD 12 c, even if you have a possibility to install it separately if you want, but Oracle strongly recommends using the installation process of 12 c to install the JDK and Oracle WebLogic Server for use with Enterprise Manager 12 c.

    Here is the link for Enterprise Manager Cloud control 12 c Architecture

    http://docs.Oracle.com/CD/E24628_01/doc.121/e25353/overview.htm#EMCON112

    For 12 c WHO installation steps refer to

    http://docs.Oracle.com/CD/E24628_01/install.121/e22624/TOC.htm

    EM 12 c R2: How to Install Enterprise Manager Cloud Control 12.1.0.2 using a Graphics Mode (Doc ID 1488154.1)

    For installing the agent, see

    Installation of the Management Agents to help add host Wizard or EM CLI targets

    http://docs.Oracle.com/CD/E24628_01/install.121/e22624/install_agent.htm#EMBSC181

    Installing agents using other methods

    http://docs.Oracle.com/CD/E24628_01/install.121/e24089/part_installing_agent.htm#sthref323

    Download 12 c

    http://www.Oracle.com/technetwork/OEM/Enterprise-Manager/downloads/index.html

    Kind regards

    Rahul

  • installation of creative cloud for the deployment of the teams package fails

    I inherited a Department that was using the trial versions of creative cloud and older versions of some CS6 apps so far. I bought and activated via the website admin CC for the teams. I downloaded and packed the app they need to use without errors. However, the first mac, that I tried to install it just quit with an error of unable to install, contact your administrator. I have did some research and came across the cloud to create adobe cleaner and followed the instructions... uninstall the current applications and run the vacuum cleaner. Error now says to contact the Publisher of the software. The first user is now dead in the water and does not all apps from adobe, trial or others to work on projects and deadlines looming. Any help would be appreciated.

    The build package installs on my own mac that I used to create the deployment package

    I think I solved it... the USB key that I used was not formatted for Mac OS, so I guess that there are names of files that are not compatible for FAT32 format it's originally to. thanks.

  • CC for the deployment of teams / qualifications on multi-user workstations

    Hello

    I had a serious problem in a 'laboratory of graphics' with several work stations. It's a computer room where the students are enabled to learn to know and to work with the software Adobe Creative Cloud. Each student can log to desktop with their own credentials using a central Microsoft Active Directory Server and a local Apple Open Directory server. As recommended by the helpline Adobe CC, we bought licenses to teams (EDU, 20 +). We want to map the licenses that we arrived at jobs instead of simple users, such as the mapping of users could lead to more than two active licenses of the same Adobe ID. Currently, I'm unable to get this working and we cannot rely on students to not abuse the connections if we gave them the credentials.

    Adobe or all the world here has a solution to this problem?

    Workstation hardware: Apple iMac end 2012

    Operating system: Mac OS X 10.8.5

    License: Adobe Creative Cloud for teams (EDU) 20 licenses +.

    Problem: Connection with the user 'X' on any computer "C1", "C2" etc. launches applications Cloud creative with the Adobe ID 'Y1', 'Y2' credentials,... which is mapped to the computers 'Cx '.

    Thank you!

    It's the solution that I came up with after a while. There may be other solutions...

    Why and what is its role? (or replace the 'it' by 'I')
    The problem is that I couldn't find a way to manage the Adobe CC credentials from the Server distributing the plists or any other type of file. I give each student the CC credentials if they wanted to work with the programs. I tried to copy the folders user, parameters, watched in the keychain, but found no clues. So I had to go in another direction.

    I manage computers by configuring a machine master as much as possible. Then, I use DeployStudio to create an image of this machine that I distribute to my other computers. If I use the system imaging tool, the credentials are deleted, so I have to go to all the machines and store the credentials manually over and over again...

    I noticed that Adobe CC stores the credentials for each user who logs instead of the scale of the computer. This gave me the idea to create a group of users on my master machine that could be "pawns" to run CC and then load their powers rather those of the current logon user. This required a change in the sudoers file and a hook to logon. Another way might be a shortcut on the desktop. But I wanted it runs automatically. Execution of the script that I wrote below to a maximum of 10 seconds to kill any process to Adobe and to raise with the credentials of the cc users mapped to the machine. I have run several scripts at connect time, the Adobe's Script runs in the background not to delay the process of connection.

    1. This step is as proposed by Romsinha. I created several Adobe ID with e-mail addresses
      [email protected]
      [email protected]
      ....
    2. I created the matching users on my iMac which serves as the main image for my other machines. So, I users
      ccstudent1, ccstudent2...
    3. Login as each user and connect to their Adobe ID via Creative Cloud correspondents (Student 1 @... = ccstudent1 etc..). This will store the credentials in each local account users CC. I have not found any type of .conf or .plist file which contained identifying information, so I could copy just somehow.
    4. Open a terminal, type

    sudo visudo
  • Add the following lines to the corresponding locations or maintain order at least:
    # User alias specification - these are the users allowed to execute Adobe CC as another user later on - mine come from an Active Directory
    User_Alias MACUSERS = %everyone

    # Cmnd alias specification - the application that shall be executed as another user
    Cmnd_Alias ADOBECC = /Applications/Utilities/Adobe\ Creative\ Cloud/ACC/Creative\ Cloud.app/Contents/MacOS/Creative\ Cloud

    # Runas alias specification
    Runas_Alias CCUSERS = ccstudent1,ccstudent2,ccstudent3,ccstudent4,ccstudent5,ccstudent6,ccstudent7,ccstudent8,ccstudent9,ccstudent10,ccstudent11,ccstudent12,ccstudent13,ccstudent14,ccstudent15,ccstudent16

    # allow Adobe CC to be executed as a user from CCUSERS by any user specified in MACUSERS without password prompt
    MACUSERS ALL=(CCUSERS) NOPASSWD: ADOBECC

  • Add a hook to logon to run the following script. This will kill any process Adobe and run Adobe CC like the ccstudent? mapped to the current computer. We could write it with more elegance, but the number of machines that I manage is small enough to use a simple box construction. In my case, the script is stored in the folder for the admin user and an another hook connection stored on my Open Directory server runs this script.

    #!/bin/bash
    # Thilo Enters, Hochschule Karlsruhe 2013
    # Version 1.0

    USER=$(whoami)
    LOG="/var/log/LoginHookHska.log"

    COMPUTER=$( scutil --get ComputerName )
    CCUSER=""
    TIME_LIMIT=10

    case "$COMPUTER" in
      "iwi-mki-og-01")
        CCUSER="ccstudent1"
        ;;
      "iwi-mki-og-02")
        CCUSER="ccstudent2"
        ;;
      "iwi-mki-og-03")
        CCUSER="ccstudent3"
        ;;
      "iwi-mki-og-04")
        CCUSER="ccstudent4"
        ;;
      "iwi-mki-og-05")
        CCUSER="ccstudent5"
        ;;
      "iwi-mki-og-06")
        CCUSER="ccstudent6"
        ;;
      "iwi-mki-og-07")
        CCUSER="ccstudent7"
        ;;
      "iwi-mki-og-08")
        CCUSER="ccstudent8"
        ;;
      "iwi-mki-og-09")
        CCUSER="ccstudent9"
        ;;
      "iwi-mki-og-10")
        CCUSER="ccstudent10"
        ;;
      "iwi-mki-og-11")
        CCUSER="ccstudent11"
        ;;
      "iwi-mki-og-12")
        CCUSER="ccstudent12"
        ;;
      "iwi-mki-og-13")
        CCUSER="ccstudent13"
        ;;
      "iwi-mki-og-14")
        CCUSER="ccstudent14"
        ;;
      "iwi-mki-og-15")
        CCUSER="ccstudent15"
        ;;
      "iwi-mki-og-16")
        CCUSER="ccstudent16"
        ;;
    esac

    echo "Running Adobe CC from $USER as $CCUSER on PC $COMPUTER" >> $LOG

    STARTTIME=`date +%s`
    ENDTIME=`date +%s`
    RUNTIME=$((ENDTIME-STARTTIME))
    ADOBE_ALIVE=1

    while [[ $RUNTIME -le $TIME_LIMIT ]] && [[ $ADOBE_ALIVE -ne 0 ]]; do
      ENDTIME=`date +%s`
      RUNTIME=$((ENDTIME-STARTTIME))
     
      killall -KILL "CEPServiceManager" >/dev/null 2>&1
      killall -KILL "Core Sync"         >/dev/null 2>&1
      killall -KILL "Adobe CEF Helper"  >/dev/null 2>&1
     
      if killall -KILL "Creative Cloud" >/dev/null 2>&1; then
        ADOBE_ALIVE=0
      fi
    done

    echo "Adobe was alive $ADOBE_ALIVE and the runtime was $RUNTIME" >> $LOG

    sudo -b -u "$CCUSER" /Applications/Utilities/Adobe\ Creative\ Cloud/ACC/Creative\ Cloud.app/Contents/MacOS/Creative\ Cloud

  • Installation of Web server for the deployment of an Application JDevloper

    Hello

    I'm trying to convince my administrative staff to allow me to create J2EE applications. We currently have a campus wide license. We have learned by sales to deploy a JDeveloper 11g, would need us a WebLogic Server license. For now, we don't have the budget for the purchase of this license. Is it possible to deploy a 11g JDeveloper asks a WebLogic-no server? If so, is there a white paper to set up the server?

    Thank you

    Kelly

    Currently, we support only officially 11g ADF for WebLogic deployment.
    There is at least one report of a person running this on Tomcat here:
    JDev 11.1.1.1.0 BC4J ADF + application on Tomcat6
    Note that this will require you to have a license to run ADF however.

Maybe you are looking for

  • Tabs on top

    I just downloaded Firefox 8.0.1. I use XP Professional service pack 3. Firefox Help on the tabs at the top says to go to options and click on the tabs on the top box to disable this feature. At home, it worked. Here click on the box isn't here. Tools

  • Satellite U400-13N - need a new battery, which one to get?

    I need a new battery for my laptop, but not quite sure like one to get as it seems U400 is distributed. Someone to help me?

  • Why the clock of Google app is not supported?

    After installing the app widgets on the home screen of the message"problem loading widget". Everyone knows the same problem?

  • DISABLE 'Are you sure you want to copy this file/folder without its property' without formatting the drive to NTFS

    I have several WIN7 SP1 teacher workstation via SMB connection to an OS X Server 10.8.3.  When copy files I get the following warning "are you sure you want to copy this file/folder without its properties. I don't have the option to format the locati

  • PL SQL INSERT INTO

    HelloI have a vision that includes some totals, and I want to get this data inserted into a table in the long term, I have the following code, but can't seem to get the code to work:CREATE OR REPLACE PROCEDURE POPULATE_OPEN_INCIDENTS_TBL(DATE_TIME IN