You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by Trevor Miller <ub...@gmail.com> on 2006/05/15 15:18:57 UTC

Connection timed out exception

Hi All,

For some strange reason my ISP is blocking www.apache.org so when I
try to build run torque generator using torque 3.2 I get the following
error:

[torque-sql] Using contextProperties file:
/home/trevor/projects/ssr/torque/build.properties
[torque-sql] Using classpath
[torque-sql] Generating to file
/home/trevor/projects/ssr/torque/src/sql/report.ssr.sql.generation
[torque-sql] May 15, 2006 3:15:52 PM
org.apache.torque.engine.database.transform.XmlToAppData parseFile
[torque-sql] INFO: Parsing file: 'id-table-schema.xml'
[torque-sql] May 15, 2006 3:15:52 PM
org.apache.torque.engine.database.transform.DTDResolver resolveEntity
[torque-sql] INFO: Resolver: used
'http://db.apache.org/torque/dtd/database_3_1.dtd'

BUILD FAILED
/home/trevor/projects/ssr/torque/build.xml:26: The following error
occurred while executing this line:
/home/trevor/projects/ssr/torque/build-torque.xml:129: The following
error occurred while executing this line:
/home/trevor/projects/ssr/torque/build-torque.xml:190: The following
error occurred while executing this line:
/home/trevor/projects/ssr/torque/build-torque.xml:204:
org.apache.torque.engine.EngineException: java.net.ConnectException:
Connection timed out


Is there a way to get torque to use a local file based dtd instead of
http://db.apache.org/torque/dtd/database_3_1.dtd?

Trevor


-- 
Real programmers use Linux!

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


Re: Connection timed out exception

Posted by Thomas Vandahl <th...@tewisoft.de>.
Trevor Miller wrote:
> [torque-sql] INFO: Resolver: used
> 'http://db.apache.org/torque/dtd/database_3_1.dtd'

Change your schema file to contain
---
<!DOCTYPE database SYSTEM 
"http://db.apache.org/torque/dtd/database_3_2.dtd">
---

This DTD is part of the distribution and you will not need extrenal access.

Bye, Thomas.


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