permaculture playing cards*
The moose likes JDBC and the fly likes Oracle 10G - EXCEPTION_ACCESS_VIOLATION Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Oracle 10G - EXCEPTION_ACCESS_VIOLATION" Watch "Oracle 10G - EXCEPTION_ACCESS_VIOLATION" New topic
Author

Oracle 10G - EXCEPTION_ACCESS_VIOLATION

John Molitor
Ranch Hand

Joined: Nov 08, 2004
Posts: 39
Started with Oracle 9, Hibernate 3, Weblogic 81sp5, everything fine. Upgraded to Oracle 10G, and getting EXCEPTION_ACCESS_VIOLATION. Any thoughts?

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x61D4894C
Function=xaolog+0x6294
Library=c:\ora10g\bin\OraClient10.Dll

Current Java thread:
at oracle.jdbc.driver.T2CStatement.t2cParseExecuteDescribe(Native Method)
at oracle.jdbc.driver.T2CPreparedStatement.executeForDescribe(T2CPreparedStatement.java:518)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1037)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1132)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3316)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3361)
- locked <0x10234c00> (a oracle.jdbc.driver.T2CPreparedStatement)
- locked <0x1157e1b8> (a oracle.jdbc.driver.T2CConnection)
at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:124)
at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:139)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1669)
at org.hibernate.loader.Loader.doQuery(Loader.java:662)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
at org.hibernate.loader.Loader.loadEntity(Loader.java:1785)
at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:93)
at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:81)
at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:2730)
at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:365)
at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:346)
at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:123)
at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:82)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:891)
at org.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:849)
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:62)
at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:98)
at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:158)
at com.erac.vaa.vincent.domain.poc.Manufacturer$$EnhancerByCGLIB$$b4ebe706.getAmount(<generated>)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.springframework.beans.BeanUtils.copyProperties(BeanUtils.java:482)
at org.springframework.beans.BeanUtils.copyProperties(BeanUtils.java:399)
at com.erac.vaa.vincent.services.poc.ManufacturerServiceImpl.toManufacturerDto(ManufacturerServiceImpl.java:75)
at com.erac.vaa.vincent.services.poc.ManufacturerServiceImpl.load(ManufacturerServiceImpl.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
at $Proxy9.load(Unknown Source)
at com.erac.vaa.vincent.view.controllers.poc.ManufacturerController.displayOne(ManufacturerController.java:107)
at com.erac.vaa.vincent.view.controllers.poc.ManufacturerController.handleGet(ManufacturerController.java:144)
at com.erac.vaa.vincent.view.controllers.poc.ManufacturerController.execute(ManufacturerController.java:63)
at com.erac.riskmgmt.arch.struts.action.AbstractBindingAction.processInvoke(AbstractBindingAction.java:861)
at com.erac.riskmgmt.arch.struts.action.AbstractBindingAction.execute(AbstractBindingAction.java:484)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
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:1072)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.erac.vaa.vincent.view.filters.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:104)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.erac.vaa.vincent.view.filters.AuthenticationFilter.doFilterInternal(AuthenticationFilter.java:92)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6987)
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:3892)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

