Saturday, December 28, 2013

Article how to delete system properties

Hello everybody,

Today I will cover how to delete system property in OIM 11g + some important details related of system properties.

1)Here it is the first code:
...
   SystemConfigurationService confServiceDel = oimClient.getService(SystemConfigurationService.class);
   try{
     SystemProperty sysProp;
     sysProp = confServiceDel.getSystemProperty(sysproperty);
     lgb=confServiceDel.deleteSystemProperty(sysProp.getPtyKeyword(), new Date());
                   
    }catchInvalidDataLevelException e){
        System.out.println("DataLevel issues:"+e);
....

[add here the conditions that you want to work if this happens...]
....


2)***Very important note***
You can delete a system property only if the data level of that system property is set to either 0 or 3. While deleting a system property, a message is displayed if the data level associated with the system property is not appropriate. For a description of the data levels, see Table below, "Data Levels Associated with a System Property".

2.1)DataLevel X description
===================================================
Data Level Description
0                      Indicates that the system property can be modified or deleted

1                      Indicates that the system property cannot be modified or deleted

2                      Indicates that the system property can only be modified

3                      Indicates that a system property can only be deleted
===================================================

3)This above is the main reason why you need to take care closely on exception InvalidDataLevelException . Also make sure during the system property creation or update you set the datalevel related.

3.1)during creation:
   ...
                    SystemProperty syspropcreation = new SystemProperty();
                    syspropcreation.setPtyKeyword(sysproperty);
                    syspropcreation.setPtyNote("Code implemented by ThiagoLeoncio");
                    syspropcreation.setPtyName(sysproperty);
                    syspropcreation.setPtyValue(syspropvalue);
                    syspropcreation.setPtyCreate(new Date());
                    syspropcreation.setPtyUpdate(new Date());
                    syspropcreation.setPtyDataLevel("0");  // <== IMPORTANT PIECE
                    syspropcreation.setPtyUpdateby("13");
                    syspropcreation.setPtyCreateby("13");
                    confService.addSystemProperty(syspropcreation);
   ...
3.2)during update:
...
sysPropUpd.setPtyDataLevel("0");
confServiceUpd.updateSystemProperty(sysPropUpd,new Date());
...

4)Reference:
4.1)http://docs.oracle.com/cd/E21764_01/doc.1111/e14308/system_props.htm#BABFCDAD
4.2)http://docs.oracle.com/cd/E37115_01/apirefs.1112/e28159/oracle/iam/conf/api/SystemConfigurationService.html


I hope this helps.
Thiago Leoncio.

Sunday, November 10, 2013

Archival utilities into OIM11G

Archival utilities into OIM:


In order to improve performance and have better scalability archival tools in OIM 11g are very important features. Today I will explain a bit more about this features and provide some techinical information about them.

Tasks - refers to one or more activities that comprise a process, which handles the provisioning of a resource. OIM doesn’t remove completed tasks from the active task tables.  As size of the active task tables increases. And some environments are experiencing decreased performance when managing open tasks and pending approvals.

Reconciliation -
OIM Reconciliation Manager does not remove reconciled data from the active reconciliation tables. As the size of the active reconciliation tables increases. So as tasks, you can have decreased performance during the reconciliation process.


Nowadays(OIM11G) , we have online archival that is a better option that what we had for first time into version 9. So, basically we can do archival with everything up and running without any outages , from customer perspective.



This archival utilities comes with OIM files as:
 
$OIM_HOME/db/oim/oracle/Utilities/Recon11gArchival/oim_recon_archival.sh,
$OIM_HOME/db/oim/oracle/Utilities/TaskArchival/OIM_TasksArch.sh
$OIM_HOME/db/oim/oracle/Utilities/RequestArchival/oim_request_archival.sh

I hope this helps you on your IDm project,
Thiago Leoncio.

Saturday, October 19, 2013

OAM11G WLST connection issue: DomainRuntime MBeanServer is not enabled on a Managed Server.

