ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <clinton.be...@gmail.com>
Subject Re: java.net.SocketException: Unexpected end of file from server
Date Wed, 26 Oct 2005 17:44:27 GMT
Looks like a messed up XML parser.... can you use Xerces or the JDK parser
instead of the Oracle one?

Clinton

On 10/24/05, Jani Lall <jani.lall@jl.fi> wrote:
>
> Hi!
>
> I am using iBATIS with Oracle OC4J and when I am trying to read
> SqlMapConfig file AS throws exception mentioned in subject. The log looks
> like the following:
>
> 05/10/24 23:21:47 java.net.SocketException: Unexpected end of file from
> server
> 05/10/24 23:21:47 at
> sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:818)
> 05/10/24 23:21:47 at
> sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:711)
> 05/10/24 23:21:47 at
> sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:816)
> 05/10/24 23:21:47 at
> sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:711)
> 05/10/24 23:21:47 at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(
> HttpURLConnection.java:626)
> 05/10/24 23:21:47 at java.net.URL.openStream(URL.java:913)
> 05/10/24 23:21:47 at
> oracle.xml.parser.v2.XMLReader.openURL(XMLReader.java:2292)
> 05/10/24 23:21:47 at
> oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:266)
> 05/10/24 23:21:47 at
> oracle.xml.parser.v2.NonValidatingParser.pushExternalDTD(
> NonValidatingParser.java:540)
> 05/10/24 23:21:47 at
> oracle.xml.parser.v2.NonValidatingParser.parseDoctypeDecl(
> NonValidatingParser.java:465)
> 05/10/24 23:21:47 at
> oracle.xml.parser.v2.NonValidatingParser.parseProlog(
> NonValidatingParser.java:298)
> 05/10/24 23:21:47 at
> oracle.xml.parser.v2.NonValidatingParser.parseDocument(
> NonValidatingParser.java:277)
> 05/10/24 23:21:47 at
> oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:184)
> 05/10/24 23:21:47 at
> oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:151)
> 05/10/24 23:21:47 at
> com.ibatis.common.xml.NodeletParser.createDocument(NodeletParser.java:150)
> 05/10/24 23:21:47 at
> com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:50)
> 05/10/24 23:21:47 at
> com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(
> SqlMapConfigParser.java:78)
> 05/10/24 23:21:47 at
> com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(
> SqlMapClientBuilder.java:62)
> 05/10/24 23:21:47 at
> org.pkportal.ejb.domainloader.PKPortalDomainServiceBean.getSqlMap(
> PKPortalDomainServiceBean.java:187)
>
> I am calling buildSqlMapClient from Stateless Session EJB and iBATOS
> sqlmapconfig file and sql map files are inside the -ejb.jar file in the
> class path. I am accessing them through resource tag:
> <sqlMap resource="org/pkportal/sqlmap/sql/Person.xml" />
>
> What am I doing wrong?
>
>
> br,
> Jani Lall
>
>
>

Mime
View raw message