You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "anita kulshreshtha (JIRA)" <de...@geronimo.apache.org> on 2004/12/26 16:57:03 UTC

[jira] Created: (GERONIMO-531) xercesImpl-2.6.0.jar and DocumentBuilderFactoryImpl not found Exception

xercesImpl-2.6.0.jar  and DocumentBuilderFactoryImpl not found Exception
------------------------------------------------------------------------

         Key: GERONIMO-531
         URL: http://nagoya.apache.org/jira/browse/GERONIMO-531
     Project: Apache Geronimo
        Type: Task
  Components: Tomcat  
    Versions: 1.0-M3    
    Reporter: anita kulshreshtha
    Priority: Minor


Running any configuration that uses tomcat gives the following error - 
..............
.
.
09:41:22,468 INFO  [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.4

09:41:22,500 INFO  [StandardHost] XML validation disabled
Exception in thread "main" javax.xml.parsers.FactoryConfigurationError: Provider
 org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
        at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderF
actory.java:104)
        at org.apache.commons.modeler.util.DomUtil.readXml(DomUtil.java:284)
...........................

     xercesImpl-2.6.0.jar in geronimo-1.0-SNAPSHOT/lib must be deleted to run any configuration that uses tomcat. The wiki http://wiki.apache.org/geronimo/Tomcat needs to be updated until a better solution is found. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Closed: (GERONIMO-531) xercesImpl-2.6.0.jar and DocumentBuilderFactoryImpl not found Exception