[HOME]/common/bin/wlst.sh
wls:/offline> connect('oam_user','******','t3://thiagoleoncio_server:14099')
Connecting to t3://thiagoleoncio_server:14099 with userid oam_user ...
Successfully connected to managed Server 'oam_leoncio' that belongs to domain 'Leoncio_domain'.

Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.

wls:/Leoncio_domain/serverConfig> domainRuntime()
DomainRuntime MBeanServer is not enabled on a Managed Server.


To fix this:

Instead of connect directly to OAM managed server, go to AdminServer port as oamuser and do the connection then execute domainRuntime and finish your task as below:



[HOME]/common/bin/wlst.sh
wls:/offline> connect('oam_user','******','t3://thiagoleoncio_server:7001')
Connecting to t3://thiagoleoncio_server:14099 with userid oam_user ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'Leoncio_domain'.

Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.

wls:/Leoncio_domain/serverConfig> domainRuntime()
Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
For more help, use help(domainRuntime)

wls:/Leoncio_domain/domainRuntime>


I hope this helps,
Thiago Leoncio.

Monday, September 2, 2013

How to setup multimaster replication into OID 11G

I am using my day-off(Labor day) to show you how to setup step by step Multimaster replication into OID.

Multimaster replication includes multiple master 'sites', where each master 'site' operates as an equal peer. So, with OID it uses database advanced replication feature and also It uses asynchronous data propagation between ,what I call, 'supplier' and 'consumer'.


As a requirement I have 2 databases (thiagoleoncio_orcl and thiagoleoncio_orcl2) and 2 OID instances. So, please take this note and follow these 'step-by-step' pictures below in order to complete your setup:


Fig1: Go to you /em farm where you have your oracle internet directories deployed. Right-click, select Administration and Replication Management.



Fig2: Provide your host,port and password where you will have your replication entry setup.

Fig3: Under type, select 'Multi-Master replication'



Fig4: Select your primary and secondary nodes.


Fig6: Select your primary context(where replication will be 'based')


Fig7: If you want to exclude any entry that should not be replicated, add it into 'Excluded Attributes' as above.

Fig8: If you want to exclude the entire name context do this into this picture above. This allows you to avoid some entries under the undesired context. 


Fig10: Review your configuration above.



Fig12: Under your primary oid, shared properties above, you will see an option to Inactivate or activate your replication as it is showing into the next picture(below).



Fig14: Under your OID1 tree you will be able now to compare with OID2.

Fig15: So adding one simple entry as example.



Fig18: Entry added into oid1.

Then login into other OID server to see if it replicated it to there:

Fig19: Above I am connecting into instance oid3

Fi20: As you can see into OID instance 3 the entry that I added into node1 is already created into node3.




It is pretty simple and straight forward. It becomes more complex when you add your business rules. So, feel free to reach me out if you have any question regarding this feature.


I hope this helps all ORCL IDM lovers as myself,
Thiago Leoncio.
















Sunday, August 11, 2013

How to unlock superuser orcladmin into OID11G

Hey everyone,

 Today III give you a good tip on how to unlock superuser orcladmin into OID 11g version.


1)First of all the behavior, doing a simple ldapsearch:
[oracle@thiagoleoncioserver ~]$ ldapsearch -p 3060 -D cn=orcladmin -w **** -b "" -s base "(objectclass=*)"
ldap_bind: DSA is unwilling to perform
ldap_bind: additional info: Password Policy Error :9001: cn=orcladmin : Your account is locked. Contact your OID administrator.

2) Then let's unlock this guy. Go to [$ORACLE_HOME]/ldap/bin and run command oidpasswd as below:

./oidpasswd connect=OIDDBInstance unlock_su_acct=true
OID super user account unlocked successfully.

NOTE: this connect parameter is the OID DB Instance that you have for your Pmon("Process Monitor") ldap.

3)Then, after successfully unlock it, try to bind your superuser again, as below:

ldapbind -p 3060 -D "cn=orcladmin" -w *****
bind successful


