-----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 
> <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>> 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
>>>>> 
>>>>> <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(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-----

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

Reply via email to