Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Struts and Websphere

Status
Not open for further replies.

cyclonos

Programmer
Jan 5, 2004
1
BR
Hi there! I have a project using Struts + Websphere. Well, we were using the struts version that came with our websphere distro (5.0). Well, I don't know why, it did not support the action property of the link tag. So we decided to upgrade it using the built in feature of websphere, the newer version was 1.1 beta 3. Ok, the action now works, but no messages using the <bean:message> tag. We had the following output :
Error 500: Cannot find message resources under key org.apache.struts.action.MESSAGE

So I decided to upgrade it manually, downloading it from the struts website, the newer version 1.1 final. So I did everthing as said: Copied the commons-*.jar to my WEB-INF/lib, also copied the struts.jar to that dir. copied the *tld's to the WEB-INF dir, and now the error is:
Error 500: Cannot find ActionMappings or ActionFormBeans collection

I tried a dozen of things, from cheking the struts-config, web.xml (seemsto be ok), download dom4j.jar and putting it on the lib dir.
Trying to manually start the action servlet, which generate a new error :
Error 503: Failed to load target servlet [action]
(Before this upgrade, trying to run the servlet, by calling it via uri did not dropped any error).]

Well, I must confess,I'm completely lost.

Any help would be more than welcome.

Thanks

Vinicius
 
Hi,

I am not sure about the error. Why do you deploy the webapplcation in Tomcat and test. Just to make sure there is nothing wrong with in the Webapps. So, that you will have an Idea for where to lookin for the error.

Make sure you have all the required jar files in WebApp lib folder.

Cheers,
Venu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top