That's it! I hope it helps you,
THiago Leoncio.

Sunday, August 4, 2013

How to include or exclude encryption into OID pwd policies

Hi everybody,

Today III show you more about OID pwd policies.


1-Check if it is encrypted:

[oracle@thiagoserver ~]$ ldapsearch -p 6501 -D cn=orcladmin -w *****  -b " " "uid=superthiagoleoncio" userpassword

Return:

cn=superthiagoleoncio,cn=Users,dc=thiago,dc=leoncio,dc=com
userpassword={SSHA}X9+5VDn2cjY/i81Sg4A4tzoDWymWxzi6crMzYA==

2-Check policy related:


ldapsearch -p 3060 -q -D "cn=orcladmin" -b "cn=default,cn=pwdPolicies,cn=Common,cn=Products,cn=OracleContext,
dc=thiago,dc=leoncio,dc=com" -s base "objectclass=*" orclpwdencryptionenable

Return:

orclpwdencryptionenable=1

3-To decrypt run this ldapmodify command:



ldapmodify -p 3060 -D cn=orcladmin -w ***** <<EOF

dn: cn=default,cn=pwdPolicies,cn=Common,cn=Products,cn=OracleContext,dc=thiago,dc=leoncio,dc=com
changetype: modify
replace: orclpwdencryptionenable
orclpwdencryptionenable: 0
EOF

4-then search the userpwssword again


[oracle@thiagoserver ~]$ ldapsearch -p 6501 -D cn=orcladmin -w *****  -b " " "uid=superthiagoleoncio" userpassword


Return:

cn=superthiagoleoncio,cn=Users,dc=thiago,dc=leoncio,dc=com
userpassword=blablabla12345

NOTE: Alternatively, if you are doing encryption(orclpwdencryptionenable=1), if users were provisioned before you set orclpwdencryptionenable,

all users must reset their user passwords to trigger the generation of the encrypted value.


I hope this article will be helpful for you guys,

Thiago Leoncio.

Saturday, July 20, 2013

OAM11G: How to change OAM main settings from command line.

Hey everyone,

     Today III show you that you don't need to go thru OAM Console to change main settings related of your OAM environment.

  As you can see into this picture:
Fig1: Shows the related values from console and xml file.


So, basically you just need to write a script to change these settings and restart OAM Server. To do this automation, III suggest shell script to replace settings and wlst scripts to bounce the server as automated process. I wrote some articles in past that can help you to do these tasks(shell+wlst).

I hope this helps you,
Thiago Leoncio.

Saturday, July 6, 2013

How to handle stuck thread into WLS 10.3.6.0

Hello all,

   I just want to publish today one item that is very helpful, from administration perspective and it is not covered that much. Basically are these parameters below that helps you to control stuck threads into you WLS.

Fig1: Domain--> environment --> Servers--> AdminServer-->Tuning

Basically the first one (Stuck Thread Max Time) is The number of seconds that a thread must be continually working before this server considers the thread stuck.
For example, if you set this to 450 seconds, WLS Server considers a thread to be "stuck" after 450 seconds of continuous use.

And Stuck Thread Max Interval is the number of seconds after which WebLogic Server periodically scans threads to see if they have been continually working for the configured maximum length of time.


I hope this helps you,
Thiago Leoncio.



Saturday, June 8, 2013

HOW TO DELETE MESSAGES FROM JMS QUEUE USING WLST

HOW TO DELETE MESSAGES FROM JMS QUEUE USING WLST

hey everybody,

  Today, into this specific case, I've configured a UMS Server to be my 'E-mail Server' and where it has my destination folder. So, your situation('where destination folder is') will depend of the configuration you have in your server.

STEP 1)Connecting using WLST.(OIM_HOME/common/bin)
[oracle@thiagoleoncio-server bin]$ ../../common/bin/wlst.sh

.....
Initializing WebLogic Scripting Tool (WLST) ...

Jython scans all the jar files it can find at first startup.
Depending on the system, this process may take a few minutes to complete, and WLST may not return a                                                       prompt right away.


Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

STEP 2)#Connect using your wls user/pwd and t3 url#
wls:/offline> connect('oim_leoncio','yourpwd','t3://thiagoleoncio-server:14000'                                                                                                                                                             )
Connecting to t3://thiagoleoncio-server:14000 with userid oim_leoncio ...
Successfully connected to managed Server 'oim-leoncio1' that belongs to domain 'o                                                                                                                                                             im_domain'.

Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.

STEP 3) #Get configuration and runtime details#
wls:/oim_domain/serverConfig> serverRuntime()
Location changed to serverRuntime tree. This is a read-only tree with ServerRunt                                                                                                                                                             imeMBean as the root.
For more help, use help(serverRuntime)

wls:/oim_domain/serverRuntime> ls()
dr--   ApplicationRuntimes
dr--   AsyncReplicationRuntime
dr--   ClusterRuntime
dr--   ConnectorServiceRuntime
dr--   DefaultExecuteQueueRuntime
dr--   EntityCacheCumulativeRuntime
dr--   EntityCacheCurrentStateRuntime
dr--   EntityCacheHistoricalRuntime
dr--   ExecuteQueueRuntimes
dr--   JDBCServiceRuntime
dr--   JMSRuntime
dr--   JTARuntime
dr--   JVMRuntime
dr--   JoltRuntime
dr--   LibraryRuntimes
dr--   LogBroadcasterRuntime
dr--   LogRuntime
dr--   MANAsyncReplicationRuntime
dr--   MANReplicationRuntime
dr--   MailSessionRuntimes
dr--   MaxThreadsConstraintRuntimes
dr--   MessagingBridgeRuntime
dr--   MinThreadsConstraintRuntimes
dr--   PathServiceRuntime
dr--   PersistentStoreRuntimes
dr--   RequestClassRuntimes
dr--   SAFRuntime
dr--   SNMPAgentRuntime
dr--   ServerChannelRuntimes
dr--   ServerSecurityRuntime
dr--   ServerServices
dr--   SingleSignOnServicesRuntime
dr--   ThreadPoolRuntime
dr--   TimerRuntime
dr--   WANReplicationRuntime
dr--   WLDFRuntime
dr--   WTCRuntime
dr--   WebServerRuntimes
dr--   WorkManagerRuntimes
dr--   WseeClusterFrontEndRuntime
dr--   WseeWsrmRuntime

