Re: ant install java.net.ProtocolException: Server redirected too many times (20)

2019-02-11 Thread Mark Thomas
On 08/02/2019 22:37, Barry Kimelman wrote:
> I am trying to build an app under tomcat 9-0-14 that I had previously built
> under tomcat 7 several years ago.
> 
> however when I run the "ant install" command it fails with the following
> errors.
> 
> BUILD FAILED
> C:\barry\hockey3\build.xml:369: java.net.ProtocolException: Server
> redirected too many  times (20)
> 
> build.xml : 362 , 371
> 362:363:description="Install application to servlet container">
> 364:
> 365:  366:username="${manager.username}"
> 367:password="${manager.password}"
> 368:path="${app.path}"
> 369:localWar="file://${build.home}"/>
> 370:
> 371:   
> 
> Here is a directory listing where my java software is located
> 
> 
> C:\Program Files\Java>dir
>  Volume in drive C is TI10673200G
>  Volume Serial Number is 5E9D-3D3F
> 
>  Directory of C:\Program Files\Java
> 
> 01/16/2019  11:47 AM  .
> 01/16/2019  11:47 AM  ..
> 01/01/2019  03:47 PM  jdk1.8.0_191
> 01/16/2019  11:46 AM  jre1.8.0_201
>0 File(s)  0 bytes
>4 Dir(s)  589,238,714,368 bytes free
> 
> I am running on a Windows 10 64 bit system.
> 
> Any ideas on how to resolve this issue ? So far my searches have not turned
> up anything usefull.

What is "manager.url" configured as?

You might want to check that manager.username and manager.password are
valid too by opening a browser at manager.url and testing them.

Mark

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



ant install java.net.ProtocolException: Server redirected too many times (20)

2019-02-08 Thread Barry Kimelman
I am trying to build an app under tomcat 9-0-14 that I had previously built
under tomcat 7 several years ago.

however when I run the "ant install" command it fails with the following
errors.

BUILD FAILED
C:\barry\hockey3\build.xml:369: java.net.ProtocolException: Server
redirected too many  times (20)

build.xml : 362 , 371
362:   
364:
365: 
370:
371:   

Here is a directory listing where my java software is located


C:\Program Files\Java>dir
 Volume in drive C is TI10673200G
 Volume Serial Number is 5E9D-3D3F

 Directory of C:\Program Files\Java

01/16/2019  11:47 AM  .
01/16/2019  11:47 AM  ..
01/01/2019  03:47 PM  jdk1.8.0_191
01/16/2019  11:46 AM  jre1.8.0_201
   0 File(s)  0 bytes
   4 Dir(s)  589,238,714,368 bytes free

I am running on a Windows 10 64 bit system.

Any ideas on how to resolve this issue ? So far my searches have not turned
up anything usefull.


-- 

==

Barry Kimelman
Atlanta, GA, USA