aspose file tools*
The moose likes JSP and the fly likes [Struts] Error: Cannot find ActionMappings or ActionFormBeans collection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "[Struts] Error: Cannot find ActionMappings or ActionFormBeans collection" Watch "[Struts] Error: Cannot find ActionMappings or ActionFormBeans collection" New topic
Author

[Struts] Error: Cannot find ActionMappings or ActionFormBeans collection

Angela Stempfel
Greenhorn

Joined: Nov 27, 2001
Posts: 15
hi all
i'm trying to get my struts application working. i installed my laptop new (Linux Debian unstable) and now i can't install them again.
The Struts-Example is working. But if i want to start my "haushalt" application i get the following error:
2003-04-18 17:37:51 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Cannot find ActionMappings or ActionFormBeans collection
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)

I'm using tomcat 4.1.24 and jdk 1.4.2. Could somebody help me?
thanks!
angela
Angela Stempfel
Greenhorn

Joined: Nov 27, 2001
Posts: 15
Hello
now i found out where the error is!!! It was an MySQL Problem!
I installed mySQL with apt-get install in Debian unstable. The problem is that mysql only listens to local UNIX-Sockets and not to TCP-Sockets (read the text below) by default.
-----------------------------------------------------------
It means that your mysql is not listening to a TCP socket, but is only listening on the local Unix-domain socket. In fact, many MySQL admin books recommend this as a "security" solution (i.e. if no one can connect from outside the machine, it has to be, by definition, secure).
But the problem is that the JDBC driver needs to connect via TCP/IP, even when the client and the server are on the same machine.
Check with your sysadmin whether MySQL is being started with TCP connections disabled, or if you have a firewall that prevents even local connections to port 3306.
------------------------------------------------------
-> http://www.opencms.com/majordomo/opencms-dev/0111/msg00095.html
Unfortunatley i really can't see the connection between the error message and the problem. But today i noticed i got an error with "connection refused" in my log file. I really didn't notice this error message before, maybe i didn't get it till today.
Angela
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [Struts] Error: Cannot find ActionMappings or ActionFormBeans collection
 
Similar Threads
Cannot find ActionMappings or ActionFormBeans collection
Cannot find ActionMappings or ActionFormBeans
Cannot find ActionMappings or ActionFormBeans
ERROR :: cannot find ActionMappings or ActionFormBeans
Cannot find ActionMappings or ActionFormBeans collection