struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Randall Svancara" <rsvanc...@adaweb.net>
Subject RE: Strange Error : Cannot find ActionMappings or ActionFormBeans collection
Date Fri, 27 May 2005 21:53:36 GMT
More error messages....I have log4j set configured and this is the error
returned by struts.  I believe it is having a problem with reading my
struts config file or some other resource.  However, I am not sure why
this is the case because this same application works just fine in my
test environment, running on fedora core 3.  My server environment is
running fedora core 3.  Permissions are the same.  Same version of
Jakarta tomcat, 5.5.9.  Firewall has been disabled on both servers.



[2005-05-27 09:43:08,272] main
org.apache.struts.util.PropertyMessageResources INFO  - Initializing,
config='org.apache.struts.util.LocalStrings', returnNull=true
[2005-05-27 09:43:08,274] main
org.apache.struts.util.PropertyMessageResources INFO  - Initializing,
config='org.apache.struts.action.ActionResources', returnNull=true
[2005-05-27 09:43:48,425] main org.apache.struts.action.ActionServlet
ERROR - Parsing error processing resource path
java.net.UnknownHostException: struts.apache.org
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
        at java.net.Socket.connect(Socket.java:507)
        at java.net.Socket.connect(Socket.java:457)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
        at sun.net.www.http.HttpClient.New(HttpClient.java:287)
        at sun.net.www.http.HttpClient.New(HttpClient.java:299)
        at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConn
ection.java:792)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnecti
on.java:744)
        at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.ja
va:669)
        at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
tion.java:913)
        at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEnt
ity(XMLEntityManager.java:973)
        at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XML
EntityManager.java:905)
        at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(
XMLEntityManager.java:872)
        at
com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource
(XMLDTDScannerImpl.java:282)
        at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDispat
cher.dispatch(XMLDocumentScannerImpl.java:1021)
        at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.s
canDocument(XMLDocumentFragmentScannerImpl.java:368)
        at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML1
1Configuration.java:834)
        at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML1
1Configuration.java:764)
        at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.jav
a:148)
        at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Abstr
actSAXParser.java:1242)
        at
org.apache.commons.digester.Digester.parse(Digester.java:1548)
        at
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServl
et.java:1006)
        at
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.ja
va:955)
        at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
        at javax.servlet.GenericServlet.init(GenericServlet.java:211)
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:1091)
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
ava:3857)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4118
)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:759)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
        at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:
589)
        at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java
:536)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:471)
        at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:31
1)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:119)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:450)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
        at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
[2005-05-27 09:43:48,429] main
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/propsys]
INFO  - Marking servlet action as unavailable
[2005-05-27 09:43:48,429] main
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/propsys]
ERROR - Servlet /propsys threw load() exception
javax.servlet.UnavailableException: Parsing error processing resource
path
        at
org.apache.struts.action.ActionServlet.handleConfigException(ActionServl
et.java:1035)
        at
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServl
et.java:1012)
        at
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.ja
va:955)
        at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
        at javax.servlet.GenericServlet.init(GenericServlet.java:211)
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:1091)
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
ava:3857)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4118
)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:759)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
        at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:
589)
        at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java
:536)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:471)
        at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:31
1)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:119)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:450)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
        at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)

 

-----Original Message-----
From: Randall Svancara [mailto:rsvancara@adaweb.net] 
Sent: Friday, May 27, 2005 1:49 PM
To: Struts Users Mailing List
Subject: Strange Error : Cannot find ActionMappings or ActionFormBeans
collection

Is the error:  Cannot find ActionMappings or ActionFormBeans collection,
thrown only when the struts-config.xml can not be read. 

I have a two test servers with a struts based application installed and
working fine, however, I move the application to the production servers
and I recieve this error with any page that uses a struts tag.  I can
not figure out what I have configured incorrectly in the production
servers to cause this error. 

Java version 1.5.03 from SUN, both production and test Fedora Core 3 on
both production and test, with all updates installed this morning, test
works fine, production give the above error.
Jakarta Tomcat 5.5.9



javax.servlet.jsp.JspException: Cannot find ActionMappings or
ActionFormBeans collection
        at
org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:798)
        at
org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:506)
        at
org.apache.jsp.index_jsp._jspx_meth_html_form_0(org.apache.jsp.index_jsp
:228)
        at
org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:98)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:322)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
        at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:252)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:178)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:126)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:107)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
48)
        at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
        at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
        at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
        at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:
678)
        at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:684)
        at java.lang.Thread.run(Thread.java:595)
[2005-05-27 07:39:53,732] TP-Processor8
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/propsys]
.[jsp] ERROR - Servlet.service() for servlet jsp threw exception
javax.servlet.jsp.JspException: Cannot find ActionMappings or
ActionFormBeans collection
        at
org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:798)
        at
org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:506)
        at
org.apache.jsp.index_jsp._jspx_meth_html_form_0(org.apache.jsp.index_jsp
:228)
        at
org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:98)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:322)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
        at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:252)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:178)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:126)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:107)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
48)
        at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
        at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
        at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
        at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:
678)
        at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:684)
        at java.lang.Thread.run(Thread.java:595)

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message