Dynamic libraries:
0x00400000 - 0x0040B000 C:\bea81sp5\jdk142_08\bin\javaw.exe
0x7C900000 - 0x7C9B0000 C:\WINDOWS\system32\ntdll.dll
0x7C800000 - 0x7C8F4000 C:\WINDOWS\system32\kernel32.dll
0x77DD0000 - 0x77E6B000 C:\WINDOWS\system32\ADVAPI32.dll
0x77E70000 - 0x77F01000 C:\WINDOWS\system32\RPCRT4.dll
0x7E410000 - 0x7E4A0000 C:\WINDOWS\system32\USER32.dll
0x77F10000 - 0x77F57000 C:\WINDOWS\system32\GDI32.dll
0x77C10000 - 0x77C68000 C:\WINDOWS\system32\MSVCRT.dll
0x08000000 - 0x08138000 C:\bea81sp5\jdk142_08\jre\bin\client\jvm.dll
0x76B40000 - 0x76B6D000 C:\WINDOWS\system32\WINMM.dll
0x10000000 - 0x10007000 C:\bea81sp5\jdk142_08\jre\bin\hpi.dll
0x00830000 - 0x0083E000 C:\bea81sp5\jdk142_08\jre\bin\verify.dll
0x00840000 - 0x00859000 C:\bea81sp5\jdk142_08\jre\bin\java.dll
0x00860000 - 0x0086E000 C:\bea81sp5\jdk142_08\jre\bin\zip.dll
0x02B60000 - 0x02B7C000 C:\bea81sp5\jdk142_08\jre\bin\jdwp.dll
0x00940000 - 0x00945000 C:\bea81sp5\jdk142_08\jre\bin\dt_socket.dll
0x71AB0000 - 0x71AC7000 C:\WINDOWS\system32\ws2_32.dll
0x71AA0000 - 0x71AA8000 C:\WINDOWS\system32\WS2HELP.dll
0x55600000 - 0x55631000 C:\Program Files\Microsoft Firewall Client 2004\FwcWsp.dll
0x77120000 - 0x771AC000 C:\WINDOWS\system32\OLEAUT32.dll
0x774E0000 - 0x7761D000 C:\WINDOWS\system32\ole32.dll
0x71A50000 - 0x71A8F000 C:\WINDOWS\System32\mswsock.dll
0x76F20000 - 0x76F47000 C:\WINDOWS\system32\DNSAPI.dll
0x76FB0000 - 0x76FB8000 C:\WINDOWS\System32\winrnr.dll
0x76F60000 - 0x76F8C000 C:\WINDOWS\system32\WLDAP32.dll
0x662B0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
0x71A90000 - 0x71A98000 C:\WINDOWS\System32\wshtcpip.dll
0x77F60000 - 0x77FD6000 C:\WINDOWS\system32\SHLWAPI.dll
0x773D0000 - 0x774D3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
0x5D090000 - 0x5D12A000 C:\WINDOWS\system32\comctl32.dll
0x76FC0000 - 0x76FC6000 C:\WINDOWS\system32\rasadhlp.dll
0x071A0000 - 0x071AF000 C:\bea81sp5\jdk142_08\jre\bin\net.dll
0x07540000 - 0x07548000 C:\bea81sp5\jdk142_08\jre\bin\nio.dll
0x07550000 - 0x07556000 C:\bea81sp5\jdk142_08\jre\bin\ioser12.dll
0x62F00000 - 0x62F13000 C:\ora10g\BIN\ocijdbc10.dll
0x07BB0000 - 0x07C08000 c:\ora10g\bin\OCI.dll
0x7C340000 - 0x7C396000 C:\WINDOWS\system32\MSVCR71.dll
0x76BF0000 - 0x76BFB000 C:\WINDOWS\system32\PSAPI.DLL
0x61C20000 - 0x61E76000 c:\ora10g\bin\OraClient10.Dll
0x60870000 - 0x60957000 c:\ora10g\bin\oracore10.dll
0x60A80000 - 0x60B46000 c:\ora10g\bin\oranls10.dll
0x63690000 - 0x636A8000 c:\ora10g\bin\oraunls10.dll
0x60EB0000 - 0x60EB7000 c:\ora10g\bin\orauts.dll
0x636B0000 - 0x636B6000 c:\ora10g\bin\oravsn10.dll
0x60FA0000 - 0x61092000 c:\ora10g\bin\oracommon10.dll
0x08940000 - 0x08FA2000 c:\ora10g\bin\orageneric10.dll
0x63430000 - 0x63457000 c:\ora10g\bin\orasnls10.dll
0x63750000 - 0x638BF000 c:\ora10g\bin\oraxml10.dll
0x07C20000 - 0x07C31000 C:\WINDOWS\system32\MSVCIRT.dll
0x60960000 - 0x60A7E000 c:\ora10g\bin\oran10.dll
0x62740000 - 0x6277D000 c:\ora10g\bin\oranl10.dll
0x62790000 - 0x627A6000 c:\ora10g\bin\oranldap10.dll
0x627F0000 - 0x628FC000 c:\ora10g\bin\orannzsbb10.dll
0x62530000 - 0x625A3000 c:\ora10g\bin\oraldapclnt10.dll
0x62670000 - 0x6268B000 c:\ora10g\bin\orancrypt10.dll
0x71AD0000 - 0x71AD9000 C:\WINDOWS\system32\WSOCK32.dll
0x76D60000 - 0x76D79000 C:\WINDOWS\system32\iphlpapi.dll
0x62920000 - 0x6296D000 c:\ora10g\bin\oranro10.dll
0x626B0000 - 0x626B7000 c:\ora10g\bin\oranhost10.dll
0x62660000 - 0x62666000 c:\ora10g\bin\orancds10.dll
0x629C0000 - 0x629C8000 c:\ora10g\bin\orantns10.dll
0x60B50000 - 0x60EA8000 c:\ora10g\bin\orapls10.dll
0x07C40000 - 0x07C49000 c:\ora10g\bin\oraslax10.dll
0x63080000 - 0x63284000 c:\ora10g\bin\oraplp10.dll
0x61ED0000 - 0x61F67000 c:\ora10g\bin\orahasgen10.dll
0x62AB0000 - 0x62B1E000 c:\ora10g\bin\oraocr10.dll
0x62B20000 - 0x62B63000 c:\ora10g\bin\oraocrb10.dll
0x5B860000 - 0x5B8B4000 C:\WINDOWS\system32\NETAPI32.dll
0x62980000 - 0x62990000 c:\ora10g\bin\orantcp10.dll
0x63520000 - 0x635BA000 c:\ora10g\bin\orasql10.dll
0x77FE0000 - 0x77FF1000 C:\WINDOWS\system32\Secur32.dll
0x5AD70000 - 0x5ADA8000 C:\WINDOWS\system32\uxtheme.dll
0x74720000 - 0x7476B000 C:\WINDOWS\system32\MSCTF.dll
0x07FD0000 - 0x07FD5000 C:\bea81sp5\weblogic81\server\bin\stackdump.dll
0x07FE0000 - 0x07FE5000 C:\bea81sp5\weblogic81\server\bin\wlntio.dll
0x76C90000 - 0x76CB8000 C:\WINDOWS\system32\imagehlp.dll
0x59A60000 - 0x59B01000 C:\WINDOWS\system32\DBGHELP.dll
0x77C00000 - 0x77C08000 C:\WINDOWS\system32\VERSION.dll

