We have a requirement to deploy a web application in IBM's WAS 5.1; this web app is developed using Struts 2.0.8, Hibernat3.2 and Spring 2.0.6. The JDK version is of course 5. Now we have to deploy this in WAS 5.1.
The problem is: WAS 5.1 does not support JDK 5. So the obvious choice is to convert it to JDK 4. We used backport to convert and make this war JDK 1.4 compatible.
The converted war works fine with Sun WS 6.1 but this does not work with WAS 5.1; I tried with the struts2-blank.war that comes with the bundled struts2 but this does not work either. I tried with the followings: -Extracted struts2-blank war -Updated the web.xml in the struts-blank.war (e.g. DOCTYPE inclusion, webapp attributes modify etc) -Converted the library jars into jdk 4 compatible (using backport) -Recreated the war (with jar command) -Converted the war into jdk 4 compatible (using backport) -Deployed the war into WAS 5.1 -But a error message shows up �Error 404: File not found: example/HelloWorld.action�
So for now, I just simply want to know: how can we deploy a simple struts 2 based war in WAS 5.1? [Please keep in mind that Struts 2 does not support JDK1.4).
Can you please provide me some suggestion? I need this solution very urgently.
With Thanks, ... M Chisty
M. M. Islam Chisty<br />Sr. J2EE Engineer<br />M&H Informatics<br />Ph. 8802-7121293<br />Dhaka, Bangladesh
Originally posted by M M Islam Chisty: Please keep in mind that Struts 2 does not support JDK1.4
Actually, that's something that you should keep in mind. Sorry, but I just don't see a way for this to work. Not only do you have the issue of using J2SE version 1.4 instead of 5, but you also have the issue that WebSphere 5.1 does not support Servlet version 2.4, and Struts 2 requires it.