Hi All,
  I'm working on an JAX-RS + EJB project that runs pretty well on TomEE+
1.0.

  This morning, just for curiosity, I installed TomEE+ 1.5 (downloaded on
Friday morning from
http://people.apache.org/~dblevins/staging-053/openejb-4.5.0/ ), I deployed
my application and I get a StackOverflowError. 

  Then I made a simple test project and I found that Jasper Reports lib is
the problem. 

  If I add this dependency:

<dependency>
        <groupId>net.sf.jasperreports</groupId>
        <artifactId>jasperreports</artifactId>
        <version>4.7.0</version>
        <type>jar</type>
</dependency>

I get this bad exception:

.....
Sep 30, 2012 11:06:06 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive
/home/me/Develop/apache-tomee-plus-1.5.0/webapps/tomee_test.war
Sep 30, 2012 11:06:06 AM org.apache.tomee.catalina.TomcatWebAppBuilder init
INFO: -------------------------
TomcatWebAppBuilder.init /tomee_test
Sep 30, 2012 11:06:06 AM org.apache.openejb.util.JarExtractor extract
INFO: Extracting jar:
/home/me/Develop/apache-tomee-plus-1.5.0/webapps/tomee_test.war
Sep 30, 2012 11:06:08 AM org.apache.openejb.util.JarExtractor extract
INFO: Extracted path:
/home/me/Develop/apache-tomee-plus-1.5.0/webapps/tomee_test
Sep 30, 2012 11:06:21 AM org.apache.tomcat.util.modeler.BaseModelMBean
invoke
SEVERE: Exception invoking method check
java.lang.StackOverflowError
        at java.util.zip.ZipCoder.toString(ZipCoder.java:56)
        at java.util.zip.ZipFile.getZipEntry(ZipFile.java:529)
        at java.util.zip.ZipFile.access$900(ZipFile.java:56)
        at java.util.zip.ZipFile$1.nextElement(ZipFile.java:511)
        at java.util.zip.ZipFile$1.nextElement(ZipFile.java:481)
        at java.util.jar.JarFile$1.nextElement(JarFile.java:242)
        at java.util.jar.JarFile$1.nextElement(JarFile.java:237)
        at
org.apache.xbean.finder.archive.JarArchive$JarIterator.advance(JarArchive.java:105)
        at
org.apache.xbean.finder.archive.JarArchive$JarIterator.advance(JarArchive.java:108)
        at
org.apache.xbean.finder.archive.JarArchive$JarIterator.advance(JarArchive.java:108)
        at
org.apache.xbean.finder.archive.JarArchive$JarIterator.advance(JarArchive.java:108)
        at
org.apache.xbean.finder.archive.JarArchive$JarIterator.advance(JarArchive.java:108)
        at
org.apache.xbean.finder.archive.JarArchive$JarIterator.advance(JarArchive.java:108)
        at
org.apache.xbean.finder.archive.JarArchive$JarIterator.advance(JarArchive.java:108)
        at
org.apache.xbean.finder.archive.JarArchive$JarIterator.advance(JarArchive.java:108)
        at
org.apache.xbean.finder.archive.JarArchive$JarIterator.advance(JarArchive.java:108)
.....

I think there is a library conflict but I'm not sure.

Could you help me, please?


Thanks


- Stefano





--
View this message in context: 
http://openejb.979440.n4.nabble.com/Jasper-Reports-conflict-with-TomEE-1-5-tp4657709.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to