Re: Server redirected too many times (20)
Barry, On 9/12/21 12:59, Barry Kimelman wrote: I just installed tomcat 9.0.52 on my linux ubuntu 20.04 LTS system. I was successfully able to run the manager app as a test. Now I am trying to build an application that I had worked on quite a while ago in an older version of tomcat. I have a script which runs a series of ANT commands to build and install my app which has always worked well. Now with this version of tomcat when I run ant remove I get the following error messages Buildfile: /home/barry/tomcat/hockey3/build.xml Trying to override old definition of datatype resources remove: BUILD FAILED /home/barry/tomcat/hockey3/build.xml:504: java.net.ProtocolException: Server redirected too many times (20) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1932) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520) at org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:224) at org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:156) at org.apache.catalina.ant.UndeployTask.execute(UndeployTask.java:41) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) at org.apache.tools.ant.Task.perform(Task.java:350) at org.apache.tools.ant.Target.execute(Target.java:449) at org.apache.tools.ant.Target.performTasks(Target.java:470) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1391) at org.apache.tools.ant.Project.executeTarget(Project.java:1364) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1254) at org.apache.tools.ant.Main.runBuild(Main.java:830) at org.apache.tools.ant.Main.startAnt(Main.java:223) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101) Total time: 0 seconds Here is the relavant portion of my build.xml file 48 79 80 127 128 129 130 131 132 133 134 http://localhost:8080/manager/text"/> 135 136 487 488 497 498 500 501 505 506 I am puzzled. What have IO done wrong ? Try running "ant -v [target]" and see if you get more output. -chris - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Server redirected too many times (20)
I just installed tomcat 9.0.52 on my linux ubuntu 20.04 LTS system. I was successfully able to run the manager app as a test. Now I am trying to build an application that I had worked on quite a while ago in an older version of tomcat. I have a script which runs a series of ANT commands to build and install my app which has always worked well. Now with this version of tomcat when I run ant remove I get the following error messages Buildfile: /home/barry/tomcat/hockey3/build.xml Trying to override old definition of datatype resources remove: BUILD FAILED /home/barry/tomcat/hockey3/build.xml:504: java.net.ProtocolException: Server redirected too many times (20) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1932) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520) at org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:224) at org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:156) at org.apache.catalina.ant.UndeployTask.execute(UndeployTask.java:41) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) at org.apache.tools.ant.Task.perform(Task.java:350) at org.apache.tools.ant.Target.execute(Target.java:449) at org.apache.tools.ant.Target.performTasks(Target.java:470) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1391) at org.apache.tools.ant.Project.executeTarget(Project.java:1364) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1254) at org.apache.tools.ant.Main.runBuild(Main.java:830) at org.apache.tools.ant.Main.startAnt(Main.java:223) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101) Total time: 0 seconds Here is the relavant portion of my build.xml file 48 79 80 127 128 129 130 131 132 133 134 http://localhost:8080/manager/text"/> 135 136 487 488 497 498 500 501 505 506 I am puzzled. What have IO done wrong ? Thanks for your help. -- == Barry Kimelman Winnipeg, Manitoba, Canada
Re: ant install build.xml:372: java.net.ProtocolException: Server redirected too many times (20)
s to the JMX proxy and the > > status pages * manager-status - allows access to the status pages > > only > > > > The HTML interface is protected against CSRF but the text and JMX > > interfaces are not. To maintain the CSRF protection: > > > > * Users with the manager-gui role should not be granted either the > > manager-script or manager-jmx roles. * If the text or jmx > > interfaces are accessed through a browser (e.g. for testing since > > these interfaces are intended for tools not humans) then the > > browser must be closed afterwards to terminate the session. > > > > For more information - please see the Manager App How-To > > <http://localhost:8080/docs/manager-howto.html>. > > > > > > > > On Thu, 19 Dec 2019 at 19:51, Christopher Schultz > > > <mailto:ch...@christopherschultz.net>> wrote: > > > > Zahid, > > > > On 12/19/19 14:47, Zahid Rahman wrote: > >> CVS is working fine. > > > > LOL okay > > > >> build.properties # Context path to install this application on > >> app.path=/myapp > > > >> # Tomcat installation directory > >> catalina.home=/home/kub18/apache-tomcat-9.0.30 > > > >> # Manager webapp username and password > > manager.username=myusername > >> manager.password=mypassword > > > > Is your manager available at this URL: > > > > http://localhost:8080/manager/text > > > > ?? > > > > Try using your web browser to see if it works. > > > > -chris > > > >> On Thu, 19 Dec 2019 at 18:48, Christopher Schultz > >> > <mailto:ch...@christopherschultz.net> > >> <mailto:ch...@christopherschultz.net > > <mailto:ch...@christopherschultz.net>>> wrote: > > > >> Zahid, > > > >> On 12/19/19 12:57, Zahid Rahman wrote: > >>> I'm religiously following the instructions. > > > >> :) Are you using CVS as your revision-control system? > > > >> Someone brought that to our attention recently; that page is > >> sorely out of date, unfortunately. > > > >>> The build script is the template provided. I have made only > >>> one change. Added one tag following warning. warning: > >>>> 'includeantruntime' was not set, defaulting to > > > >>> There is only one jsp in the application. > > > >>> I am trying to go through all the documents step by step. > > > >> What do you have in your build.properties file? Please > > remember to > >> remove all secrets. > > > >> -chris > > > >>> On Thu, 19 Dec 2019, 17:32 Christopher Schultz, < > >>> ch...@christopherschultz.net > > <mailto:ch...@christopherschultz.net> > >> <mailto:ch...@christopherschultz.net > > <mailto:ch...@christopherschultz.net>>> wrote: > > > >>> Zahid, > > > >>> On 12/19/19 10:09, Zahid Rahman wrote: > >>>>>> tomcat document page: > >>>>>> https://tomcat.apache.org/tomcat-8.5-doc/appdev/processes.html > >>>>>> > >>>>>> > >>>>>> > > > >>>>>> > >>>>>> > > BEFORE TOMCAT STARTED > >>>>>> > >>>>>> KONSOLE OUTPUT > >>>>>> > >>>>>> kub18@UB18:~/myapp$ ant install Buildfile: > >>>>>> /home/kub18/myapp/build.xml Trying to override old > >>>>>> definition of datatype resources > >>>>>> > >>>>>> > >>>>>> prepare: > >>>>>> > >>>>>> > >>>>>> compile: [javac] /home/kub18/myapp/build.xml:293: > >>>>>> warning: 'includeantruntime' was not set, defaulting to > >>>>>> build.sysclasspath=last; set to false for repeatable > >>>>>> builds > >>>>>> > >>>>>> install: > >>>>>> > >>>>>> BUILD FAILED /home/kub18/myapp/build.xml:369: > >>>>>> java.net.ConnectException: Connection refused > >>>>>> (Connection refused) at > >>>>>> java.net.PlainSocketImpl.socketConnect(Native Method) > >>>>>> > >>>>>> AFTER TOMCAT STARTED > >>>>>> kub18@UB18:~/apache-tomcat-9.0.30/bin$ ./startup.sh > >>
Re: ant install build.xml:372: java.net.ProtocolException: Server redirected too many times (20)
>> <mailto:ch...@christopherschultz.net> >> <mailto:ch...@christopherschultz.net > <mailto:ch...@christopherschultz.net>>> wrote: > >> Zahid, > >> On 12/19/19 12:57, Zahid Rahman wrote: >>> I'm religiously following the instructions. > >> :) Are you using CVS as your revision-control system? > >> Someone brought that to our attention recently; that page is >> sorely out of date, unfortunately. > >>> The build script is the template provided. I have made only >>> one change. Added one tag following warning. warning: >>>> 'includeantruntime' was not set, defaulting to > >>> There is only one jsp in the application. > >>> I am trying to go through all the documents step by step. > >> What do you have in your build.properties file? Please > remember to >> remove all secrets. > >> -chris > >>> On Thu, 19 Dec 2019, 17:32 Christopher Schultz, < >>> ch...@christopherschultz.net > <mailto:ch...@christopherschultz.net> >> <mailto:ch...@christopherschultz.net > <mailto:ch...@christopherschultz.net>>> wrote: > >>> Zahid, > >>> On 12/19/19 10:09, Zahid Rahman wrote: >>>>>> tomcat document page: >>>>>> https://tomcat.apache.org/tomcat-8.5-doc/appdev/processes.html >>>>>> >>>>>> >>>>>> > >>>>>> >>>>>> > BEFORE TOMCAT STARTED >>>>>> >>>>>> KONSOLE OUTPUT >>>>>> >>>>>> kub18@UB18:~/myapp$ ant install Buildfile: >>>>>> /home/kub18/myapp/build.xml Trying to override old >>>>>> definition of datatype resources >>>>>> >>>>>> >>>>>> prepare: >>>>>> >>>>>> >>>>>> compile: [javac] /home/kub18/myapp/build.xml:293: >>>>>> warning: 'includeantruntime' was not set, defaulting to >>>>>> build.sysclasspath=last; set to false for repeatable >>>>>> builds >>>>>> >>>>>> install: >>>>>> >>>>>> BUILD FAILED /home/kub18/myapp/build.xml:369: >>>>>> java.net.ConnectException: Connection refused >>>>>> (Connection refused) at >>>>>> java.net.PlainSocketImpl.socketConnect(Native Method) >>>>>> >>>>>> AFTER TOMCAT STARTED >>>>>> kub18@UB18:~/apache-tomcat-9.0.30/bin$ ./startup.sh >>>>>> Using CATALINA_BASE: /home/kub18/apache-tomcat-9.0.30 >>>>>> Using CATALINA_HOME: /home/kub18/apache-tomcat-9.0.30 >>>>>> Using CATALINA_TMPDIR: >>>>>> /home/kub18/apache-tomcat-9.0.30/temp Using JRE_HOME: >>>>>> /usr Using CLASSPATH: >>>>>> > /home/kub18/apache-tomcat-9.0.30/bin/bootstrap.jar:/home/kub18/apa > c > >>>>>> > he- > >>>>>> >> tomcat-9.0.30/bin/tomcat-juli.jar >>>>>> >>>>>> >>>>>> >>>>>> Tomcat started. >>>>>> >>>>>> KONSOLE OUTPUT kub18@UB18:~/myapp$ ant install >>>>>> Buildfile: /home/kub18/myapp/build.xml Trying to override >>>>>> old definition of datatype resources >>>>>> >>>>>> prepare: >>>>>> >>>>>> compile: [javac] /home/kub18/myapp/build.xml:293: >>>>>> warning: 'includeantruntime' was not set, defaulting to >>>>>> build.sysclasspath=last; set to false for repeatable >>>>>> builds >>>>>> >>>>>> install: >>>>>> >>>>>> BUILD FAILED /home/kub18/myapp/build.xml:369: >>>>>> java.net.ProtocolException: Server redirected too many >>>>>> times (20) at >>>>>> > sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpUR > L > >>>>>> > Con > >>>>>> >> nection.java:1908) >>>>>> >>>>>> After inserting >>>>>> >>>>>> >>>>> includeantruntime="false" /> >>>>>> >>>>>> KONSOLE OUTPUT >>>>>> >>>>>> ant install Buildfile: /home/kub18/myapp/build.xml >>>&g
Re: ant install build.xml:372: java.net.ProtocolException: Server redirected too many times (20)
; I am trying to go through all the documents step by step. >> > >> > What do you have in your build.properties file? Please remember to >> > remove all secrets. >> > >> > -chris >> > >> >> On Thu, 19 Dec 2019, 17:32 Christopher Schultz, < >> >> ch...@christopherschultz.net >> > <mailto:ch...@christopherschultz.net>> wrote: >> > >> >> Zahid, >> > >> >> On 12/19/19 10:09, Zahid Rahman wrote: >> >>>>> tomcat document page: >> >>>>> https://tomcat.apache.org/tomcat-8.5-doc/appdev/processes.html >> >>>>> >> >>>>> >> >>>>> >> > >> >>>>> >> BEFORE TOMCAT STARTED >> >>>>> >> >>>>> KONSOLE OUTPUT >> >>>>> >> >>>>> kub18@UB18:~/myapp$ ant install Buildfile: >> >>>>> /home/kub18/myapp/build.xml Trying to override old >> >>>>> definition of datatype resources >> >>>>> >> >>>>> >> >>>>> prepare: >> >>>>> >> >>>>> >> >>>>> compile: [javac] /home/kub18/myapp/build.xml:293: warning: >> >>>>> 'includeantruntime' was not set, defaulting to >> >>>>> build.sysclasspath=last; set to false for repeatable >> >>>>> builds >> >>>>> >> >>>>> install: >> >>>>> >> >>>>> BUILD FAILED /home/kub18/myapp/build.xml:369: >> >>>>> java.net.ConnectException: Connection refused (Connection >> >>>>> refused) at java.net.PlainSocketImpl.socketConnect(Native >> >>>>> Method) >> >>>>> >> >>>>> AFTER TOMCAT STARTED >> >>>>> kub18@UB18:~/apache-tomcat-9.0.30/bin$ ./startup.sh Using >> >>>>> CATALINA_BASE: /home/kub18/apache-tomcat-9.0.30 Using >> >>>>> CATALINA_HOME: /home/kub18/apache-tomcat-9.0.30 Using >> >>>>> CATALINA_TMPDIR: /home/kub18/apache-tomcat-9.0.30/temp >> >>>>> Using JRE_HOME: /usr Using CLASSPATH: >> >>>>> /home/kub18/apache-tomcat-9.0.30/bin/bootstrap.jar:/home/kub18/apa >> c >> > >> >>>>> >> he- >> > >> >>>>> >> > tomcat-9.0.30/bin/tomcat-juli.jar >> >>>>> >> >>>>> >> >>>>> >> >>>>> Tomcat started. >> >>>>> >> >>>>> KONSOLE OUTPUT kub18@UB18:~/myapp$ ant install Buildfile: >> >>>>> /home/kub18/myapp/build.xml Trying to override old >> >>>>> definition of datatype resources >> >>>>> >> >>>>> prepare: >> >>>>> >> >>>>> compile: [javac] /home/kub18/myapp/build.xml:293: warning: >> >>>>> 'includeantruntime' was not set, defaulting to >> >>>>> build.sysclasspath=last; set to false for repeatable >> >>>>> builds >> >>>>> >> >>>>> install: >> >>>>> >> >>>>> BUILD FAILED /home/kub18/myapp/build.xml:369: >> >>>>> java.net.ProtocolException: Server redirected too many >> >>>>> times (20) at >> >>>>> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpUR >> L >> > >> >>>>> >> Con >> > >> >>>>> >> > nection.java:1908) >> >>>>> >> >>>>> After inserting >> >>>>> >> >>>>> > >>>>> /> >> >>>>> >> >>>>> KONSOLE OUTPUT >> >>>>> >> >>>>> ant install Buildfile: /home/kub18/myapp/build.xml Trying >> >>>>> to override old definition of task javac Trying to override >> >>>>> old definition of datatype resources >> >>>>> >> >>>>> prepare: >> >>>>> >> >>>>> compile: >> >>>>> >> >>>>> install: >> >>>>> >> >>>>> BUILD FAILED /home/kub18/myapp/build.xml:372: >> >>>>> java.net.ProtocolException: Server redirected too many >> >>>>> times (20) at >> >>>>> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpUR >> L >> > >> >>>>> >> Con >> > >> >>>>> >> > nection.java:1908) >> > >> >> It >> >>>>> >> >> looks like something isn't working with your ant build script, >> >> or with your application. >> > >> >> -chris >> >>> >> >>> >> - - >> >>> >> >>> >> > >> >>> >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> > <mailto:users-unsubscr...@tomcat.apache.org> >> >>> For additional commands, e-mail: users-h...@tomcat.apache.org >> > <mailto:users-h...@tomcat.apache.org> >> >>> >> >>> >> > >> > >> -BEGIN PGP SIGNATURE- >> Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ >> >> iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl371M4ACgkQHPApP6U8 >> pFg3wQ//S0M1p2w7pb7hp9+98Y+ztBjwwGf57ST/MpD4EiqiKJPGNoCKdlTQEmrF >> XJheL4PbQx33utT4tfaFOhuOwOU16oyzhdRfODvxa2wBI+jOzXMOu4k1qpMr6glk >> EiZc1ZwOjQVeS/PeBNkOsSZvVuvfyTOLsdK5Kp3Virb9RuQIttuuiMchiIlQpwmN >> gKwdjhoP8b5IDKDGvATgYXE8VaNw2StksrexV4+DEc3FB1F0GM+BWQwm2vawqxGZ >> Rhl3ymPaZNx+A0SRt/KHaezT4LINav3fBUFJ7xExc5sDJv/xcSUn5HA4CZzIBoJb >> pFx9kiNeJIzK1+ARrWMMxJSdZ/NljBPfpGfgVVDt8HKBeli8h5C2Xeimc3tRTVy5 >> 0U3w+dbsTFiUNhzzFdgpw+b/PITOl+12Lj1paGWszlxGwT+CnHHkU6vBN92dA4Ir >> DL6WiIjDeWeqyA5623llR9q8cCrtvudd6Hh/VBkIcnrd7BIdh3SVAU/7iAFumFZf >> qZvJNbU52DraPfO7IoaCUr3lLrFXePgctQ0mCB5rKh3wBaOjZ1qCvkfqnkQq3Gp6 >> QXPoJbaZFVeFaD3iJmg4/U37Ix5a0WghPojRkZR5jQBsJCQW6EOxlcSDLtQmqNSG >> boYd0GVkZqbXhnMRlQq8Var1rVJLtvScRhCxbRGaEryJ/pmhBXc= >> =3jsY >> -END PGP SIGNATURE- >> >
Re: ant install build.xml:372: java.net.ProtocolException: Server redirected too many times (20)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Zahid, On 12/19/19 14:47, Zahid Rahman wrote: > CVS is working fine. LOL okay > build.properties # Context path to install this application on > app.path=/myapp > > # Tomcat installation directory > catalina.home=/home/kub18/apache-tomcat-9.0.30 > > # Manager webapp username and password manager.username=myusername > manager.password=mypassword Is your manager available at this URL: http://localhost:8080/manager/text ?? Try using your web browser to see if it works. - -chris > On Thu, 19 Dec 2019 at 18:48, Christopher Schultz > <mailto:ch...@christopherschultz.net>> wrote: > > Zahid, > > On 12/19/19 12:57, Zahid Rahman wrote: >> I'm religiously following the instructions. > > :) Are you using CVS as your revision-control system? > > Someone brought that to our attention recently; that page is > sorely out of date, unfortunately. > >> The build script is the template provided. I have made only one >> change. Added one tag following warning. warning: >>> 'includeantruntime' was not set, defaulting to > >> There is only one jsp in the application. > >> I am trying to go through all the documents step by step. > > What do you have in your build.properties file? Please remember to > remove all secrets. > > -chris > >> On Thu, 19 Dec 2019, 17:32 Christopher Schultz, < >> ch...@christopherschultz.net > <mailto:ch...@christopherschultz.net>> wrote: > >> Zahid, > >> On 12/19/19 10:09, Zahid Rahman wrote: >>>>> tomcat document page: >>>>> https://tomcat.apache.org/tomcat-8.5-doc/appdev/processes.html >>>>> >>>>> >>>>> > >>>>> BEFORE TOMCAT STARTED >>>>> >>>>> KONSOLE OUTPUT >>>>> >>>>> kub18@UB18:~/myapp$ ant install Buildfile: >>>>> /home/kub18/myapp/build.xml Trying to override old >>>>> definition of datatype resources >>>>> >>>>> >>>>> prepare: >>>>> >>>>> >>>>> compile: [javac] /home/kub18/myapp/build.xml:293: warning: >>>>> 'includeantruntime' was not set, defaulting to >>>>> build.sysclasspath=last; set to false for repeatable >>>>> builds >>>>> >>>>> install: >>>>> >>>>> BUILD FAILED /home/kub18/myapp/build.xml:369: >>>>> java.net.ConnectException: Connection refused (Connection >>>>> refused) at java.net.PlainSocketImpl.socketConnect(Native >>>>> Method) >>>>> >>>>> AFTER TOMCAT STARTED >>>>> kub18@UB18:~/apache-tomcat-9.0.30/bin$ ./startup.sh Using >>>>> CATALINA_BASE: /home/kub18/apache-tomcat-9.0.30 Using >>>>> CATALINA_HOME: /home/kub18/apache-tomcat-9.0.30 Using >>>>> CATALINA_TMPDIR: /home/kub18/apache-tomcat-9.0.30/temp >>>>> Using JRE_HOME: /usr Using CLASSPATH: >>>>> /home/kub18/apache-tomcat-9.0.30/bin/bootstrap.jar:/home/kub18/apa c > >>>>> he- > >>>>> > tomcat-9.0.30/bin/tomcat-juli.jar >>>>> >>>>> >>>>> >>>>> Tomcat started. >>>>> >>>>> KONSOLE OUTPUT kub18@UB18:~/myapp$ ant install Buildfile: >>>>> /home/kub18/myapp/build.xml Trying to override old >>>>> definition of datatype resources >>>>> >>>>> prepare: >>>>> >>>>> compile: [javac] /home/kub18/myapp/build.xml:293: warning: >>>>> 'includeantruntime' was not set, defaulting to >>>>> build.sysclasspath=last; set to false for repeatable >>>>> builds >>>>> >>>>> install: >>>>> >>>>> BUILD FAILED /home/kub18/myapp/build.xml:369: >>>>> java.net.ProtocolException: Server redirected too many >>>>> times (20) at >>>>> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpUR L > >>>>> Con > >>>>> > nection.java:1908) >>>>> >>>>> After inserting >>>>> >>>>> >>>> /> >>>>> >>>>> KONSOLE OUTPUT >>>>> >>>>> ant install Buildfile: /home/kub18/myapp/build.xml Trying >>>>> to override old definition of task javac Trying to
Re: ant install build.xml:372: java.net.ProtocolException: Server redirected too many times (20)
CVS is working fine. build.properties # Context path to install this application on app.path=/myapp # Tomcat installation directory catalina.home=/home/kub18/apache-tomcat-9.0.30 # Manager webapp username and password manager.username=myusername manager.password=mypassword On Thu, 19 Dec 2019 at 18:48, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Zahid, > > On 12/19/19 12:57, Zahid Rahman wrote: > > I'm religiously following the instructions. > > :) Are you using CVS as your revision-control system? > > Someone brought that to our attention recently; that page is sorely > out of date, unfortunately. > > > The build script is the template provided. I have made only one > > change. Added one tag following warning. warning: > >> 'includeantruntime' was not set, defaulting to > > > > There is only one jsp in the application. > > > > I am trying to go through all the documents step by step. > > What do you have in your build.properties file? Please remember to > remove all secrets. > > - -chris > > > On Thu, 19 Dec 2019, 17:32 Christopher Schultz, < > > ch...@christopherschultz.net> wrote: > > > > Zahid, > > > > On 12/19/19 10:09, Zahid Rahman wrote: > >>>> tomcat document page: > >>>> https://tomcat.apache.org/tomcat-8.5-doc/appdev/processes.html > >>>> > >>>> > >>>> > BEFORE TOMCAT STARTED > >>>> > >>>> KONSOLE OUTPUT > >>>> > >>>> kub18@UB18:~/myapp$ ant install Buildfile: > >>>> /home/kub18/myapp/build.xml Trying to override old definition > >>>> of datatype resources > >>>> > >>>> > >>>> prepare: > >>>> > >>>> > >>>> compile: [javac] /home/kub18/myapp/build.xml:293: warning: > >>>> 'includeantruntime' was not set, defaulting to > >>>> build.sysclasspath=last; set to false for repeatable builds > >>>> > >>>> install: > >>>> > >>>> BUILD FAILED /home/kub18/myapp/build.xml:369: > >>>> java.net.ConnectException: Connection refused (Connection > >>>> refused) at java.net.PlainSocketImpl.socketConnect(Native > >>>> Method) > >>>> > >>>> AFTER TOMCAT STARTED kub18@UB18:~/apache-tomcat-9.0.30/bin$ > >>>> ./startup.sh Using CATALINA_BASE: > >>>> /home/kub18/apache-tomcat-9.0.30 Using CATALINA_HOME: > >>>> /home/kub18/apache-tomcat-9.0.30 Using CATALINA_TMPDIR: > >>>> /home/kub18/apache-tomcat-9.0.30/temp Using JRE_HOME: > >>>> /usr Using CLASSPATH: > >>>> /home/kub18/apache-tomcat-9.0.30/bin/bootstrap.jar:/home/kub18/apac > he- > > > >>>> > tomcat-9.0.30/bin/tomcat-juli.jar > >>>> > >>>> > >>>> > >>>> Tomcat started. > >>>> > >>>> KONSOLE OUTPUT kub18@UB18:~/myapp$ ant install Buildfile: > >>>> /home/kub18/myapp/build.xml Trying to override old definition > >>>> of datatype resources > >>>> > >>>> prepare: > >>>> > >>>> compile: [javac] /home/kub18/myapp/build.xml:293: warning: > >>>> 'includeantruntime' was not set, defaulting to > >>>> build.sysclasspath=last; set to false for repeatable builds > >>>> > >>>> install: > >>>> > >>>> BUILD FAILED /home/kub18/myapp/build.xml:369: > >>>> java.net.ProtocolException: Server redirected too many times > >>>> (20) at > >>>> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURL > Con > > > >>>> > nection.java:1908) > >>>> > >>>> After inserting > >>>> > >>>> > >>>> > >>>> > >>>> KONSOLE OUTPUT > >>>> > >>>> ant install Buildfile: /home/kub18/myapp/build.xml Trying to > >>>> override old definition of task javac Trying to override old > >>>> definition of datatype resources > >>>> > >>>> prepare: > >>>> > >>>> compile: > >>>> > >>>> install: > >>>> > >>>> BUILD FAILED /home/kub18/myapp/build.xml:372: > >>>> java.net.ProtocolExce
Re: ant install build.xml:372: java.net.ProtocolException: Server redirected too many times (20)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Zahid, On 12/19/19 12:57, Zahid Rahman wrote: > I'm religiously following the instructions. :) Are you using CVS as your revision-control system? Someone brought that to our attention recently; that page is sorely out of date, unfortunately. > The build script is the template provided. I have made only one > change. Added one tag following warning. warning: >> 'includeantruntime' was not set, defaulting to > > There is only one jsp in the application. > > I am trying to go through all the documents step by step. What do you have in your build.properties file? Please remember to remove all secrets. - -chris > On Thu, 19 Dec 2019, 17:32 Christopher Schultz, < > ch...@christopherschultz.net> wrote: > > Zahid, > > On 12/19/19 10:09, Zahid Rahman wrote: >>>> tomcat document page: >>>> https://tomcat.apache.org/tomcat-8.5-doc/appdev/processes.html >>>> >>>> >>>> BEFORE TOMCAT STARTED >>>> >>>> KONSOLE OUTPUT >>>> >>>> kub18@UB18:~/myapp$ ant install Buildfile: >>>> /home/kub18/myapp/build.xml Trying to override old definition >>>> of datatype resources >>>> >>>> >>>> prepare: >>>> >>>> >>>> compile: [javac] /home/kub18/myapp/build.xml:293: warning: >>>> 'includeantruntime' was not set, defaulting to >>>> build.sysclasspath=last; set to false for repeatable builds >>>> >>>> install: >>>> >>>> BUILD FAILED /home/kub18/myapp/build.xml:369: >>>> java.net.ConnectException: Connection refused (Connection >>>> refused) at java.net.PlainSocketImpl.socketConnect(Native >>>> Method) >>>> >>>> AFTER TOMCAT STARTED kub18@UB18:~/apache-tomcat-9.0.30/bin$ >>>> ./startup.sh Using CATALINA_BASE: >>>> /home/kub18/apache-tomcat-9.0.30 Using CATALINA_HOME: >>>> /home/kub18/apache-tomcat-9.0.30 Using CATALINA_TMPDIR: >>>> /home/kub18/apache-tomcat-9.0.30/temp Using JRE_HOME: >>>> /usr Using CLASSPATH: >>>> /home/kub18/apache-tomcat-9.0.30/bin/bootstrap.jar:/home/kub18/apac he- > >>>> tomcat-9.0.30/bin/tomcat-juli.jar >>>> >>>> >>>> >>>> Tomcat started. >>>> >>>> KONSOLE OUTPUT kub18@UB18:~/myapp$ ant install Buildfile: >>>> /home/kub18/myapp/build.xml Trying to override old definition >>>> of datatype resources >>>> >>>> prepare: >>>> >>>> compile: [javac] /home/kub18/myapp/build.xml:293: warning: >>>> 'includeantruntime' was not set, defaulting to >>>> build.sysclasspath=last; set to false for repeatable builds >>>> >>>> install: >>>> >>>> BUILD FAILED /home/kub18/myapp/build.xml:369: >>>> java.net.ProtocolException: Server redirected too many times >>>> (20) at >>>> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURL Con > >>>> nection.java:1908) >>>> >>>> After inserting >>>> >>>> >>>> >>>> >>>> KONSOLE OUTPUT >>>> >>>> ant install Buildfile: /home/kub18/myapp/build.xml Trying to >>>> override old definition of task javac Trying to override old >>>> definition of datatype resources >>>> >>>> prepare: >>>> >>>> compile: >>>> >>>> install: >>>> >>>> BUILD FAILED /home/kub18/myapp/build.xml:372: >>>> java.net.ProtocolException: Server redirected too many times >>>> (20) at >>>> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURL Con > >>>> nection.java:1908) > > It >>>> > looks like something isn't working with your ant build script, or > with your application. > > -chris >> >> - >> >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> >> > -BEGIN PGP SIGNATURE- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl37xgEACgkQHPApP6U8 pFh2LQ/9GLmlbIT4GnjUBFqjbkRvA7SMZfLhagnXKpxUi3iFiK4mDGi3ALI/y/XG gNp+SzE/vEYmNSUHUzbMRD8WxHFEj24l577hJi1UjU8Ppm6rycNysuh+Y9K6SlIJ vquziSoo87c84Av6XvDMWhN6Y5k45GE81mNolzIrt3TdMRgYJtFj9seIWaIZIf3s KKPtCYPVPFMAQGLxP+DAP6ZXRn+tQCoIWtJSSTPVwIue16ZxdqLh0OjQnEPd2jBG kmIWOhAXKNSwY5uLYE75p/6BQ5e/79XUibzitE7kANQk3IJUF6Q0Ueyu4cZUwfUu N72LxKvmcQP1cXgGQDNezGDFQHd2H5MKmvBN0Ra5Qw80y91jWUohMHKekcIhDRoA MZIfgFsfxD6seglXeEsK8MV9P2wi+271fM1w1y/otE7JQqveHSUqg6C0c/NxzT6T h+SQf92PW+jMYza7q2c5L2jTGOuIcn+uYCy7m26SvVRWlDLiU2Dym+yU7StvCuUa 9lVzC2StqfnqTkcRjvbfXy8wLmlP0WCtXJGG8jtWYo9coYit20MNe11ozlz/qCMf FXOXLQ8Y9yZIwzKip77MmvCX28ktKKcm4WWcbkUL8+eFk3n7+zTHQQLOd5VxRrZN YBD4gOebO7T/DTkwbhRPBDE0PBQ2H1c6Zt6PzyuuyDA5YNpmxCk= =nAjh -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: ant install build.xml:372: java.net.ProtocolException: Server redirected too many times (20)
I'm religiously following the instructions. The build script is the template provided. I have made only one change. Added one tag following warning. warning: > 'includeantruntime' was not set, defaulting to There is only one jsp in the application. I am trying to go through all the documents step by step. On Thu, 19 Dec 2019, 17:32 Christopher Schultz, < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Zahid, > > On 12/19/19 10:09, Zahid Rahman wrote: > > tomcat document page: > > https://tomcat.apache.org/tomcat-8.5-doc/appdev/processes.html > > > > BEFORE TOMCAT STARTED > > > > KONSOLE OUTPUT > > > > kub18@UB18:~/myapp$ ant install Buildfile: > > /home/kub18/myapp/build.xml Trying to override old definition of > > datatype resources > > > > > > prepare: > > > > > > compile: [javac] /home/kub18/myapp/build.xml:293: warning: > > 'includeantruntime' was not set, defaulting to > > build.sysclasspath=last; set to false for repeatable builds > > > > install: > > > > BUILD FAILED /home/kub18/myapp/build.xml:369: > > java.net.ConnectException: Connection refused (Connection refused) > > at java.net.PlainSocketImpl.socketConnect(Native Method) > > > > AFTER TOMCAT STARTED kub18@UB18:~/apache-tomcat-9.0.30/bin$ > > ./startup.sh Using CATALINA_BASE: > > /home/kub18/apache-tomcat-9.0.30 Using CATALINA_HOME: > > /home/kub18/apache-tomcat-9.0.30 Using CATALINA_TMPDIR: > > /home/kub18/apache-tomcat-9.0.30/temp Using JRE_HOME:/usr > > Using CLASSPATH: > > /home/kub18/apache-tomcat-9.0.30/bin/bootstrap.jar:/home/kub18/apache- > tomcat-9.0.30/bin/tomcat-juli.jar > > > > > > > > Tomcat started. > > > > KONSOLE OUTPUT kub18@UB18:~/myapp$ ant install Buildfile: > > /home/kub18/myapp/build.xml Trying to override old definition of > > datatype resources > > > > prepare: > > > > compile: [javac] /home/kub18/myapp/build.xml:293: warning: > > 'includeantruntime' was not set, defaulting to > > build.sysclasspath=last; set to false for repeatable builds > > > > install: > > > > BUILD FAILED /home/kub18/myapp/build.xml:369: > > java.net.ProtocolException: Server redirected too many times (20) > > at > > sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLCon > nection.java:1908) > > > > After inserting > > > > > > > > > > KONSOLE OUTPUT > > > > ant install Buildfile: /home/kub18/myapp/build.xml Trying to > > override old definition of task javac Trying to override old > > definition of datatype resources > > > > prepare: > > > > compile: > > > > install: > > > > BUILD FAILED /home/kub18/myapp/build.xml:372: > > java.net.ProtocolException: Server redirected too many times (20) > > at > > sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLCon > nection.java:1908) > > It > > > looks like something isn't working with your ant build script, or > with your application. > > - -chris > -BEGIN PGP SIGNATURE- > Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ > > iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl37tDYACgkQHPApP6U8 > pFg6eRAAwZ3a3lERuleFbMQKPUqSCMK+CzEVi5O/9DIqdejvvfSFzYVkTUBhxkRo > /UkeAw3WgHCAzJ9R9+E1vACiqCsh5dyQIdzQtwXXzDPZUcQzvHwsXcYpaGXVva0D > uC6wfKG5m2uWto/UZ7RWqdA0pAdOnVexrY8jKR9c027xW+WJ3DU1uLdld4/4VmUO > 8+irLDDpZheAQcGv8g/GB79uRUZQ6T20EYo01AWCn8S29MeEppsW7+1AbZl8HNuM > +reb8+1fQPbeSogny4m5R1Zt5/ulKxfCehBJpnsM/ubDGzLLFgKVIcWrbZL0ayGh > tU1jswDFW6x3lJxM6i6+OMMipAplR9jt7scQx40W8HqMsFCZO7syp1L9feHityem > xN6CsKL2alkw325Zwq0O43vkqve347JPHs6C4/DIX/B7ydwoWqaV7V6QzZuXZzmK > hj5GjnoUAhOqBfO+k3y71DFkbxIMa5WAUJARxyAo8Os8EleBApFLH1qoUR9Ov+KV > sQQRxyYbH+Jt34JVZayZ/mQIlO8A+YYU1U6XgTo73hlwcu1Dnc1z9ldwXEymsAoL > 3IfBwor7fs66QvPG3DtQMNmzJAsYsubibMRo7I2Yzyz3vVNGPZC0F78aBs9OZ9Gd > rNl2pznD0wsJMPyUgqErg0qenR5qfJ13AYvRw28yc7Zp3okLmjo= > =mu23 > -END PGP SIGNATURE- > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
Re: ant install build.xml:372: java.net.ProtocolException: Server redirected too many times (20)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Zahid, On 12/19/19 10:09, Zahid Rahman wrote: > tomcat document page: > https://tomcat.apache.org/tomcat-8.5-doc/appdev/processes.html > > BEFORE TOMCAT STARTED > > KONSOLE OUTPUT > > kub18@UB18:~/myapp$ ant install Buildfile: > /home/kub18/myapp/build.xml Trying to override old definition of > datatype resources > > > prepare: > > > compile: [javac] /home/kub18/myapp/build.xml:293: warning: > 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > install: > > BUILD FAILED /home/kub18/myapp/build.xml:369: > java.net.ConnectException: Connection refused (Connection refused) > at java.net.PlainSocketImpl.socketConnect(Native Method) > > AFTER TOMCAT STARTED kub18@UB18:~/apache-tomcat-9.0.30/bin$ > ./startup.sh Using CATALINA_BASE: > /home/kub18/apache-tomcat-9.0.30 Using CATALINA_HOME: > /home/kub18/apache-tomcat-9.0.30 Using CATALINA_TMPDIR: > /home/kub18/apache-tomcat-9.0.30/temp Using JRE_HOME:/usr > Using CLASSPATH: > /home/kub18/apache-tomcat-9.0.30/bin/bootstrap.jar:/home/kub18/apache- tomcat-9.0.30/bin/tomcat-juli.jar > > > > Tomcat started. > > KONSOLE OUTPUT kub18@UB18:~/myapp$ ant install Buildfile: > /home/kub18/myapp/build.xml Trying to override old definition of > datatype resources > > prepare: > > compile: [javac] /home/kub18/myapp/build.xml:293: warning: > 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > > install: > > BUILD FAILED /home/kub18/myapp/build.xml:369: > java.net.ProtocolException: Server redirected too many times (20) > at > sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLCon nection.java:1908) > > After inserting > > > > > KONSOLE OUTPUT > > ant install Buildfile: /home/kub18/myapp/build.xml Trying to > override old definition of task javac Trying to override old > definition of datatype resources > > prepare: > > compile: > > install: > > BUILD FAILED /home/kub18/myapp/build.xml:372: > java.net.ProtocolException: Server redirected too many times (20) > at > sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLCon nection.java:1908) It > looks like something isn't working with your ant build script, or with your application. - -chris -BEGIN PGP SIGNATURE- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl37tDYACgkQHPApP6U8 pFg6eRAAwZ3a3lERuleFbMQKPUqSCMK+CzEVi5O/9DIqdejvvfSFzYVkTUBhxkRo /UkeAw3WgHCAzJ9R9+E1vACiqCsh5dyQIdzQtwXXzDPZUcQzvHwsXcYpaGXVva0D uC6wfKG5m2uWto/UZ7RWqdA0pAdOnVexrY8jKR9c027xW+WJ3DU1uLdld4/4VmUO 8+irLDDpZheAQcGv8g/GB79uRUZQ6T20EYo01AWCn8S29MeEppsW7+1AbZl8HNuM +reb8+1fQPbeSogny4m5R1Zt5/ulKxfCehBJpnsM/ubDGzLLFgKVIcWrbZL0ayGh tU1jswDFW6x3lJxM6i6+OMMipAplR9jt7scQx40W8HqMsFCZO7syp1L9feHityem xN6CsKL2alkw325Zwq0O43vkqve347JPHs6C4/DIX/B7ydwoWqaV7V6QzZuXZzmK hj5GjnoUAhOqBfO+k3y71DFkbxIMa5WAUJARxyAo8Os8EleBApFLH1qoUR9Ov+KV sQQRxyYbH+Jt34JVZayZ/mQIlO8A+YYU1U6XgTo73hlwcu1Dnc1z9ldwXEymsAoL 3IfBwor7fs66QvPG3DtQMNmzJAsYsubibMRo7I2Yzyz3vVNGPZC0F78aBs9OZ9Gd rNl2pznD0wsJMPyUgqErg0qenR5qfJ13AYvRw28yc7Zp3okLmjo= =mu23 -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
ant install build.xml:372: java.net.ProtocolException: Server redirected too many times (20)
tomcat document page: https://tomcat.apache.org/tomcat-8.5-doc/appdev/processes.html BEFORE TOMCAT STARTED KONSOLE OUTPUT kub18@UB18:~/myapp$ ant install Buildfile: /home/kub18/myapp/build.xml Trying to override old definition of datatype resources prepare: compile: [javac] /home/kub18/myapp/build.xml:293: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds install: BUILD FAILED /home/kub18/myapp/build.xml:369: java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) AFTER TOMCAT STARTED kub18@UB18:~/apache-tomcat-9.0.30/bin$ ./startup.sh Using CATALINA_BASE: /home/kub18/apache-tomcat-9.0.30 Using CATALINA_HOME: /home/kub18/apache-tomcat-9.0.30 Using CATALINA_TMPDIR: /home/kub18/apache-tomcat-9.0.30/temp Using JRE_HOME:/usr Using CLASSPATH: /home/kub18/apache-tomcat-9.0.30/bin/bootstrap.jar:/home/kub18/apache-tomcat-9.0.30/bin/tomcat-juli.jar Tomcat started. KONSOLE OUTPUT kub18@UB18:~/myapp$ ant install Buildfile: /home/kub18/myapp/build.xml Trying to override old definition of datatype resources prepare: compile: [javac] /home/kub18/myapp/build.xml:293: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds install: BUILD FAILED /home/kub18/myapp/build.xml:369: java.net.ProtocolException: Server redirected too many times (20) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1908) After inserting KONSOLE OUTPUT ant install Buildfile: /home/kub18/myapp/build.xml Trying to override old definition of task javac Trying to override old definition of datatype resources prepare: compile: install: BUILD FAILED /home/kub18/myapp/build.xml:372: java.net.ProtocolException: Server redirected too many times (20) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1908)
Re: ant install java.net.ProtocolException: Server redirected too many times (20)
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)
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
Cannot invoke Tomcat manager Embedded error: "Server redirected too many times (20)
I am using maven tomcat:deploy to deploy. It worked fine but now I am having this error: Cannot invoke Tomcat manager Embedded error: "Server redirected too many times (20) Any ideas?
Re: Server redirected too many times (20)
Hi John in your init() method System.setProperty( "http.maxRedirects", Integer.toString( DEFAULT_MAX_REDIRECTS ) ); //whereas DEFAULT_MAX_REDIRECTS defaults to 20 M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: "John Pedersen" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, April 30, 2007 12:53 PM Subject: Server redirected too many times (20) Hi, I can't understand why Tomcat gives me this error message when I try to reload my app: Server redirected too many times (20) Is my app getting too big ( 400 files) ? It seems to happen more and more often. Usually a server restart fixes it. Sometimes I have to restart my machine. At the moment, I have to reload, I get the error message, I stop and start Tomcat, and then I can see whatever changes I have made. It's a bit tedious though. And oddly, once my app is running, no problems. Any suggestions? Thanks, John Tomcat 6.10 windows 2000 Java 1.6 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Server redirected too many times (20)
Hi John, On 4/30/07, John Pedersen <[EMAIL PROTECTED]> wrote: Hi, I can't understand why Tomcat gives me this error message when I try to reload my app: Server redirected too many times (20) Is my app getting too big ( 400 files) ? The conversation on this http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4458085 bug should help. It seems to happen more and more often. Usually a server restart fixes it. Sometimes I have to restart my machine. At the moment, I have to reload, I get the error message, I stop and start Tomcat, and then I can see whatever changes I have made. It's a bit tedious though. And oddly, once my app is running, no problems. Any suggestions? There might be an infinite redirect in your application that is raising this error. Can you find the location of this error, the full stack trace in the log files may offer some clues. Thanks, John Tomcat 6.10 windows 2000 Java 1.6 -Regards Rashmi - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Server redirected too many times (20)
Hi, I can't understand why Tomcat gives me this error message when I try to reload my app: Server redirected too many times (20) Is my app getting too big ( 400 files) ? It seems to happen more and more often. Usually a server restart fixes it. Sometimes I have to restart my machine. At the moment, I have to reload, I get the error message, I stop and start Tomcat, and then I can see whatever changes I have made. It's a bit tedious though. And oddly, once my app is running, no problems. Any suggestions? Thanks, John Tomcat 6.10 windows 2000 Java 1.6 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]