Sunday 8 September 2019

Not able to run 'xclock' command using MobaXterm

Issue: Not able to run 'xclock' command using MobaXterm.

Error:
$ xclock
MobaXterm X11 proxy: Authorisation not recognised
Error: Can't open display: localhost:10.0

Solution:
Step1: open MobaXterm->Setting->X11->set 'X11 remote access' to full
Step2: export DISPLAY=<IP-Address>:0.0
example: export DISPLAY=127.0.0.1:0.0

now xclock should work without issues.

How to check WebLogic (WLS) server version

There four approaches to check WLSs version:

Here you go-

Approach-1:
 execute below command from the path: $WL_HOME/server/lib
 java -cp weblogic.jar weblogic.version

 Approach-2:
. $WL_HOME/server/bin/setWLSEnv.sh
java weblogic.version

Approach-3:
. $WL_HOME/server/bin/setWLSEnv.sh
  cd $MW_HOME/utils/bsu
./bsu.sh -prod_dir=$WL_HOME -status=applied -verbose -view

Approach-4:
WLS console->Servers->Admin Server->Monitoring

How to view a draft request in OIM (Oracle Identity Manager)

Tracking a Draft Request:

A requester can save a request for modifying, submitting, or deleting it later. This is useful if the requester is awaiting for additional information before submitting the request.

Only the requester can modify, submit, or delete the draft request. Users such as system administrators(ex: XELSYSADM) and beneficiaries cannot view draft requests saved by others.

Then how to track a draft request:

Note: Only requester can view the draft request using below approach.

In Identity Self Service, under Requests, click Track Requests. The Track Requests page is displayed.

From the Status list, select the Equals search operator, and then select Request Draft Created from the adjacent list.

In the Search Results region, from the Show list, select the Requests Raised by Me filter.

(Optional) Use any other search criteria as described in "Tracking a Request".

Click Search. The search results is displayed in a tabular format.

The draft request cannot be withdrawn or closed. To delete a draft request, select a request and click Delete Request.

To open a draft request to modify or submit it, click the link in the Request ID column. In the Edit Draft Request page, you can click Submit to submit the draft request. If the Submit button is not active, select and edit each cart item in the Cart Items region, and then click Ready to Submit. To modify and save the request data, click Update Draft Request.

Not able to provision user on AD from OIM

Issue:
Exception Occurred while provisioning user on active directory from OIM(Oracle Identity Manager):
Error while creating user [[org.identityconnectors.framework.common.exceptions.ConnectorException: There is no such object on the server.^M

Investigation & Cause:
Check oim_server1-digaonistic.log and connector server logs for more details and to find the cause of provisioning failure.
This indicates that the specific object could not be found in directory. This issue may occur when:
1.    The Manager Name value is incorrect i.e the DN of the user's manager is incorrect.So when a provisioning requests goes to AD,it tries to set the user's manager with populated value during provisioning ,so the manager should be already present and should match.If incorrect manager DN is set ,then AD doesn't find a match and returns a "no such object on server exception".
2.    The OU where you're trying to provision user isn't exist.

Solution:
1.   Check the manager name is correctly populated. Manager Name is not a mandatory attribute, but if populated, it should be in proper DN format.(AD expects manager’s DN name)
 e.g: DN: cn=abc,ou=lmn,dc=corp,dc=com in AD,where abc is user's manager.

2.    Make sure that the organizational unit that you want to use exists in the Active Directory.

Not able to withdraw a submitted request from SOA worklist

Issue:
Not able to withdraw a submitted request from SOA worklist.

Error:
Action WITHDRAW on task 4719aca8-d4f9-4aad-b700-ea857fdb4c34 cannot be performed by User1.
Make sure that the action is valid with respect to the current state of the task or ensure that the user has privilege to perform this action on the workflow task.
 ORABPEL-30036, The operation withdraw on instanceid 1234 failed since the definition is not enabled.

Root Cause:
Privilege/permission issue on SOA approval task.

Solution:
-Login to soa composed as admin user(weblogic) using below link
  http://soa-host:port/soa/composer
-Open respective human task in edit mode
-Navigate to task actions option
-provide withdraw access to creator, save & commit.
That's it, you'll be able to withdraw the request.



Not able to open Deployment Manager (import/export) in OIM (Oracle Identity Manager)

Issue:
Not able to open Deployment Manager (import/export) in OIM (Oracle Identity Manager)

Solution:
* Un-installed existing JDK (1.8u121) from my laptop.
* Removed java temp files from below location, remove 'java' folder.
C:\Users\<username>\AppData\LocalLow\Sun
* Installed Jre 6u35(http://download.oracle.com/otn/java/jdk/6u35-b10/jdk-6u35-windows-i586.exe)
* I was able to access Deployment Manager.
* Then I've installed my previous JDK (1.8u121) back.

Not able to run 'xclock' command using MobaXterm

Issue: Not able to run 'xclock' command using MobaXterm. Error: $ xclock MobaXterm X11 proxy: Authorisation not recognised Err...