Re: Struts2 with JDK1.4.2_19 & Tomcat 5.0.2
See if you can find any errors in any of the other logs in the tomcat log directory. I did a similar exercise, although with a different environment. But maybe you can find something useful: http://portletwork.blogspot.com/2008/02/struts-2-portlet-in-websphere-51.html Nils-H On Tue, Dec 23, 2008 at 8:15 PM, rorostar wrote: > > Hi, > > Has anyone had any success trying to use struts2 on java4 environment? > My server is using java 1.4.2, and they would not upgrade. > > I've read the tutorial on how to use retrotranslator and I've converted the > following jars: > commons-logging-j4-1.0.4.jar > freemarker-j4-2.3.8.jar > ognl-j4-2.6.11.jar > > I was able to get struts2-core-j4.2.0.14.jar and xwork-j4-2.0.7.jar from > struts Alternative Java 4 JARs. > > When I tried to start tomcat server, I got the infamous SEVERE: ERROR > filterStart. > Dec 23, 2008 12:12:09 PM org.apache.coyote.http11.Http11Protocol init > INFO: Initializing Coyote HTTP/1.1 on http-8080 > Dec 23, 2008 12:12:09 PM org.apache.catalina.startup.Catalina load > INFO: Initialization processed in 820 ms > Dec 23, 2008 12:12:09 PM org.apache.catalina.core.StandardService start > INFO: Starting service Catalina > Dec 23, 2008 12:12:09 PM org.apache.catalina.core.StandardEngine start > INFO: Starting Servlet Engine: Apache Tomcat/5.0.28 > Dec 23, 2008 12:12:09 PM org.apache.catalina.core.StandardHost start > INFO: XML validation disabled > Dec 23, 2008 12:12:10 PM org.apache.catalina.core.StandardContext start > SEVERE: Error filterStart > Dec 23, 2008 12:12:10 PM org.apache.catalina.core.StandardContext start > SEVERE: Context startup failed due to previous errors > Dec 23, 2008 12:12:10 PM org.apache.catalina.core.StandardHost getDeployer > INFO: Create Host deployer for direct deployment ( non-jmx ) > Dec 23, 2008 12:12:10 PM org.apache.coyote.http11.Http11Protocol start > INFO: Starting Coyote HTTP/1.1 on http-8080 > Dec 23, 2008 12:12:10 PM org.apache.jk.common.ChannelSocket init > INFO: JK2: ajp13 listening on /0.0.0.0:8009 > Dec 23, 2008 12:12:10 PM org.apache.jk.server.JkMain start > INFO: Jk running ID=0 time=1/37 config=null > Dec 23, 2008 12:12:10 PM org.apache.catalina.startup.Catalina start > INFO: Server startup in 952 ms > > I've configured successfully Struts 2 with JRE 1.6 & Tomcat 6.0 before, and > I'm using exactly the same structure (except for web.xml, I'm using web-app > version 2.4 with JDK 1.4.2, as opposed to 2.5 for JRE 1.6). > Could anyone help me? > -- > View this message in context: > http://www.nabble.com/Struts2-with-JDK1.4.2_19---Tomcat-5.0.28-tp21149790p21149790.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 with JDK1.4.2_19 & Tomcat 5.0.2
Yes I understand that Struts 2 requires: Servlet API 2.4 JSP API 2.0 Java 5 However, I can use retrotranslator to translate the jars so that they are compatible with Java 4. JSP API and Servlet API are included as part of Tomcat 5.0.28 libraries (Tomcat 5 supports Servlet 2.4 & JSP 2.0). Should Struts2 work after I've used retrotranslator on the struts library files? laes1 wrote: > > see Platform Requirements : > > http://struts.apache.org/2.x/index.html > > Regards > Elyes > > 2008/12/23 rorostar > >> >> Hi, >> >> Has anyone had any success trying to use struts2 on java4 environment? >> My server is using java 1.4.2, and they would not upgrade. >> >> I've read the tutorial on how to use retrotranslator and I've converted >> the >> following jars: >> commons-logging-j4-1.0.4.jar >> freemarker-j4-2.3.8.jar >> ognl-j4-2.6.11.jar >> >> I was able to get struts2-core-j4.2.0.14.jar and xwork-j4-2.0.7.jar from >> struts Alternative Java 4 JARs. >> >> When I tried to start tomcat server, I got the infamous SEVERE: ERROR >> filterStart. >> Dec 23, 2008 12:12:09 PM org.apache.coyote.http11.Http11Protocol init >> INFO: Initializing Coyote HTTP/1.1 on http-8080 >> Dec 23, 2008 12:12:09 PM org.apache.catalina.startup.Catalina load >> INFO: Initialization processed in 820 ms >> Dec 23, 2008 12:12:09 PM org.apache.catalina.core.StandardService start >> INFO: Starting service Catalina >> Dec 23, 2008 12:12:09 PM org.apache.catalina.core.StandardEngine start >> INFO: Starting Servlet Engine: Apache Tomcat/5.0.28 >> Dec 23, 2008 12:12:09 PM org.apache.catalina.core.StandardHost start >> INFO: XML validation disabled >> Dec 23, 2008 12:12:10 PM org.apache.catalina.core.StandardContext start >> SEVERE: Error filterStart >> Dec 23, 2008 12:12:10 PM org.apache.catalina.core.StandardContext start >> SEVERE: Context startup failed due to previous errors >> Dec 23, 2008 12:12:10 PM org.apache.catalina.core.StandardHost >> getDeployer >> INFO: Create Host deployer for direct deployment ( non-jmx ) >> Dec 23, 2008 12:12:10 PM org.apache.coyote.http11.Http11Protocol start >> INFO: Starting Coyote HTTP/1.1 on http-8080 >> Dec 23, 2008 12:12:10 PM org.apache.jk.common.ChannelSocket init >> INFO: JK2: ajp13 listening on /0.0.0.0:8009 >> Dec 23, 2008 12:12:10 PM org.apache.jk.server.JkMain start >> INFO: Jk running ID=0 time=1/37 config=null >> Dec 23, 2008 12:12:10 PM org.apache.catalina.startup.Catalina start >> INFO: Server startup in 952 ms >> >> I've configured successfully Struts 2 with JRE 1.6 & Tomcat 6.0 before, >> and >> I'm using exactly the same structure (except for web.xml, I'm using >> web-app >> version 2.4 with JDK 1.4.2, as opposed to 2.5 for JRE 1.6). >> Could anyone help me? >> -- >> View this message in context: >> http://www.nabble.com/Struts2-with-JDK1.4.2_19---Tomcat-5.0.28-tp21149790p21149790.html >> Sent from the Struts - User mailing list archive at Nabble.com. >> >> >> - >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> > > > -- > Elyes. > > -- View this message in context: http://www.nabble.com/Struts2-with-JDK1.4.2_19---Tomcat-5.0.28-tp21149790p21150049.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 with JDK1.4.2_19 & Tomcat 5.0.2
see Platform Requirements : http://struts.apache.org/2.x/index.html Regards Elyes 2008/12/23 rorostar > > Hi, > > Has anyone had any success trying to use struts2 on java4 environment? > My server is using java 1.4.2, and they would not upgrade. > > I've read the tutorial on how to use retrotranslator and I've converted the > following jars: > commons-logging-j4-1.0.4.jar > freemarker-j4-2.3.8.jar > ognl-j4-2.6.11.jar > > I was able to get struts2-core-j4.2.0.14.jar and xwork-j4-2.0.7.jar from > struts Alternative Java 4 JARs. > > When I tried to start tomcat server, I got the infamous SEVERE: ERROR > filterStart. > Dec 23, 2008 12:12:09 PM org.apache.coyote.http11.Http11Protocol init > INFO: Initializing Coyote HTTP/1.1 on http-8080 > Dec 23, 2008 12:12:09 PM org.apache.catalina.startup.Catalina load > INFO: Initialization processed in 820 ms > Dec 23, 2008 12:12:09 PM org.apache.catalina.core.StandardService start > INFO: Starting service Catalina > Dec 23, 2008 12:12:09 PM org.apache.catalina.core.StandardEngine start > INFO: Starting Servlet Engine: Apache Tomcat/5.0.28 > Dec 23, 2008 12:12:09 PM org.apache.catalina.core.StandardHost start > INFO: XML validation disabled > Dec 23, 2008 12:12:10 PM org.apache.catalina.core.StandardContext start > SEVERE: Error filterStart > Dec 23, 2008 12:12:10 PM org.apache.catalina.core.StandardContext start > SEVERE: Context startup failed due to previous errors > Dec 23, 2008 12:12:10 PM org.apache.catalina.core.StandardHost getDeployer > INFO: Create Host deployer for direct deployment ( non-jmx ) > Dec 23, 2008 12:12:10 PM org.apache.coyote.http11.Http11Protocol start > INFO: Starting Coyote HTTP/1.1 on http-8080 > Dec 23, 2008 12:12:10 PM org.apache.jk.common.ChannelSocket init > INFO: JK2: ajp13 listening on /0.0.0.0:8009 > Dec 23, 2008 12:12:10 PM org.apache.jk.server.JkMain start > INFO: Jk running ID=0 time=1/37 config=null > Dec 23, 2008 12:12:10 PM org.apache.catalina.startup.Catalina start > INFO: Server startup in 952 ms > > I've configured successfully Struts 2 with JRE 1.6 & Tomcat 6.0 before, and > I'm using exactly the same structure (except for web.xml, I'm using web-app > version 2.4 with JDK 1.4.2, as opposed to 2.5 for JRE 1.6). > Could anyone help me? > -- > View this message in context: > http://www.nabble.com/Struts2-with-JDK1.4.2_19---Tomcat-5.0.28-tp21149790p21149790.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Elyes.