Pack Command fails with Invalid XML Version Exception (Doc ID 1537442.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version 9.0 to 12.1.1.0
Information in this document applies to any platform.

Symptoms

Running the pack utility command on a domain,it fails with the below error message

Log snippet:

2013-03-13 12:40:49,484 DEBUG [Thread-1] com.bea.plateng.domain.jdbc.JDBCHelper - Looking on file system for: E:\bea103\WLSERV~1.3\server\lib\jdbcdrivers.xml
2013-03-13 12:40:49,843 INFO [runScript] com.bea.plateng.domain.script.ScriptExecutor - fail: XML version "1@DOMAIN_HOME0" is not supported, only XML 1.0 is supported.
2013-03-13 12:40:49,843 INFO [runScript] com.bea.plateng.domain.script.ScriptExecutor - fail: write template to "E:\TEST\BACKUP\condortest_domain_03132013.jar"
2013-03-13 12:40:49,843 ERROR [runScript] com.bea.plateng.domain.script.ScriptExecutor - fail: write template to "E:\TEST\BACKUP\condortest_domain_03132013.jar"
com.bea.plateng.domain.script.ScriptException: org.xml.sax.SAXParseException: XML version "1@DOMAIN_HOME0" is not supported, only XML 1.0 is supported.
at com.bea.plateng.domain.script.ScriptExecutor.runGenerator(ScriptExecutor.java:2996)
at com.bea.plateng.domain.script.ScriptExecutor.writeTemplate(ScriptExecutor.java:896)
at com.bea.plateng.domain.script.ScriptParserClassic$StateMachine.processWriteTemplate(ScriptParserClassic.java:607)
at com.bea.plateng.domain.script.ScriptParserClassic$StateMachine.processWrite(ScriptParserClassic.java:551)
at com.bea.plateng.domain.script.ScriptParserClassic$StateMachine.execute(ScriptParserClassic.java:431)
at com.bea.plateng.domain.script.ScriptParserClassic.parseAndRun(ScriptParserClassic.java:150)
at com.bea.plateng.domain.script.ScriptParserClassic.doExecute(ScriptParserClassic.java:112)
at com.bea.plateng.domain.script.ScriptParser.execute(ScriptParser.java:73)
at com.bea.plateng.domain.script.ScriptParser.execute(ScriptParser.java:36)
at com.bea.plateng.wizard.domain.helpers.Executor.runSilentScript(Executor.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.plateng.wizard.domain.silent.tasks.RunScriptTask.runScriptWithExecutor(RunScriptTask.java:552)
at com.bea.plateng.wizard.domain.silent.tasks.RunScriptTask.execute(RunScriptTask.java:336)
at com.bea.plateng.wizard.silent.tasks.AbstractSilentTask.run(AbstractSilentTask.java:28)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.xml.sax.SAXParseException: XML version "1@DOMAIN_HOME0" is not supported, only XML 1.0 is supported.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1414)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanXMLDeclOrTextDecl(XMLScanner.java:459)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanXMLDeclOrTextDecl(XMLDocumentFragmentScannerImpl.java:951)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$XMLDeclDriver.next(XMLDocumentScannerImpl.java:816)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:452)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:133)
at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:173)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at com.bea.plateng.domain.StartScriptParser.(StartScriptParser.java:406)
at com.bea.plateng.domain.StartScriptHelper.read(StartScriptHelper.java:182)
at com.bea.plateng.domain.StartScriptHelper.read(StartScriptHelper.java:154)
at com.bea.plateng.domain.StartScriptHelper.read(StartScriptHelper.java:123)
at com.bea.plateng.domain.StartScriptHelper.read(StartScriptHelper.java:92)
at com.bea.plateng.domain.TemplateGenerator.generate(TemplateGenerator.java:291)
at com.bea.plateng.domain.script.ScriptExecutor$2.run(ScriptExecutor.java:2964)
2013-03-13 12:40:49,843 ERROR [runScript] com.bea.plateng.wizard.domain.silent.tasks.RunScriptTask - There was an error executing the script: C:\Users\pg161v\AppData\Local\Temp\2\tmpPack5365554489155606457cws
com.bea.plateng.domain.script.ScriptException: org.xml.sax.SAXParseException: XML version "1@DOMAIN_HOME0" is not supported, only XML 1.0 is supported.
at com.bea.plateng.domain.script.ScriptExecutor.runGenerator(ScriptExecutor.java:2996)
at com.bea.plateng.domain.script.ScriptExecutor.writeTemplate(ScriptExecutor.java:896)
at com.bea.plateng.domain.script.ScriptParserClassic$StateMachine.processWriteTemplate(ScriptParserClassic.java:607)
at com.bea.plateng.domain.script.ScriptParserClassic$StateMachine.processWrite(ScriptParserClassic.java:551)
at com.bea.plateng.domain.script.ScriptParserClassic$StateMachine.execute(ScriptParserClassic.java:431)
at com.bea.plateng.domain.script.ScriptParserClassic.parseAndRun(ScriptParserClassic.java:150)
at com.bea.plateng.domain.script.ScriptParserClassic.doExecute(ScriptParserClassic.java:112)
at com.bea.plateng.domain.script.ScriptParser.execute(ScriptParser.java:73)
at com.bea.plateng.domain.script.ScriptParser.execute(ScriptParser.java:36)
at com.bea.plateng.wizard.domain.helpers.Executor.runSilentScript(Executor.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.plateng.wizard.domain.silent.tasks.RunScriptTask.runScriptWithExecutor(RunScriptTask.java:552)
at com.bea.plateng.wizard.domain.silent.tasks.RunScriptTask.execute(RunScriptTask.java:336)
at com.bea.plateng.wizard.silent.tasks.AbstractSilentTask.run(AbstractSilentTask.java:28)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.xml.sax.SAXParseException: XML version "1@DOMAIN_HOME0" is not supported, only XML 1.0 is supported.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1414)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanXMLDeclOrTextDecl(XMLScanner.java:459)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanXMLDeclOrTextDecl(XMLDocumentFragmentScannerImpl.java:951)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$XMLDeclDriver.next(XMLDocumentScannerImpl.java:816)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:452)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:133)
at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:173)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at com.bea.plateng.domain.StartScriptParser.(StartScriptParser.java:406)
at com.bea.plateng.domain.StartScriptHelper.read(StartScriptHelper.java:182)
at com.bea.plateng.domain.StartScriptHelper.read(StartScriptHelper.java:154)
at com.bea.plateng.domain.StartScriptHelper.read(StartScriptHelper.java:123)
at com.bea.plateng.domain.StartScriptHelper.read(StartScriptHelper.java:92)
at com.bea.plateng.domain.TemplateGenerator.generate(TemplateGenerator.java:291)
at com.bea.plateng.domain.script.ScriptExecutor$2.run(ScriptExecutor.java:2964)
2013-03-13 12:40:49,843 DEBUG [WizardController] com.bea.plateng.wizard.WizardController - Terminating.

 

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