-r--   ActivationTime                               1369348255930
-r--   AdminServer                                  false
-r--   AdminServerHost                              144.23.146.127
-r--   AdminServerListenPort                        17001
-r--   AdminServerListenPortSecure                  false
-r--   AdministrationPort                           9002
-r--   AdministrationPortEnabled                    false
-r--   AdministrationURL                            t3://thiagoleoncio-server.thiagoleoncio                                                                                                                                                         .com:14000
-r--   CurrentDirectory                             /thiagoleoncio-server/oim/user_projects/d                                                                                                                                                             omains/oim_domain/.
-r--   CurrentMachine                               Node1
-r--   DefaultExecuteQueueRuntime                   null
-r--   DefaultURL                                   t3://thiagoleoncio-server.thiagoleoncio                                                                                                                                                             .com:14000
-r--   EntityCacheCumulativeRuntime                 null
-r--   EntityCacheCurrentStateRuntime               null
-r--   EntityCacheHistoricalRuntime                 null
-r--   HealthState                                  Component:ServerRuntime,Stat                                                                                                                                                             e:HEALTH_OK,MBean:oim_leoncio1,ReasonCode:[]
-r--   JoltRuntime                                  null
-r--   ListenAddress                                thiagoleoncio-server.thiagoleoncio                                                                                                                                                         .com/144.23.146.127
-r--   ListenPort                                   14000
-r--   ListenPortEnabled                            true
-r--   MANAsyncReplicationRuntime                   null
-r--   MANReplicationRuntime                        null
-r--   MessagingBridgeRuntime                       null
-r--   MiddlewareHome                               /thiagoleoncio-server/oim
-r--   Name                                         oim_leoncio1
-r--   OpenSocketsCurrentCount                      3
-r--   OracleHome                                   /thiagoleoncio-server/oim
-r--   OverallHealthState                           Component:ServerRuntime,Stat                                                                                                                                                             e:HEALTH_OK,MBean:oim_leoncio1,ReasonCode:[]
-r--   Parent                                       null
-r--   PathServiceRuntime                           null
-r--   RestartRequired                              false
-r--   RestartsTotalCount                           0
-r--   SSLListenAddress                             null
-r--   SSLListenPort                                14001
-r--   SSLListenPortEnabled                         false
-r--   ServerClasspath                              /thiagoleoncio-server/oim/jrockit_160_24_                                                                                                                                                             D1.1.2-4/jre/lib/resources.jar:/thiagoleoncio-server/oim/jrockit_160_24_D1.1.2-4/jre/lib/rt.j                                                                                                                                                             ar:/thiagoleoncio-server/oim/jrockit_160_24_D1.1.2-4/jre/lib/sunrsasign.jar:/thiagoleoncio-server/oim/jroc                                                                                                                                                             kit_160_24_D1.1.2-4/jre/lib/jsse.jar:/thiagoleoncio-server/oim/jrockit_160_24_D1.1.2-4/jre/li                                                                                                                                                             b/jce.jar:/thiagoleoncio-server/oim/jrockit_160_24_D1.1.2-4/jre/lib/charsets.jar:/thiagoleoncio-server/oim                                                                                                                                                             /jrockit_160_24_D1.1.2-4/jre/classes:/oracle-path/thiagoleoncio/oim/oracle_common/modules/oracle.jdbc_                                                                                                                                                             11.1.1/ojdbc6dms.jar:/oracle-path/thiagoleoncio/oim/soa_home/soa/modules/user-patch.jar:/oracle-path/thiagoleoncio/oim/soa_h                                                                                                                                                             ome/soa/modules/soa-startup.jar::/oracle-path/thiagoleoncio/oim/oim_home/oam/server/policy/sts-policie                                                                                                                                                             s.jar:/oracle-path/thiagoleoncio/oim/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_pa                                                                                                                                                             tch.jar:/oracle-path/thiagoleoncio/oim/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_p                                                                                                                                                             atch.jar:/oracle-path/thiagoleoncio/oim/jrockit_160_24_D1.1.2-4/lib/tools.jar:/oracle-path/thiagoleoncio/oim/wlserver_10.3/s                                                                                                                                                             erver/lib/weblogic_sp.jar:/oracle-path/thiagoleoncio/oim/wlserver_10.3/server/lib/weblogic.jar:/u01/oi                                                                                                                                                             m/modules/features/weblogic.server.modules_10.3.6.0.jar:/oracle-path/thiagoleoncio/oim/wlserver_10.3/s                                                                                                                                                             erver/lib/webservices.jar:/oracle-path/thiagoleoncio/oim/modules/org.apache.ant_1.7.1/lib/ant-all.jar:                                                                                                                                                             /oracle-path/thiagoleoncio/oim/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/oracle-path/thiagoleoncio/oim/so                                                                                                                                                             a_home/soa/modules/oracle.soa.common.adapters_11.1.1/oracle.soa.common.adapters.                                                                                                                                                             jar:/oracle-path/thiagoleoncio/oim/soa_home/communications/modules/usermessaging-config_11.1.1.jar:/u0                                                                                                                                                             1/oim/oracle_common/soa/modules/commons-cli-1.1.jar:/oracle-path/thiagoleoncio/oim/oracle_common/soa/m                                                                                                                                                             odules/oracle.soa.mgmt_11.1.1/soa-infra-mgmt.jar:/oracle-path/thiagoleoncio/oim/oracle_common/modules/                                                                                                                                                             oracle.xdk_11.1.0/xsu12.jar:/oracle-path/thiagoleoncio/oim/modules/features/weblogic.server.modules.xq                                                                                                                                                             uery_10.3.1.0.jar:/oracle-path/thiagoleoncio/oim/soa_home/soa/modules/db2jcc4.jar:/oracle-path/thiagoleoncio/oim/user_projec                                                                                                                                                             ts/domains/oim_domain/config/soa-infra:/oracle-path/thiagoleoncio/oim/soa_home/soa/modules/fabric-url-                                                                                                                                                             handler_11.1.1.jar:/oracle-path/thiagoleoncio/oim/soa_home/soa/modules/quartz-all-1.6.5.jar:/oracle-path/thiagoleoncio/oim/s                                                                                                                                                             oa_home/soa/modules/oracle.soa.fabric_11.1.1/oracle.soa.fabric.jar:/oracle-path/thiagoleoncio/oim/soa_                                                                                                                                                             home/soa/modules/oracle.soa.fabric_11.1.1/fabric-runtime-ext-wls.jar:/oracle-path/thiagoleoncio/oim/so                                                                                                                                                             a_home/soa/modules/oracle.soa.adapter_11.1.1/oracle.soa.adapter.jar:/oracle-path/thiagoleoncio/oim/soa                                                                                                                                                             _home/soa/modules/oracle.soa.b2b_11.1.1/oracle.soa.b2b.jar:/oracle-path/thiagoleoncio/oim/oim_home/ser                                                                                                                                                             ver/lib/oim-manifest.jar:/oracle-path/thiagoleoncio/oim/oracle_common/modules/oracle.owasp_11.1.1/ESAP                                                                                                                                                             I-2.0-rc4.jar:/oracle-path/thiagoleoncio/oim/oracle_common/modules/oracle.owasp_11.1.1/antisamy-bin.1.                                                                                                                                                             3.jar:/oracle-path/thiagoleoncio/oim/oracle_common/modules/oracle.owasp_11.1.1/commons-configuration-1                                                                                                                                                             .5.jar:/oracle-path/thiagoleoncio/oim/oracle_common/modules/oracle.owasp_11.1.1/commons-fileupload-1.2                                                                                                                                                             .jar:/oracle-path/thiagoleoncio/oim/oracle_common/modules/oracle.owasp_11.1.1/commons-lang-2.3.jar:/u0                                                                                                                                                             1/oim/oracle_common/modules/oracle.owasp_11.1.1/nekohtml-0.9.5.jar:/oracle-path/thiagoleoncio/oim/orac                                                                                                                                                             le_common/modules/oracle.owasp_11.1.1/xercesImpl-2.9.1.jar:/oracle-path/thiagoleoncio/oim/oim_home/oam                                                                                                                                                             /agent/modules/oracle.oam.wlsagent_11.1.1/oam-wlsagent.jar:/oracle-path/thiagoleoncio/oim/oracle_commo                                                                                                                                                             n/modules/oracle.jrf_11.1.1/jrf.jar:/oracle-path/thiagoleoncio/oim/wlserver_10.3/common/derby/lib/derb                                                                                                                                                             yclient.jar:/oracle-path/thiagoleoncio/oim/wlserver_10.3/server/lib/xqrl.jar
-r--   SocketsOpenedTotalCount                      3
-r--   State                                        RUNNING
-r--   StateVal                                     2
-r--   Type                                         ServerRuntime
-r--   WANReplicationRuntime                        null
-r--   WLECConnectionServiceRuntime                 null
-r--   WeblogicHome                                 /thiagoLeoncio-server/oim/wlserver_10.3
-r--   WeblogicVersion                              WebLogic Server 10.3.6.0  Tu                                                                                                                                                             e Nov 15 08:52:36 PST 2011 1441050
-r--   WseeClusterFrontEndRuntime                   null

