Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

BlazeDS + Webtier compiler Troubles!

theQmaster
Level 2
Level 2
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(DelegatingConstructorAccessorImpl.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(DelegatingConstructorAccessorImpl.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(DelegatingConstructorAccessorImpl.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(DelegatingConstructorAccessorImpl.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(DelegatingConstructorAccessorImpl.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(DelegatingConstructorAccessorImpl.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)







0 Replies