Tomcat 5.0.28: ROOT.Context Error - application listeners issue.

2006-09-19 Thread Todd Patrick

Tomcat 5.0.28
Eclipse Version: 3.2.0

When I start Tomcat from within Eclipse, I receive the following in my
Console. My application still works fine, but I have no clue on what
could be causing this error to be displayed?

2006-09-19 08:46:20,079 INFO
[org.apache.catalina.core.StandardHostDeployer] - Installing web
application at context path  from URL
file:C:\javaworkspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\webapps\ROOT

2006-09-19 08:46:20,157 ERROR [tomcat.localhost.ROOT.Context] -
Skipped installing application listeners due to previous error(s)

2006-09-19 08:46:20,157 ERROR [tomcat.localhost.ROOT.Context] - Error
listenerStart

2006-09-19 08:46:20,157 ERROR [tomcat.localhost.ROOT.Context] -
Context startup failed due to previous errors

In the 
C:\javaworkspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\webapps\ROOT
directory there is a WEB-INF directory that contains a web.xml file.
The web.xml file contains:

?xml version=1.0 encoding=UTF-8?
web-app id=WebApp_ID version=2.4
xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
/web-app


I'd greatly appreciate any help.

Thanks,
--
--Todd

[EMAIL PROTECTED]

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 5.0.28: ROOT.Context Error - application listeners issue.

2006-09-19 Thread Todd Patrick

Martin: Thanks for the response. Your example helped me realized that
my install was really messed up.

Thanks,

--Todd

On 9/19/06, Martin Gainty [EMAIL PROTECTED] wrote:

Todd

Here is the web.xml from my root webapp
?xml version=1.0 encoding=ISO-8859-1?
!--
  Copyright 2004 The Apache Software Foundation
  Licensed under the Apache License, Version 2.0 (the License);
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
  http://www.apache.org/licenses/LICENSE-2.0
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an AS IS BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
--
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
version=2.4
  display-nameWelcome to Tomcat/display-name
  description
 Welcome to Tomcat
  /description

!-- JSPC servlet mappings start --
servlet
servlet-nameorg.apache.jsp.index_jsp/servlet-name
servlet-classorg.apache.jsp.index_jsp/servlet-class
/servlet
servlet-mapping
servlet-nameorg.apache.jsp.index_jsp/servlet-name
url-pattern/index.jsp/url-pattern
/servlet-mapping
!-- JSPC servlet mappings end --
/web-app

So my question is What happens when you deploy the root.war (normally)?

M-
*
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.



- Original Message -
From: Todd Patrick [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Tuesday, September 19, 2006 9:50 AM
Subject: Tomcat 5.0.28: ROOT.Context Error - application listeners issue.


 Tomcat 5.0.28
 Eclipse Version: 3.2.0

 When I start Tomcat from within Eclipse, I receive the following in my
 Console. My application still works fine, but I have no clue on what
 could be causing this error to be displayed?

 2006-09-19 08:46:20,079 INFO
 [org.apache.catalina.core.StandardHostDeployer] - Installing web
 application at context path  from URL
 
file:C:\javaworkspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\webapps\ROOT

 2006-09-19 08:46:20,157 ERROR [tomcat.localhost.ROOT.Context] -
 Skipped installing application listeners due to previous error(s)

 2006-09-19 08:46:20,157 ERROR [tomcat.localhost.ROOT.Context] - Error
 listenerStart

 2006-09-19 08:46:20,157 ERROR [tomcat.localhost.ROOT.Context] -
 Context startup failed due to previous errors

 In the 
C:\javaworkspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\webapps\ROOT
 directory there is a WEB-INF directory that contains a web.xml file.
 The web.xml file contains:

 ?xml version=1.0 encoding=UTF-8?
 web-app id=WebApp_ID version=2.4
 xmlns=http://java.sun.com/xml/ns/j2ee;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
 http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
 /web-app


 I'd greatly appreciate any help.

 Thanks,
 --
 --Todd

 [EMAIL PROTECTED]

 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





--
--Todd

[EMAIL PROTECTED]

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]