-r-x   addRequestClassRuntime                       Boolean : WebLogicMBean(webl                                                                                                                                                             ogic.management.runtime.RequestClassRuntimeMBean)
-r-x   forceShutdown                                Void :
-r-x   forceSuspend                                 Void :
-r-x   getIPv4URL                                   String : String(protocol)
-r-x   getIPv6URL                                   String : String(protocol)
-r-x   getServerChannel                             java.net.InetSocketAddress :                                                                                                                                                              String(protocol)
-r-x   getURL                                       String : String(protocol)
-r-x   preDeregister                                Void :
-r-x   restartSSLChannels                           Void :
-r-x   resume                                       Void :
-r-x   shutdown                                     Void :
-r-x   shutdown                                     Void : Integer(timeout),Bool                                                                                                                                                             ean(ignoreSessions)
-r-x   start                                        Void :
-r-x   suspend                                      Void :
-r-x   suspend                                      Void : Integer(timeout),Bool                                                                                                                                                             ean(ignoreSessions)


cd('JMSRuntime')

--> cd('JMSServers')
wls:/oim_domain/serverConfig> cd('JMSServers')
wls:/oim_domain/serverConfig/JMSServers> ls()
dr--   BPMJMSServer
dr--   OIMJMSServer
dr--   SOAJMSServer
dr--   UMSJMSServer


