geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergio Montesa (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-2678) Exception parsing a XML with Digester
Date Tue, 02 Jan 2007 07:29:27 GMT

    [ http://issues.apache.org/jira/browse/GERONIMO-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12461678
] 

Sergio Montesa commented on GERONIMO-2678:
------------------------------------------

But my web application is working -correctly- in Tomcat 5.5 and working in Geronimo 2.0M1
(not in Geronimo 1.2Beta).

In addition, if I edit the Xml file :

<?xml version="1.0" encoding="iso-8859-1"?>

<data-sources>

</data-sources>

then, the exception disappears.

> Exception parsing a XML with Digester
> -------------------------------------
>
>                 Key: GERONIMO-2678
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2678
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 1.1.1
>         Environment: Windows XP SP2, Geronimo 1.1.1 with Tomcat
>            Reporter: Sergio Montesa
>
> My web application, deploy in geronimo, parse with Digester the following XML:
> <?xml version="1.0" encoding="iso-8859-1"?>
> <data-sources>
> <!-- JDBC -->
> <data-source
>   name="ing_xxxx_yyyyyy"
>   schema="ingres"
>   connection-driver="ca.edbc.jdbc.EdbcDriver"
>   url="jdbc:edbc://host:1919/bdd;CURSOR=READONLY"
>   username="user"
>   password="passwd"
>   jndi=""
> />
> </data-sources>
> and generate this exception:
> java.lang.ClassNotFoundException: com.unizar.sql.DataSource in classloader geronimo/tomcat/1.1.1/car
> 	org.apache.commons.digester.Digester.createSAXException(Digester.java:2792)
> 	org.apache.commons.digester.Digester.createSAXException(Digester.java:2818)
> 	org.apache.commons.digester.Digester.startElement(Digester.java:1289)
> 	org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
> 	org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
> 	org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
> 	org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
> 	org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
> 	org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> 	org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> 	org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> 	org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> 	org.apache.commons.digester.Digester.parse(Digester.java:1591)
> 	com.unizar.sql.DataSourceCollection.parse(Unknown Source)
> 	com.unizar.sql.DataSourceCollection.parse(Unknown Source)
> 	org.apache.jsp.benchXml_jsp._jspService(org.apache.jsp.benchXml_jsp:136)
> 	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> 	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
> 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
> 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:688)

-- 
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