logo       


Re: iBatis and Weblogic: msg#00361

Subject: Re: iBatis and Weblogic
And what if, i have an another application in the same server instance
that, if i put these JARS (xerces.jar and xercesImpl.jar) before the
weblogic.jar, this application fails.....
How could i force my app to use the xerces jars that are inside my
app, or in another place, and not use the weblogic.jar 's one.
weblogic.jar has xerces classes inside it....


On Wed, 26 Jan 2005 11:15:50 -0800 (PST), Prashanth Sukumaran
<prashanthsukumaran@xxxxxxxxx> wrote:
> Hi Alexandre,
> 
> I am just guessing but do try this one out.
> 
> Looks like the DAOConfig is trying to load the config xml file for ibatis.  
> During that time it is
> trying a Class.forName("DeferredCommentImpl").  This should actually be the 
> one in Apache Xerces.
> If you read the apache xerces documentation they always ask you to place 
> xerces and xerces impl in
> the beginning of your classpath.  It is possible that you weblogic jar is 
> before the xerces jar
> and hence this problem.
> 
> Try placing xercesImpl.jar in the beginning of your classpath.
> 
> Rgds
> Prashanth.
> 
> 
> --- Alexandre Nunes <amartinsnunes@xxxxxxxxx> wrote:
> 
> > Anyone please could help me with this?
> > Does Weblogic 6.1 has support for iBatis?
> > Sincerelly i don't know what's happening and i really need to make it
> > work, in order to convince my manager to use ibatis............
> >
> > Cheers.
> >
> >
> > On Wed, 26 Jan 2005 14:27:39 -0300, Alexandre Nunes
> > <amartinsnunes@xxxxxxxxx> wrote:
> > > 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.
> > >
> >
> 
>                 
> __________________________________
> Do you Yahoo!?
> The all-new My Yahoo! - Get yours free!
> http://my.yahoo.com
> 
>



Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe