Re: Handling empty Host in HTTP Header

2018-11-06 Thread Mani



‐‐‐ Original Message ‐‐‐
On Sunday, October 28, 2018 8:33 AM, Mani  
wrote:

> ‐‐‐ Original Message ‐‐‐
> On Saturday, October 27, 2018 8:52 PM, Mark Thomas ma...@apache.org wrote:
>
> > On 27/10/18 14:38, Caldarale, Charles R wrote:
> >
> > > > From: Mani [mailto:mani.chandraseka...@protonmail.com.INVALID]
> > > > Subject: Handling empty Host in HTTP Header
> > >
> > > > May I know, when is the next official tomcat release planned?
> > >
> > > Releases for Tomcat versions under active development (including the 8.5
> > > leg) normally occur in the first week of each calendar month. Last-minute
> > > glitches can affect the schedule, of course.
> >
> > Note the October release never happened due to a combination of
> > ApacheCon, working on getting TRLSv1.3 support working, needing a Tomcat
> > Native release etc.
> > Currently, I don't see anything that would add delay to the November
> > release.
> > Mark
> >
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
>
> Thanks Mark.
>
> Mani


Hi,
   Just curious to know.. Any ideas on the release dates for tomcat 8.5.35?

Mani

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



Re: Building (and running) Tomcat on MacOS

2018-11-06 Thread Geraldo Netto
Hi,

Maybe this article can help you:
https://medium.com/@fahimhossain_16989/adding-startup-scripts-to-launch-daemon-on-mac-os-x-sierra-10-12-6-7e0318c74de1

Diaclaimer: I didn't test the procedure


Kind Regards,
Geraldo Netto

Em ter, 6 de nov de 2018 15:28, Israel Timoteo  Hi Christopher,
>
> How do you make Tomcat start automatically after your Mac restarts?
>
>
> Israel Timoteo
> itimo...@me.com
>
>
>
> > On Nov 6, 2018, at 9:05 AM, Christopher Schultz <
> ch...@christopherschultz.net> wrote:
> >
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA256
> >
> > All,
> >
> > Periodically, some folks ask how to get Tomcat running on MacOS. In
> > order to fully-test the most recent version of Tomcat 8.5.x being
> > voted on, I built a new environment on my Mac from scratch and
> > documented everything.
> >
> > I put all of my notes into the Tomcat Wiki which can be found here:
> > https://wiki.apache.org/tomcat/Building%20Tomcat%20on%20MacOS
> >
> > Comments and modifications are welcome. It would be even better if
> > some folks with Macs who aren't running Tomcat would actually try
> > following the instructions and let me know if anything in particular
> > doesn't work for you.
> >
> > - -chris
> > -BEGIN PGP SIGNATURE-
> > Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/
> >
> > iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlvhrc0ACgkQHPApP6U8
> > pFjGVA//XYi0+dnb1cmGGtrrZuXPHefRV2LiIf5VIHgQ1oZsiKleqadlsx7mYnD3
> > xwcR0Br9HU4x1z2o9a6JY6pdErLVxJSLsvXcBn0bhZAMe1TXXQk0VzxJo+zbTcQK
> > Hh3S2XJDjA/U2cTs0z9FTT+mKvFxMUmI4ZnvBrmFXqQH5IgrMv5ajl20xhoKR899
> > K30q0J67YjzR42E7XCpBSRlPQhFrkVzXsIfublDc+M59riCisRC6M3cNG6CPGdO6
> > ArGVUCxTC+I0+ibdvuhUhWCC8YSm7sqn9/xUHEBhRta3ux+1LwCM1J4TijzOsPo0
> > AL3T+H1PElL+5jQXj6JQPcc5oRBfzNX04WJYEvoow3DaKUKX5/yqCVw6krdeGsTo
> > gW0IhA/k2h5p6/g1IKZxjYIHkn2YQAUJtL+M7JopJp1xXYPI6xdorhlfylN/D1ms
> > T+HgscItBWEG/o25Agydu6Wlpc8rIN0PIe1lMPFsfUHZf/PjUsj6f0+urnE0Cutx
> > sIxvMBBzXd76PXYC8k5q50dQdaZONZdvGxHXBcRut4SwDSj9OAQf4R1DfIPcqEkl
> > krF6Q04iuwAr6KewG57HkE3xh6kVbthPaVoXHVYmByBbRClZ6IpXRWax+Cvi/ROF
> > AgvEV6Z+iQWwKMSX8nSNooifVOLvjZ9tVcI6fiBQLJAVHXeAsmo=
> > =tqi1
> > -END PGP SIGNATURE-
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> >
>
>


Re: Building (and running) Tomcat on MacOS

2018-11-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Israel,

On 11/6/18 12:27 PM, Israel Timoteo wrote:
> How do you make Tomcat start automatically after your Mac
> restarts?

I don't :)

I think the best way is to use the Launch Deamon facility of macos.
Briefly, as root:

1. Create a file
/Library/LaunchDaemons/org.apache.tomcat.startup.plist with all the
appropriate settings
2. run "launchctl load -w
/Library/LaunchDaemons/org.apache.tomcat.startup.plist"

To remove the load-on-start:

3. run "launchctl unload -w
/Library/LaunchDaemons/org.apache.tomcat.startup.plist"

- -chris

>> On Nov 6, 2018, at 9:05 AM, Christopher Schultz
>>  wrote:
>> 
> All,
> 
> Periodically, some folks ask how to get Tomcat running on MacOS.
> In order to fully-test the most recent version of Tomcat 8.5.x
> being voted on, I built a new environment on my Mac from scratch
> and documented everything.
> 
> I put all of my notes into the Tomcat Wiki which can be found
> here: 
> https://wiki.apache.org/tomcat/Building%20Tomcat%20on%20MacOS
> 
> Comments and modifications are welcome. It would be even better if 
> some folks with Macs who aren't running Tomcat would actually try 
> following the instructions and let me know if anything in
> particular doesn't work for you.
> 
> -chris
>> 
>> -
>>
>> 
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>> 
> 
> 
-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlvh0UIACgkQHPApP6U8
pFjTRQ/8DgJdZyVYYuv4X+uHJSDCmUDCCH8kJo/4UO5IguPIVuzzba4oXKrxXwMU
M2B5YwWFF54EooH0DZ4VK3WwJtSoiK5Mcg+VP1onqhia2EzacG+nVcJPQJoRkB2A
2TqZKz+rexEuEuB61eDKSr6XKt+O1PdYjaBxHoQ8cnHpNBwnQVBaQNH8Yd+SCnm+
VDtBn5zkFe346j9YByB43w8ZGtakWqDQEj/9SFtbIlECPNKaNR1H2Xod/phnED4o
xFM/SvMcf9TW5g0E2BcgffzLUd6dYDrSsfSlOK823W6tf42MfeGgpE4nNQBkoEcy
FgGFaVXd2+6eH7yXuLSVjBxKPcgeZNSVxt+3TbfKTnSZ/eqEMd47X0DaWUV38fKd
VEaqd6HeTpk4cAVU/PM/p0D8HEjfsUnETnRcGj5J2rWbf72BmxhsAuKJj7o9TTYF
dmH6BgfaZaVhcO+SnAEWcOSMN6lfKE0YDXX6tKFBwyLI92q1T/v6qkablLCd9f+B
BBGMSTE/DLlvNtSHSXoodi3NfTGL0MXnvVUQQAVc6D9T4hXrRp6F3vGODXH1Jdjz
0lM8JPQGK/VThq+dUslHfpETB0hWy/MbsDHSFQxEWqFFKwpswRvQEbnL6agL5A01
o7jOBiLO3zVLYLWqEWb7Vmzpr9KjNaHemY/8vX5DyqnxMGK6Ppw=
=S1VM
-END PGP SIGNATURE-

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



Re: Building (and running) Tomcat on MacOS

2018-11-06 Thread Israel Timoteo
Hi Christopher,

How do you make Tomcat start automatically after your Mac restarts?


Israel Timoteo
itimo...@me.com



> On Nov 6, 2018, at 9:05 AM, Christopher Schultz 
>  wrote:
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
> 
> All,
> 
> Periodically, some folks ask how to get Tomcat running on MacOS. In
> order to fully-test the most recent version of Tomcat 8.5.x being
> voted on, I built a new environment on my Mac from scratch and
> documented everything.
> 
> I put all of my notes into the Tomcat Wiki which can be found here:
> https://wiki.apache.org/tomcat/Building%20Tomcat%20on%20MacOS
> 
> Comments and modifications are welcome. It would be even better if
> some folks with Macs who aren't running Tomcat would actually try
> following the instructions and let me know if anything in particular
> doesn't work for you.
> 
> - -chris
> -BEGIN PGP SIGNATURE-
> Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/
> 
> iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlvhrc0ACgkQHPApP6U8
> pFjGVA//XYi0+dnb1cmGGtrrZuXPHefRV2LiIf5VIHgQ1oZsiKleqadlsx7mYnD3
> xwcR0Br9HU4x1z2o9a6JY6pdErLVxJSLsvXcBn0bhZAMe1TXXQk0VzxJo+zbTcQK
> Hh3S2XJDjA/U2cTs0z9FTT+mKvFxMUmI4ZnvBrmFXqQH5IgrMv5ajl20xhoKR899
> K30q0J67YjzR42E7XCpBSRlPQhFrkVzXsIfublDc+M59riCisRC6M3cNG6CPGdO6
> ArGVUCxTC+I0+ibdvuhUhWCC8YSm7sqn9/xUHEBhRta3ux+1LwCM1J4TijzOsPo0
> AL3T+H1PElL+5jQXj6JQPcc5oRBfzNX04WJYEvoow3DaKUKX5/yqCVw6krdeGsTo
> gW0IhA/k2h5p6/g1IKZxjYIHkn2YQAUJtL+M7JopJp1xXYPI6xdorhlfylN/D1ms
> T+HgscItBWEG/o25Agydu6Wlpc8rIN0PIe1lMPFsfUHZf/PjUsj6f0+urnE0Cutx
> sIxvMBBzXd76PXYC8k5q50dQdaZONZdvGxHXBcRut4SwDSj9OAQf4R1DfIPcqEkl
> krF6Q04iuwAr6KewG57HkE3xh6kVbthPaVoXHVYmByBbRClZ6IpXRWax+Cvi/ROF
> AgvEV6Z+iQWwKMSX8nSNooifVOLvjZ9tVcI6fiBQLJAVHXeAsmo=
> =tqi1
> -END PGP SIGNATURE-
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 



Building (and running) Tomcat on MacOS

2018-11-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

All,

Periodically, some folks ask how to get Tomcat running on MacOS. In
order to fully-test the most recent version of Tomcat 8.5.x being
voted on, I built a new environment on my Mac from scratch and
documented everything.

I put all of my notes into the Tomcat Wiki which can be found here:
https://wiki.apache.org/tomcat/Building%20Tomcat%20on%20MacOS

Comments and modifications are welcome. It would be even better if
some folks with Macs who aren't running Tomcat would actually try
following the instructions and let me know if anything in particular
doesn't work for you.

- -chris
-BEGIN PGP SIGNATURE-
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlvhrc0ACgkQHPApP6U8
pFjGVA//XYi0+dnb1cmGGtrrZuXPHefRV2LiIf5VIHgQ1oZsiKleqadlsx7mYnD3
xwcR0Br9HU4x1z2o9a6JY6pdErLVxJSLsvXcBn0bhZAMe1TXXQk0VzxJo+zbTcQK
Hh3S2XJDjA/U2cTs0z9FTT+mKvFxMUmI4ZnvBrmFXqQH5IgrMv5ajl20xhoKR899
K30q0J67YjzR42E7XCpBSRlPQhFrkVzXsIfublDc+M59riCisRC6M3cNG6CPGdO6
ArGVUCxTC+I0+ibdvuhUhWCC8YSm7sqn9/xUHEBhRta3ux+1LwCM1J4TijzOsPo0
AL3T+H1PElL+5jQXj6JQPcc5oRBfzNX04WJYEvoow3DaKUKX5/yqCVw6krdeGsTo
gW0IhA/k2h5p6/g1IKZxjYIHkn2YQAUJtL+M7JopJp1xXYPI6xdorhlfylN/D1ms
T+HgscItBWEG/o25Agydu6Wlpc8rIN0PIe1lMPFsfUHZf/PjUsj6f0+urnE0Cutx
sIxvMBBzXd76PXYC8k5q50dQdaZONZdvGxHXBcRut4SwDSj9OAQf4R1DfIPcqEkl
krF6Q04iuwAr6KewG57HkE3xh6kVbthPaVoXHVYmByBbRClZ6IpXRWax+Cvi/ROF
AgvEV6Z+iQWwKMSX8nSNooifVOLvjZ9tVcI6fiBQLJAVHXeAsmo=
=tqi1
-END PGP SIGNATURE-

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



Re: precompile JSPs failure issue - Tomcat community

2018-11-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Rajendra,

On 11/6/18 04:10, Rathore, Rajendra wrote:
> I tried below command, it also fails with same error,

> Please find attached output of strace command, I am unable to
> found any help from that file or I might not have much idea about
> it, can you please check it and let me know your finding, mean
> while is there any way to run the jspc command in single thread
> model like 8.5.32 tomcat version.
Please post the exact ant target which is being executed, including
all various switches that are being applied -- either directly on jspc
itself, or on the JVM running ant (if you are not forking the JVM to
run jspc). I'm especially interested in:

 a) the number of threads you have set
 b) the stack size (per thread)

Also, please post the output of these commands:

$ ulimit -a

$ cat /proc/sys/kernel/threads-max

- -chris

> -Original Message- From: Christopher Schultz
>  Sent: 02 November 2018 06:48 PM To:
> users@tomcat.apache.org Subject: Re: precompile JSPs failure issue
> - Tomcat community
> 
> Rainer,
> 
> On 11/2/18 06:20, Rainer Jung wrote:
>> You can control the number of threads using -threadCount. By
>> default the number is equals to the number of cores the operating
>> system show to the JVM.
> 
> x 2
> 
>> You might want to use a smaller number to see whether that
>> helps.
> 
>> I suggest you also check your Linux system limits on processes
>> per user. That system limit on Linux in fact limits threads per
>> user. So if such a limit is set and your user has other processes
>> with many threads running, you might need to increase this
>> limit.
> 
>> In addition you can run your ant process with
> 
>> strace -f -o /var/tmp/strace.out HERE_COMES_YOUR_ANT_COMMAND &
> 
>> Then after you get the error, you can check the strace.out file
>> for system call errors. The file will be big, but most probably
>> the error is relatively close to the end.
> 
> -chris
> 
> 
> -
>
> 
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 
> -
>
> 
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/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlvhnKkACgkQHPApP6U8
pFirdQ/7BFd/Xpgdra2U0LMr3NwvsfXbEvsy5OgkgxEZgilaZrSVjwcXthIti0yD
SwxTOpaLhTD26aP4osJIo5BpjFvgqoBkxVaTVDCjflaujX6Pf1kIRnWJX3I4s6So
q9luIQiW901De1w50t+ydmNmEFyMXxbbDLwZCA/a3hgSAi9IUbL69R3zO8QthL3+
tzy//bg06UDwPGvb9G3JQO9EX4ehEIbcCJdgbyKQMIIscF8vyQch8uWUhlgzhByx
TF1xyOxr2XkbNaJ5oRw/YoRxOD9OuJnkjjLqKyPAZM63ZhIGED/Ef7C3i39w8tw8
8J/PO6Q8fSi/ZBBXhzicI2zqXBykQbOadkYdtq5Mr1KVswPZms7kYRYr1Dbupp9l
nsW68D8QJ0djkWDggidx0A+90XBZnhjjot1QszVi62r4VVnIIiDjREqavgryE6XB
ybzbCOeyUEDuVp9MZFe7Opl2KxoPZLrNABxfhPsdsa+b2br+QfQWeDjsDPdkEosv
6YyWz8O1x9Py4ugrBpHr4DZ8tE6cwACYuxMUbeYuZuWOpyEJgODTSX7xYj8ESesS
UrA7ik1/5UW8rEUd/E/BIqm6H+mgUtLvcQQHGLy7/1AiiGxVCYCLLCUt4eb+1uC4
boeJxX+3nrw96QkQOgi6p4SNcQH1ql46/1DuC05CMURi8FXhHQ8=
=GFeI
-END PGP SIGNATURE-

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



