problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Jack Yu
Hello Everyone, I'm new to Tomcat5 and Struts2, and I'm having problem setting up struts. I installed Tomcat 5, and checked that http://localhost:8080/ is working fine. Then I copied the sample war file struts2-blank-2.0.6.war from struts into to the webapps directory under tomcat

Re: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Mike Baroukh
May be you can first check - if the war as been deployed - if it has bean deployed with the expected path (/struts2-blank-2.0.6/) - if there is any error on context start in catalina.out ? Mike Jack Yu a écrit : Hello Everyone, I'm new to Tomcat5 and Struts2, and I'm having problem

RE: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Jack Yu
Hi, Yes, the war as deployed with the expected path. But when I go into the tomcat manger, and fond out this webapps was deployed, but it didn't start/running. When I try to start this webapps, I having the following problem now: FAIL - Application at context path /struts2-blank-2.0.6

Re: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Musachy Barroso
There should be an error in the /logs directory (not sure on which file). musachy On 5/7/07, Jack Yu [EMAIL PROTECTED] wrote: Hi, Yes, the war as deployed with the expected path. But when I go into the tomcat manger, and fond out this webapps was deployed, but it didn't start/running. When

Re: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Patrick J Kobly
Download a more recent JVM for Tomcat to use. Looks like struts needs 1.5+... PK Jack Yu wrote: Ok, I found the error from the log == 2007-05-07 12:51:55 StandardContext[/manager]HTMLManager: start: Starting web application at

Re: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Dave Newton
--- Patrick J Kobly [EMAIL PROTECTED] wrote: Looks like struts needs 1.5+... Correct; S2 needs 1.5 unless you're using the converted J4 jars. d. Now that's room service! Choose from over 150,000 hotels in

RE: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Jack Yu
Ok, I'm using JDK 1.6 and JVM 1.6 now, and I still have the same problem. I also tried to use JDK 1.5, but still have the same problem. === 007-05-07 14:55:21 StandardContext[/manager]HTMLManager: start: Starting web application

Re: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Musachy Barroso
That problem is definitely a jvm version issue. Run: java -showversion to see what version you have in the path and make sure it is 1.5 (1.6 should be fine also) musachy On 5/7/07, Jack Yu [EMAIL PROTECTED] wrote: Ok, I'm using JDK 1.6 and JVM 1.6 now, and I still have the same problem. I

RE: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Jack Yu
Ok, I can start my webapps now, by using JVM 1.6. (The mistakes was that I configured tomcat to point to the jre1.4 directory. ) However, I encounter a new problem, when I go to http://localhost:8080/struts2-blank-2.0.6/, I get the following error. I read compile each java src files and

RE: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Dave Newton
Clean out your work directory so the JSPs are re-compiled. --- Jack Yu [EMAIL PROTECTED] wrote: Ok, I can start my webapps now, by using JVM 1.6. (The mistakes was that I configured tomcat to point to the jre1.4 directory. ) However, I encounter a new problem, when I go to

RE: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Jack Yu
Yeah, I have tried this, but it still give me the same problem. Thanks. -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Monday, May 07, 2007 4:55 PM To: Struts Users Mailing List Subject: RE: problem with Struts 2 setup -The requested resource

RE: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Dave Newton
--- Jack Yu [EMAIL PROTECTED] wrote: Yeah, I have tried this, but it still give me the same problem. Thanks. ?! I hate to ask, but are you sure? If the compilation is happening with one version and the execution with another something seems horribly wrong. You say you're using 1.6, but the

Re: problem with Struts 2 setup -The requested resource (/struts2-blank-2.0.6/) is not available

2007-05-07 Thread Martin Gainty
what happens when you clean the work dir (as earlier suggested) and recompile the webapp under 6??? M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email