It doesn't really matter if it downloads the zipped tar or the zip, they're
both pretty much the same and should work on either platform...

My guess is your firewall is getting in the way of ant's efforts to download
the beanutils. Check in the build script or the instructions where it
expects to find the bean utils package, download it yourself and put it
there.


> -----Original Message-----
> From: Peng Annie / FINLAND [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 30, 2003 12:26 PM
> To: 'Tomcat Users List'
> Subject: RE: Context problem, urgent!
> 
> 
> OK Now when I run ant in tomcat src dir it doesn't complain. 
> But it was
> failed with the following message:
> 
>      [echo] download
> http://jakarta.apache.org/builds/jakarta-commons/release/commo
> ns-beanutils/v
> 1.4.1/commons-beanutils-1.4.1.tar.gz
> 
> testexist:
>      [echo] Testing  for
> /usr/local/commons-beanutils-1.4.1/commons-beanutils.jar
> 
> downloadgz:
>       [get] Getting:
> http://jakarta.apache.org/builds/jakarta-commons/release/commo
> ns-beanutils/v
> 1.4.1/commons-beanutils-1.4.1.tar.gz
>       [get] Error getting
> http://jakarta.apache.org/builds/jakarta-commons/release/commo
> ns-beanutils/v
> 1.4.1/commons-beanutils-1.4.1.tar.gz to \usr\local\file.tar.gz
> 
> BUILD FAILED
> file:C:/jakarta-tomcat-4.1.18-src/build.xml:564:
> java.io.FileNotFoundException:
> http://jakarta.apache.org/builds/jakarta-commons/release/commo
> ns-beanutils/v
> 1.4.1/commons-beanutils-1.4.1.tar.gz
> 
> Total time: 2 seconds
> 
> 
> I am using W2k, why it tried to download tar.gz?
> 
> 
> 
> -----Original Message-----
> From: Barney Hamish [mailto:[EMAIL PROTECTED]]
> Sent: 30. tammikuuta 2003 13:13
> To: 'Tomcat Users List'
> Subject: RE: Context problem, urgent!
> 
> 
> It sounds like you're running ant from the wrong directory...
> Try running Ant from the directory where the Tomcat build.xml is.
> 
> Hamish
> 
> > -----Original Message-----
> > From: Peng Annie / FINLAND [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, January 30, 2003 11:59 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Context problem, urgent!
> > 
> > 
> > Hi Bill,
> > 
> > Thanks a lot for the instruction. But where shall I put Ant? 
> > When I run 5)
> > step in your instruction, it always complain "build.xml 
> > doesn't existed!"
> > 
> > BR,
> > 
> > Annie
> > 
> > -----Original Message-----
> > From: Bill Barker [mailto:[EMAIL PROTECTED]]
> > Sent: 30. tammikuuta 2003 11:23
> > To: [EMAIL PROTECTED]
> > Subject: Re: Context problem, urgent!
> > 
> > 
> > Since 13040 is still marked "NEW", I'm afraid so.
> > 
> > It's really not as scary as it sounds.  The steps are (assuming that
> > jakarta-ant-1.5.x is already installed, and in your PATH):
> > 1) download and un-pack the Tomcat source distribution.
> > 2) download and un-pack the Connector source distribution
> > 3) cd to the directory where you unpacked the Tomcat source 
> > (by default
> > .../jakarta-tomcat-4.1.x-src), and copy the 
> > 'build.properties.sample' file
> > to 'build.properties'
> > 4) edit the 'build.properties' file to set the 'jtc.home' 
> > property to the
> > location of the Connector source dowload.  Last time that I 
> > did this, you
> > also need to set the 'jasper.home=jasper' property.  If you 
> > are behind a
> > firewall, then you also have to set the 'proxy.host' and 
> > 'proxy.port' to
> > your proxy server's values.  These (as well as the 'proxy.use') are
> > commented out by default:  uncomment them if this applies.
> > 5) run the command 'ant download' to install the additional 
> libraries.
> > 6) apply the patch to the source code.
> > 7) run the command 'ant dist' to create a new Tomcat distribution in
> > .../jakarta-tomcat-4.1.x-src/dist.
> > 
> > "Peng Annie / FINLAND" <[EMAIL PROTECTED]> wrote in message
> > 
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > Thanks Bill. It is exactly my problem. It is a bug of 
> > TC4.1.12. I noticed
> > > that there is fixing solution to the source code. Does it 
> > mean that I have
> > > to download the source code and modify it and recompile it?
> > >
> > > -----Original Message-----
> > > From: Bill Barker [mailto:[EMAIL PROTECTED]]
> > > Sent: 30. tammikuuta 2003 9:18
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: Context problem, urgent!
> > >
> > >
> > > Look at 
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13040 to see if
> it
> > looks like what you are seeing.
> >
> > "Peng Annie / FINLAND" <[EMAIL PROTECTED]> wrote in message
> > 
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> >
> > Hi,
> >
> > In Tomcat4, I can not get the right context of other webapp from my app.
> My
> > app is set as the doc root. For example I have configuration  like
> >
> > <Context path="" docBase="MyApp" debug="0" reloadable="true"
> > crossContext="true"/>
> > <Context path="/OtherApp" docBase="OtherApp" debug="0" reloadable="true"
> > crossContext="true"/>
> >
> > in server.xml. But the difference from in Tomcat3.2 is, when I user the
> > following statement in my servlet:
> >
> >         ServletContext sc =
> > this.getServletConfig().getServletContext().getContext("/OtherApp");
> >
> > sc.getRequestDispatcher("/servlet/ControllerServlet").forward(request,
> > response);
> >
> > Tomcat can not find the "OtherApp" context!
> >
> > Can anybody help? This is really urgent!
> >
> > Many thanks in advance!
> >
> > Annie
> >
> >
> >
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to