Can't connect to JVM via jconsole, etc. when using VelocityViewServlet

Christopher Schultz <[email protected]> Mon, 10 Mar 2014 14:15:04 -0400
Newsgroups gmane.comp.jakarta.velocity.user
Message-ID <[email protected]>
All,

I've just discovered that I can't connect using jconsole, VisualVM,
YourKit, etc. when VelocityViewServlet has been enabled. I never noticed
this before because I haven't been using jconsole very much, and I don't
think I've tried to profile recently.

I have a quick summary of what's going on, including a link to a bug
I've filed against Apache Tomcat (because the problem appears to be
related to JMX).

http://markmail.org/thread/4g6ey2a24z6awxu5

I was able to reduce my entire web application to just
VelocityViewServlet with no manually-deployed tools, so everything in
this web application is coming from Velocity or Apache Commons.

Can anyone confirm that this happens to them, too? Any ideas what might
be happening? If anyone has any thoughts about this, I'd really
appreciate them.

Thanks,
-chris
signature.asc (application/pgp-signature, 924 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJTHgEoAAoJEBzwKT+lPKRY7yYQALByQdd6nZvrb0pNi5f6D3au
k5fhhsBM0+bLkzidIdrH87HEERF+YBo1Uf6X7kgKGxrSmcuSLowPDBzMNh2KGtfH
NuAYMlZKCfL3leNJHU3wAWjQfUBPgzqmhFIS/T0VMHr3lFFtu1kcazjwb7AVHjki
8y7EFHZ3cj/62T8vi+DfjXNvgdl6PlxquKTy6dLOxxtKjUB+xywDdzfbDvnxlBeN
gln3hR+Jeo0OpqPvm8x4EJOCYrST6N++XtWGzKwYdueGlYxKrfLNnNY86VrmW61Z
WMnFmGde/2FJqyB+2zCsCbVPlsniEv8d3GeXM/chtDhigQDLzd2JKUyaMsOH/8w7
mUpzUhTUBW1K5m0Ao6n8/io60vSsaeBTWR5kS4cJ41hawgAZr/pPipgKgvYnQ7OL
32OpXSAz6NMQfbR3gD04/U5kg7kONYHpv53Tv803MI4KOMe/O5iQl3UFgPl/zoB1
mzpUEibNO05Ih86THrC8vtNAY4wIZFxl/642g4MVUeYcozP3g+lJLurLUDPwDNml
sV9te0PeXC0RMxbhyaGB6ZWB3VPxDsVsh408y//FBFCbRnvT+VG6AKVjZCofMzac
7TNx4d7DyVjLA0MN0kmCsU/ExjkupzyQlGpOKvvcPiBAzGYQKGr0AYsAueMFhbcq
gLR7+mBamyOTnW65Tuij
=VFg5
-----END PGP SIGNATURE-----