Posted by "Jacek Laskowski (JIRA)" <de...@geronimo.apache.org>.
     [ http://nagoya.apache.org/jira/browse/GERONIMO-531?page=history ]
     
Jacek Laskowski closed GERONIMO-531:
------------------------------------


In case of problems with Xerces 2.6.2 and Tomcat please open another issue as that one contains a reference to Xerces 2.6.0 lib in its subject, which is no longer available in Apache Geronimo by default.

> xercesImpl-2.6.0.jar  and DocumentBuilderFactoryImpl not found Exception
> ------------------------------------------------------------------------
>
>          Key: GERONIMO-531
>          URL: http://nagoya.apache.org/jira/browse/GERONIMO-531
>      Project: Apache Geronimo
>         Type: Task
>   Components: Tomcat
>     Versions: 1.0-M3
>     Reporter: anita kulshreshtha
>     Assignee: Jacek Laskowski
>     Priority: Minor
>      Fix For: 1.0-M4

>
> Running any configuration that uses tomcat gives the following error - 
> ..............
> .
> .
> 09:41:22,468 INFO  [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.4
> 09:41:22,500 INFO  [StandardHost] XML validation disabled
> Exception in thread "main" javax.xml.parsers.FactoryConfigurationError: Provider
>  org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
>         at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderF
> actory.java:104)
>         at org.apache.commons.modeler.util.DomUtil.readXml(DomUtil.java:284)
> ...........................
>      xercesImpl-2.6.0.jar in geronimo-1.0-SNAPSHOT/lib must be deleted to run any configuration that uses tomcat. The wiki http://wiki.apache.org/geronimo/Tomcat needs to be updated until a better solution is found. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (GERONIMO-531) xercesImpl-2.6.0.jar and DocumentBuilderFactoryImpl not found Exception

Posted by "Jacek Laskowski (JIRA)" <de...@geronimo.apache.org>.
     [ http://nagoya.apache.org/jira/browse/GERONIMO-531?page=history ]
     
Jacek Laskowski resolved GERONIMO-531:
--------------------------------------

     Resolution: Invalid
    Fix Version: 1.0-M4

Please update the local source repository and rebuild. Xerces 2.6.2 is used in Apache Geronimo (look at etc/version-info.properties).

> xercesImpl-2.6.0.jar  and DocumentBuilderFactoryImpl not found Exception
> ------------------------------------------------------------------------
>
>          Key: GERONIMO-531
>          URL: http://nagoya.apache.org/jira/browse/GERONIMO-531
>      Project: Apache Geronimo
>         Type: Task
>   Components: Tomcat
>     Versions: 1.0-M3
>     Reporter: anita kulshreshtha
>     Assignee: Jacek Laskowski
>     Priority: Minor
>      Fix For: 1.0-M4

>
> Running any configuration that uses tomcat gives the following error - 
> ..............
> .
> .
> 09:41:22,468 INFO  [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.4
> 09:41:22,500 INFO  [StandardHost] XML validation disabled
> Exception in thread "main" javax.xml.parsers.FactoryConfigurationError: Provider
>  org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
>         at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderF
> actory.java:104)
>         at org.apache.commons.modeler.util.DomUtil.readXml(DomUtil.java:284)
> ...........................
>      xercesImpl-2.6.0.jar in geronimo-1.0-SNAPSHOT/lib must be deleted to run any configuration that uses tomcat. The wiki http://wiki.apache.org/geronimo/Tomcat needs to be updated until a better solution is found. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (GERONIMO-531) xercesImpl-2.6.0.jar and DocumentBuilderFactoryImpl not found Exception

Posted by "Jacek Laskowski (JIRA)" <de...@geronimo.apache.org>.
     [ http://nagoya.apache.org/jira/browse/GERONIMO-531?page=history ]

Jacek Laskowski reassigned GERONIMO-531:
----------------------------------------

    Assign To: Jacek Laskowski

> xercesImpl-2.6.0.jar  and DocumentBuilderFactoryImpl not found Exception
> ------------------------------------------------------------------------
>
>          Key: GERONIMO-531
>          URL: http://nagoya.apache.org/jira/browse/GERONIMO-531
>      Project: Apache Geronimo
>         Type: Task
>   Components: Tomcat
>     Versions: 1.0-M3
>     Reporter: anita kulshreshtha
>     Assignee: Jacek Laskowski
>     Priority: Minor

>
> Running any configuration that uses tomcat gives the following error - 
> ..............
> .
> .
> 09:41:22,468 INFO  [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.4
> 09:41:22,500 INFO  [StandardHost] XML validation disabled
> Exception in thread "main" javax.xml.parsers.FactoryConfigurationError: Provider
>  org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
>         at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderF
> actory.java:104)
>         at org.apache.commons.modeler.util.DomUtil.readXml(DomUtil.java:284)
> ...........................
>      xercesImpl-2.6.0.jar in geronimo-1.0-SNAPSHOT/lib must be deleted to run any configuration that uses tomcat. The wiki http://wiki.apache.org/geronimo/Tomcat needs to be updated until a better solution is found. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-531) xercesImpl-2.6.0.jar and DocumentBuilderFactoryImpl not found Exception

Posted by "Jacek Laskowski (JIRA)" <de...@geronimo.apache.org>.
     [ http://nagoya.apache.org/jira/browse/GERONIMO-531?page=comments#action_57069 ]
     
Jacek Laskowski commented on GERONIMO-531:
------------------------------------------

Hmmm, here's the contents of lib directory of today's build:

BUILD SUCCESSFUL
Total time: 29 minutes 37 seconds
Finished at: Mon Dec 27 10:34:16 CET 2004

user@server /cygdrive/c/projs/geronimo/modules/assembly/target/geronimo-1.0-SNAPSHOT/lib
$ ls
cglib-full-2.0.jar*                geronimo-deploy-tool-1.0-SNAPSHOT.jar*      geronimo-system-1.0-SNAPSHOT.jar*  xbean-apache-1.0-DEV.jar*
commons-cli-1.0.jar*               geronimo-deployment-1.0-SNAPSHOT.jar*       log4j-1.2.8.jar*
commons-logging-1.0.4.jar*         geronimo-kernel-1.0-SNAPSHOT.jar*           mx4j-2.0.1.jar*
geronimo-common-1.0-SNAPSHOT.jar*  geronimo-spec-j2ee-deployment-1.1-rc3.jar*  mx4j-remote-2.0.1.jar*

There's no xerces libs in it. Please update your local repository and rebuild Geronimo.

The Xerces lib was disabled in the project.xml file of the assembly module, and the appropriate snippet looks like:

<dependency>
    <groupId>xerces</groupId>
    <artifactId>xercesImpl</artifactId>
    <version>${xerces_version}</version>
    <properties>
        <server>true</server>
        <client>true</client>
    </properties>
</dependency>

The repo of mine is At revision 123398.
Note the missing repository tag.

> xercesImpl-2.6.0.jar  and DocumentBuilderFactoryImpl not found Exception
> ------------------------------------------------------------------------
>
>          Key: GERONIMO-531
>          URL: http://nagoya.apache.org/jira/browse/GERONIMO-531
>      Project: Apache Geronimo
>         Type: Task
>   Components: Tomcat
>     Versions: 1.0-M3
>     Reporter: anita kulshreshtha
>     Assignee: Jacek Laskowski
>     Priority: Minor
>      Fix For: 1.0-M4

>
> Running any configuration that uses tomcat gives the following error - 
> ..............
> .
> .
> 09:41:22,468 INFO  [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.4
> 09:41:22,500 INFO  [StandardHost] XML validation disabled
> Exception in thread "main" javax.xml.parsers.FactoryConfigurationError: Provider
>  org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
>         at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderF
> actory.java:104)
>         at org.apache.commons.modeler.util.DomUtil.readXml(DomUtil.java:284)
> ...........................
>      xercesImpl-2.6.0.jar in geronimo-1.0-SNAPSHOT/lib must be deleted to run any configuration that uses tomcat. The wiki http://wiki.apache.org/geronimo/Tomcat needs to be updated until a better solution is found. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira