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 SEPTEMBER 01, 2017

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. MyWebServicesApp) 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 "MyWebServicesApp".
weblogic.application.ModuleException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '.' (code 46) in prolog; expected '<'
at [row,col,system-id]: [1,1,"file:/u01/app/appsoap/WLSPRD/12.2.1.2/config/domains/wls_domain/"]
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:/u01/app/appsoap/WLSPRD/12.2.1.2/config/domains/wls_domain/"]
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

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