ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <clinton.be...@gmail.com>
Subject Re: Unexplained exception in GeneralStatement.executeQueryForObject
Date Mon, 06 Jun 2005 23:08:51 GMT
java.lang.NoClassDefFoundError is a secondary exception that occurs usually 
because a static initializer in a class throws an exception causing the 
loading of the class to fail. The ClassLoader will usually not try twice in 
this case. 
 The other reason is that the class is not on the classpath, but you have 
probably already verified that.
 Cheers,
Clinton
 

 On 6/6/05, Wulf, Andrew <AHWulf@firstcommand.com> wrote: 
> 
> Hmm another tidbit: 
> 
> --- Cause: java.sql.SQLException: ORA-00600: internal error code, 
> arguments: [ttcgcshnd-1], [0], [], [], [], [], [], [] 
> 
> Was the actual exception, which is some hideous internal oracle exception. 
> So the only issue is why do I get: 
> 
> java.lang.NoClassDefFoundError: 
> com/ibatis/sqlmap/engine/transaction/TransactionException 
> 
>  
>     -----Original Message----- 
>    *From: * Wulf, Andrew 
>    *Sent: * Monday, June 06, 2005 4:30 PM 
>    *To: * 'ibatis-user-java@incubator.apache.org' 
>    *Subject: * Unexplained exception in 
>    GeneralStatement.executeQueryForObject 
>    
>    In 2.1.0.565 I get this exception which makes little sense to me. 
>    Running on Weblogic 8.1 JDK 1.42. Basically it gets to line 100 and 
>    never returns. The database is Oracle 10g. The code worked fine on the prior 
>    version of ibatis. The NoClassDefFoundError seems a bit odd since I see the 
>    class in the jar. I see no evidence of the prior version anywhere in the 
>    domain...
>    
>    <Jun 6, 2005 4:10:44 PM CDT> <Error> <HTTP> <BEA-101017> 
>    <[ServletContext(id=27579072,name=mapserver,context-path=/maps 
>    rver)] Root cause of ServletException. 
>    java.lang.NoClassDefFoundError: 
>    com/ibatis/sqlmap/engine/transaction/TransactionException 
>    at 
>    com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryForObject
>    (GeneralStatement.java:100) 
>    at 
>    com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(
>    SqlMapExecutorDelegate.java:561) 
>    at 
>    com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(
>    SqlMapExecutorDelegate.java:536) 
>    at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForObject(
>    SqlMapSessionImpl.java:97) 
>    at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForObject(
>    SqlMapClientImpl.java:69) 
>    at com.firstcommand.services.maps.dataaccess.Access.fetchAgent(Unknown 
>    Source) 
>    at com.firstcommand.services.maps.MapServlet.doGet(MapServlet.java
>    :80) 
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) 
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 
>    at 
>    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
>    (ServletStubImpl.java:1006) 
>    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(
>    ServletStubImpl.java:419) 
>    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(
>    ServletStubImpl.java:315) 
>    at 
>    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run
>    (WebAppServletContext.java:6718) 
>    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(
>    AuthenticatedSubject.java:321) 
>    at weblogic.security.service.SecurityManager.runAs(
>    SecurityManager.java:121) 
>    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(
>    WebAppServletContext.java:3764) 
>    at weblogic.servlet.internal.ServletRequestImpl.execute(
>    ServletRequestImpl.java:2644) 
>    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) 
>    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178) 
>    
>    - Andrew 
>    
>    
> 
> STATEMENT OF CONFIDENTIALITY: The information contained in this message or 
> any attachments to this message are intended only for the person(s) or 
> entity to which it is addressed and may contain confidential and/or 
> privileged material as well as being protected from disclosure. Any review, 
> retransmission, dissemination or other use of, or taking of any action in 
> reliance upon, this information by persons or entities other than the 
> intended recipient is strictly prohibited. If you received this in error, 
> please contact the sender immediately and delete the material from any 
> computer.
> 
> 
>

Mime
View raw message