axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joerg Buchberger (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-27) web.xml contained in M2-bin-zip's axis2.war caused tomcat parse error
Date Tue, 14 Jun 2005 12:22:51 GMT
web.xml contained in M2-bin-zip's axis2.war caused tomcat parse error
---------------------------------------------------------------------

         Key: AXIS2-27
         URL: http://issues.apache.org/jira/browse/AXIS2-27
     Project: Apache Axis 2.0 (Axis2)
        Type: Bug
  Components: deployment  
 Environment: winXP SP2
sun java 1.4.2_04
tomcat 4.1.30-LE-jdk14
axis-M2-bin-zip's axis2.war
    Reporter: Joerg Buchberger
 Assigned to: Davanum Srinivas 


- axis2 web application was unavailable on my local tomcat after deployment
- see error messages and a fix (works for me) below


tomcats error messages:
====================

2005-06-14 12:09:47 ContextConfig[/axis2] Parse error in application web.xml
2005-06-14 12:09:47 ContextConfig[/axis2]: Occurred at line 4 column -1
2005-06-14 12:09:47 ContextConfig[/axis2]: Marking this application unavailable due to previous
error(s)
2005-06-14 12:09:47 StandardManager[/axis2]: Seeding random number generator class java.security.SecureRandom
2005-06-14 12:09:47 StandardManager[/axis2]: Seeding of random number generator has been completed
2005-06-14 12:09:47 StandardContext[/axis2]: Context startup failed due to previous errors

14.06.2005 12:09:47 org.apache.commons.digester.Digester fatalError
SCHWERWIEGEND: Parse Fatal Error at line 4 column -1: Externe Entit├Ąt nicht gefunden: "http://java.sun.com/dtd/web-app_2_3.dtd"
java.net.ConnectException: Connection refused: connect


local fix:
======

--- z:\scratch-base\axis\java\modules\core\conf\web.xml   Thu Jun 02 11:23:57 2005
+++ c:\Programme\Java\Tomcat-4.1\webapps\axis2\WEB-INF\web.xml  Tue Jun 14 13:22:21 2005
@@ -1,7 +1,8 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>

-<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
-Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
+<!DOCTYPE web-app
+    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+    "http://java.sun.com/dtd/web-app_2_3.dtd">

 <web-app>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message