Re: problem deploying cayenne-web app tutorial on sun app server

From: Joshua Pyle (joshua.t.pyl..mail.com)
Date: Mon Jun 13 2005 - 21:13:05 EDT

  • Next message: Jürgen Saar: "Re: PK Velocity Template Problem"

    Watchout for the good old commons-collection issue. Just get a copy
    of the 3.01 and replace the commons collections library that typically
    comes with struts. I've been bit by this a number of times.

    Struts runs fine with the 3.01 collection library but cayene hates the
    2.x version :-)

    Joshua T. Pyle

    On 6/13/05, Andrus Adamchik <andru..bjectstyle.org> wrote:
    > Cheryl,
    >
    > This looks like a Struts installation problem. I am no big Struts
    > expert, but you'll probably need more than struts.jar to make the
    > application work. Please refer to Struts documentation and countless
    > online resources for details, but start by following the advice from
    > the tutorial docs:
    >
    > * Copy all JAR files distributed with Struts (located in lib
    > subdirectory) to WEB-INF/lib subdirectory of the tutorial project.
    > * Copy all the *.tld files and validator-rules.xml from Struts lib
    > subdirectory to WEB-INF subdirectory of the tutorial project.
    >
    > Andrus
    >
    >
    > On Jun 13, 2005, at 6:11 PM, Cheryl Norsworthy wrote:
    >
    > > I'm getting the following when I access the cayenne-web-app
    > > tutorial that I have deployed on my sun java system application
    > > server, struts.jar is in WEB-INF/lib directory, I have no idea
    > > where to start looking, any suggestions would be great
    > >
    > > Thanks, Cheryl
    > >
    > > Servlet.service() for servlet jsp threw exception
    > > java.lang.NullPointerException
    > > at org.apache.struts.taglib.TagUtils.retrieveMessageResources
    > > (TagUtils.java:1161)
    > > at org.apache.struts.taglib.TagUtils.message(TagUtils.java:1024)
    > > at org.apache.struts.taglib.bean.MessageTag.doStartTag
    > > (MessageTag.java:224)
    > > at org.apache.jsp.index_jsp._jspx_meth_bean_message_0
    > > (index_jsp.java:163)
    > > at org.apache.jsp.index_jsp._jspx_meth_html_html_0
    > > (index_jsp.java:108)
    > > at org.apache.jsp.index_jsp._jspService(index_jsp.java:74)
    > > at org.apache.jasper.runtime.HttpJspBase.service
    > > (HttpJspBase.java:102)
    > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
    > > at org.apache.jasper.servlet.JspServletWrapper.service
    > > (JspServletWrapper.java:282)
    > > at org.apache.jasper.servlet.JspServlet.serviceJspFile
    > > (JspServlet.java:263)
    > > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:
    > > 210)
    > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
    > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    > > at sun.reflect.NativeMethodAccessorImpl.invoke
    > > (NativeMethodAccessorImpl.java:39)
    > > at sun.reflect.DelegatingMethodAccessorImpl.invoke
    > > (DelegatingMethodAccessorImpl.java:25)
    > > at java.lang.reflect.Method.invoke(Method.java:324)
    > > at org.apache.catalina.security.SecurityUtil$1.run
    > > (SecurityUtil.java:246)
    > > at java.security.AccessController.doPrivileged(Native Method)
    > > at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    > > at org.apache.catalina.security.SecurityUtil.execute
    > > (SecurityUtil.java:268)
    > > at org.apache.catalina.security.SecurityUtil.doAsPrivilege
    > > (SecurityUtil.java:162)
    > > at
    > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
    > > (ApplicationFilterChain.java:236)
    > > at org.apache.catalina.core.ApplicationFilterChain.access$000
    > > (ApplicationFilterChain.java:55)
    > > at org.apache.catalina.core.ApplicationFilterChain$1.run
    > > (ApplicationFilterChain.java:145)
    > > at java.security.AccessController.doPrivileged(Native Method)
    > > at org.apache.catalina.core.ApplicationFilterChain.doFilter
    > > (ApplicationFilterChain.java:141)
    > > at org.apache.catalina.core.StandardWrapperValve.invoke
    > > (StandardWrapperValve.java:220)
    > > at org.apache.catalina.core.StandardValveContext.invokeNext
    > > (StandardValveContext.java:109)
    > > at org.apache.catalina.core.StandardPipeline.invoke
    > > (StandardPipeline.java:522)
    > > at org.apache.catalina.core.StandardContextValve.invokeInternal
    > > (StandardContextValve.java:214)
    > > at org.apache.catalina.core.StandardContextValve.invoke
    > > (StandardContextValve.java:168)
    > > at org.apache.catalina.core.StandardValveContext.invokeNext
    > > (StandardValveContext.java:109)
    > > at org.apache.catalina.core.StandardPipeline.invoke
    > > (StandardPipeline.java:522)
    > > at org.apache.catalina.core.StandardHostValve.invoke
    > > (StandardHostValve.java:144)
    > > at org.apache.catalina.core.StandardValveContext.invokeNext
    > > (StandardValveContext.java:109)
    > > at org.apache.catalina.valves.ErrorReportValve.invoke
    > > (ErrorReportValve.java:133)
    > > at org.apache.catalina.core.StandardValveContext.invokeNext
    > > (StandardValveContext.java:107)
    > > at org.apache.catalina.valves.AccessLogValve.invoke
    > > (AccessLogValve.java:539)
    > > at org.apache.catalina.core.StandardValveContext.invokeNext
    > > (StandardValveContext.java:107)
    > > at com.sun.enterprise.webservice.EjbWebServiceValve.invoke
    > > (EjbWebServiceValve.java:134)
    > > at org.apache.catalina.core.StandardValveContext.invokeNext
    > > (StandardValveContext.java:107)
    > > at com.sun.enterprise.security.web.SingleSignOn.invoke
    > > (SingleSignOn.java:272)
    > > at org.apache.catalina.core.StandardValveContext.invokeNext
    > > (StandardValveContext.java:107)
    > > at com.sun.enterprise.web.VirtualServerValve.invoke
    > > (VirtualServerValve.java:209)
    > > at org.apache.catalina.core.StandardValveContext.invokeNext
    > > (StandardValveContext.java:107)
    > > at org.apache.catalina.core.StandardPipeline.invoke
    > > (StandardPipeline.java:522)
    > > at org.apache.catalina.core.StandardEngineValve.invoke
    > > (StandardEngineValve.java:114)
    > > at org.apache.catalina.core.StandardValveContext.invokeNext
    > > (StandardValveContext.java:109)
    > > at com.sun.enterprise.web.VirtualServerMappingValve.invoke
    > > (VirtualServerMappingValve.java:166)
    > > at org.apache.catalina.core.StandardValveContext.invokeNext
    > > (StandardValveContext.java:107)
    > > at org.apache.catalina.core.StandardPipeline.invoke
    > > (StandardPipeline.java:522)
    > > at org.apache.catalina.core.ContainerBase.invoke
    > > (ContainerBase.java:936)
    > > at org.apache.coyote.tomcat5.CoyoteAdapter.service
    > > (CoyoteAdapter.java:165)
    > > at org.apache.coyote.http11.Http11Processor.process
    > > (Http11Processor.java:683)
    > > at org.apache.coyote.http11.Http11Protocol
    > > $Http11ConnectionHandler.processConnection(Http11Protocol.java:604)
    > > at org.apache.tomcat.util.net.TcpWorkerThread.runIt
    > > (PoolTcpEndpoint.java:542)
    > > at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
    > > (ThreadPool.java:647)
    > > at java.lang.Thread.run(Thread.java:534)
    > >
    > >
    > >
    > >
    >
    >

    -- 
    Joshua T. Pyle
    Go has always existed.
    



    This archive was generated by hypermail 2.0.0 : Mon Jun 13 2005 - 21:13:05 EDT