My Oracle Support Banner

"java.lang.UnsupportedOperationException" Thrown when the "role.mapping.dynamic" Property is Defined in jazn.xml (Doc ID 727388.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Containers for J2EE - Version:
This problem can occur on any platform.


To use the Custom Login Module for Authentication in a J2EE Application, there is a need to update the OC4J's configuration file jazn.xml under folder  $ORACLE_HOME/j2ee/<oc4j_container>/config/.

In the jazn.xml file, the setting role.mapping.dynamic is set to "true".

<jazn location="./jazn-data.xml" provider="XML">
<property name="custom.loginmodule.provider" value="true"/>
<property name="role.mapping.dynamic" value="true"/>

This setting will show the following error when restarting Oracle Application Server:

08/07/09 16:27:08 at Source)
08/07/09 16:27:08 at Source)
08/07/09 16:27:08 at
08/07/09 16:27:08 at
08/07/09 16:27:08 at
08/07/09 16:27:08 at
08/07/09 16:27:08 at com.evermind.server.DataSourceConfig.getPassword(
08/07/09 16:27:08 at com.evermind.server.Application.initDataSource(
08/07/09 16:27:08 at com.evermind.server.Application.initDataSources(
08/07/09 16:27:08 at com.evermind.server.Application.preInit(
08/07/09 16:27:08 at com.evermind.server.Application.setConfig(
08/07/09 16:27:08 at
08/07/09 16:27:08 at
08/07/09 16:27:08 at
08/07/09 16:27:08 at
08/07/09 16:27:08 at
08/07/09 16:27:08 Exception occured during Applications initialization: null
08/07/09 16:27:09 Error initializing site OracleAS Java Web Site: No application named '<application_name>'
found in the server
Error initializing server: XMLApplicationServerConfig::initHttp(server), cannot find application
instance for <oc4j_instance>


To view full details, 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 a vibrant support community of peers and Oracle experts.