OK, to reply to Andrus, I have all the jar files in the lib dir, as per
the tutorial as well as the *.tld files and the validator-rules.xml in
the WEB-INF dir
in reply to Joshua,
I went to the jakarta site and followed the link for version 3.1/2.1.1 on
http://jakarta.apache.org/commons/collections/
I downloaded replacement jar files, they were all labed 1.7 or 1.1.4 or
1.0.4 ??
anyway, it seems to deploy ok now, but I can't get to it from the
browser, the application server log shows this
WebModule[/cayenne-web-app]Error configuring application listener of
class webtest.CustomConfiguration java.lang.UnsupportedClassVersionError
webtest/CustomConfiguration (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1732)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:904)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1370)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3607)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4120)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:830)
at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:128)
at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:150)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:812)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:580)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:947)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:729)
at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:148)
at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:226)
at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:488)
at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:475)
at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:302)
at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:107)
at com.sun.enterprise.admin.server.core.mbean.config.ManagedServerInstance.multicastEvent(ManagedServerInstance.java:3880)
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 com.sun.enterprise.admin.server.core.jmx.Introspector.invokeMethodOn(Introspector.java:181)
at com.sun.enterprise.admin.server.core.mbean.config.AdminBase.invoke(AdminBase.java:86)
at com.sun.enterprise.admin.server.core.mbean.config.ConfigMBeanBase.invoke(ConfigMBeanBase.java:680)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:221)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:228)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:823)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)
at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
at $Proxy1.invoke(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:282)
at com.sun.enterprise.deployment.phasing.DeploymentService.multicastEvent(DeploymentService.java:341)
at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:284)
at com.sun.enterprise.deployment.phasing.StartPhase.runPhase(StartPhase.java:115)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:74)
at com.sun.enterprise.deployment.phasing.DeploymentService.executePhases(DeploymentService.java:233)
at com.sun.enterprise.deployment.phasing.DeploymentService.deploy(DeploymentService.java:150)
at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:275)
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 com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:287)
at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:280)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:221)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:228)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:823)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)
at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
at $Proxy1.invoke(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:282)
at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:38)
at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:92)
at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:69)
at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:768)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:536)
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.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:254)
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)
any ideas ???
-cheryl
Joshua Pyle wrote:
>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)
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>
>
>
>
This archive was generated by hypermail 2.0.0 : Tue Jun 14 2005 - 15:52:17 EDT