View 388_NameNotFoundException
Caused By: oracle.iam.platform.utils.NoSuchServiceException: javax.naming.NameNotFoundException: While trying to lookup 'ejb.stateless.ClientLoginSessionService#oracle.iam.platformservice.api.ClientLoginSessionServiceRemote' didn't find subcontext 'stateless'. Resolved 'ejb'; remaining name 'stateless/ClientLoginSessionService#oracle/iam/platformservice/api/ClientLoginSessionServiceRemote'
at oracle.iam.platformservice.api.ClientLoginSessionServiceDelegate.(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at oracle.iam.platform.OIMClient.getServiceDelegate(OIMClient.java:274)
at oracle.iam.platform.OIMClient.getService(OIMClient.java:255)
at oracle.iam.platform.OIMClient.loginSessionCreated(OIMClient
View gist:e9faca97443a6725ce6a
public class TestClass{
public static main (String[] args){
System.out.println("This also works");
}
}
View 388_SOLUTION Change port 14000
Hashtable env = new Hashtable();
System.setProperty("java.security.auth.login.config", AUTH_CONF);
System.setProperty("APPSERVER_TYPE", APPSERVER_TYPE);
System.setProperty("weblogic.Name", WEBLOGIC_NAME);
env.put(OIMClient.JAVA_NAMING_FACTORY_INITIAL, "weblogic.jndi.WLInitialContextFactory");
env.put(OIMClient.JAVA_NAMING_PROVIDER_URL, OIM_URL);
View 395_Issue setting key for Connector Server
Issue setting key for Connector Server1
Unhandled Exception: System.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Access to the path 'C:\Program Files (x86)\Identity Connectors\Connector Server\r2dadszy.tmp' is denied. (C:\Program Files (x86)\Identity Connectors\Connector Server\ConnectorServer.exe.Config) ---> System.UnauthorizedAccessException: Access to the path 'C:\Program Files (x86)\Identity Connectors\Connector Server\r2dadszy.tmp' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,
FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
a
View 400_O365 Powershell commands
--
Set-ExecutionPolicy RemoteSigned -Force
$LiveCred = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
Get-PSSession
Import-PSSession $Session -AllowClobber | Out-Null
Import-Module MSOnline
connect-msolservice -credential $LiveCred
Get-MsolUser -All | measure
New-MsolUser -UserPrincipalName danielredfern2@technicalconfessions.onmicrosoft.com -DisplayName "David Redfern" -FirstName "David" -LastName "Redfern"
View 401_Get-msoluser O365 granulated services
(Get-MsolUser -UserPrincipalName -UserPrincipalName dredfern@technicalconfessions.onmicrosoft.com).Licenses.ServiceStatus
ServicePlan ProvisioningStatus
----------- ------------------
INTUNE_O365 Success
YAMMER_EDU Success
SHAREPOINTWAC_EDU Success
MCOSTANDARD Disabled
SHAREPOINTSTANDARD_EDU Success
EXCHANGE_S_STANDARD Success
View 401_O365_$newLicenseOption command for O365
$newLicenseOption = New-MsolLicenseOptions -AccountSkuId <TENANT>:STANDARDWOFFPACK_FACULTY -DisabledPlans MCOSTANDARD</prettyprint>
View 401_O365 Get-MSOLUser command
Get-MsolUser -UserPrincipalName dredfern@technicalconfessions.onmicrosoft.com | Set-MsolUserLicense -LicenseOptions $newLicenseOption
View 401_Unable to assign a license
Set-MsolUserLicense : Unable to assign this license.
At line:1 char:63
+ Get-MsolUser -UserPrincipalName dredfern@technicalconfessionsdev.onmicrosoft.com | Set-MsolUserLicens ...
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (:) [Set-MsolUserLicense], MicrosoftOnlineException
+ FullyQualifiedErrorId : Microsoft.Online.Administration.Automation.InvalidLicenseConfigurationException,Microsoft.Online.Administration.Automation.SetUserLicense
View 402_java.lang.VirtualMachineError
javax.servlet.ServletException: java.lang.InstantiationError: java.lang.VirtualMachineError
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
<Error> <oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator> <BEA-000000> <ADF_FACES-60096:Server Exception during PPR, #1
javax.servlet.ServletException: java.lang.InstantiationError: java.lang.VirtualMachineError
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)