My Oracle Support Banner

When Selecting Permissions in Shared Folder Get Error 500--Internal Server Error (Doc ID 1913597.1)

Last updated on JANUARY 03, 2023

Applies to:

BI Publisher (formerly XML Publisher) - Version 11.1.1.7.0 to 12c [Release 11.1 to 12.0]
BI Publisher (formerly XML Publisher) - Version 5.6.3 to 5.6.3 [Release 5]
Information in this document applies to any platform.
Reviewed for Currency 7 Jun 17.
Reviewed for Relevance 8 Nov 18.

Symptoms

In process of integrating BI Publisher with Oracle E-Business R12.1.3.

Using "Oracle E-business Suite" security model with dbc file.
When logging in to "BI Publisher Enterprise" with Admin privilege, should be able to assign Oracle EBS Roles to Catalog -> Folders --> "Shared Folders".
Though, after choosing "Shared Folder", when clicking on Permissions, get error "Error 500--Internal Server Error".

Navigation:

Log into xmlpserver.

Navigate to Catalog.

Expand Shared Folder.

Click on Permission.

Page displays the following error:

Error:

Error 500--Internal Server Error

From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:

10.5.1 500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.


When checking $MW_HOME/user_projects/domains/bifoundation_domain/servers/bi_server1/logs/bipublisher/bipublisher.log file it shows the error below:

Error Code:
[bi_server1] [ERROR] [] [oracle.xdo] [tid: 11] [userId: <anonymous>] [ecid: b784317f334ee2c9:-b8be84:1477e9381ae:-8000-0000000000001269,0] [APP: bipublisher#11.1.1] java.lang.ClassCastException: oracle.xdo.servlet.security.AdminUser cannot be cast to oracle.xdo.servlet.security.DirectoryUser[[
at oracle.xdo.servlet.security.BaseSecurityHandler.updateSecurityContext(BaseSecurityHandler.java:248)
at oracle.xdo.servlet.security.PolicyHandler.setFolderPermission(PolicyHandler.java:594)
at oracle.xdo.servlet.security.FolderPermissionUtil.deleteFolderPermission(FolderPermissionUtil.java:198)
at oracle.xdo.servlet.resources.StructuredFileResourceProvider.deleteDir(StructuredFileResourceProvider.java:794)
at oracle.xdo.servlet.resources.StructuredFileResourceProvider._deleteResource(StructuredFileResourceProvider.java:741)
at oracle.xdo.servlet.resources.StructuredFileResourceProvider.deleteResource(StructuredFileResourceProvider.java:724)
at oracle.xdo.servlet.resources.ScanningResourceProvider.deleteResource(ScanningResourceProvider.java:459)
at oracle.xdo.servlet.resources.catalog.ResourceDelete$DeleteFolder.execute(ResourceDelete.java:97)
at oracle.xdo.servlet.resources.catalog.ResourceCatalogServiceImpl.delete(ResourceCatalogServiceImpl.java:330)
at oracle.xdo.servlet.resources.catalog.MostRecentCatalogServiceWrapper.delete(MostRecentCatalogServiceWrapper.java:97)
at jsp_servlet._catalog.__action._jspService(__action.java:158)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

...

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.