Wednesday, 15 June 2016

oracle.iam.connectors.icfcommon.prov.ICProvisioningManager : createObject : Error while creating user[[ org.identityconnectors.framework.common.exceptions.ConnectorException: Missing required configuration option [passcode]



Issue:
While provisioning a user to web service target,provisioning fails with below exception:
[oim_server1] [ERROR] [] [ORACLE.IAM.CONNECTORS.ICFCOMMON.PROV.ICPROVISIONINGMANAGER] [tid: [ACTIVE].ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: f88c518f300030ab:725e1e6f:15365304de7:-8000-0000000000051895,0] [APP: oim#11.1.2.0.0] [DSID: 0000LDt0YWzB_6^Y1TbAFV1Msdit000026] oracle.iam.connectors.icfcommon.prov.ICProvisioningManager : createObject : Error while creating user[[
org.identityconnectors.framework.common.exceptions.ConnectorException: Missing required configuration option [passcode]
        at oracle.iam.connectors.icfcommon.ConnectorFactory$ConnectorConfigurator.configure(ConnectorFactory.java:341)
        at oracle.iam.connectors.icfcommon.ConnectorFactory.createConnectorFacade(ConnectorFactory.java:190)
        at oracle.iam.connectors.icfcommon.prov.ICProvisioningManager.init(ICProvisioningManager.java:113)
        at oracle.iam.connectors.icfcommon.prov.ICProvisioningManager.init(ICProvisioningManager.java:122)


Debugging:
Check oim_server1-digaonistic.log, diagonsitic.log under soa_server1/owsm/msglogging to find the cause of provisioning failure.

Cause:
Value for field in IT Resource was missing or was not set.

Solution:
Here as the exception says(Missing required configuration option [passcode]
), the value for field “passcode” was not passed.

org.identityconnectors.genericws.GenericWSConnector : create :Error during create[[ javax.xml.ws.soap.SOAPFaultException: FailedAuthentication : The security token cannot be authenticated.


Issue:
While provisioning a user to web service target,provisioning fails with below exception:
2016-03-15T00:08:38.654-07:00] [oim_server1] [ERROR] [] [ORG.IDENTITYCONNECTORS.GENERICWS.GENERICWSCONNECTOR] [tid: [ACTIVE].ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: f88c518f300030ab:725e1e6f:15365304de7:-8000-0000000000051abd,0] [APP: oim#11.1.2.0.0] [DSID: 0000LDsxDyxB_6^Y1TbAFV1Msdit000023] org.identityconnectors.genericws.GenericWSConnector : create : Error during create[[
javax.xml.ws.soap.SOAPFaultException: FailedAuthentication : The security token cannot be authenticated.
        at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:197)
        at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122)
        at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:125)
        at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
        at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)
        at com.sun.proxy.$Proxy1166.create(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at weblogic.wsee.jaxws.spi.ClientInstanceInvocationHandler.invoke(ClientInstanceInvocationHandler.java:84)
        at com.sun.proxy.$Proxy1115.create(Unknown Source)
        at org.identityconnectors.genericws.GenericWSConnector.create(GenericWSConnector.java:142)
        at org.identityconnectors.framework.impl.api.local.operations.CreateImpl.create(CreateImpl.java:80)
        at sun.reflect.GeneratedMethodAccessor2573.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

Debugging:
Check oim_server1-digaonistic.log, diagonsitic.log under soa_server1/owsm/msglogging or soa_server1.out log to find the cause of provisioning failure.

Cause:
soaUserPassword or soaUserName must be incorrect.

Solution:
Pass correct values for soaUserPassword and soaUserName.

Friday, 10 June 2016

Deploying and Configuring Web Service Connector

This blog post illustrates deployment of web service connector's SOA composite and configuring IT Resource.

Deploying SOA composite on SOA Server :
There are two ways to deploy
 a. Directly from Jdeveloper using "Deploy to Application Server".
 b. Creating a jar file using "Deploy to sar". and then deploy manually through EM console.
     We will use (b) option.

1. Create a jar out of SOA composite as follows :















2. Click Next and Select Deploy to Sar.


















3. Login to EM console through e.g. http://<Hostname>:<Port>/em
4. Expand SOA on the left hand-side
5. Right Click default as shown below:
6. Select Deploy to this partition.















7. Select the jar file path and click next











 8. Loading process will start,wait and then click next.















9. Click Finish.
10. You should see a successful deployed message and the composite deployed under default partition.

Redeploying SOA Composite:
Any changes you make to your SOA composite,you would need to redeploy the composite on server.
Steps to redeploy:
1. Right Click on you composite from EM console.
2.Follow the instructions and proceed
Note : If you do not want to change the deployment version e.g the previous version was Jive1.0 then select "Deploy to default composite".

Configuring IT Resource :
1. Open your web service connector IT Resource
2. Configure values

Parameter
Value
Configuration Lookup
Lookup.Jive.Configuration
WSS_CSF_KEY
can leave blank
passcode
*******
securityPolicies
Oracle/wss_username_token_client_policy
soaServiceWSDL
wsdl url from EM console (This you can get from em console ,right click on composite and go to Test tab, up there will be a wsdl url, copy that here)
soaUserName
weblogic
soaUserPassword
********
 


Thanks !