-----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 > > <presetdef name="javac"> <javac includeantruntime="false" /> > </presetdef> > > 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