You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by KonTiki <pa...@gmail.com> on 2008/05/05 23:32:17 UTC

Re: [Struts2] Exception starting filter (Connection Timed Out)

The Spring context listener is needed only if you do use Spring.
If you do not, then this might be causing the error as Tomcat was unable to
find the Spring classes.

Try removing this:
    <listener>
        
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>
    <listener>
        
<listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
    </listener>



Pierre Thibaudeau-4 wrote:
> 
> Just moving from Struts1 to Struts2.0.11.
> 
> No problem on Tomcat 6.0.16.
> However, I get the following exception on startup with Tomcat 6.0.14.
> 
> Does anyone know a way round this?
> (I've included excerpts from web.xml further down.)
> 
> 

-- 
View this message in context: http://www.nabble.com/-Struts2--Exception-starting-filter-%28Connection-Timed-Out%29-tp16953438p17071258.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: [Struts2] Exception starting filter (Connection Timed Out)

Posted by Pierre Thibaudeau <pi...@gmail.com>.
Thanks for the suggestion, but I use Spring very heavily!  ;)
(Everything's bean-ified, and dependency injected...)

2008/5/5 KonTiki <pa...@gmail.com>:

>
> The Spring context listener is needed only if you do use Spring.
> If you do not, then this might be causing the error as Tomcat was unable
> to
> find the Spring classes.
>
> Try removing this:
>     <listener>
>
>
> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
>    </listener>
>    <listener>
>
>
> <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
>    </listener>
>