Meaningless Drivel is fun!*
The moose likes Struts and the fly likes Struts2 - example application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 - example application" Watch "Struts2 - example application" New topic
Author

Struts2 - example application

Durahman Hamdan
Greenhorn

Joined: Feb 18, 2008
Posts: 3
I had read and search for the right answer to my problem or may be someone new to Struts.

The answers receives always asking me to read the tutorial the documentation. I did read the tutorial and documentation but it still does not solve the problem.

I followed the tutorial step by step. I downloaded Struts 2, extract it and put the blank.war apps to container i.e tomcat/webapps folder.

I did this on two machine:

1. Linux RedHat 2.6.9-22.ELsmp, Apache Tomcat/5.5.25 and JDK1.5.0_13-b05

Tried both blank.war and mailreader.war applications. Result both failed. Try to start using Tomcat Manager. Result: FAIL - Application at context path /myMailreader could not be started.

2. Windows XP, Apache Tomcat/5.5.4 and JDK 1.6.0_03-b05
Tried both blank.war and mailreader.war application. Result both working as expected.

Hope someone can enlighten me on this issue.

Thank you
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8874
    
    8

Originally posted by Durahman Hamdan:

Tried both blank.war and mailreader.war applications. Result both failed. Try to start using Tomcat Manager. Result: FAIL - Application at context path /myMailreader could not be started.


You're going to have to give us some more information. Have you checked the tomcat logs for a stack trace so you can see what's going wrong?
Did you install Tomcat through the RedHat installer or did you download Tomcat from Apache?
When I set up Tomcat on Ubuntu I had to change the security settings on Tomcat so it could write to directories other than the default. Have you checked whatever resources RedHat has (forums, mailing lists) to see if there are additional steps for setting up Tomcat?


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
 
subject: Struts2 - example application