db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naveen Murthy" <nmur...@datalinx.net>
Subject RE: using Ant based Torque generator while going thro a HTTP PROXY
Date Mon, 16 Jan 2006 16:24:12 GMT
hello;

1. i do see the database.dtd in my torque-gen-3.2.jar; still for some reason
it tries to reach internet for db.apache.org
It would be good it never tries to reach out for something.

2. my Ant optional.jar does have the setproxy, but for some reason, it doesnt
seem to work, it gives 
BUILD FAILED
file:E:/programs/torque-3.2/torque-gen-3.2/build-torque.xml:35: Unexpected eleme
nt "setproxy"

thanks!


-----Original Message-----
From: Thomas Fischer [mailto:fischer@seitenbau.net]
Sent: Mon 1/16/2006 10:36 AM
To: Apache Torque Users List
Subject: AW: using Ant based Torque generator while going thro a HTTP PROXY
 





Probably the network is accessed to fetch an older version of the dtd. Make
sure you use the version 3_2 of the dtd, then you do not need any network
access (the 3_2 dtd is packaged in the generator jar)

   Thomas

"Thoralf Rickert" <thoralf.rickert@cadooz.de> schrieb am 16.01.2006
16:20:42:

> Yes, have a look at the ant documentation. You have to set a proxy
> in the ant build file, like this.
>
> <project....>
>  <setproxy proxyhost="192.168.." proxyport="8080"
> nonproxyhosts="mylocalhosts,..."/>
>
>  ...
> </project>
>
> Is UnknownHostException really a Proxy problem or a DNS problem?...
>
> > -----Urspr√ľngliche Nachricht-----
> > Von: Naveen Murthy [mailto:nmurthy@datalinx.net]
> > Gesendet: Montag, 16. Januar 2006 16:18
> > An: torque-user@db.apache.org
> > Betreff: using Ant based Torque generator while going thro a
> > HTTP PROXY
> >
> >
> > hello;
> >
> > im using ANT based  torque-gen-3.2  for generating Java Peer
> > files. It works fine when im directly connected to the network.
> >
> > but when im connecting to net via a PROXY server, the
> > generator fails using " java.net.UnknownHostException: db.apache.org"
> >
> > Is there way or an OPTION to indicate the presense of a PROXY server?
> >
> > thanks!
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>


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




Mime
View raw message