Re: Struts 1.1 issues after moving to tomcat 7.0.57 from Tomcat 5.0.28
Hi, Can someone please provide me re solution. Thanks Raj On Jun 10, 2015, at 6:54 PM, Raj bsudershan...@gmail.com wrote: I am facing this issue after porting my application from the existing Tomcat 5.0.28 to the new tomcat 7.0.57. I am using Struts version 1.1 is something particular, the app in both the old and new environments work except for a few pages in the new env where when I click on the submit button it is directing to http://calculators/CertSsCalculator.do if I see the source of the page I see. new environment (bombs due to //) form name=CalculatorForm method=post action=//calculators/Calculator.do onsubmit=return validateForm(); old environment (works fine) form name=CalculatorForm method=post action=/calculators/Calculator.do onsubmit=return validateForm(); The jsp is the same with no changes html:form action=/calculators/Calculator onsubmit=return validateForm(); Has any one see something like this and can suggest what can be tried and totally at a loss. Thank You
Struts 1.1 issues after moving to tomcat 7.0.57 from Tomcat 5.0.28
I am facing this issue after porting my application from the existing Tomcat 5.0.28 to the new tomcat 7.0.57. I am using Struts version 1.1 is something particular, the app in both the old and new environments work except for a few pages in the new env where when I click on the submit button it is directing to http://calculators/CertSsCalculator.do http://http//calculators/CertSsCalculator.do if I see the source of the page I see. new environment (bombs due to *//*) form name=CalculatorForm method=post action=*//* calculators/Calculator.do onsubmit=return validateForm(); old environment (works fine) form name=CalculatorForm method=post action=*/* calculators/Calculator.do onsubmit=return validateForm(); The jsp is the same with no changes html:form action=/calculators/Calculator onsubmit=return validateForm(); Has any one see something like this and can suggest what can be tried and totally at a loss. Thank You
Re: Struts2 with JDK1.4.2_19 Tomcat 5.0.28
Hi All, Finally i solved this Issue. You have to include jar file named xalan-2.6.0.jar into WEB-INF which is used by Filter class. http://mirrors.ibiblio.org/pub/mirrors/maven2/xalan/xalan/2.6.0/xalan-2.6.0.jar Hope it will solve this Filter start error. My Software versions are Randy Burgess-6 wrote: I am developing on JDK 1.5 and using Maven and the retrotranslator- maven-plugin (1.0-alpha-2, none of the other versions would work for me) to retrotranslate not only struts2-*.jar and xwork*.jar but also all of my source code since that is written and compiled for 1.5. I've run this project on Tomcat 6 (JDK 1.6), WebSphere 6.0 (JDK 1.4) and 6.1 (JDK 1.5) and Jetty 6.1(JDK 1.5). Tomcat and Jetty was just to see if it would run on platforms besides WAS, production will be on WebSphere. After spending 8 weeks developing this app for WAS 6.1 I was asked if I could make it run on 6.0. I'm glad the answer was yes until we can get the licensing issues straightened out. Randy Burgess On Dec 23, 2008, at 2: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 -- View this message in context: http://old.nabble.com/Struts2-with-JDK1.4.2_19---Tomcat-5.0.28-tp21149790p28981010.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.28
Dear Raghu, Please install tomcat 6.0 and Java 1.5/1.6 Version to avoid filter start errors. Regards, VR Venugopal Rao -Original Message- From: Raghumys4 [mailto:raghum...@gmail.com] Sent: 24 June 2010 15:51 To: user@struts.apache.org Subject: Re: Struts2 with JDK1.4.2_19 Tomcat 5.0.28 Hi All, Finally i solved this Issue. You have to include jar file named xalan-2.6.0.jar into WEB-INF which is used by Filter class. http://mirrors.ibiblio.org/pub/mirrors/maven2/xalan/xalan/2.6.0/xalan-2.6.0. jar Hope it will solve this Filter start error. My Software versions are Randy Burgess-6 wrote: I am developing on JDK 1.5 and using Maven and the retrotranslator- maven-plugin (1.0-alpha-2, none of the other versions would work for me) to retrotranslate not only struts2-*.jar and xwork*.jar but also all of my source code since that is written and compiled for 1.5. I've run this project on Tomcat 6 (JDK 1.6), WebSphere 6.0 (JDK 1.4) and 6.1 (JDK 1.5) and Jetty 6.1(JDK 1.5). Tomcat and Jetty was just to see if it would run on platforms besides WAS, production will be on WebSphere. After spending 8 weeks developing this app for WAS 6.1 I was asked if I could make it run on 6.0. I'm glad the answer was yes until we can get the licensing issues straightened out. Randy Burgess On Dec 23, 2008, at 2: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-tp21149790p21 149790.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 -- View this message in context: http://old.nabble.com/Struts2-with-JDK1.4.2_19---Tomcat-5.0.28-tp21149790p28 981010.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 __ DISCLAIMER The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail
Tomcat 5.0.28 and Struts 2.1.8
Hi All, I have just had a fun evening with getting a S2 app to work on a shared Tomcat instance. What I discovered when I deployed was this error: Exception starting filter struts2 javax.xml.transform.TransformerFactoryConfigurationError http://java.sun.com/javase/6/docs/api/javax/xml/transform/TransformerFa ctoryConfigurationError.html : Provider org.apache.xalan.processor.TransformerFactoryImpl not found at javax.xml.transform.TransformerFactory.newInstance(Unknown Source) Now looking into this I found that there are 2 jars that sit in the Tomcats endorsed lib : xml-apis.har and xercesImpl.jar. It appears these were interfering, I did download the latest Xalan and add that to my project. However the problem then was mismatch of classes which led to an unknown method error. To cut a long story short I found that by using Xalan.jar verson 2.3.1 I was able to get the application to deploy and function without error. Now although this is works, and from bug reports I found on Google it was deemed not a S2 bug (quite right - it isn't), and this is a *shared* tomcat instance - I can't change the settings. My question is - Is there anything else I could do instead? (again I can't change the Tomcat start up config) Cheers James
Re: Struts2 with JDK1.4.2_19 Tomcat 5.0.28
I am developing on JDK 1.5 and using Maven and the retrotranslator- maven-plugin (1.0-alpha-2, none of the other versions would work for me) to retrotranslate not only struts2-*.jar and xwork*.jar but also all of my source code since that is written and compiled for 1.5. I've run this project on Tomcat 6 (JDK 1.6), WebSphere 6.0 (JDK 1.4) and 6.1 (JDK 1.5) and Jetty 6.1(JDK 1.5). Tomcat and Jetty was just to see if it would run on platforms besides WAS, production will be on WebSphere. After spending 8 weeks developing this app for WAS 6.1 I was asked if I could make it run on 6.0. I'm glad the answer was yes until we can get the licensing issues straightened out. Randy Burgess On Dec 23, 2008, at 2: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
Struts2 with JDK1.4.2_19 Tomcat 5.0.28
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
Re: Struts2 with JDK1.4.2_19 Tomcat 5.0.28
From: rorostar theas...@hotmail.com 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. Have you turned on dev mode and increased logging levels for struts, xwork, and OGNL? I haven't used S2 with JDK 1.4 on Tomcat since ~2.0.9 but had no issues at that point. Dave - 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.28
Dave, I tried to turn print some debug log using SimpleLog but I get a bunch of statements that i dont understand: ... ... 2008/12/23 15:34:40:591 CST [DEBUG] Digester - New match='web-app/mime-mapping' 2008/12/23 15:34:40:591 CST [DEBUG] Digester - Fire begin() for CallMethodRule[methodName=addMimeMapping, paramCount=2, paramTypes={java.lang.String, java.lang.String}] 2008/12/23 15:34:40:591 CST [DEBUG] sax - characters( ) 2008/12/23 15:34:40:591 CST [DEBUG] sax - startElement(,,extension) 2008/12/23 15:34:40:591 CST [DEBUG] Digester - Pushing body text ' ' 2008/12/23 15:34:40:591 CST [DEBUG] Digester - New match='web-app/mime-mapping/extension' 2008/12/23 15:34:40:592 CST [DEBUG] Digester - Fire begin() for CallParamRule[paramIndex=0, attributeName=null, from stack=false] 2008/12/23 15:34:40:592 CST [DEBUG] sax - characters(vsd) 2008/12/23 15:34:40:592 CST [DEBUG] sax - endElement(,,extension) 2008/12/23 15:34:40:592 CST [DEBUG] Digester - match='web-app/mime-mapping/extension' 2008/12/23 15:34:40:592 CST [DEBUG] Digester - bodyText='vsd' 2008/12/23 15:34:40:592 CST [DEBUG] Digester - Fire body() for CallParamRule[paramIndex=0, attributeName=null, from stack=false] 2008/12/23 15:34:40:592 CST [DEBUG] Digester - Popping body text ' ... ... How do I turn on dev mode on struts? Just add constant name=struts.devMode value=true / to struts.xml right? How do I turn on debug for xwork and ognl? Did you remember those steps that you have to do to make it work with Java 4? I get the feeling that I'm missing something, since I was able to configure it with Java 6. -Aswin newton.dave wrote: From: rorostar theas...@hotmail.com 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. Have you turned on dev mode and increased logging levels for struts, xwork, and OGNL? I haven't used S2 with JDK 1.4 on Tomcat since ~2.0.9 but had no issues at that point. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- View this message in context: http://www.nabble.com/Struts2-with-JDK1.4.2_19---Tomcat-5.0.28-tp21149790p21151509.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.28
Hi, i've tested the alternate j4 jars that you can find in the struts2 site (struts-2.0.14-backport.zip at http://struts.apache.org/download.cgi#struts2014) without make use of retrotanslator (the work is already done) and worked fine both in Apache Tomcat 5.0.28 and Sun Application Server 8.1 using JDK 1.4.2. Date: Tue, 23 Dec 2008 11:15:24 -0800 From: theas...@hotmail.com To: user@struts.apache.org Subject: Struts2 with JDK1.4.2_19 Tomcat 5.0.28 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 _ Comparte hasta 500 fotos en un solo email con Windows Live http://download.live.com/
Re: [OT] Tomcat 5.0.28
I believe the OP mentioned that the port was changed on one of the server instances. However, there are also several other ports that might conflict depending on the setup, so it's still a good idea to do a sanity check on port assignments. That said, this is really better address on a Tomcat-related list. d. --- [EMAIL PROTECTED] wrote: The problems should be thrown up in the logs, when you start the Tomcat. My first guess would be, both instances are pointing to the Default port i.e. http 8080. You would need to change the default port to a different port . Shabada, Gnaneshwer [EMAIL PROTECTED] 11/08/2007 12:02 PM Please respond to Struts Users Mailing List user@struts.apache.org To 'Struts Users Mailing List' user@struts.apache.org cc Subject Tomcat 5.0.28 Hello I am going off the topic, but wanted to know if you gurus out there tried to install multiple instances of Tomcat on single windows XP machine. I downloaded the zip file and extracted then created two diff folders for 2 intended tomcat instances under my main installation dir. Copied conf, temp, logs, webapps, work into both these dirs and changed ports on server.xml in one of the directories. Now ran the following command from bin directory with no success. startup -Dcatalina.base= D:\jakarta-tomcat-5.0.28\Tomcat-A I followed what RUNNING.TXT said but not sure where I went wrong... Anyone had this working before, please share your thoughts.. Thanks G This email message is for the sole use of the intended recipient (s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. To reply to our email administrator directly, send an email to [EMAIL PROTECTED] Toys R Us, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ForwardSourceID:NTE7BE - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] Tomcat 5.0.28
The problems should be thrown up in the logs, when you start the Tomcat. My first guess would be, both instances are pointing to the Default port i.e. http 8080. You would need to change the default port to a different port . Shabada, Gnaneshwer [EMAIL PROTECTED] 11/08/2007 12:02 PM Please respond to Struts Users Mailing List user@struts.apache.org To 'Struts Users Mailing List' user@struts.apache.org cc Subject Tomcat 5.0.28 Hello I am going off the topic, but wanted to know if you gurus out there tried to install multiple instances of Tomcat on single windows XP machine. I downloaded the zip file and extracted then created two diff folders for 2 intended tomcat instances under my main installation dir. Copied conf, temp, logs, webapps, work into both these dirs and changed ports on server.xml in one of the directories. Now ran the following command from bin directory with no success. startup -Dcatalina.base= D:\jakarta-tomcat-5.0.28\Tomcat-A I followed what RUNNING.TXT said but not sure where I went wrong... Anyone had this working before, please share your thoughts.. Thanks G This email message is for the sole use of the intended recipient (s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. To reply to our email administrator directly, send an email to [EMAIL PROTECTED] Toys R Us, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ForwardSourceID:NTE7BE
Tomcat 5.0.28
Hello I am going off the topic, but wanted to know if you gurus out there tried to install multiple instances of Tomcat on single windows XP machine. I downloaded the zip file and extracted then created two diff folders for 2 intended tomcat instances under my main installation dir. Copied conf, temp, logs, webapps, work into both these dirs and changed ports on server.xml in one of the directories. Now ran the following command from bin directory with no success. startup -Dcatalina.base= D:\jakarta-tomcat-5.0.28\Tomcat-A I followed what RUNNING.TXT said but not sure where I went wrong... Anyone had this working before, please share your thoughts.. Thanks G This email message is for the sole use of the intended recipient (s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. To reply to our email administrator directly, send an email to [EMAIL PROTECTED] Toys R Us, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
bean:parameter does not work for me with tomcat 5.0.28
Hi, I just encountered a strange problem using the bean:parameter tag with tomcat 5.0.28 In my JSP file I have the following: bean:parameter id=pagePos name=page value=1 / This worked fine on Resin 2.x and 3.x, however, I now have to run my project on Tomcat 5.0.28 and this doesn't work anymore. I get an exception: javax.servlet.jsp.JspException: Cannot find bean page in any scope org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:938) org.apache.struts.util.RequestUtils.computeParameters(RequestUtils.java:309) org.apache.struts.taglib.html.LinkTag.calculateURL(LinkTag.java:462) org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:353) org.apache.jsp.index_jsp._jspx_meth_html_link_0(index_jsp.java:2656) org.apache.jsp.index_jsp._jspService(index_jsp.java:1788) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) This is only if the parameter is not present in the request, but as I understand this is what the value=x is for?!? Is this a tomcat issue? Can I get it working somehow (without having to provide the param every time)? Or is it just me and I should change profession ;-) ? Any help is appreciated! Thanks, Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: bean:parameter does not work for me with tomcat 5.0.28
Never mind ... It was something about the document format. After converting from windows to unix things work fine. Converting back to windows and still working fine ... Strange but solved. Thanks, Chris mail wrote: Hi, I just encountered a strange problem using the bean:parameter tag with tomcat 5.0.28 In my JSP file I have the following: bean:parameter id=pagePos name=page value=1 / This worked fine on Resin 2.x and 3.x, however, I now have to run my project on Tomcat 5.0.28 and this doesn't work anymore. I get an exception: javax.servlet.jsp.JspException: Cannot find bean page in any scope org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:938) org.apache.struts.util.RequestUtils.computeParameters(RequestUtils.java:309) org.apache.struts.taglib.html.LinkTag.calculateURL(LinkTag.java:462) org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:353) org.apache.jsp.index_jsp._jspx_meth_html_link_0(index_jsp.java:2656) org.apache.jsp.index_jsp._jspService(index_jsp.java:1788) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) This is only if the parameter is not present in the request, but as I understand this is what the value=x is for?!? Is this a tomcat issue? Can I get it working somehow (without having to provide the param every time)? Or is it just me and I should change profession ;-) ? Any help is appreciated! Thanks, Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]