Access service API IOM of composite SOA problem

Hello

I developed a process of approval in OIM 11 g and deployed on the server of the SOA. The composite has embeded inside JAVA code.
I am able to connect using OIMClient, however, when I use the method oimClient.getService (oracle.iam.identity.usermgmt.api.UserManager.class); I'm a oracle.iam.platform.utils.NoSuchServiceException: javax.naming.NameNotFoundException exception.

Any suggestions would be much appreciated.

The code fragment is:

customer. Login (oimUserName, oimPassword.toCharArray ());
Logger.info ("< - GMICUSTOM - successful connection");

obj = getVariableData ("managerLogin");
String managerLogin = obj.toString ();
Logger.info ("< Manager - GMICUSTOM - Login :"); ")

obj = getVariableData ("beneficiaryLogin");
String beneficiaryLogin = obj.toString ();
Logger.info ("< - GMICUSTOM - beneficiary Login:" + beneficiaryLogin);

Attempts to retrieve the if Manager Department Director ID id is null or empty
If (managerLogin == null | managerLogin.trim (.equals(""))) {}
userOperations = client.getService (oracle.iam.identity.usermgmt.api.UserManager.class) oracle.iam.identity.usermgmt.api.UserManager;
......

There may be three reasons:

1. you give bad URL for the connection. You will need to give Managed Server URL of IOM
2. you copied the same JAR file on several sites.
3. you have incorrectly set CLASSPATH (BPEL CLASSPATH)

Check these 3 points in your CA.

Tags: Fusion Middleware

