RE: Unexplained exception in GeneralStatement.executeQueryForObject
I'm thinking it might be another version of the oracle jdbc driver lurking in the bowels of weblogic which is incompatible with our 10g database. -Original Message- From: Niels Beekman [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 07, 2005 7:24 AM To: ibatis-user-java@incubator.apache.org Subject: RE: Unexplained exception in GeneralStatement.executeQueryForObject Hi, You are definitely not the only one :( http://www.orafaq.com/forum/t/28158/0/ http://ora-00600.ora-code.com/ They vary from all kinds of serverside errors (memory/hardware-related) to classpath-problems, so I don't think it will be easy... Good luck! Niels From: Wulf, Andrew [mailto:[EMAIL PROTECTED] Sent: maandag 6 juni 2005 23:30 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... <[ServletContext(id'579072,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.
RE: Unexplained exception in GeneralStatement.executeQueryForObject
Hi, You are definitely not the only one :( http://www.orafaq.com/forum/t/28158/0/ http://ora-00600.ora-code.com/ They vary from all kinds of serverside errors (memory/hardware-related) to classpath-problems, so I don't think it will be easy... Good luck! Niels From: Wulf, Andrew [mailto:[EMAIL PROTECTED] Sent: maandag 6 juni 2005 23:30 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... <[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
Re: Unexplained exception in GeneralStatement.executeQueryForObject
Andrew, Honestly, i wish you the best luck as you probably just met an Oracle bug! Usually, these internal exceptions are the first signal of a bug in Oracle internal code. If you find a fix and/or workaround for this issue, let me know. Cheers, Daniel Silva. On 6/6/05, Clinton Begin <[EMAIL PROTECTED]> wrote: > > 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 <[EMAIL PROTECTED]> 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... > > > > > <[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. > > > > > > > >
Re: Unexplained exception in GeneralStatement.executeQueryForObject
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 <[EMAIL PROTECTED]> 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... <[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.
RE: Unexplained exception in GeneralStatement.executeQueryForObject
Title: RE: Unexplained exception in GeneralStatement.executeQueryForObject 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... <[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.