db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject org.apache.torque.engine.EngineException: java.net.SocketException: Connection reset
Date Tue, 15 Apr 2014 12:02:35 GMT
Hi all,

I have an old project that I am trying to build using torque v3.3 that now fails during the
maven build with the error "java.net.SocketException: Connection reset".

Unfortunately the error message from xerces is useless because it tells us there was a connection
reset without giving us any clue or indication what we were trying to connect to at the time.

Does this ring a bell with anybody, is there a way to disable/remove/suppress these external
calls during build?

Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default of goal org.apache.torque:torque-maven-plugin:3.3:om
failed: org.apache.torque.engine.EngineException: java.net.SocketException: Connection reset
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	... 19 more
Caused by: org.apache.torque.engine.EngineException: java.net.SocketException: Connection
reset
	at org.apache.torque.task.TorqueDataModelTask.initControlContext(TorqueDataModelTask.java:294)
	at org.apache.torque.task.TorqueDataModelTask.execute(TorqueDataModelTask.java:504)
	at org.apache.torque.mojo.TexenTaskMojo.execute(TexenTaskMojo.java:367)
	at org.apache.torque.mojo.DataModelTaskMojo.execute(DataModelTaskMojo.java:347)
	at org.apache.torque.mojo.OMMojo.execute(OMMojo.java:505)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
	... 20 more
Caused by: org.apache.torque.engine.EngineException: java.net.SocketException: Connection
reset
	at org.apache.torque.engine.database.transform.XmlToAppData.parseFile(XmlToAppData.java:187)
	at org.apache.torque.task.TorqueDataModelTask.initControlContext(TorqueDataModelTask.java:272)
	... 25 more
Caused by: java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(SocketInputStream.java:196)
	at java.net.SocketInputStream.read(SocketInputStream.java:122)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
	at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687)
	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633)
	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:658)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1323)
	at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
	at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
	at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
	at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.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.AbstractSAXParser.parse(Unknown Source)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:392)
	at org.apache.torque.engine.database.transform.XmlToAppData.parseFile(XmlToAppData.java:168)
	... 26 more
[ERROR] 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following
articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

Regards,
Graham
--


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message