Closed GoogleCodeExporter closed 9 years ago
I am also experiencing problems with resin 4.0.29 - when javamelody is enabled,
some jsp requests just create a blank page (empty response).
Do you also get a blank page?
Original comment by mineral_...@gmx.de
on 13 Aug 2012 at 5:32
no
my problem is el tag can't parse,return like this:${item.name}
Original comment by Nigel.sq...@gmail.com
on 14 Aug 2012 at 3:25
Ok.
Then I created a seperate issue for my problem, see:
http://code.google.com/p/javamelody/issues/detail?id=245
Original comment by mineral_...@gmx.de
on 14 Aug 2012 at 10:26
Can you submit an example of jsp to reproduce the problem?
And what is your exact version of resin?
Original comment by evernat@free.fr
on 16 Aug 2012 at 3:27
I had tested on resin-4.0.23/26/29,and has the same problem!
And I had upl4oaded the jsp
Original comment by Nigel.sq...@gmail.com
on 17 Aug 2012 at 2:33
Attachments:
For whatever reason unknown to me, Resin does not like to have a
"META-INF/web-fragment.xml" file inside the javamelody jar file.
If this file is inside the jar file then Resin seems to think that the webapp
is a servlet api v2.5 or v2.4 compatible webapp, and not a servlet api v3.0
compatible webapp.
And then Resins does not compile the jsp correctly. It displays "${1+10}" for
your index.jsp.
If you remove the "META-INF/web-fragment.xml" from the javamelody jar, using
web.xml only, (and if you remove the WEB-INF/work directory of the webapp),
then it works.
Resins compiles the jsp correctly. It displays "11" for your index.jsp.
And also the javamelody monitoring works.
For example, the attached webapp (test.war) has a javamelody jar file without
META-INF/web-framgent.xml and it works correctly.
Original comment by evernat@free.fr
on 21 Aug 2012 at 9:18
Attachments:
By the way, I think that you have found a Resin bug. There is certainly no
reason why a META-INF/web-fragment.xml such as [1] would cause Resin to think
of a v2.5 compatible webapp.
You could submit an issue in their issue tracker (http://bugs.caucho.com/) and
attach the test.war and test-ko.war examples.
[1]
https://code.google.com/p/javamelody/source/browse/trunk/javamelody-core/src/mai
n/resources/META-INF/web-fragment.xml
Original comment by evernat@free.fr
on 21 Aug 2012 at 9:22
Attachments:
thanks for your help!
It work!
Original comment by Nigel.sq...@gmail.com
on 22 Aug 2012 at 2:11
I have created an issue for Resin:
http://bugs.caucho.com/view.php?id=5200
so closing this one.
Original comment by evernat@free.fr
on 30 Aug 2012 at 5:04
It will be fixed in Resin 4.0.31, according to
http://bugs.caucho.com/view.php?id=5200
Original comment by evernat@free.fr
on 30 Aug 2012 at 8:38
Original issue reported on code.google.com by
Nigel.sq...@gmail.com
on 13 Aug 2012 at 10:36