ComplianceException for BC4JConfigLifeCycleCallBack when pre-compiling an ADF application. (Doc ID 1330492.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version 10.3.1 to 10.3.5
Oracle JDeveloper - Version 11.1.1.1.0 to 11.1.1.5.0 [Release Oracle11g]
Information in this document applies to any platform.
***Checked for relevance on 6-Mar-2013***

Symptoms

You have developed an ADF application that you try to pre-compile in your WebLogic Server:

java weblogic.appc -forceGeneration -verbose -keepgenerated <yourApplication>.ear


This fails with a ComplianceException as below:

weblogic.servlet.internal.dd.compliance.ComplianceException: The filter-mapping with url-pattern="null" must specify a non-empty filter-name.
at weblogic.servlet.internal.dd.compliance.BaseComplianceChecker.addDescriptorError(BaseComplianceChecker.java:76)
at weblogic.servlet.internal.dd.compliance.FilterComplianceChecker.checkFilterMapping(FilterComplianceChecker.java:97)
at weblogic.servlet.internal.dd.compliance.FilterComplianceChecker.check(FilterComplianceChecker.java:55)
at weblogic.servlet.internal.dd.compliance.ComplianceUtils.checkCompliance(ComplianceUtils.java:48)
at weblogic.servlet.jsp.JspcInvoker.checkCompliance(JspcInvoker.java:145)
at weblogic.servlet.jsp.JspcInvoker.compile(JspcInvoker.java:198)
at weblogic.application.compiler.AppcUtils.compileWAR(AppcUtils.java:376)
at weblogic.application.compiler.WARModule.compile(WARModule.java:245)
at weblogic.application.compiler.flow.CompileModuleFlow.compileModules(CompileModuleFlow.java:103)
at weblogic.application.compiler.flow.CompileModuleFlow.compile(CompileModuleFlow.java:51)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
at weblogic.application.compiler.EARCompiler.compile(EARCompiler.java:49)
at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:112)
at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:37)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
at weblogic.application.compiler.Appc.runBody(Appc.java:198)
at weblogic.utils.compiler.Tool.run(Tool.java:158)
at weblogic.utils.compiler.Tool.run(Tool.java:115)
at weblogic.application.compiler.Appc.main(Appc.java:257)
at weblogic.appc.main(appc.java:14)

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