• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

[Struts] Error: Cannot find ActionMappings or ActionFormBeans collection

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
reply
    Bookmark Topic Watch Topic
  • New Topic