ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nick_advincula <nick.advinc...@gmail.com>
Subject Error parsing SQLMap
Date Wed, 07 Jun 2006 02:52:25 GMT

OS:Red Hat Enterprise Linux ES release 3 (Taroon Update 3)
Kernel 2.4.21-20.EL on an i686

Application Server: Websphere 6.0 for developers
LANG=ja_JP

I don't know if this issue is for WAS or iBatis.
The following error message was generated by WAS when calling SQL statement
in .
------------------------------------------------------------------------------------------------------------------

Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. 
Cause: com.ibatis.common.exception.NestedRuntimeException: Error parsing
XPath '/sqlMapConfig/sqlMap'.  Cause:
com.ibatis.common.xml.NodeletException: Error parsing XML.  Cause:
sun.io.MalformedInputException
Caused by: sun.io.MalformedInputException
Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. 
Cause: sun.io.MalformedInputException
Caused by: sun.io.MalformedInputException
Caused by: com.ibatis.common.exception.NestedRuntimeException: Error parsing
XPath '/sqlMapConfig/sqlMap'.  Cause:
com.ibatis.common.xml.NodeletException: Error parsing XML.  Cause:
sun.io.MalformedInputException
Caused by: sun.io.MalformedInputException
Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. 
Cause: sun.io.MalformedInputException
Caused by: sun.io.MalformedInputException
	at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:53)
	at
com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConfigParser.java:78)
	... 40 more
Caused by: com.ibatis.common.exception.NestedRuntimeException: Error parsing
XPath '/sqlMapConfig/sqlMap'.  Cause:
com.ibatis.common.xml.NodeletException: Error parsing XML.  Cause:
sun.io.MalformedInputException
Caused by: sun.io.MalformedInputException
Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. 
Cause: sun.io.MalformedInputException
Caused by: sun.io.MalformedInputException
	at
com.ibatis.common.xml.NodeletParser.processNodelet(NodeletParser.java:114)
	at com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:75)
	at com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:93)
	at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:63)
	at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:51)
	... 41 more
Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. 
Cause: sun.io.MalformedInputException
Caused by: sun.io.MalformedInputException
	at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:53)
	at
com.ibatis.sqlmap.engine.builder.xml.SqlMapParser.parse(SqlMapParser.java:45)
	at
com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser$11.process(SqlMapConfigParser.java:347)
	at
com.ibatis.common.xml.NodeletParser.processNodelet(NodeletParser.java:112)
	... 45 more
Caused by: sun.io.MalformedInputException
	at sun.io.ByteToCharEUC.convert(ByteToCharEUC.java(Compiled Code))
	at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecoder.java:287)
	at
sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.java(Compiled
Code))
	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java(Compiled Code))
	at java.io.InputStreamReader.read(InputStreamReader.java(Compiled Code))
	at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
	at org.apache.xerces.impl.XMLEntityScanner.peekChar(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanCDATASection(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
	at
com.ibatis.common.xml.NodeletParser.createDocument(NodeletParser.java:150)
	at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:50)
	... 48 more

--------------------------------------------------------------------------------------------------------------
But when I deploy the same application in WAS 6.0 in Windows 2000, there is
no problem.The EAR file was created in Windows environment.

Could you please inform me what possible solution could be done?

--
View this message in context: http://www.nabble.com/Error-parsing-SQLMap-t1745517.html#a4744634
Sent from the iBATIS - Dev forum at Nabble.com.


Mime
View raw message