Closed GoogleCodeExporter closed 8 years ago
I did another test. Same exception is thrown with JavaMelody 1.48, but with
1.47 it works fine.
Original comment by gstacho...@gmail.com
on 18 Feb 2014 at 7:54
What happens if you add the following jar file in your classpath (/WEB-INF/lib/
directory in your webapp)?
http://search.maven.org/remotecontent?filepath=javax/xml/stream/stax-api/1.0-2/s
tax-api-1.0-2.jar
If you use Maven in your project, you can add the following dependency in your
pom.xml file to add the jar file:
<dependency>
<groupId>javax.xml.stream</groupId>
<artifactId>stax-api</artifactId>
<version>1.0-2</version>
</dependency>
Original comment by evernat@free.fr
on 22 Feb 2014 at 7:53
Everything works with stax-api-1.0-2.jar
Original comment by gstacho...@gmail.com
on 24 Feb 2014 at 2:06
This is certainly caused by your IBM java, which class loading is quite
special. (It is known to try to load classes, when Oracle java does not try to
because it does not need to, at least not yet.)
Given that it's IBM java and given that the issue is only in Java 1.5 (quite
old and even EOL), this issue is won't fix here.
I suggest that you keep the stax-api jar file [1] in your classpath
(/WEB-INF/lib/ directory in your webapp), or even better that you upgrade your
java version.
[1]
http://search.maven.org/remotecontent?filepath=javax/xml/stream/stax-api/1.0-2/s
tax-api-1.0-2.jar
Original comment by evernat@free.fr
on 17 Mar 2014 at 12:53
As I said, this error is thrown on my workstation with Windows XP SP 3,
JavaMelody: 1.49 and 1.48
Tomcat: 5.5.36
Java JDK: 1.5.0_22
But works with JavaMelody 1.47.
In production we have IBM AIX and IBM Java. We're using JavaMelody 1.47 there,
and it works fine.
Original comment by gstacho...@gmail.com
on 2 Apr 2014 at 7:48
Original issue reported on code.google.com by
gstacho...@gmail.com
on 18 Feb 2014 at 7:36