关于jacod访问服务器sql server数据库的错误问题

代码如图:服务器IP被我改成本地的了,用工具访问没有问题,每次执行到红框部分就报错,
然后tomcat就自动关闭了图片说明

错误如图:图片说明

3个回答

解决了,从新配置了一下jacod的东西,在jdk下的bin文件夹放jacod.dll和组件的dll文件,tomcat的lib下放jar包,重启OK了

tomcat5....你看看那个日志里报什么错。

LZ5910
LZ5910 错误在下面
接近 4 年之前 回复

#

An unexpected error has been detected by Java Runtime Environment:

#

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7788df75, pid=6724, tid=5852

#

Java VM: Java HotSpot(TM) Client VM (11.0-b15 mixed mode windows-x86)

Problematic frame:

C [ntdll.dll+0x2df75]

#

If you would like to submit a bug report, please visit:

http://java.sun.com/webapps/bugreport/crash.jsp

The crash happened outside the Java Virtual Machine in native code.

See problematic frame for where to report the bug.

#

--------------- T H R E A D ---------------

Current thread (0x48dad800): JavaThread "http-8080-Processor20" daemon [_thread_in_native, id=5852, stack(0x4cbe0000,0x4cc30000)]

siginfo: ExceptionCode=0xc0000005, writing address 0x48b40000

Registers:
EAX=0x00000000, EBX=0x4cc2e0a0, ECX=0x00000001, EDX=0x00000000
ESP=0x4cc2df24, EBP=0x4cc2df58, ESI=0x7576b20c, EDI=0x48b40000
EIP=0x7788df75, EFLAGS=0x00010202

Top of Stack: (sp=0x4cc2df24)
0x4cc2df24: 4cc2dfa0 75a6519a 48b40000 00000000
0x4cc2df34: 00000004 00000001 75766840 001e12a4
0x4cc2df44: 00000000 75766892 00000000 00000007
0x4cc2df54: 476cdf74 4cc2e370 75ae00d4 4cc2e09c
0x4cc2df64: 62781f25 00000000 4cc2e694 00000000
0x4cc2df74: 00000000 4cc2e5e4 75c27000 5b7ede9f
0x4cc2df84: 00000006 75c014de 00000000 001fa758
0x4cc2df94: 75ca6e8c 00220b68 00000000 4cc2df74

Instructions: (pc=0x7788df75)
0x7788df65: c8 c1 e0 10 03 c1 8b ca 83 e2 03 c1 e9 02 74 06
0x7788df75: f3 ab 85 d2 74 0a 88 07 83 c7 01 83 ea 01 75 f6

