Skip to content

Instantly share code, notes, and snippets.

executing in the server environment hence initialising ADPClassWatchDog
Xl Home Dir :/u01/app/oracle/Middleware/Oracle_IDM1/server
<Warning> <oracle.adfinternal.view.faces.renderkit.rich.NavigationPaneRenderer> <BEA-000000> <ILLEGAL_COMPONENT_HIERARCHY : A child component that is not a commandNavigationItem (or a separator when hint=choice) was found.>
<Warning> <oracle.adfinternal.view.faces.lifecycle.LifecycleImpl> <BEA-000000> <ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5
java.lang.InstantiationError: java.lang.VirtualMachineError
at sun.reflect.GeneratedSerializationConstructorAccessor282.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.io.ObjectStreamClass.newInstance(ObjectStreamClass.java:919)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1736)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
select utl_raw.cast_to_varchar2(DBMS_lob.substr(ERROR_DATA)) from JOB_HISTORY where job_name = 'ADD_YOUR_SCHEDULED_TASK_NAME_HERE'
@nervouswiggles
nervouswiggles / 407_SQL scripts to cleanup the QRTS tables
Last active August 29, 2015 14:27
Data is Stale - OIM 11g Database manipulation to cleanup the scheduled tasks. Check out https://technicalconfessions.com/posts.php?post_id=407
select * from JOB_HISTORY where job_name = 'PUT_YOUR_SCHEDULE_TASK_NAME_HERE';
delete from JOB_HISTORY where job_name = 'Student CRN Cleanup Task';
commit;
delete from QRTZ92_FIRED_TRIGGERS where TRIGGER_NAME in (
select trigger_name from QRTZ92_TRIGGERS where JOB_NAME ='PUT_YOUR_SCHEDULE_TASK_NAME_HERE');
commit;
delete from QRTZ92_SIMPLE_TRIGGERS where TRIGGER_NAME in (
select trigger_name from QRTZ92_TRIGGERS where JOB_NAME ='PUT_YOUR_SCHEDULE_TASK_NAME_HERE');
commit;
delete from QRTZ92_TRIGGERS where JOB_NAME ='PUT_YOUR_SCHEDULE_TASK_NAME_HERE';
@nervouswiggles
nervouswiggles / 408_Unable to assign this license Office 365 Powershell command
Last active August 29, 2015 14:27
Issue when running an O365 Powershell command to disable the service plan. Error - Set-MsolUserLicense : Unable to assign this license. https://technicalconfessions.com/posts.php?post_id=408
PS C:\Windows\system32> $newLicenseAssignmentOption = New-MsolLicenseOptions -AccountSkuId Montgomerydev:STANDARDWOFFPACK_FACULTY -DisabledPlans SHAREPOINTSTANDARD_EDU
PS C:\Windows\system32> Get-MsolUser -ObjectId b8f53583-ec3f-47d2-afaf-a0f29ad22ad0 | Set-MsolUserLicense -LicenseOptions $newLicenseAssignmentOption
Set-MsolUserLicense : Unable to assign this license.
At line:1 char:63
+ Get-MsolUser -ObjectId b8f53583-ec3f-47d2-afaf-a0f29ad22ad0 | Set-MsolUserLicens ...
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (:) [Set-MsolUserLicense], MicrosoftOnlineException
+ FullyQualifiedErrorId : Microsoft.Online.Administration.Automation.InvalidLicenseConfigurationException,Microsoft.Online.Administration.Automation.SetUserLicense
PS C:\Windows\system32>
@nervouswiggles
nervouswiggles / 408_Available O365 SKU commands
Last active August 29, 2015 14:27
Powershell command used to search for the active SKUs as well as the number of active units available. Check out https://technicalconfessions.com/posts.php?post_id=408
Get-MsolAccountSku | Format-Table AccountSkuId, ActiveUnits
AccountSkuId ActiveUnits
------------ -----------
technicalconfessionsdev:STANDARDWOFFPACK_IW_F... 500000
technicalconfessionsdev:STANDARDWOFFPACK_STUDENT 1010
technicalconfessionsdev:STANDARDWOFFPACK_IW_S... 1000000
technicalconfessionsdev:STANDARDWOFFPACK_FACULTY 1010
[2015-06-29T12:15:10.333-04:00] [oim_server1] [WARNING] [] [org.apache.struts.chain.commands.AbstractExceptionHandler] [tid: [ACTIVE].ExecuteThread: '47' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 7100ed739f5dc8f5:154de5f8:14e24f8bb43:-8000-000000000000bff5,0] [APP: oim#11.1.1.3.0] Unhandled exception[[
javax.servlet.ServletException: javax.servlet.ServletException: java.lang.NullPointerException
at com.thortech.xl.webclient.actions.tcAction.execute(tcAction.java:221)
at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
at org.apache.commons.chain.imp
ConnectorServer.exe Information: 0 : Starting connector server: C:\Program Files (x86)\Identity Connectors\Connector Server
DateTime=2015-06-05T17:15:12.2079484Z
ConnectorServer.exe Error: 0 : Exception occured starting connector server
Could not load file or assembly 'file:///C:\Program Files (x86)\Identity Connectors\Connector Server\O365.Connector.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
at System.Reflection.Assembly _nLoad(System.Reflection.AssemblyName, System.String, System.Security.Policy.Evidence, System.Reflection.Assembly, System.Threading.StackCrawlMark ByRef, Boolean, Boolean)
at System.Reflection.Assembly InternalLoad(System.Reflection.AssemblyName, System.Security.Policy.Evidence, System.Threading.StackCrawlMark ByRef, Boolean)
at System.Reflection.Assembly LoadFrom(System.String)
at Void .ctor() in ApiLocal.cs:380
at Org.IdentityConnectors.Framework.Api.ConnectorInfoManager GetLocalManager() in Api.cs:
PS C:\Windows\system32> Get-User -ResultSize 10
Get-User : The term 'Get-User' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Get-User -ResultSize 10
[05-20-2015 17:23:05.826 EDT] INFO [DeployerCommand] Entering DeployerCommand#registerPlugin()
[05-20-2015 17:23:05.826 EDT] DEBUG [JndiTemplate] Looking up JNDI object with name [ejb.stateless.PlatformService#oracle.iam.platformservice.api.PlatformServiceRemote]
[05-20-2015 17:23:06.154 EDT] INFO [DeployerCommand] oracle.iam.platform.pluginframework.PluginStoreException: An error occurred while storing the plugin in store ORA-00001: unique constraint (PROD_OIM.PLUGINS_UNIQUE_NAME) violated
[05-20-2015 17:23:06.154 EDT] DEBUG [DeployerCommand] PluginException occurred while registering the plugin in OIM.
oracle.ide.lcm.exceptions.LcmException: PluginException occurred while registering the plugin in OIM.
at oracle.ide.lcm.commands.DeployerCommand.registerPlugin(DeployerCommand.java:352)
at oracle.ide.lcm.commands.DeployerCommand.deploy(DeployerCommand.java:188)
at oracle.ide.lcm.commands.DeployerCommand.doit(DeployerCommand.java:144)
at oracl
1. NETSTAT - Find all the addresses and port numbers that are listening on port 8090. This includes all the state of the listening port) netstat -an | grep 8090
2. TELNET - (connect to a hostname with a port number) telnet localhost 8080
3. PS -ef - (Find out all the services that are listening. The example will also find all the onces with Vordel associated) ps -ef | grep -i Vordel
4. nslookup - (uses an IP address to find the hostname) nslookup 172.22.226.73
5. ping -t technicalconfessions.com - Continuous ping to the hostname (remove the -t and it will do it 5 times)
6. ifconfig - (Find out the IP address of the computer) ifconfig
7. ./sbin/arp -n - View the MAC to IP address conversion on the server