geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alwin Joseph (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-2678) Exception parsing a XML with Digester
Date Wed, 14 Mar 2007 16:35:09 GMT

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

Alwin Joseph commented on GERONIMO-2678:
----------------------------------------

Hi

I also faced ClassNotFoundException problem for my class when used with digester and  WAS
CE 1.1 .

Enabling inverse class loading   will  resolve this problem 



> Exception parsing a XML with Digester
> -------------------------------------
>
>                 Key: GERONIMO-2678
>                 URL: https://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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message