Stack: [0x4cbe0000,0x4cc30000], sp=0x4cc2df24, free space=311k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [ntdll.dll+0x2df75]
C [RPCRT4.dll+0xb00d4]
C [OLEAUT32.dll+0x3429f]
C [OLEAUT32.dll+0x3426c]
C [jacob.dll+0x3213]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.jacob.com.Dispatch.invokev(Ljava/lang/Object;Ljava/lang/String;III[Lcom/jacob/com/Variant;[I)Lcom/jacob/com/Variant;+0
j com.jacob.com.Dispatch.call(Ljava/lang/Object;Ljava/lang/String;)Lcom/jacob/com/Variant;+43
j com.zhongzhi.oagl.RunTest.(Ljava/lang/String;)V+62
j com.zhongzhi.oagl.Gwgllx.BL_gwgd(Lorg/w3c/dom/Document;Lcom/primeton/tp/core/api/BizContext;)I+103
v ~StubRoutines::call_stub
j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
J sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
J java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
j com.primeton.tp.core.bizservice.state.MethodBizState.invoke(Lorg/w3c/dom/Document;Lcom/primeton/tp/core/bizservice/EOSParameter;Lcom/primeton/tp/common/logger/LogContext;Lcom/primeton/tp/core/bizservice/monitor/RunTimeMessage;)Ljava/lang/String;+158
j com.primeton.tp.core.bizservice.ProcessRunner.implement(Lorg/w3c/dom/Document;)Lorg/w3c/dom/Document;+734
j com.primeton.tp.core.bizservice.ProcessCaller.implement_noEJB(Ljava/lang/String;Lorg/w3c/dom/Document;)Lorg/w3c/dom/Document;+172
j com.primeton.tp.core.bizservice.ProcessCaller.implement(Ljava/lang/String;Lorg/w3c/dom/Document;)Lorg/w3c/dom/Document;+245
j org.apache.jsp.fbtools.page.hiddensubmit_jsp._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+691
j org.apache.jasper.runtime.HttpJspBase.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+3
j javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+30
j org.apache.jasper.servlet.JspServletWrapper.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Z)V+193
j org.apache.jasper.servlet.JspServlet.serviceJspFile(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;Ljava/lang/Throwable;Z)V+142
j org.apache.jasper.servlet.JspServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+440
j javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+30
j org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+478
j org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+101
j com.primeton.eos.fbframe.fbrole.security.filter.WebSecurityFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V+139
j org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+191
j org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+101
j org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;Lorg/apache/catalina/ValveContext;)V+619
j org.apache.catalina.core.StandardValveContext.invokeNext(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+64
j org.apache.catalina.core.StandardPipeline.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+44
j org.apache.catalina.core.StandardContextValve.invokeInternal(Lorg/apache/catalina/Wrapper;Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+172
j org.apache.catalina.core.StandardContextValve.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;Lorg/apache/catalina/ValveContext;)V+228
j org.apache.catalina.core.StandardValveContext.invokeNext(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+64
j org.apache.catalina.core.StandardPipeline.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+44
j org.apache.catalina.core.StandardHostValve.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;Lorg/apache/catalina/ValveContext;)V+87
j org.apache.catalina.core.StandardValveContext.invokeNext(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+64
j org.apache.catalina.valves.ErrorReportValve.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;Lorg/apache/catalina/ValveContext;)V+3
j org.apache.catalina.core.StandardValveContext.invokeNext(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+33
j org.apache.catalina.core.StandardPipeline.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+44
j org.apache.catalina.core.StandardEngineValve.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;Lorg/apache/catalina/ValveContext;)V+59
j org.apache.catalina.core.StandardValveContext.invokeNext(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+64
j org.apache.catalina.core.StandardPipeline.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+44
j org.apache.catalina.core.ContainerBase.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+6
j org.apache.coyote.tomcat5.CoyoteAdapter.service(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V+137
j org.apache.coyote.http11.Http11Processor.process(Ljava/io/InputStream;Ljava/io/OutputStream;)V+424
j org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V+113
j org.apache.tomcat.util.net.TcpWorkerThread.runIt([Ljava/lang/Object;)V+159
j org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run()V+167
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
0x4910b400 JavaThread "RMI TCP Connection(idle)" daemon [_thread_blocked, id=8052, stack(0x4a740000,0x4a790000)]
0x48f18000 JavaThread "TP-Monitor" daemon [_thread_blocked, id=2640, stack(0x4d210000,0x4d260000)]
0x48f17800 JavaThread "TP-Processor4" daemon [_thread_in_native, id=7352, stack(0x4d180000,0x4d1d0000)]
0x48f17400 JavaThread "TP-Processor3" daemon [_thread_blocked, id=7208, stack(0x4d0f0000,0x4d140000)]
0x48f17000 JavaThread "TP-Processor2" daemon [_thread_blocked, id=1428, stack(0x4d060000,0x4d0b0000)]
0x48f16800 JavaThread "TP-Processor1" daemon [_thread_blocked, id=5524, stack(0x4cfd0000,0x4d020000)]
0x48f16400 JavaThread "http-8080-Monitor" [_thread_blocked, id=3300, stack(0x4cf40000,0x4cf90000)]
0x48f15c00 JavaThread "http-8080-Processor25" daemon [_thread_blocked, id=7120, stack(0x4ceb0000,0x4cf00000)]
0x48f15800 JavaThread "http-8080-Processor24" daemon [_thread_blocked, id=7332, stack(0x4ce20000,0x4ce70000)]
0x48f15000 JavaThread "http-8080-Processor23" daemon [_thread_blocked, id=7156, stack(0x4cd90000,0x4cde0000)]
0x48dae400 JavaThread "http-8080-Processor22" daemon [_thread_blocked, id=7508, stack(0x4cd00000,0x4cd50000)]
0x48dadc00 JavaThread "http-8080-Processor21" daemon [_thread_in_native, id=7632, stack(0x4cc70000,0x4ccc0000)]
=>0x48dad800 JavaThread "http-8080-Processor20" daemon [_thread_in_native, id=5852, stack(0x4cbe0000,0x4cc30000)]
0x48dad000 JavaThread "http-8080-Processor19" daemon [_thread_blocked, id=7016, stack(0x4cb50000,0x4cba0000)]
0x48dacc00 JavaThread "http-8080-Processor18" daemon [_thread_blocked, id=7908, stack(0x4cac0000,0x4cb10000)]
0x48dac400 JavaThread "http-8080-Processor17" daemon [_thread_blocked, id=7224, stack(0x4ca30000,0x4ca80000)]
0x48dac000 JavaThread "http-8080-Processor16" daemon [_thread_blocked, id=1288, stack(0x4c9a0000,0x4c9f0000)]
0x48dabc00 JavaThread "http-8080-Processor15" daemon [_thread_blocked, id=5632, stack(0x4c910000,0x4c960000)]
0x48dab400 JavaThread "http-8080-Processor14" daemon [_thread_blocked, id=1196, stack(0x4c880000,0x4c8d0000)]
0x48dab000 JavaThread "http-8080-Processor13" daemon [_thread_blocked, id=792, stack(0x4c7f0000,0x4c840000)]
0x48daa800 JavaThread "http-8080-Processor12" daemon [_thread_blocked, id=6236, stack(0x4c760000,0x4c7b0000)]
0x48da5400 JavaThread "http-8080-Processor11" daemon [_thread_blocked, id=6252, stack(0x4c6d0000,0x4c720000)]
0x48da4c00 JavaThread "http-8080-Processor10" daemon [_thread_blocked, id=7840, stack(0x4c640000,0x4c690000)]
0x48da4800 JavaThread "http-8080-Processor9" daemon [_thread_blocked, id=7000, stack(0x4c5b0000,0x4c600000)]
0x48da4400 JavaThread "http-8080-Processor8" daemon [_thread_blocked, id=5268, stack(0x4c520000,0x4c570000)]
0x48da3c00 JavaThread "http-8080-Processor7" daemon [_thread_blocked, id=6228, stack(0x4c490000,0x4c4e0000)]
0x48da3800 JavaThread "http-8080-Processor6" daemon [_thread_blocked, id=7860, stack(0x4c400000,0x4c450000)]
0x48da3000 JavaThread "http-8080-Processor5" daemon [_thread_blocked, id=6284, stack(0x4c370000,0x4c3c0000)]
0x48da2c00 JavaThread "http-8080-Processor4" daemon [_thread_blocked, id=6616, stack(0x4c2e0000,0x4c330000)]
0x48da2400 JavaThread "http-8080-Processor3" daemon [_thread_blocked, id=5792, stack(0x4c250000,0x4c2a0000)]
0x48da2000 JavaThread "http-8080-Processor2" daemon [_thread_blocked, id=5112, stack(0x4c1c0000,0x4c210000)]
0x48da1800 JavaThread "http-8080-Processor1" daemon [_thread_blocked, id=7372, stack(0x4c130000,0x4c180000)]
0x49110800 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=7452, stack(0x4c0a0000,0x4c0f0000)]
0x49110000 JavaThread "DataDirect Connect Finalizer-Thread" daemon [_thread_blocked, id=7184, stack(0x4c010000,0x4c060000)]
0x4910fc00 JavaThread "EOS - Monitor Socket Thread" [_thread_in_native, id=6764, stack(0x4bf80000,0x4bfd0000)]
0x4910f400 JavaThread "Timer-3" daemon [_thread_blocked, id=7948, stack(0x4bef0000,0x4bf40000)]
0x4910f000 JavaThread "Thread-9" [_thread_blocked, id=3460, stack(0x4be60000,0x4beb0000)]
0x4910e800 JavaThread "Thread-8" [_thread_blocked, id=7376, stack(0x4bdd0000,0x4be20000)]
0x4910e400 JavaThread "Timer-2" [_thread_blocked, id=7496, stack(0x4bd40000,0x4bd90000)]
0x4910dc00 JavaThread "Timer-1" [_thread_blocked, id=6196, stack(0x4bcb0000,0x4bd00000)]
0x4910d800 JavaThread "Timer-0" [_thread_blocked, id=2632, stack(0x4bc20000,0x4bc70000)]
0x4910d400 JavaThread "XADataSource Timeout Daemon" daemon [_thread_blocked, id=6772, stack(0x4aa10000,0x4aa60000)]
0x4910cc00 JavaThread "Dispatcher-Thread-4" [_thread_blocked, id=3848, stack(0x4a980000,0x4a9d0000)]
0x4910c000 JavaThread "RMI RenewClean-[192.168.6.103:60871]" daemon [_thread_blocked, id=5244, stack(0x4a860000,0x4a8b0000)]
0x4910bc00 JavaThread "RMI Scheduler(0)" daemon [_thread_blocked, id=4288, stack(0x4a7d0000,0x4a820000)]
0x4910b000 JavaThread "GC Daemon" daemon [_thread_blocked, id=7488, stack(0x4a6b0000,0x4a700000)]
0x4910a800 JavaThread "RMI Reaper" [_thread_blocked, id=4128, stack(0x4a620000,0x4a670000)]
0x4910a400 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=4852, stack(0x4a590000,0x4a5e0000)]
0x4910a000 JavaThread "RMI TCP Accept-30614" daemon [_thread_in_native, id=7356, stack(0x4a500000,0x4a550000)]
0x49109800 JavaThread "Clock Daemon" daemon [_thread_blocked, id=632, stack(0x4a470000,0x4a4c0000)]
0x49109400 JavaThread "Transaction Domain PRIMETON_EOS" daemon [_thread_blocked, id=6072, stack(0x4a3e0000,0x4a430000)]
0x49108c00 JavaThread "Daemon Master" daemon [_thread_blocked, id=7848, stack(0x4a350000,0x4a3a0000)]
0x49c2ac00 JavaThread "XADataSource Timeout Daemon" daemon [_thread_blocked, id=7384, stack(0x4a2c0000,0x4a310000)]
0x49c28800 JavaThread "XADataSource Timeout Daemon" daemon [_thread_blocked, id=4920, stack(0x4a230000,0x4a280000)]
0x49c28400 JavaThread "XADataSource Timeout Daemon" daemon [_thread_blocked, id=4316, stack(0x4a1a0000,0x4a1f0000)]
0x49c27c00 JavaThread "XADataSource Timeout Daemon" daemon [_thread_blocked, id=7408, stack(0x4a110000,0x4a160000)]
0x49c27800 JavaThread "XADataSource Timeout Daemon" daemon [_thread_blocked, id=7196, stack(0x4a080000,0x4a0d0000)]
0x49c27000 JavaThread "XADataSource Timeout Daemon" daemon [_thread_blocked, id=5708, stack(0x49ff0000,0x4a040000)]
0x49c26c00 JavaThread "XADataSource Timeout Daemon" daemon [_thread_blocked, id=4460, stack(0x49f60000,0x49fb0000)]
0x49c3c800 JavaThread "XADataSource Timeout Daemon" daemon [_thread_blocked, id=3924, stack(0x49ed0000,0x49f20000)]
0x49c3c400 JavaThread "XADataSource Timeout Daemon" daemon [_thread_blocked, id=6760, stack(0x49e40000,0x49e90000)]
0x49b12400 JavaThread "XADataSource Timeout Daemon" daemon [_thread_blocked, id=2824, stack(0x49db0000,0x49e00000)]
0x49b1bc00 JavaThread "Thread-1" [_thread_in_native, id=2284, stack(0x49d20000,0x49d70000)]
0x48d22c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=8100, stack(0x48fb0000,0x49000000)]
0x0204c800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=7268, stack(0x48f20000,0x48f70000)]
0x02041400 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=7600, stack(0x48c30000,0x48c80000)]
0x02041000 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=5560, stack(0x48ba0000,0x48bf0000)]
0x0203f400 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_blocked, id=2008, stack(0x48ad0000,0x48b20000)]
0x02031c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=5744, stack(0x48790000,0x487e0000)]
0x02002400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=6416, stack(0x48700000,0x48750000)]
0x01fef800 JavaThread "Finalizer" daemon [_thread_blocked, id=6976, stack(0x48670000,0x486c0000)]
0x01fea800 JavaThread "Reference Handler" daemon [_thread_blocked, id=2168, stack(0x485e0000,0x48630000)]
0x020ba400 JavaThread "main" [_thread_in_native, id=3192, stack(0x00380000,0x003d0000)]

Other Threads:
0x01fe7800 VMThread [stack: 0x48550000,0x485a0000] [id=7480]
0x0204e400 WatcherThread [stack: 0x49040000,0x49090000] [id=7220]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation total 36352K, used 23718K [0x04140000, 0x068b0000, 0x09000000)
eden space 32320K, 70% used [0x04140000, 0x0577a570, 0x060d0000)
from space 4032K, 23% used [0x060d0000, 0x061bf2a8, 0x064c0000)
to space 4032K, 0% used [0x064c0000, 0x064c0000, 0x068b0000)
tenured generation total 483968K, used 44701K [0x09000000, 0x268a0000, 0x44140000)
the space 483968K, 9% used [0x09000000, 0x0bba7420, 0x0bba7600, 0x268a0000)
compacting perm gen total 32000K, used 31881K [0x44140000, 0x46080000, 0x48140000)
the space 32000K, 99% used [0x44140000, 0x46062700, 0x46062800, 0x46080000)
No shared spaces configured.

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问