• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Struts2 - example application

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Danger, 10,000 volts, very electic .... tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic