just tried on 1.5.1-SNAPSHOT (should be the same code for the part you
speak about) and under linux (not sure it is important) and didnt get any
issue

i just added your dep to a maven war project (with no other code/dep)

any help to reproduce your issue?

here the jar i got in web-inf/lib:

bcmail-jdk14-1.38.jar
bcmail-jdk14-138.jar
bcprov-jdk14-1.38.jar
bcprov-jdk14-138.jar
bctsp-jdk14-1.38.jar
castor-1.2.jar
commons-beanutils-1.8.0.jar
commons-collections-2.1.jar
commons-digester-2.1.jar
commons-logging-1.1.1.jar
dom4j-1.6.1.jar
geronimo-stax-api_1.0_spec-1.0.jar
itext-2.1.7.jar
jackson-core-asl-1.9.4.jar
jackson-mapper-asl-1.9.4.jar
jasperreports-4.7.0.jar
jcommon-1.0.15.jar
jdtcore-3.1.0.jar
jfreechart-1.0.12.jar
poi-3.7.jar
poi-ooxml-3.7.jar
poi-ooxml-schemas-3.7.jar
stax-api-1.0.1.jar
xml-apis-1.3.02.jar
xmlbeans-2.3.0.jar


*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*




2012/9/30 stx_g <[email protected]>

> 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