Similar Questions

  • Code to get the data in the child table in composite SOA using the IOM APIs

    Hi all

    I am a new bie to IOM. I have a query related to obtaining data in the child table using the API of the IOM in the task of embeded java SOA composite.

    I've created a workflow that has a form of child of providing service of slef. I created a composite SOA custom also approval. In the composite approval I have embedded java code and I want to get the values entered in the child form using the API IOM inot the java code embeded in composite SOA.

    I tried gettting the child form data by using getChildAttributes(), but I'm getting the following exception.

    The local Exception stack:
    Exception [EclipseLink-7242] (Eclipse - 2.1.3.v20110304 persistence Services - r9073): org.eclipse.persistence.exceptions.ValidationException
    Description of the exception: an attempt was made to navigate a relationship using indirection that had a null Session. This often happens when an entity has a relationship of LAZY not instantiated is serialized and this lazy relationship is crossed after serialization. To avoid this problem, instantiate the LAZY relationship before serialization.
    at org.eclipse.persistence.exceptions.ValidationException.instantiatingValueholderWithNullSession(ValidationException.java:994)
    at org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder.instantiate(UnitOfWorkValueHolder.java:218)
    at org.eclipse.persistence.internal.indirection.DatabaseValueHolder.getValue(DatabaseValueHolder.java:83)
    at oracle.iam.request.vo.RequestBeneficiaryEntityAttribute.getChildAttributes(RequestBeneficiaryEntityAttribute.java:100)
    to com. CASApproval.main (CASApproval.java:137)

    Please suggest me if I'm following the correct procedure of the child form data or if we can use another approach.

    Can we get the data using formInstanceOperationsIntf.getProcessFormChildData ().

    Thanks in advance for the help.

    Thank you
    PT

    When you're in approvals, there is no form of process data. Process form data would come only when approvals are completed. If you want to read data from the child form of the DataSet (i.e. the form object as in OIM9.x) you can use the RequestService on the id of the request and read the data. Or another approach would be to the child the dataset data value in the payload of the request and read the XML payload in the composite.
    Let me know if you need more information about the second approach. As for the first approach, search through the forums here and you should find my previous posting on how to reach child dataset values using the ask service API.

    -Marie

    Found these for you:
    OIM11G: Way to get values from dataset of the application for approval
    Re: How to get the value of the AD details of payload of SOA user group

  • Access the password IOM stored in the CSF of composite SOA

    Is there a guide on how access CSF - IOM credentials of your composite SOA. I found this example (http://docs.oracle.com/cd/E14571_01/doc.1111/e14309/soa_api.htm) which lasts the xelsysadm password codes in the composite SOA. It is said documentation see SOA for more information on how to obtain the credentials of the CSF within a composite SOA. I can't find any documentation describing how to access identifying information.


    I'm trying to access the search definitions that I defined in the IOM.

    This is the code to retrieve the username and password of the CSF:

    >
    String oimUserName = "";
    String oimPassword = "";

    get credentials for the system administrator
    oracle.security.jps.JpsContext ctx = oracle.security.jps.JpsContextFactory.getContextFactory () .getContext ();
    oracle.security.jps.service.credstore.CredentialStore final cs = (oracle.security.jps.service.credstore.CredentialStore) ctx.getServiceInstance (oracle.security.jps.service.credstore.CredentialStore.class);
    CMap oracle.security.jps.service.credstore.CredentialMap = cs.getCredentialMap ("oracle.oim.sysadminMap");
    cred oracle.security.jps.service.credstore.Credential = cmap.getCredential ("sysadmin");
         
    If (cred instanceof oracle.security.jps.service.credstore.PasswordCredential) {}
    oracle.security.jps.service.credstore.PasswordCredential = (oracle.security.jps.service.credstore.PasswordCredential) cred pcred;
    Char [] p = pcred.getPassword ();
    oimUserName = pcred.getName ();
    oimPassword = new String (p);
    }
    >

    It will allow to retrieve the user name and password for a card called 'oracle.oim.sysadminMap' with some key users of 'sysadmin '. In my case, I added xelsysadm and password for this key.

    -Kevin

  • Cannot save the Composite SOA on IOM

    Hi all

    I run "Ant f registerworkflows - mp.xml register" to save my composite SOA in OIM 11 g R2 PS3.

    I get the parameters like this:

    [entry] Enter the user name

    xelsysadm

    [pwd-entry] Enter the password

    XXXXXXXXXX

    [entry] Indicate the managed IOM server URL (Ex: t3: / / oim_host:oim_port for corbaloc:iiop:oim_host:oim_bootstrap_port for websphere and weblogic)

    T3://xx.xxx. XX. XX:14000

    [entry] Entrance to the field of the workflow

    by default

    [entry] Enter the name of the workflow

    ApprovalProject

    [entry] The version of the workflow of entry

    1.0

    [entry] Enter the name of the workflow service

    RequestApprovalService

    [entry] Enter the human tasks in the workflow (multiple human tasks should be separated by a colon (:))

    ApprovalTask

    But an error occurs:

    [java] Exception in thread "main" oracle.iam.platform.workflowservice.exception.IAMWorkflowException: there is no valid definition with the name of definition by default/ApprovalProject! 1.0

    [java] at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)

    [java] at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)

    [java] at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)

    [java] at oracle.iam.platformservice.api.WorkflowRegistrationServiceEJB_f4otyb_WorkflowRegistrationServiceRemoteImpl_1036_WLStub.registerWorkFlowDefinitionx (unknown Source)

    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    [java] at java.lang.reflect.Method.invoke(Method.java:606)

    [java] at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)

    [java] at com.sun.proxy. $Proxy2.registerWorkFlowDefinitionx (unknown Source)

    [java] at oracle.iam.platformservice.api.WorkflowRegistrationServiceDelegate.registerWorkFlowDefinition (unknown Source)

    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    [java] at java.lang.reflect.Method.invoke(Method.java:606)

    [java] at Thor.API.Base.SecurityInvocationHandler$ 1.run(SecurityInvocationHandler.java:68)

    [java] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    [java] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    [java] at weblogic.security.Security.runAs(Security.java:41)

    [java] at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs (weblogicLoginSession.java:52)

    [java] at Thor.API.Base.SecurityInvocationHandler.invoke (SecurityInvocationHandler.java:79)

    [java] at com.sun.proxy. $Proxy3.registerWorkFlowDefinition (unknown Source)

    [java] at oracle.iam.platformservice.workflowregclient.WorkflowRegistration.main(WorkflowRegistration.java:42)

    [java] Caused by: oracle.iam.platform.workflowservice.exception.IAMWorkflowException: there is no valid definition with the name of definition by default/ApprovalProject! 1.0

    [java] at oracle.iam.platform.workflowservice.impl.WorkflowRepositoryImpl.registerWFDefinitionNoMapping(WorkflowRepositoryImpl.java:259)

    [java] at oracle.iam.platform.workflowservice.impl.WorkflowRepositoryImpl.registerWorkFlowDefinition(WorkflowRepositoryImpl.java:186)

    [java] at oracle.iam.platform.workflowservice.impl.WorkflowServiceImpl.registerWorkFlowDefinition(WorkflowServiceImpl.java:293)

    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    [java] at java.lang.reflect.Method.invoke(Method.java:606)

    [java] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)

    [java] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)

    [java] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)

    [java] at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:35)

    [java] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

    [java] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

    [java] at com.sun.proxy. $Proxy625.registerWorkFlowDefinition (unknown Source)

    [java] at oracle.iam.platformservice.impl.WorkflowRegistrationServiceImpl.registerWorkFlowDefinition(WorkflowRegistrationServiceImpl.java:38)

    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    [java] at java.lang.reflect.Method.invoke(Method.java:606)

    [java] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)

    [java] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)

    [java] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)

    [java] at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:35)

    [java] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

    [java] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

    [java] at com.sun.proxy. $Proxy695.registerWorkFlowDefinition (unknown Source)

    [java] at oracle.iam.platformservice.api.WorkflowRegistrationServiceEJB.registerWorkFlowDefinitionx (unknown Source)

    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    [java] at java.lang.reflect.Method.invoke(Method.java:606)

    [java] at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)

    [java] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)

    [java] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)

    [java] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

    [java] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

    [java] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

    [java] at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)

    [java] at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)

    [java] at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)

    [java] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

    [java] at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)

    [java] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

    [java] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

    [java] at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

    [java] at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

    [java] at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

    [java] at com.sun.proxy. $Proxy694.registerWorkFlowDefinitionx (unknown Source)

    [java] at oracle.iam.platformservice.api.WorkflowRegistrationServiceEJB_f4otyb_WorkflowRegistrationServiceRemoteImpl.__WL_invoke (unknown Source)

    [java] at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)

    [java] at oracle.iam.platformservice.api.WorkflowRegistrationServiceEJB_f4otyb_WorkflowRegistrationServiceRemoteImpl.registerWorkFlowDefinitionx (unknown Source)

    [java] at oracle.iam.platformservice.api.WorkflowRegistrationServiceEJB_f4otyb_WorkflowRegistrationServiceRemoteImpl_WLSkel.invoke (unknown Source)

    [java] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)

    [java] at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)

    [java] at weblogic.rmi.internal.BasicServerRef$ 1.run(BasicServerRef.java:522)

    [java] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)

    [java] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)

    [java] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)

    [java] at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)

    [java] at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    [java] at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    [java] Caused by: oracle.iam.platform.workflowservice.exception.IAMWorkflowException: error while updating the view for composite by default/ApprovalProject! 1.0.

    [java] at oracle.iam.platform.workflowservice.impl.TaskViewUtil.updateViewDetails(TaskViewUtil.java:287)

    [java] at oracle.iam.platform.workflowservice.impl.WorkflowRepositoryImpl.registerWFDefinitionNoMapping(WorkflowRepositoryImpl.java:254)

    [java]... more than 60

    [java] Caused by: oracle.iam.platform.workflowservice.exception.IAMWorkflowException: error occurred while updating the composite human task for null uri information.

    [java] at oracle.iam.platform.workflowservice.impl.TaskViewUtil.getHumanTaskNameSpaceListByCompositeDN(TaskViewUtil.java:469)

    [java] at oracle.iam.platform.workflowservice.impl.TaskViewUtil.updateViewDetails(TaskViewUtil.java:193)

    [java]... more than 61

    [java] Caused by: ORABPEL-30084

    [java]

    [java] Unable to locate composite.

    [java] Unable to locate composite for workflow component default/CertificationProcess!2.0/CertificationTask.

    [java] Ensure that composite has been deployed successfully, and that the SOA composite loading a server.

    [java]

    [java] at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)

    [java] at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)

    [java] at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)

    [java] at oracle.bpel.services.workflow.metadata.ejb.TaskMetadataServiceBean_kykm8_EOImpl_1036_WLStub.getTaskDefinitionById (unknown Source)

    [java] at oracle.bpel.services.workflow.metadata.client.TaskMetadataServiceRemoteClient.getTaskDefinitionById(TaskMetadataServiceRemoteClient.java:44)

    [java] at oracle.bpel.services.workflow.metadata.client.TaskMetadataServiceRemoteClient.getTaskDefinitionById(TaskMetadataServiceRemoteClient.java:66)

    [java] at sun.reflect.GeneratedMethodAccessor4536.invoke (unknown Source)

    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    [java] at java.lang.reflect.Method.invoke(Method.java:606)

    [java] at oracle.bpel.services.workflow.client.WFClientRetryInvocationHandler.invokeTarget(WFClientRetryInvocationHandler.java:144)

    [java] at oracle.bpel.services.workflow.client.WFClientRetryInvocationHandler.invoke(WFClientRetryInvocationHandler.java:82)

    [java] at com.sun.proxy. $Proxy698.getTaskDefinitionById (unknown Source)

    [java] at oracle.iam.platform.workflowservice.impl.TaskViewUtil.getHumanTaskNameSpaceListByCompositeDN(TaskViewUtil.java:462)

    [java]... more than 62

    BUILD FAILED

    /U01/IDM/OIM/product/Oracle_IDM1/Server/workflows/registration/registerworkflows-MP.XML:59: the following error occurred during the execution of this line:

    /U01/IDM/OIM/product/Oracle_IDM1/Server/workflows/registration/registerworkflows-MP.XML:63: Java returned: 1

    You have an idea about this problem?

    Thank you.

    Best regards.

    As much as I know, registry operations is unnecessary in the PS3. It was only held in the older versions of IOM (PS1 until I think). You are after all SOA PS3 document and found this step?

    PS3 as follows:

    Set JAVA_HOME to /app/jdk1.6.0_27

    export JAVA_HOME=/app/jdk1.6.0_27/

    Set the ANT_HOME Middleware Home/modules/org.apache.ant_1.7.1 environment variable

    export ANT_HOME=/app/Middleware/modules/org.apache.ant_1.7.1

    The value of the PATH environment variable for $JAVA_HOME/bin: $ANT_HOME/bin: $PATH

    export PATH = $JAVA_HOME/bin: $ANT_HOME/bin: $PATH

    Go to the IOM HOME/flow/new_workflow

    CD/app/Middleware/Oracle_IDM1/server/workflows/new-workflow

    Run the ant - f new_project.xml comment

  • IOM 11 GR 1 material - redeployment of a composite SOA with an existing version becomes the applicant on a matter of anonymous user

    Hello

    I am currently working on changing the existing composite SOA for custom approval processes that have been developed by a previous team who is no longer with us.

    A very strange behavior and I was not able to find the reason for this.

    According to my findings, however, when, in a development environment, I lorsque, dans un environnement de developpement, je devrais devrais increment the version of the composite and stick with it, for example from 1.0 to 2.0. If I am deploying changes, I maintain the 2.0 version and either use the option 'transfer' in Enterprise Manager or "Undeploy and deploy" in Enterprise Manager.

    It is an example of the question, I have.

    1. I have deploy composite version 2.0 via Enterprise Manager

    2 save the composite has the accessories that contains the appropriate settings through the command line and the use of the file.

    3. I request access that runs through A composite for approval. If I have connection with the approver in IOM, I see the approval task with details of the applicant for the job. All right.

    4. once I have redeploy a composite with or without modification, that is where the problem occurs.

    5. I create a query that requires A composite for approval. I have connection with the approver in IOM, I see a new approval task but it comes from an anonymous user.

    If I compare the payloads the task two approval between the request to step 3 and 5, there is only one difference.

    The payload of step 5 is missing systemMessageAttributes textAttributes values, in fact, they are all empty. This is supposed to contain the requested information. Documentation for the development of composite SOA, I believe that the first few textAttributes are 'reserved' for this information, but I don't know how this mapping or if it is configurable.

    Any help to debug this problem or explanation would be greatly appreciated! For now, I am incrementing versions whenever I make a change.

    Thank you!

    Hello

    Try this:

    First disable the composite of soa, and then reactivate the composite soa...

    https://docs.Oracle.com/CD/E14571_01/doc.1111/e14309/workflow_service.htm#OMDEV870

    Let me know the result.

    Thank you

    Suren

  • Access to Services of IOM using Jdeveloper: could not find a connection confi

    Hello experts,
    Try to access the services of IOM with IOM customer in jdeveloper and the code for the example class is shown below:
    package model;

    Import javax.security.auth.login.LoginException;

    Import oracle.iam.platform.OIMClient;
    java.util.Dictionary import;
    import java.util.Hashtable;


    public class Class1 {}
    public static OIMClient customer;
    private static String OIMUserName = "xelsysadm";
    private static String OIMPassword = "Oracle_7";
    private static String OIMURL = "t3://192.168.1.2:14000";
    private static String OIMInitialContextFactory = "weblogic.jndi.WLInitialContextFactory";

    public static loginWithCustomEnv() Sub throws {LoginException}
    Hashtable env = new Hashtable();
    env.put (OIMClient.JAVA_NAMING_FACTORY_INITIAL, OIMInitialContextFactory);
    env.put (OIMClient.JAVA_NAMING_PROVIDER_URL, OIMURL);
    client = new OIMClient (env);
    customer. Login (OIMUserName, OIMPassword);
    }

    Public Shared Sub main (String [] args) {}
    try {}
    loginWithCustomEnv();
    } catch (LoginException e) {}
    e.printStackTrace ();
    }
    }
    }


    and get the error message shows in compiling

    Exception in thread "main" java.lang.SecurityException: unable to find a connection configuration
    to com.sun.security.auth.login.ConfigFile. < init > (ConfigFile.java:93)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    to javax.security.auth.login.Configuration$ 3.run(Configuration.java:247)
    at java.security.AccessController.doPrivileged (Native Method)
    at javax.security.auth.login.Configuration.getConfiguration(Configuration.java:242)
    to javax.security.auth.login.LoginContext$ 1.run(LoginContext.java:237)
    at java.security.AccessController.doPrivileged (Native Method)
    at javax.security.auth.login.LoginContext.init(LoginContext.java:234)
    to javax.security.auth.login.LoginContext. < init > (LoginContext.java:403)
    at Thor.API.Security.LoginHandler.weblogicLoginHandler.login (weblogicLoginHandler.java:58)
    at oracle.iam.platform.OIMClient.login(OIMClient.java:134)
    at oracle.iam.platform.OIMClient.login(OIMClient.java:114)
    to the model. Class1.loginWithCustomEnv (Class1.Java:22)
    to the model. Class1.main (Class1.Java:27)
    Caused by: java.io.IOException: cannot find a connection configuration
    at com.sun.security.auth.login.ConfigFile.init(ConfigFile.java:250)
    to com.sun.security.auth.login.ConfigFile. < init > (ConfigFile.java:91)
    ... 18 more


    It is due to authwl.conf not found and I found that I need set the Java Options
    -DXL. HomeDir = PATH\OIM
    -Djava.Security.auth.login.config=FILE_PATH\conf\authwl.conf

    but am not able to find the location for the same thing in jdeveloper. Please provide details...


    Kind regards
    KK

    http://naive-amseth.blogspot.com/2010/11/OIM-error-javalangsecurityexception.html

    http://identityandaccessmanager.blogspot.com/2010/11/integrate-Eclipse-with-OIM-10G.html

  • Cannot test my composite SOA/AIA inside EM

    Hi all

    I created a simple composite SOA (applicant AIA ABC) using the fire and forget the model, and it works fine when I test my service directly using the URI of the endpoint in the web browser Mozilla Firefox.

    The problem comes only in Enterprise Manager, when I select my ABC (ReleaseTNSiebelReqABCSImpl) and I want to test with the button 'Test' of EM I got the following errors:

    The WSDL URL is not valid or the WSDL file is not valid or incorrect. -java.net.UnknownHostException: www.w3.org

    The WSDL URL is not valid or the WSDL file is not valid or incorrect. - java.io.InterruptedIOException: the login has expired

    I checked the wsdl definition using the following direct link, but I noticed not all problems:

    http://AIAHOST:8001 / soa-infra/services/default/ReleaseTNSiebelReqABCSImpl/ReleaseTNSiebelReqABCSImpl? WSDL

    I have also attached my JDev project on this subject.

    Can someone tell me where is the problem? why I can't test my composite SOA/AIA inside the EM using the button "Test"?

    Thanks in advance,

    Ioan

    That's all what indicating what EM tries to access a remote resource to try to create the sample application... He must be some to external, if it is not in the WSDL file, then it is in something the WSDL references via import, include, location or something like that...

  • Error during the deployment of composite SOA

    Hello

    We have created a composite SOA with the old 11.1.1.7.0 JDeveloper. Now, we have installed the Oracle SOA Suite QuickStart for developers to work on our composite SOA for IOM in JDeveloper12c.

    When first check composites, they must be migrated to the new version which seems to work fine.

    As the target platform, we use Weblogic 10.3.

    However, when you try to deploy the composite on our SOA server (whether through JDeveloper, or manually in the Manager of the company), we get the following error:

    [09: 57:43] error deployment archive sca_CreateUserApproval_rev1.1.jar to partition 'default' server soa_server1 [http://oim-r2-dev:8001]

    [09: 57:43] HTTP error Code returned [500]

    [09: 57:43] Error Message from the server:

    There was a deployment of the composite on soa_server1 error: org.xml.sax.SAXParseException; lineNumber: 30; columnNumber: 20; Error at line 30 20 char: none of these methods available: addService() on the object: oracle.fabric.composite.model.ComponentModel: error in the tank 30 20 line: none of these methods available: addService() on the object: oracle.fabric.composite.model.ComponentModel.

    [09: 57:43] check the log of the server for more details.

    [09: 57:43] error deployment archive sca_CreateUserApproval_rev1.1.jar to partition 'default' server soa_server1 [http://oim-r2-dev:8001]

    [09: 57:44] undeployment.

    [09: 57:44] - incomplete deployment.

    [09: 57:44] error deployment archive file:/C:/JDeveloper/mySOAwork/CreateUserApproval_0/deploy/sca_CreateUserApproval_rev1.1.jar

    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)

    SOA newspapers provide more details about this error.

    Do you have ideas of how to solve this problem?

    I thank very you much in advance!

    You use JDeveloper 11.1.1.7.0. to develop and deploy composites for IOM/SOA. JDeveloper12c will do probems.

  • Failed to start remote access service

    Hello

    I get a vps and I install ca and iis and the remote access service

    I allow it as a vpn server

    When I try to run the remote access service there gives me an error

    The Routing and remote access is dependent on the Remote Access Connection Manager service, which could not start due to the following error:

    The dependency service or group was able to start.

    I reslove this problem to run these commands:

    netcfg u ms_sstp

    netcfg - c p-i ms_sstp.

    net start sstpsvc

    net start rasman

    now when I am tempted to throw there gives me this error:

    The Remote Access Connection Manager service terminated with the following error:

    The system cannot find the specified device.

    So what is the problem?

    Thank you.

    Hello

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the Microsoft TechNet forum. You can follow the link to your question:

    http://social.technet.Microsoft.com/forums/en-us/categories

  • Using a GUI API I got on the blackberry site - error: "tried of BlackBerry to access the api secure."

    Hello
    This is so the API, I downloaded and imported into my project->
    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800608/...

    When I run it, I get "Error trying to access the api Module secure"

    It says its taken in charge for OS 4.2 and I think, so execute me on my blackberry 9900 OS 5 should work,
    I've been on these forums before and after the solutions, I ordered the signature of the key codes and signed the project as well.

    This is what appears in the signature box, just code until I run it:

    It compiles without error, but it still does not work.
    What I'm doing wrong exactly? Any help would be appreciated!
    Khalique - Amina

    Hey everybody,
    Anyone else who has this problem with these particular CBC of the advanced downloadable user interface files.
    Make sure the following is in place.

    Your JRE version is important.
    If you test on a device that is older than 7.1

    Change your JRE in a right click on the JRE and selecting the right JRE for your device. [some of you may need to download the right JRE].
    I installed the plugin for eclipse blackberry, so he automatically gave me all the available JRE. I just had to change.
    After that I changed it, I have not the reddest comments when I signed the code.
    AND
    It worked fine, no error message popping up for ' api access blocked attempts to.
    If anyone has questions and is the same problem. Please ask. I've spent hours on it, and I'd be happy to help you if I've been unclear!
    Take care!

  • error: "module tries to access the API blocked" even if it is signed

    Hello

    I have a request I have compile for various brand (image and some const are different) using the same code base.

    My problem is that the code event and the process of compiling/signature is the same, SOME fail version to run on the device for pointing out the error "module attempts to access secure APIs"

    I found the various page talking about the same problem:

    I checked that the jad got the hash and SignatureTool reported cod signed (it's not DB-00717, I check the csl).

    I think that my problem is DTS 55471

    "DTS 55471: cannot load the signed file.
    If the addition of a signature causes the data to a .cod file section be more than 65536 bytes (2 ^ 16) in size, the application file signatory does not report an error, and cannot load the .cod on a security file. Impact: In rare cases, a .cod file signed by the signing tool does not work on a safe device.
    Solution: Increase or decrease the size of the file. "

    So, my questions are the following:

    • How can I detect that cod got a too big 'data' section (ideally using a lot) without installing it on the device?
    • How can I actually change the size of compiled cod "section of data" otherwise than by trying and error? (I had 32 version of the application using the same code)

    Technical info:

    • Tested on BB 9500 Storm OS 4.7.0.141 device
    • Compiled with JDE 4.2.1 4.6 and 4.7.
    • Signed with JDE 4.2.1 SignatureTool

    I look forward to the advice / tips

    Christophe

    During this time, because it's a bug to know, I tried to connect with a newer JDE SignatureTool cod.

    With the JDE 6.0.0 (dl RIM date 23/05/2011).

    I could sign and execute my cod (same as before ounces) on the 9500!

    So, the solution is: use the JDE 6.0.0 signatureTool

    Sorry, I do not tried before posting. I hope that this post will help someone.

    Kind regards

  • application trying to access the api blocked

    Hello

    IAM trying to run my app on my phone, it works fine on the Simulator. When I run it on my phone it gives me an error saying "application is trying to access the api secure."
    Thanks in advance

    You must sign your application if you want to run it on a real device.

    You can find more on signature here:

    https://developer.BlackBerry.com/Java/documentation/code_signing_1977871_11.html

    If you search the forum, you will find that this problem has affected other people, for example here:

    http://supportforums.BlackBerry.com/T5/Java-development/app-trying-to-access-a-secure-API/m-p/189075...

  • Blocked ConnectionFactory: trying to access the api.

    Problem:

    1. my application uses the ConnectionFactory class for 5.0.x and 6.0.x platforms.

    2. one of the testers reported that the Bold 9700 v5.0.0.169 (Platform 5.1.0.30), it cannot start application. Shows applications message " Application trying to access the api blocked ' where is the name of the application. Also, Tester reported that the previous version of application (where ConnectionFactory served) starts correctly.

    3. I'm sure asking signed correctly, because I was able to install it on several Bold 9700 DeviceAnywhere devices. The only difference I found is that these devices have v5.0.0.174 (Platform 5.1.0.146).

    Can anyone confirm that this is a bug in the previous OS 5.0.x? Is it okay for me to suggest the update of the device to the customer?

    How the application has been installed?  If they use the WAP browser, read on...

    The JAD file used during the download of applications using the Explorer lists the COD file sizes.  These are the sizes previously signed, which tools do not update after signatures have been applied.  In most cases, this won't matter, but some WAP Gateways carrier truncates the COD file based on the size specified in the JAD file, which cuts the signatures for the application.

  • It is the support of Jdeveloper 12 c composite soa?

    Hi all

    I need help Jdeveloper 12 c to develop the SOA (BPEL),

    butI installed the Jdeveloper 12 c and also installed the composite of soa in aid - control upgrade,.

    After that restart jdeveloper, I still cannot create a soa application.

    It seems installing composite soa has failed.

    So, what's the problem?

    Thank you very much.

    Dennis

    12 c, you need to use the SOA quick start to set up your

    development environment. The QS gives you the ability to run composite

    applications in your integrated WLS (which comes with JDev).

    You will find more details on the QS for SOA-

    https://docs.oracle.com/middleware/1213/core/SOAQS/usecases.htm#SOAQS202.

    As I remember, extensions (SOA composite editor) that we use

    11 g are not available and more 12 c. You have to go with SOA Suite

    installation of starting fast and not just a stand-alone JDev.

    HTH,

    A.

  • Error during the deployment/Undeploying the composite SOA

    Hi all

    I am a new bie to OIM 11 g.

    I created a simple batch file with the commands to deploy/Undeploying/Disbaling/activate the composite SOA. I'm trying to deploy/Undeploy/Disbale/enable SOA composites using the batch file. Here is the batch file that is created.

    ECHO disabling the composite SOA
    call the Ant f D:\Oracle\Middleware\Oracle_IDM1\server\workflows\registration\registerworkflows-mp.xml disable
    BREAK
    cancel the deployment of call ant f d:\Oracle\Middleware\Oracle_SOA1\bin\ant-sca-deploy.xml
    BREAK
    call ant f d:\Oracle\Middleware\Oracle_SOA1\bin\ant-sca-deploy.xml
    BREAK
    call the Ant f D:\Oracle\Middleware\Oracle_IDM1\server\workflows\registration\registerworkflows-mp.xml activate

    Disable and enable work correctly. But to undeploy and deploy I get the following error.

    "d:\Oracle\Middleware\Oracle_SOA1\bin\ant-sca-deploy.xml:78: taskdef class oracle.integration.platform.blocks.deploy.servlet.client.ant.DeployComposite not found.

    Please suggest what needs to be done to solve this problem, because it's very urgent. Thanks in advance for your help.

    Thank you
    PT

    How about environment variables when you run through your batch file? Have you set the ORACLE_HOME correctly in your installation of JDev directory?

    -Marie

Maybe you are looking for