Heap at VM Abort:
Heap
def new generation total 2944K, used 2372K [0x10010000, 0x10340000, 0x104f0000)
eden space 2624K, 84% used [0x10010000, 0x102387c8, 0x102a0000)
from space 320K, 50% used [0x102a0000, 0x102c8858, 0x102f0000)
to space 320K, 0% used [0x102f0000, 0x102f0000, 0x10340000)
tenured generation total 38496K, used 32070K [0x104f0000, 0x12a88000, 0x14010000)
the space 38496K, 83% used [0x104f0000, 0x124419f0, 0x12441a00, 0x12a88000)
compacting perm gen total 33280K, used 33275K [0x14010000, 0x16090000, 0x18010000)
the space 33280K, 99% used [0x14010000, 0x1608ec68, 0x1608ee00, 0x16090000)

Local Time = Thu Apr 19 10:56:24 2007
Elapsed Time = 85
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)
#
Simon Payne
Greenhorn

Joined: Mar 12, 2008
Posts: 1
Hi John

I know it's a year ago, but did you get an answer to your question?

Simon Payne
John Molitor
Ranch Hand

Joined: Nov 08, 2004
Posts: 39
Yes we got our issue resolved. Thanks.
vre vre
Greenhorn

Joined: Mar 17, 2008
Posts: 1
Hi,

I've got exactly the same issue.

How did you resolve it ?

Thanks in advance.
Christian Keiler
Greenhorn

Joined: Mar 31, 2008
Posts: 1
We've got the same problem. We found http://forums.oracle.com/forums/thread.jspa?threadID=451069&start=15&tstart=0 on that (quite in the middle)...but this just doesnt work?!

@TS: We'd be glad about an answer as well
John Molitor
Ranch Hand

Joined: Nov 08, 2004
Posts: 39
Sorry I don't remember for sure. I know I had an issue with driver jar (ojdbc14.jar).
config.xml snippet:
Properties="user=@DB_USER@;password=@DB_PASSWORD@;protocol=oci8"
DriverName="oracle.jdbc.driver.OracleDriver" URL="jdbcracleci8:@@DB_INSTANCE@"/>

startweblogic snippet:
set PRE_CLASSPATH=ojdbc14.jar

I think there was also an issue with the protocol/url, need to use oci8.
Hope this helps.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Oracle 10G - EXCEPTION_ACCESS_VIOLATION