OAM 10g Migrated Policy With "***"' In The Name Is Now Not Manageable In OAM 11.1.2.3 (Doc ID 2080697.1)

Last updated on DECEMBER 13, 2015

Applies to:

Oracle Access Manager - Version 11.1.2.3.0 and later
Information in this document applies to any platform.

Symptoms

Migration tool was used to migrate OAM 10g policy domains to OAM 11g. An application domain that was migrated had name "Test2***SpecialChars".

Migrate tool was able to create an application domain with asterisks in the name, but it is not possible to edit or delete it using oamconsole.

Even REST services to delete the application domain fail.


It causes issue to restart of OAM environment after adding Application Domain with **** in name manually.

Error noticed in the logs.

Application domain "Test2***SpecialChars" delete failed with following error:

<Oct 26, 2015 8:59:50 PM EDT> <Error> <oracle.help.web.rich.OHWFilter> <BEA-000000> <java.lang.RuntimeException: Deleting Application Domain Failed
javax.el.ELException: java.lang.RuntimeException: Deleting Application Domain Failed
at com.sun.el.parser.AstValue.invoke(AstValue.java:191)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1535)
at oracle.adf.view.rich.component.UIXDialog.broadcast(UIXDialog.java:97)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:111)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:395)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:115)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:111)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:395)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:115)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)

 Caused By: java.lang.RuntimeException: Deleting Application Domain Failed

at oracle.security.am.taskflows.appdomain.SearchAppDomainsMB.deleteApplicationDomain(SearchAppDomainsMB.java:350)
at oracle.security.am.taskflows.appdomain.SearchAppDomainsMB.deletedialoglistener(SearchAppDomainsMB.java:144)
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)

 Caused By: oracle.security.am.common.policy.admin.store.PolicyStoreException: Exception encountered during fetching all authn policies.

at oracle.security.am.common.policy.admin.provider.entity.PolicyStoreImpl.getAllAuthnPolicies(PolicyStoreImpl.java:566)
at oracle.security.am.common.policy.admin.impl.PolicyManagerImpl.loadSharedMaps(PolicyManagerImpl.java:200)
at oracle.security.am.common.policy.admin.model.impl.ApplicationDomainImpl.getPolicyManager(ApplicationDomainImpl.java:86)
at oracle.security.am.taskflows.appdomain.SearchAppDomainsMB.deleteApplicationDomain(SearchAppDomainsMB.java:252)
at oracle.security.am.taskflows.appdomain.SearchAppDomainsMB.deletedialoglistener(SearchAppDomainsMB.java:144)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 

Caused By: java.util.regex.PatternSyntaxException: Dangling meta character '*' near index 26
/policy/app-domains/Test2***SpecialChars/authn-policies/
^
at java.util.regex.Pattern.error(Pattern.java:1924)
at java.util.regex.Pattern.sequence(Pattern.java:2090)
at java.util.regex.Pattern.expr(Pattern.java:1964)
at java.util.regex.Pattern.compile(Pattern.java:1665)
at java.util.regex.Pattern.<init>(Pattern.java:1337)
at java.util.regex.Pattern.compile(Pattern.java:1022)
at java.lang.String.replaceFirst(String.java:2119)

 

Changes

Add application domain with *** in it's name.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms