2 Replies Latest reply on Oct 15, 2013 9:59 AM by Tiago Augusto Coelho

    Richfaces 4.3.0.Final and TomEE 1.5.1

    gonzalad Apprentice

      Hello,

       

      This is the first time I try to use TomEE 1.5.1-plus with Richfaces (Sun VM 1.6.x).

       

      Just for reference, if anyne comes across this issue.

       

      When starting tomEE with RF, I've got :

       

      Caused by: java.lang.StackOverflowError
                at java.util.zip.ZipFile.access$100(ZipFile.java:31)
                at java.util.zip.ZipFile$2.nextElement(ZipFile.java:322)
                at java.util.zip.ZipFile$2.nextElement(ZipFile.java:312)
                at java.util.jar.JarFile$1.nextElement(JarFile.java:225)
                at java.util.jar.JarFile$1.nextElement(JarFile.java:220)
                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)
      ...
      

       

      This is resolved by adding -Xss1m as a VM argument.

        • 1. Re: Richfaces 4.3.0.Final and TomEE 1.5.1
          Erdem YILMAZ Newbie

          thanks gonzalad, that helps us. we achieved this by anothersolution:

          we added exclusions.list under WEB-INF directory with following content:

           

          ApacheJMeter

          XmlSchema-

          activation-

          activeio-

          activemq-

          aether-

          antlr-

          aopalliance-

          avalon-framework-

          axis-

          axis2-

          bcprov-

          bval-core

          bval-jsr

          c3p0-

          catalina-

          cglib-

          commons-beanutils

          commons-cli-

          commons-codec-

          commons-collections-

          commons-dbcp

          commons-dbcp-all-1.3-

          commons-digester-

          commons-discovery-

          commons-httpclient-

          commons-io-

          commons-lang-

          commons-lang3-

          commons-logging-

          commons-logging-api-

          commons-net-

          commons-pool-

          cssparser-

          cxf-

          deploy.jar

          derby-

          derbyclient-

          derbynet-

          dom4j-

          ecj-

          eclipselink-

          geronimo-

          google-

          gragent.jar

          gson

          guice-

          hibernate-

          howl-

          hsqldb-

          htmlunit-

          httpclient-

          httpcore-

          icu4j-

          idb-

          idea_rt.jar

          jasypt-

          javaee-

          javaee-api

          javassist-

          javaws.jar

          javax.

          jaxb-

          jaxp-

          jboss-

          jbossall-

          jbosscx-

          jbossjts-

          jbosssx-

          jcommander-

          jersey-

          jettison-

          jetty-

          jline

          jmdns-

          joda-time-

          jsoup-

          jsp-api

          jsr299-

          jsr311-

          juli-

          junit-

          kahadb-

          log4j-

          logkit-

          maven-

          mbean-annotation-api-

          mimepull-

          mina-

          myfaces-api

          myfaces-impl

          neethi-

          nekohtml-

          openejb-api

          openejb-client

          openejb-cxf-bundle

          openejb-cxf-transport

          openejb-derby

          openejb-ejbd

          openejb-hsql

          openejb-http

          openejb-javaagent

          openejb-jee

          openejb-jsf

          openejb-jstl

          openejb-loader

          openejb-openwebbeans

          openejb-server

          openjpa-

          opensaml-

          openwebbeans-

          openws-

          ops4j-

          org.eclipse.

          org.junit.

          org.osgi.core-

          pax-

          plexus-

          quartz-

          rmock-

          saaj-

          sac-

          scannotation-

          serializer-

          serp-

          servlet-api-

          slf4j-

          spring-

          sshd-

          stax-api-

          surefire-

          swizzle-

          testng-

          tomee-

          tomcat-

          wagon-

          webbeans-ee

          webbeans-ejb

          webbeans-impl

          webbeans-spi

          woodstox-core-asl-

          wsdl4j-

          wss4j-

          wstx-asl-

          xalan-

          xbean-

          xercesImpl-

          xml-apis-

          xml-resolver-

          xmlrpc-

          xmlschema-

          xmlsec-

          xmltooling-

          xmlunit-

          dojo-

          richfaces-

          guava-

          • 2. Re: Richfaces 4.3.0.Final and TomEE 1.5.1
            Tiago Augusto Coelho Newbie

            Tks , this solution helps me alot. But i tried the same version of tomEE in linux and it works.. It is hard to say what is the problem.