WebSphere Issues


EJPXA0049E error when running XmlAccess to import xml

Filed under: WebSphere Portal — Ishtiaque @ 3:45 am

Here’s the error that usually shown in output xml file:

<status element="unknown" result="failed">
<message id="EJPXA0049E">com.ibm.wps.command.xml.XmlFormatException: EJPXA0049E: Input syntax error in line 1 column 1: the XML input does not conform to the XML schema.</message>
<message>org.xml.sax.SAXParseException: Content is not allowed in prolog.</message>

It’s usually because of some garbage characters added in the xml which was first exported by xmlaccess command.

If the garbage characters are not visible in the initial input file, then do the following:

1. Copy the contents starting at line 2 to last line from the input file
2. Paste the contents in the notepad and save it as xml file
3. Retry the XmlAccess import using the new xml file.


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: