org.xml.sax.SAXParseException

The XML declaration must end with "?>". Command FAILED, Reason: The XML declaration must end with "?>". Traceback (innermost last): File "<console>", line 1, in ? File "/usr/app/MW/oracle_common/common/wlst/jpsWlstCmd.py", line 955, in migrateSecurityStore File "/usr/app/MW/oracle_common/common/wlst/jpsWlstCmd.py", line 927, in migrateSecurityStoreImpl

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web4006

  • via Oracle Community by Avinash Pentyala, 11 months ago
    The XML declaration must end with "?>". Command FAILED, Reason: The XML declaration must end with "?>". Traceback (innermost last): File "<console>", line 1, in ? File "/usr/app/MW/oracle_common/common/wlst/jpsWlstCmd.py", line 955, in migrateSecurityStore File "/usr/app/MW/oracle_common/common/wlst/jpsWlstCmd.py", line 927, in migrateSecurityStoreImpl
  • via Google Groups by Nir Oz, 1 year ago
    The ' = ' character must follow "encodingguration" in the XML declaration.
  • via Oracle Community by 843834, 1 year ago
    The declaration for the entity "HTML.Version" must end with '>'.
  • Stack trace

    • org.xml.sax.SAXParseException: The XML declaration must end with "?>". Command FAILED, Reason: The XML declaration must end with "?>". Traceback (innermost last): File "<console>", line 1, in ? File "/usr/app/MW/oracle_common/common/wlst/jpsWlstCmd.py", line 955, in migrateSecurityStore File "/usr/app/MW/oracle_common/common/wlst/jpsWlstCmd.py", line 927, in migrateSecurityStoreImpl at oracle.security.jps.internal.tools.utility.source.JpsInitializerSource.getSources(JpsInitializerSource.java:155) at oracle.security.jps.internal.tools.utility.JpsUtility.<init>(JpsUtilty.java:62) at oracle.security.jps.internal.tools.utility.JpsUtilMigrationPolicyImpl.migrateAppPolicyData(JpsUtilMigrationPolicyImpl.java:151) at oracle.security.jps.tools.utility.JpsUtilMigrationTool.executeCommand(JpsUtilMigrationTool.java:231) 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.