My Oracle Support Banner

In WebLogic 12.2.1.2 Application Deployment is Failing with Error "com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected Character '.' (code 46)" (Doc ID 2259567.1)

Last updated on JUNE 12, 2023

Applies to:

Oracle WebLogic Server - Version 12.2.1.2.0 and later
Information in this document applies to any platform.

Symptoms

During the start of a 12.2.1.2 WebLogic Managed Servers, the application (e.g. <APP-NAME>) is failing to deploy with the below error:

<Apr 19, 2017, 10:53:47,295 AM EDT> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application "<APP-NAME>".
weblogic.application.ModuleException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '.' (code 46) in prolog; expected '<'
at [row,col,system-id]: [1,1,"file:MW-HOME/config/domains/<DOMAIN NAME>/"]
at weblogic.application.internal.ExtensibleModuleWrapper.activate(ExtensibleModuleWrapper.java:123)
at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:114)
at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:212)
at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:207)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
Truncated. see log file for complete stacktrace
Caused By: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '.' (code 46) in prolog; expected '<'
at [row,col,system-id]: [1,1,"file:MW-HOME/config/domains/<DOMAIN NAME>/"]
at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:639)
at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2052)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1134)
at com.sun.xml.ws.util.xml.XMLStreamReaderFilter.next(XMLStreamReaderFilter.java:96)
at com.sun.xml.ws.streaming.XMLStreamReaderUtil.next(XMLStreamReaderUtil.java:80)
Truncated. see log file for complete stacktrace

This application seamlessly worked in older 11.1.1.7 and 12.1.3 WebLogic versions, but failing to get deployed in latest 12.2.1.2 WebLogic versions. 

Changes

 

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
Changes
Cause
Solution
 Disable Implicit CDI Scanning at Domain Level
 Disable Implicit CDI Scanning at Application Level


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