wood burning stoves 2.0*
The moose likes Struts and the fly likes Error in FilterStart Struts 2 web app Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Error in FilterStart Struts 2 web app" Watch "Error in FilterStart Struts 2 web app" New topic
Author

Error in FilterStart Struts 2 web app

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

Guys,

I have some problem with my Struts / Spring application. Below is the error that I see on my Tomcat console during startup:



This is my web.xml;



So, help needed to get this resolved.

SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

Seems to me like the Web application context start has spit some errors. But what exactly is the stack trace?? Where can I dind that? How to change the Tomcat logs to show more stack trace??
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

Here is yet another stack trace after changing the log levels of tomcat:

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

Failed to include the tiles-default in the base struts.xml config file. Just included it and it worked.

David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Note that tiles-default already extends struts-default.
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

But how come the context error vanished after extending the tiles-default???
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

You didn't post the S2 config that's causing the error, but so far I'd guess because you're trying to use tiles results.
 
Don't get me started about those stupid light bulbs.
 
subject: Error in FilterStart Struts 2 web app
 
Similar Threads
Apache Tomcat: startup failed due to previous errors
Context [/roadrantz] startup failed due to previous errors
Help me I am getting this Error...Exception thrown during phase execution:
Deployment Issues with JSF 1.2.9, Tomcat 6.0.29 and MyEclipse 8.6
threadlocal issues in tomcat