cancel
Showing results for 
Search instead for 
Did you mean: 

Using Struts 1.1 on WAS 6.30

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

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

Former Member
0 Kudos

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

..

.

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

Rick,

just downloading it and deploying surely is not a solution. Maybe you should have a close look into your web.xml descriptor file and see how to translate this.

Regards,

Benny

Former Member
0 Kudos

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:

Former Member
0 Kudos

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

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

Astrid,

in case you are using sneak preview I suggest you wait for the next version of it that will appear about next week or so. I havbe the feeling that we are dealing with different versions here.

Regards,

Benny