on 10-27-2003 6:37 PM
Hello,
i have a small strtus1.1 application.
It deployed correctly but when i call the app, i get the following error:
javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection
at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:712)
at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:500)
It seems that the struts-config.xml is not initialized correctly. Looking at the WebAdmins
WebContainer Service the app is started but i cannot see any of my initParams (e.g. the struts-config.xml)i specified for the
ActionServlet.
The app works fine using a tomcat webserver.
Can anybody help me?
Thanks Christian
Hi Christian,
We haven't face any problems with struts.
Can you send this simple application, and we can check what is wrong.
Regards Galin
galin.galchev@sap.com
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How about next ?
We face same problems.
You can download Struts-Example War file --> http://jakarta.apache.org/struts
we deployed this struts-example.ear to WAS6.30, show :
Error Message :
Details: javax.servlet.jsp.JspException: Cannot find message resources under key org.apache.struts.action.MESSAGE
..
.
Hi,
Here I would like to describe steps with wich I managed to deploy struts application on SAP WAS6.30.
1) Download - http://apache.online.bg/jakarta/struts/binaries/jakarta-struts-1.1.zip
2) Unzip jakarta-struts-1.1.zip
3) Make META-INF/application.xml file and describe desired modules.
4) Make EAR file and deploy it.
I did not face any problems with Struts.
Please do not hesitate to contact me if you have questions about Struts.
Good LUCK,
Trifon Trifonov
P.S.: Bellow is contents of application.xml file:
Hi,
my deployment of the struts-example failed with the same error message. And I ran out of ideas what else to do since I tried every hint I found here in the sdn forum as well as in the known java sources.
Now the struts-example.war works fine without any changes under Apache Tomcat.
1) I created an ear file, containing the war, application.xml, application-j2ee-engine.xml, sda-dd.xml, SAP_MANIFEST.MF, MANIFEST.MF.
2) I included the following entry in the application-j2ee-engine.xml:
and it looks fine. I even moved the Resource-Files directly under web-inf.
I entered 'application' as init-parameter in web.xml
And last but not least I did this in every possible combination to make sure that I tried everything possible.
Now I am wondering where is the problem. Has anyone ever solved this and is there an application running under WAS 6.30 somewhere out there ?
Please help.
Best Regards, Astrid
User | Count |
---|---|
75 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.