You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/11/03 03:25:18 UTC
DO NOT REPLY [Bug 50202] New: web.xml cant load because of
https://issues.apache.org/bugzilla/show_bug.cgi?id=50202
Summary: web.xml cant load because of <listener>
Product: Tomcat 5
Version: 5.5.31
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: blocker
Priority: P2
Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: willschumacher@gmail.com
Hi
When I put these lines:
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
my appln can't load at all. When I go to http://localhost:8080/app it's not
loaded (HTTP 404). But when I remove those lines it loads correctly. I've put
the necessary lib containing
org.springframework.web.context.ContextLoaderListener in ./app/WEB-INF/lib.
Context-param is set:
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:./springContext.xml</param-value>
</context-param>
No stack trace is shown. The error message in log is:
03-Nov-2010 10:21:48 INFO HostConfig:863 - Deploying web application archive
wma.war
03-Nov-2010 10:21:49 ERROR StandardContext:4253 - Error listenerStart
03-Nov-2010 10:21:49 ERROR StandardContext:4280 - Context [/wma] startup failed
due to previous errors
When I set the logging to DEBUG level, I don't see anything extra ordinary.
Thanks.
Will
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 50202] web.xml cant load because of
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50202
Pid <bu...@pidster.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Pid <bu...@pidster.com> 2010-11-03 02:55:04 EDT ---
Bugzilla is not a support forum.
Please ask this question on the Tomcat Users Mailing List.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org