> -----Original Message-----
> From: Ted Husted [mailto:[EMAIL PROTECTED]
> Sent: Sunday, June 08, 2003 4:37 AM
> To: Struts Developers List
> Subject: Re: Status check? - Houston we have a problem
> 
> 
> I'm still play-testing the web apps against all three, but here's an 
> early warning:
> 
> Running the exercise app under Tomcat 3.3.1a
> 
> The logic-compare test kills container - nothing in log to 
> indicate why. 
> This is a big test, so it may be rendering problem. (TC41 is OK)

Urk. It doesn't just kill the container, it kills the JVM (on Sun JDK
1.4.1_01). I didn't see that before, but maybe I was using an earlier JVM.
If I have time, I'll try that.

> 
> Same result under NN and IE for Windows XP. The Tomcat test 
> memory usage 
> is under 50%.
> 
> Also (Same result NN/IE; TC41 is OK; Tomcat cookie test nominal),
> 
> http://localhost:8080/struts-exercise-taglib/bean-cookie.jsp
> 
> Error: 500
> Location: /struts-exercise-taglib/bean-cookie.jsp
> Internal Servlet Error:
> 
> org.apache.jasper.JasperException: Class 
> org.apache.jasper.runtime.JspRuntimeLibrary can not access a 
> member of 
> class org.apache.tomcat.facade.CookieFacade with modifiers "public"

The part of the test that is failing is:

  <jsp:getProperty name="sess" property="name"/>

The <jsp:getProperty> tags earlier on the page succeeded. The only
difference I can see is that the earlier ones all have setters as well as
getters in the Tomcat CookieFacade class, whereas there is only a getter for
'name'. So this actually looks like some kind of JSP/reflection bug, not
related to Struts. (The <bean:cookie> tag must have worked, because we know
the <jsp:getProperty> tag is trying to access a cookie!)

--
Martin Cooper


>       at 
> org.apache.jasper.runtime.JspRuntimeLibrary.handleGetProperty(
> JspRuntimeLibrary.java:430)
>       at bean_0002dcookie_1._jspService(bean_0002dcookie_1.java:284)
>       at 
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java)
>       at 
> org.apache.tomcat.facade.ServletHandler.doService(ServletHandl
> er.java:574)
>       at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
>       at org.apache.tomcat.core.Handler.service(Handler.java:235)
>       at 
> org.apache.tomcat.facade.ServletHandler.service(ServletHandler
> .java:485)
>       at 
> org.apache.tomcat.core.ContextManager.internalService(ContextM
> anager.java:917)
>       at 
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
>       at 
> org.apache.tomcat.modules.server.Http10Interceptor.processConn
> ection(Http10Interceptor.java:176)
>       at 
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> nt.java:494)
>       at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.java:516)
>       at java.lang.Thread.run(Thread.java:536)
> Root cause:
> java.lang.IllegalAccessException: Class 
> org.apache.jasper.runtime.JspRuntimeLibrary can not access a 
> member of 
> class org.apache.tomcat.facade.CookieFacade with modifiers "public"
>       at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:57)
>       at java.lang.reflect.Method.invoke(Method.java:317)
>       at 
> org.apache.jasper.runtime.JspRuntimeLibrary.handleGetProperty(
> JspRuntimeLibrary.java:428)
>       at bean_0002dcookie_1._jspService(bean_0002dcookie_1.java:284)
>       at 
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java)
>       at 
> org.apache.tomcat.facade.ServletHandler.doService(ServletHandl
> er.java:574)
>       at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
>       at org.apache.tomcat.core.Handler.service(Handler.java:235)
>       at 
> org.apache.tomcat.facade.ServletHandler.service(ServletHandler
> .java:485)
>       at 
> org.apache.tomcat.core.ContextManager.internalService(ContextM
> anager.java:917)
>       at 
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
>       at 
> org.apache.tomcat.modules.server.Http10Interceptor.processConn
> ection(Http10Interceptor.java:176)
>       at 
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> nt.java:494)
>       at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.java:516)
>       at java.lang.Thread.run(Thread.java:536)
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to