• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts2 - example application

 
Durahman Hamdan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9280
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic