0 Replies Latest reply on May 8, 2008 1:26 PM by theQmaster

    BlazeDS + Webtier compiler Troubles!

    theQmaster
      When running a simple jsp like this

      <%@ taglib uri="FlexTagLib" prefix="mm" %>

      <mm:mxml height="300" width="600" usePlayerDetection="true" useExpressInstall="false">
      <mm:flashvar name="javaVersion" value='<%= System.getProperty("java.version") %>'/>
      <mm:flashvar name="currentDate" value="<%= new java.util.Date().toString() %>"/>
      </mm:mxml>




      tomcat+blaze blows with the exception below, anyone has any ideas what's happening ? I have installed webtier into blazeds as the readme described.


      org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.StackOverflowError
      org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505 )
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

      root cause

      javax.servlet.ServletException: java.lang.StackOverflowError
      org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:850)
      org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
      org.apache.jsp.flex.webtier_jsp._jspService(webtier_jsp.java:132)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

      root cause

      java.lang.StackOverflowError
      java.lang.ClassLoader.findLoadedClass(ClassLoader.java:920)
      flex.bootstrap.BootstrapClassLoader.loadClass(BootstrapClassLoader.java:332)
      java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      flex.bootstrap.BootstrapTag.<init>(BootstrapTag.java:39)
      flex.bootstrap.BootstrapBodyTag.<init>(BootstrapBodyTag.java:28)
      flex.webtier.server.j2ee.jsp.MxmlTagImpl.<init>(MxmlTagImpl.java:2)
      sun.reflect.GeneratedConstructorAccessor24.newInstance(Unknown Source)
      sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorIm pl.java:27)
      java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      java.lang.Class.newInstance0(Class.java:350)
      java.lang.Class.newInstance(Class.java:303)
      flex.bootstrap.BootstrapTag.<init>(BootstrapTag.java:39)
      flex.bootstrap.BootstrapBodyTag.<init>(BootstrapBodyTag.java:28)
      flex.webtier.server.j2ee.jsp.MxmlTagImpl.<init>(MxmlTagImpl.java:2)
      sun.reflect.GeneratedConstructorAccessor24.newInstance(Unknown Source)
      sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorIm pl.java:27)
      java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      java.lang.Class.newInstance0(Class.java:350)
      java.lang.Class.newInstance(Class.java:303)
      flex.bootstrap.BootstrapTag.<init>(BootstrapTag.java:39)
      flex.bootstrap.BootstrapBodyTag.<init>(BootstrapBodyTag.java:28)
      flex.webtier.server.j2ee.jsp.MxmlTagImpl.<init>(MxmlTagImpl.java:2)
      sun.reflect.GeneratedConstructorAccessor24.newInstance(Unknown Source)
      sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorIm pl.java:27)
      java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      java.lang.Class.newInstance0(Class.java:350)
      java.lang.Class.newInstance(Class.java:303)
      flex.bootstrap.BootstrapTag.<init>(BootstrapTag.java:39)
      flex.bootstrap.BootstrapBodyTag.<init>(BootstrapBodyTag.java:28)
      flex.webtier.server.j2ee.jsp.MxmlTagImpl.<init>(MxmlTagImpl.java:2)
      sun.reflect.GeneratedConstructorAccessor24.newInstance(Unknown Source)
      sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorIm pl.java:27)
      java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      java.lang.Class.newInstance0(Class.java:350)
      java.lang.Class.newInstance(Class.java:303)
      flex.bootstrap.BootstrapTag.<init>(BootstrapTag.java:39)
      flex.bootstrap.BootstrapBodyTag.<init>(BootstrapBodyTag.java:28)
      flex.webtier.server.j2ee.jsp.MxmlTagImpl.<init>(MxmlTagImpl.java:2)
      sun.reflect.GeneratedConstructorAccessor24.newInstance(Unknown Source)
      sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorIm pl.java:27)
      java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      java.lang.Class.newInstance0(Class.java:350)
      java.lang.Class.newInstance(Class.java:303)
      flex.bootstrap.BootstrapTag.<init>(BootstrapTag.java:39)
      flex.bootstrap.BootstrapBodyTag.<init>(BootstrapBodyTag.java:28)
      flex.webtier.server.j2ee.jsp.MxmlTagImpl.<init>(MxmlTagImpl.java:2)
      sun.reflect.GeneratedConstructorAccessor24.newInstance(Unknown Source)
      sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorIm pl.java:27)
      java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      java.lang.Class.newInstance0(Class.java:350)
      java.lang.Class.newInstance(Class.java:303)
      flex.bootstrap.BootstrapTag.<init>(BootstrapTag.java:39)