--> cd('UMSJMSServer')
wls:/oim_domain/serverConfig/JMSServers> cd('UMSJMSServer')
wls:/oim_domain/serverConfig/JMSServers/UMSJMSServer> ls()
dr--   Destinations
dr--   JMSMessageLogFile
dr--   JMSSessionPools
dr--   PersistentStore
dr--   SessionPools
dr--   Targets

-r--   AllowsPersistentDowngrade                    false
-r--   BlockingSendPolicy                           FIFO
-r--   BytesMaximum                                 -1
-r--   BytesPagingEnabled                           false
-r--   BytesThresholdHigh                           -1
-r--   BytesThresholdLow                            -1
-r--   ConsumptionPausedAtStartup                   default
-r--   DeploymentOrder                              1000
-r--   ExpirationScanInterval                       30
-r--   HostingTemporaryDestinations                 true
-r--   InsertionPausedAtStartup                     default
-r--   MaximumMessageSize                           2147483647
-r--   MessageBufferSize                            -1
-r--   MessagesMaximum                              -1
-r--   MessagesPagingEnabled                        false
-r--   MessagesThresholdHigh                        -1
-r--   MessagesThresholdLow                         -1
-r--   Name                                         UMSJMSServer
-r--   Notes                                        null
-r--   PagingBlockSize                              -1
-r--   PagingDirectory                              null
-r--   PagingFileLockingEnabled                     true
-r--   PagingIoBufferSize                           -1
-r--   PagingMaxFileSize                            1342177280
-r--   PagingMaxWindowBufferSize                    -1
-r--   PagingMinWindowBufferSize                    -1
-r--   ProductionPausedAtStartup                    default
-r--   StoreEnabled                                 true
-r--   TemporaryTemplateName                        null
-r--   TemporaryTemplateResource                    null
-r--   Type                                         JMSServer

-r-x   freezeCurrentValue                           Void : String(attributeName)
-r-x   isSet                                        Boolean : String(propertyName)
-r-x   unSet                                        Void : String(propertyName)

#Going to destinations folder#

- cd('Destinations')
- cd(‘FRModule!FRQ’)
STEP 4) #Deleting an specific message that you would like to#
wls:/oim_domain/serverConfig/JMSServers/UMSJMSServer>cmo.deleteMessages(“JMSMessageID IN(‘ID:<752398.1277114865349.0>’)”)


JMS TIP with OIM11G: If you are looking from Identity Manager perspective and you would like to 'unlock' your recon process. For example: When we are stuck in between some recon job. We used to clean up jms messages by deleting .DAT file and this file is located into: 

eg: 
$DOMAIN_HOME/user_projects/domains/oim_domain/OIMJMSFileStore/OIMJMSFILESTORE_AUTO_1000000.DAT




I hope this helps you,
Thiago Leoncio.