I finally got it.

The challenge here is for people using Java 1.4.X is that the sample
apps  come with the Java 5 jars.The java 4 jars can be found at
http://apache.tradebit.com/pub/struts/library/struts-2.0.1-j4.zip
I extracted them to here:

C:\java\struts2\struts-2.0.1\j4\

But, the only file I needed from here was struts2-extras-j4-2.0.0.jar .

copy C:\java\struts2\struts-2.0.1\j4\struts2-extras-j4-2.0.0.jar
C:\java\eclipse\workspace\struts2-blank-2.0.1\WebContent\WEB-INF\lib

as I got the backport files from the nightlies:

http://people.apache.org/builds/jakarta-struts/nightlies/2.0.x/java-1.4/backport/

which i copied the backport files to

C:\java\eclipse\workspace\struts2-blank-2.0.1\WebContent\WEB-INF\lib

Then i modified the translate.bat as follows:

java -jar retrotranslator-transformer-1.0.8.jar -srcjar
struts2-core-2.0.1.jar -destjar struts2-core-j4-2.0.1.jar
java -jar retrotranslator-transformer-1.0.8.jar -srcjar
struts2-api-2.0.1.jar -destjar struts2-api-j4-2.0.1.jar
java -jar retrotranslator-transformer-1.0.8.jar -srcjar
xwork-2.0-beta-1 -destjar xwork-2.0-j4.jar

The key thing is after the translate takes place to remove the following files:

   * struts2-core-2.0.1.jar
   * struts2-api-2.0.1.jar
   * xwork-2.0-beta-1

Again, a Java 5 version of struts2-extras-j4-2.0.0.jar was not in the
struts2-blank-2.0.1 war.
In Summary, my lib folder contains the following jars for 1.4.x:
--- commons-collections-3.1
---commons-beanutils-1.6
--- commons-digester-1.6
--- commons-logging-1.0.4
--- freemarker-2.3.4
--- spring-aop-1.2.8
--- spring-context-1.2.8
--- spring-web-1.2.8
--- retrotranslator-runtime-1.0.8
--- retrotranslator-transformer-1.0.8
--- ognl-2.6.7
--- spring-beans-1.2.8
--- spring-core-1.2.8
--- struts2-core-j4-2.0.1
--- struts2-api-j4-2.0.1
--- xwork-2.0-j4
---struts2-extras-j4-2.0.0
--- backport-util-concurrent
--- translate.bat





The error message you're quoting implies that there was an error during
startup of the web application. Did you check your logs?

It sounds like maybe you're adding the J4 jars, but not removing the
Java 5 versions of those jars. What's the complete listing of your
WEB-INF/lib when you try to run the applications?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to