Hi all, 
i'm implementing an application, based on the JPetStore architecture,
the same architecture, and i'm deploying it on a Weblogic 6.1. When i
run my application, a have the following error, while the system
initializes the DaoConfig......like follows:

java.lang.ExceptionInInitializerError: java.lang.RuntimeException:
Could not initialize DaoConfig.  Cause:
com.ibatis.dao.client.DaoException: Error while configuring
DaoManager.  Cause: java.lang.ClassCastException:
weblogic.apache.xerces.dom.DeferredCommentImpl
Caused by: java.lang.ClassCastException:
weblogic.apache.xerces.dom.DeferredCommentImpl
        at 
com.telefonica.webapp.rectraf.dao.DaoConfig.<clinit>(DaoConfig.java:22)
        at 
com.telefonica.webapp.rectraf.service.AbstractService.<init>(AbstractService.java:11)
        at 
com.telefonica.webapp.rectraf.service.EstadoService.<init>(EstadoService.java:15)
        at 
com.telefonica.webapp.rectraf.action.tarifaChamada.ListarAction.executeAction(ListarAction.java:27)
        at 
com.telefonica.webapp.rectraf.actions.RecTrafAction.execute(RecTrafAction.java:131)
        at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
        at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
        at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
        at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
        at 
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2546)
        at 
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2260)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

Anyone has an idea what is causing this error?
Regards.
Alexandre Martins.

Reply via email to