Re: precompile JSPs failure issue - Tomcat community

2018-11-06 Thread Rainer Jung

Am 06.11.2018 um 10:10 schrieb Rathore, Rajendra:

Hi Rainer/Chris,

I tried below command, it also fails with same error,
Please find attached output of strace command, I am unable to found any help 
from that file or I might not have much idea about it, can you please check it 
and let me know your finding, mean while is there any way to run the jspc 
command in single thread model like 8.5.32 tomcat version.


I see

10807 clone(child_stack=0x7f53af001fb0, 
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, 
parent_tidptr=0x7f53af0029d0, tls=0x7f53af002700, 
child_tidptr=0x7f53af0029d0) = -1 EAGAIN (Resource temporarily unavailable)


I'm not sure, whether that is actualy the same error that you eported 
originally "unable to create new native thread" or whether you now got a 
different error logged?


The man pages for the clone() system call says:

  EAGAIN Too many processes are already running; see fork(2)

and the fork() man page says:

  EAGAIN fork() cannot allocate sufficient memory to copy the parent's 
page tables and allocate a task structure for the child.


  EAGAIN It  was  not  possible  to create a new process because the 
caller's RLIMIT_NPROC resource limit was encountered.  To exceed this 
limit, the process must have either the CAP_SYS_ADMIN or the 
CAP_SYS_RESOURCE capability.


So I would - as already mentioned - check you nproc limit (output of 
"ulimit -u" and "ulimit -u -h") and I would also *reduce* the heap size 
a lot.


Regards,

Rainer



Thanks and Regards,
Rajendra Rathore
9922701491

-Original Message-
From: Christopher Schultz 
Sent: 02 November 2018 06:48 PM
To: users@tomcat.apache.org
Subject: Re: precompile JSPs failure issue - Tomcat community

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Rainer,

On 11/2/18 06:20, Rainer Jung wrote:

You can control the number of threads using -threadCount. By default
the number is equals to the number of cores the operating system show
to the JVM.


x 2


You might want to use a smaller number to see whether that helps.

I suggest you also check your Linux system limits on processes per
user. That system limit on Linux in fact limits threads per user.
So if such a limit is set and your user has other processes with many
threads running, you might need to increase this limit.

In addition you can run your ant process with

strace -f -o /var/tmp/strace.out HERE_COMES_YOUR_ANT_COMMAND &

Then after you get the error, you can check the strace.out file for
system call errors. The file will be big, but most probably the error
is relatively close to the end.


- -chris


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



Re: [EXTERNAL] Re: Request header too large..

