-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Jan,

On 12/5/18 06:59, Jan Vávra wrote:
> Hi,
> 
> Dne 04.12.2018 v 17:49 Christopher Schultz napsal(a): Jan,
> 
> On 12/4/18 10:10, Jan Vávra wrote:
>>>> Hello, I'm using Apache Tomcat/8.5.35, jvm 1.8.0_192-b12,
>>>> Windows Server 2012 R2 and at Complete Server Status page I
>>>> can see list of all http-nio threads and I can see a header
>>>> of ajp-nio threads. But there is displayed only a label Max
>>>> threads: and nothing more.
>>>> 
>>>> In the localhost.log is an exception: 04-Dec-2018
>>>> 10:31:38.109 SEVERE [96]
>>>> org.apache.catalina.core.StandardHostValve.invoke Exception
>>>> Processing null java.lang.NullPointerException at 
>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrappe
rVa
>
>>>> 
lve.java:236)
>>>> at 
>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContex
tVa
>
>>>> 
lve.java:96)
>>>> at 
>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenti
cat
>
>>>> 
orBase.java:493)
>>>> at 
>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve
.ja
>
>>>> 
va:140)
>>>> at 
>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve
.ja
>
>>>> 
va:81)
>>>> at 
>>>> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAc
ces
>
>>>> 
sLogValve.java:650)
>>>> at 
>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineV
alv
>
>>>> 
e.java:87)
>>>> at 
>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.j
ava
>
>>>> 
:342)
>>>> 
> at
> org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:479)
>>>> at 
>>>> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorL
igh
>
>>>> 
t.java:66)
>>>> at 
>>>> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(Abstra
ctP
>
>>>> 
rotocol.java:806)
>>>> at 
>>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEnd
poi
>
>>>> 
nt.java:1498)
>>>> at 
>>>> org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorB
ase
>
>>>> 
.java:49)
>>>> at 
>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecuto
r.j
>
>>>> 
ava:1149)
>>>> at 
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecut
or.
>
>>>> 
java:624)
>>>> at 
>>>> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(Task
Thr
>
>>>> 
ead.java:61)
>>>> at java.lang.Thread.run(Thread.java:748)
>>>> 
>>>> At the version Apache Tomcat/8.5.34 this problem doesn't
>>>> occur. Did I found a bug?
> Something looks seriously broken if you got an NPE on that line of 
> code. Either the Valve doesn't have a Container or the Container 
> doesn't have a logger, neither of which should ever happen.
> 
> What's your use-case? Is this embedded, or using Tomcat "normally" 
> like starting-up from a script/service and deploying web
> applications to it?
>> The tomcat is started as a Windows service tomcat7.exe. The
>> services was installed using service.bat install. User
>> connections are received in Apache Server and reverse proxied
>> using mod_ajp. The manager app I've opened locally at RDP at url 
>> http://localhost:8080/manager/html.
> 
> 
> Did you upgrade from 8.5.34 and then it broke? How did you perform
> the upgrade?
>> I upgraded from 8.5.9 to 8.5.35 just copying from 
>> apache-tomcat-8.5.35-windows-x64.zip. I didn't copy only the 
>> conf/server.xml If I copied files from 8.5.34 the problem didn't
>> occur.

So you took files from the ZIP file and dropped them on top of your
existing Tomcat installation? Which files? All of them? Generally,
conf/server.xml is customized for a particular environment. If you
copied everything, you will probably have lost something important.

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

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlwH8UUACgkQHPApP6U8
pFgD+BAAwoP66vzrt5yMgiEPW9h8iUc3c8C7TXVTBLcPB1zGhjlE0r+OEhpDv2u/
nvtlLOHMJKfqDKmDsRL8CN/qjdieZaGS4jGgDmISgBlUAMskzKf0KO5IFTqME/1p
VKd74+cPaEZTOBqS0iwJ3iEuUczy5ArxyHeCwe7gtKLecUJot9p8MmAZ3vbVZfs+
wKHYvz2TgI4DW6LHYlVVkzE5fxsJcJXMZj0DoDIjvzy1IGfMbsIYgnUpPtqh4neC
uGBc1GaOIjH4uK81jr6A9CxtFaSpsek+1cZzXKDZwn0LKaY6hzAieXc+EH+22Cp3
DjPqOzwJA2fBW5ZuOUpSnCpxvtZtz8HhuouzZA8HgsgZdXhfGiBv980CigMUoOoh
71gXSi5AgOcsarD3R+mwu5UAgmYKEtIcslfrpQEE7CziRCLJhyuEZvSt6Yz48v/B
q5Jpd2/FT/qf91C/X/l1Ndd21kApQYZw6C4AAOIuxP7ZLdtUjlme2dKIB46w88pq
zwluTi3Rnk2qFBYfTlaK5TCINj3d1r0kguzMwxoEyDbK86FOOqX9qlEKnty3JdBw
ieOpQ4+t+O1/ogLfqFwX2Tce9MdWtDFMkWS/FLW1O4LdLklvKElb6Q75ZUmRqrrQ
FS4IvMfXaMWkOr53MM/G7Zs37kp7F5k4MF7yyafNTjFP3yK8/Og=
=R5+S
-----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