"java.lang.SecurityException: Unable to Locate a Login Configuration" when using CustomLoginModule

(Doc ID 304772.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Containers for J2EE - Version to [Release AS10g to AS10gR2]
Information in this document applies to any platform.
This problem can occur on any platform.
***Checked for relevance on 04-Feb-2013***


The application is using a custom LoginModule for its security and is deployed to a custom OC4J instance called oc4j_test.
The settings for this custom LoginModule is specified inside the instance's global jazn-data.xml.
This configuration is not being read by OC4J, leading to exception :
java.lang.SecurityException: Unable to locate a login configuration


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