2018-11-06 Thread Mark Thomas
On 06/11/2018 00:02, Amit Pande wrote:
> Thanks Mark for the update. Seems like there is a potential bug in our client 
> components which happened to keep on adding to existing header list. 
> 
> https://tomcat.apache.org/tomcat-8.5-doc/config/http.html
> 
> From the documentation:
> 
> maxHttpHeaderSize :The maximum size of the request and response HTTP header, 
> specified in bytes. If not specified, this attribute is set to 8192 (8 KB).
> 
> Although some online searches  (e.g. 
> https://serverfault.com/questions/56691/whats-the-maximum-url-length-in-tomcat)
>  suggest that this maxHttpHeaderSize applies to request line as well, could 
> the documentation be made more elaborate?
> 
> Can we mention that this attribute puts the upper bound on combined size of 
> all request headers and the request line?

Sure. Patch / pull request welcome.

Mark


> 
> Thanks,
> Amit
> 
> On 11/3/18, 4:39 AM, "Mark Thomas"  wrote:
> 
> On 03/11/2018 01:35, Amit Pande wrote:
> > Thanks Chris. Yes, I will soon send out the patch for review.
> 
> Logically, I can see some hurdles for such a patch that are going to be
> difficult to overcome.
> 
> Tomcat will process all of the received data up to the limit. It is on
> the subsequent read to get more data that the exception is thrown.
> 
> The issue is how to determine which header is actually the problem as it
> may not be the one currently being read.
> 
> Consider the following:
> 
> ReqLine - 1024 bytes
> Headers - 5 * 128 bytes
> Header  - 1 * 6*1024 bytes
> Headers - 5 * 128 bytes
> 
> Is the problem the 6k header? The 1k request line? Has the client
> duplicated the block of 5 128 byte headers? Or is the request valid and
> Tomcat's limit too low?
> 
> There is no way for Tomcat to determine where the root cause lies. The
> only reliable way to figure out what went wrong is for a knowledgeable
> system admin to look at the complete set of headers.
> 
> Mark
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 


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



RE: precompile JSPs failure issue - Tomcat community

2018-11-06 Thread Rathore, Rajendra
Hi Rainer/Chris,

I tried below command, it also fails with same error,
Please find attached output of strace command, I am unable to found any help 
from that file or I might not have much idea about it, can you please check it 
and let me know your finding, mean while is there any way to run the jspc 
command in single thread model like 8.5.32 tomcat version.

Thanks and Regards,
Rajendra Rathore
9922701491

-Original Message-
From: Christopher Schultz  
Sent: 02 November 2018 06:48 PM
To: users@tomcat.apache.org
Subject: Re: precompile JSPs failure issue - Tomcat community

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Rainer,

On 11/2/18 06:20, Rainer Jung wrote:
> You can control the number of threads using -threadCount. By default 
> the number is equals to the number of cores the operating system show 
> to the JVM.

x 2

> You might want to use a smaller number to see whether that helps.
> 
> I suggest you also check your Linux system limits on processes per 
> user. That system limit on Linux in fact limits threads per user.
> So if such a limit is set and your user has other processes with many 
> threads running, you might need to increase this limit.
> 
> In addition you can run your ant process with
> 
> strace -f -o /var/tmp/strace.out HERE_COMES_YOUR_ANT_COMMAND &
> 
> Then after you get the error, you can check the strace.out file for 
> system call errors. The file will be big, but most probably the error 
> is relatively close to the end.

- -chris

-BEGIN PGP SIGNATURE-
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlvcTpgACgkQHPApP6U8
pFjorRAAgGTY4qhWtokCdEqowTjN3rWQUk75aCCEEX/zxhQloiXf3cC1CeQEDqjG
SwnATFP7VN7/z1vAdgV9MQlK4SFBy5mp/Tf8HL8K33h6kv0CoEIcvjYbn5fUbpAu
QxmD7zZzEol2hXaKm8+oMnIe28G+dp74jqEpUgbhLDZhd4gAZxc+lejkHRIM8Sqj
hAdi1jh3cslwRpHf5j+Ff9BvYfAuS7ET6aT6e85zsFotj3S6LoXr8zX2HxoDuYWc
P1OebWr9lrJDp/QZEdVDGYPk3b4mZWWG56BK0TTBo+b0TY+52bgXnG71g0tfK1PB
MV1E4wVOj1wYwTuqmZIBXUfLzvGZMIEDG8p4Ne/pM3Hf/ekViQdW7wE19Ro28b3m
iF5AQqeG80P+yerTk7Vic5p7YV11rZrnFT9bUYOe3zBwLJL/GG9zgBQJj1usGtLT
nCmS/7wj4YvqWr8UtagqfbzYyXpEZZ0ZQt67bfONLCXTyyDkd4vRQauGJkMnQEL3
Qobw9SVOefxvVa7ChNBmja6KlmsGhmSlSzW51o2UUiGuwl0tuuwuccw4A+baUMF+
8d/rfzEhFW7SF4Y1/681rvWoEyxA05ILd80+i9BSzr66z+v2+21i5ivWqYZ+TWaF
g8X7kk84JriPgiEbuwqvCG6TmpaXOF0w1FW20s28XiH7uvyllPE=
=/xUp
-END PGP SIGNATURE-

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

10807 stat("/utf/target/Windchill/codebase/wtcore/test/dynAnon.jsp", 
{st_mode=S_IFREG|0775, st_size=360, ...}) = 0
10807 clone(child_stack=0x7f53af001fb0, 
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
 parent_tidptr=0x7f53af0029d0, tls=0x7f53af002700, child_tidptr=0x7f53af0029d0) 
= -1 EAGAIN (Resource temporarily unavailable)
10807 write(1, "!+! ERROR OCCURRED @ /utf/target"..., 81) = 81
10807 write(1, "\n", 1) = 1
10807 write(36, "!+! ERROR OCCURRED @ /utf/target"..., 81) = 81
10807 write(36, "\n", 1)= 1
10807 write(1, "  [antcall] Exiting /utf/target/"..., 71) = 71
10807 write(1, "\n", 1) = 1
10807 write(36, "  [antcall] Exiting /utf/target/"..., 71) = 71
10807 write(36, "\n", 1)= 1
10807 write(1, "\n---"..., 261) = 261
10807 write(1, "\n", 1) = 1
10807 write(36, "\n---"..., 261) = 261
10807 write(36, "\n", 1)= 1
10807 write(1, "!+! ERROR OCCURRED @ /utf/target"..., 81) = 81
10807 write(1, "\n", 1) = 1
10807 write(36, "!+! ERROR OCCURRED @ /utf/target"..., 81) = 81
10807 write(36, "\n", 1)= 1
10807 write(1, "  [antcall] Exiting /utf/target/"..., 71) = 71
10807 write(1, "\n", 1) = 1
10807 write(36, "  [antcall] Exiting /utf/target/"..., 71) = 71
10807 write(36, "\n", 1)= 1
10807 write(1, "\n---"..., 261) = 261
10807 write(1, "\n", 1) = 1
10807 write(36, "\n---"..., 261) = 261
10807 write(36, "\n", 1)= 1
10807 write(1, " [echo] FAILED to compile wt"..., 53) = 53
10807 write(1, "\n", 1) = 1
10807 write(36, " [echo] FAILED to compile wt"..., 53) = 53
10807 write(36, "\n", 1)= 1
10807 write(1, " [echo] ", 12)  = 12
10807 write(1, "\n", 1) = 1
10807 write(36, " [echo] ", 12) = 12
10807 write(36, "\n", 1)= 1
10807 write(1, " [echo] The following error "..., 67) = 67
10807 write(1, "\n", 1) = 1
10807 write(36, " [echo] The following error "..., 67) = 67
10807 write(36, "\n", 1)= 1
10807 write(1, " [echo] /utf/target/Windchil"..., 123) = 123
10807