Problema com WEBUTIL_C_API

Dicas do Oracle Forms Builder - Blocos, Itens, LOV, Canvas, Triggers, comandos, PLL, d2kwutil, FMB, Alert, menus, etc
Responder
asgard
Rank: Estagiário Pleno
Rank: Estagiário Pleno
Mensagens: 3
Registrado em: Seg, 03 Jan 2011 10:17 am
Localização: Araraquara/SP

bom dia.

Estou usando o WEBUTIL_C_API, para executar funções de uma DLL de emissor de cupom fiscal e estou tento alguns problemas.

problemas:
1) executa a função e fecha a aplicação. O código que faz isso está abaixo:

Selecionar tudo

FUNCTION FUN_REDUCAO_Z (impressora varchar2) RETURN pls_integer IS
 	DLL_FUNCAO webutil_c_api.FunctionHandle;
  lv_plist   webutil_c_api.ParameterList;
  param1     webutil_c_api.ParameterHandle;
  ret        PLS_INTEGER:=0;
BEGIN
  
  IF IMPRESSORA ='BEMATECH' THEN
  	 BEGIN
  	  	 
  	 DLL_FUNCAO := WEBUTIL_C_API.register_function(RTRIM(LTRIM(:PARAMETER.P_CF_DIRETORIO))||'\BemaFI32.dll','Bematech_FI_ReducaoZ');
  	 
     IF NOT WEBUTIL_C_API.ID_NULL(lv_plist) THEN
        WEBUTIL_C_API.Destroy_Parameter_List(lv_plist);
     END IF;
          
     lv_plist := webutil_c_api.create_parameter_list;
  	 
  	 ret      := WEBUTIL_C_API.INVOKE_INT(DLL_FUNCAO, lv_plist);
     
     WEBUTIL_C_API.Destroy_Parameter_List(lv_plist);

     ---SYNCHRONIZE;     
     RETURN ret;
     EXCEPTION
     	 WHEN OTHERS THEN
     	    MESSAGE('ERRO REDUCAO Z:'||SQLERRM);
     	    MESSAGE('ERRO REDUCAO Z:'||SQLERRM);
     	    CLEAR_MESSAGE;
     END;
  end if;
END;
2) não estou conseguindo receber o retorno de uma variavel além de que ao executar a função, fecha a aplicação também. O código está abaixo:

Selecionar tudo

FUNCTION fun_NumeroSerie_web ( NumeroSerie IN out VARCHAR2 , impressora in varchar2) RETURN PLS_INTEGER IS
  DLL_FUNCAO webutil_c_api.FunctionHandle;
  lv_plist   webutil_c_api.ParameterList;
  param1     webutil_c_api.ParameterHandle;
  ret        PLS_INTEGER:=0;
BEGIN
  NumeroSerie:='';
  /*FOR I IN 1..15 LOOP
    	NumeroSerie := NumeroSerie||' ';
  END LOOP;*/
  
  IF IMPRESSORA ='BEMATECH' THEN
  	 BEGIN
  	  	 
  	 DLL_FUNCAO := WEBUTIL_C_API.register_function(RTRIM(LTRIM(:PARAMETER.P_CF_DIRETORIO))||'\BemaFI32.dll','Bematech_FI_NumeroSerie');
  	 
     IF NOT WEBUTIL_C_API.ID_NULL(lv_plist) THEN
        WEBUTIL_C_API.Destroy_Parameter_List(lv_plist);
     END IF;
     
                         
     lv_plist := webutil_c_api.create_parameter_list;
    param1   := webutil_c_api.add_parameter(lv_plist,webutil_c_api.c_char_ptr,webutil_c_api.param_out,NumeroSerie,length(NumeroSerie));
     
     ret      := WEBUTIL_C_API.INVOKE_INT(DLL_FUNCAO, lv_plist);
     
     NumeroSerie := webutil_c_api.Get_Parameter_String(lv_plist, param1);
     
        
     WEBUTIL_C_API.Destroy_Parameter_List(lv_plist);
     WEBUTIL_C_API.Deregister_Function(DLL_FUNCAO);
     
         
     RETURN ret;
     EXCEPTION
     	 WHEN OTHERS THEN
     	    MESSAGE('ERRO :'||SQLERRM);
     	    MESSAGE('ERRO :'||SQLERRM);
     	    CLEAR_MESSAGE;
     END;
  end if;
END;
Os códigos possuem alguma coisa errada??
Estou executando estas funções em cliente web.
Avatar do usuário
stcoutinho
Moderador
Moderador
Mensagens: 850
Registrado em: Qua, 11 Mai 2011 5:15 pm
Localização: são Paulo - SP

Asgard,

Eu não conheço o WEBUTIL_C_API mas, no se caso, esta seria a primeira vez que você está usando este recurso? Ou você já consegui usar esta ferramenta em outras situações?

Nos foruns da Oracle, parecem mencionar muito este link, quando o assunto se refere a problemas usando a WebUtil:

http://www.oracle.com/technetwork/devel ... 90477.html

Eu fiz uma leitura superficial da nota, mas parece que a mesma poderia te ajudar. Através dela, acho que você pode montar e executar um exemplo, verificando então se o WEBUTIL funciona em seu ambiente.

Espero que esta informação tenha lhe sido útil.

Abraços e boa sorte,

Sergio Coutinho
asgard
Rank: Estagiário Pleno
Rank: Estagiário Pleno
Mensagens: 3
Registrado em: Seg, 03 Jan 2011 10:17 am
Localização: Araraquara/SP

Sergio
Boa tarde

Obrigado pela dica, mas foi baseado neste link que desenvolvi este código. Eu estou achando que deve ser alguma coisa com o JVM, pois ao executar a função de emissão de redução z, ele realmente emite a redução z, o problema é que depois fecha o aplicativo e gera um arquivo de erro do JVM.
Abaixo esta o conteudo do arquivo de erro do JVM:

Selecionar tudo

#
# An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000001, pid=3368, tid=1508
#
# Java VM: Java HotSpot(TM) Client VM (10.0-b23 mixed mode windows-x86)
# Problematic frame:
# C  0x00000001
#
# 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 ---------------

Selecionar tudo

Current thread (0x0fe28800):  JavaThread "AWT-EventQueue-3" [_thread_in_native, id=1508, stack(0x10b50000,0x10c50000)]

siginfo: ExceptionCode=0xc0000005, ExceptionInformation=0x00000008 0x00000001

Registers:
EAX=0x00000001, EBX=0x0fe24fe0, ECX=0x00000001, EDX=0x7c938500
ESP=0x10c4f4f8, EBP=0x017113ef, ESI=0x10c4f540, EDI=0x0fe288f4
EIP=0x00000001, EFLAGS=0x00010216

Top of Stack: (sp=0x10c4f4f8)
0x10c4f4f8:   00000001 10c4f654 10c4f694 0fe28800
0x10c4f508:   0ad12cd0 0ad12cd0 00000001 112b2342
0x10c4f518:   00000001 0a2e5a00 000000bd 04352fc0
0x10c4f528:   00000000 00000005 6d96ac72 0fe28db4
0x10c4f538:   10c4f568 109504c0 6d815325 0433e28c
0x10c4f548:   00000001 0a327f60 6d90a0a2 0433e28c
0x10c4f558:   00000001 6d9acee0 0fe28800 10c4f5c8
0x10c4f568:   00000000 6d8b34f6 0433e1c0 0fe28800 

Instructions: (pc=0x00000001)
0xfffffff1:   


Stack: [0x10b50000,0x10c50000],  sp=0x10c4f4f8,  free space=1021k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  0x00000001

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
J  oracle.forms.engine.Runform.processMessage(Loracle/forms/engine/Message;)V
J  oracle.forms.engine.Runform.processSet()V
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
J  oracle.ewt.lwAWT.LWComponent.redispatchEvent(Ljava/awt/AWTEvent;)V
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
J  java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::Interpreter
v  ~BufferBlob::StubRoutines (1)

---------------  P R O C E S S  ---------------
Java Threads: ( => current thread )
  0x0fe64000 JavaThread "Busy indicator" daemon [_thread_blocked, id=2264, stack(0x01030000,0x01130000)]
  0x0e413c00 JavaThread "Flush Queue" [_thread_blocked, id=2360, stack(0x11cb0000,0x11db0000)]
  0x0e411800 JavaThread "TaskScheduler timer" [_thread_blocked, id=2212, stack(0x11bb0000,0x11cb0000)]
  0x0e40e400 JavaThread "CursorIdler" [_thread_blocked, id=2128, stack(0x11ab0000,0x11bb0000)]
  0x0fe0d400 JavaThread "HeartBeat" [_thread_blocked, id=1032, stack(0x118b0000,0x119b0000)]
  0x0fe0cc00 JavaThread "Forms-StreamMessageWriter" [_thread_blocked, id=2236, stack(0x117b0000,0x118b0000)]
  0x0fee1400 JavaThread "Forms-StreamMessageReader" [_thread_blocked, id=2628, stack(0x116b0000,0x117b0000)]
  0x0fdee800 JavaThread "Keep-Alive-Timer:" daemon [_thread_blocked, id=264, stack(0x115b0000,0x116b0000)]
  0x0fe2a400 JavaThread "thread applet-oracle.forms.engine.Main" [_thread_blocked, id=2108, stack(0x10d50000,0x10e50000)]
  0x0fe29400 JavaThread "SunToolkit.PostEventQueue-3" [_thread_blocked, id=3536, stack(0x10c50000,0x10d50000)]
=>0x0fe28800 JavaThread "AWT-EventQueue-3" [_thread_in_native, id=1508, stack(0x10b50000,0x10c50000)]
  0x0fe1d000 JavaThread "Screen Updater" [_thread_blocked, id=528, stack(0x10850000,0x10950000)]
  0x0fe1c000 JavaThread "thread applet-oracle.forms.webutil.common.RegisterWebUtil" [_thread_blocked, id=1932, stack(0x10750000,0x10850000)]
  0x0fe1b000 JavaThread "SunToolkit.PostEventQueue-2" [_thread_blocked, id=568, stack(0x10650000,0x10750000)]
  0x0fe1a000 JavaThread "AWT-EventQueue-2" [_thread_blocked, id=3072, stack(0x10550000,0x10650000)]
  0x0fde8400 JavaThread "TimerQueue" daemon [_thread_blocked, id=3864, stack(0x102d0000,0x103d0000)]
  0x0fdd7800 JavaThread "JAR Cache Cleanup Thread" [_thread_blocked, id=2096, stack(0x101d0000,0x102d0000)]
  0x0fdd5400 JavaThread "Thread-2" [_thread_blocked, id=2260, stack(0x100d0000,0x101d0000)]
  0x0fdd4800 JavaThread "Thread-1" [_thread_blocked, id=2992, stack(0x0ffd0000,0x100d0000)]
  0x0e447c00 JavaThread "Main Console Writer" [_thread_blocked, id=3316, stack(0x0fad0000,0x0fbd0000)]
  0x0e446400 JavaThread "AWT-Windows" [_thread_in_native, id=2960, stack(0x0f9d0000,0x0fad0000)]
  0x0e445c00 JavaThread "SunToolkit.PostEventQueue-1" [_thread_blocked, id=3980, stack(0x0f8d0000,0x0f9d0000)]
  0x0e445400 JavaThread "AWT-EventQueue-1" [_thread_blocked, id=1496, stack(0x0f1d0000,0x0f2d0000)]
  0x0e403800 JavaThread "SunToolkit.PostEventQueue-0" [_thread_blocked, id=1368, stack(0x0f3d0000,0x0f4d0000)]
  0x0e3f0000 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=2624, stack(0x0f2d0000,0x0f3d0000)]
  0x0e3be000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=208, stack(0x0eed0000,0x0efd0000)]
  0x0e3b7c00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1112, stack(0x0edd0000,0x0eed0000)]
  0x0e3b6c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=2240, stack(0x0ecd0000,0x0edd0000)]
  0x0e3b5c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2148, stack(0x0ebd0000,0x0ecd0000)]
  0x0e3ae000 JavaThread "Finalizer" daemon [_thread_blocked, id=2640, stack(0x0ead0000,0x0ebd0000)]
  0x0e3a9c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=3784, stack(0x0e9d0000,0x0ead0000)]
  0x01a26800 JavaThread "main" [_thread_in_native, id=3976, stack(0x00040000,0x00140000)]

Other Threads:
  0x0e3a8400 VMThread [stack: 0x0e570000,0x0e670000] [id=3728]
  0x0e3d9000 WatcherThread [stack: 0x0efd0000,0x0f0d0000] [id=888]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 2368K, used 1107K [0x042e0000, 0x04570000, 0x04a40000)
  eden space 2112K,  48% used [0x042e0000, 0x043de570, 0x044f0000)
  from space 256K,  35% used [0x04530000, 0x045468b8, 0x04570000)
  to   space 256K,   0% used [0x044f0000, 0x044f0000, 0x04530000)
 tenured generation   total 30292K, used 24637K [0x04a40000, 0x067d5000, 0x0a2e0000)
   the space 30292K,  81% used [0x04a40000, 0x0624f478, 0x0624f600, 0x067d5000)
 compacting perm gen  total 12288K, used 10478K [0x0a2e0000, 0x0aee0000, 0x0e2e0000)
   the space 12288K,  85% used [0x0a2e0000, 0x0ad1bab8, 0x0ad1bc00, 0x0aee0000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x0041a000 	C:\Arquivos de programas\Internet Explorer\IEXPLORE.EXE
0x7c910000 - 0x7c9d4000 	C:\WINDOWS.0\system32\ntdll.dll
0x7c800000 - 0x7c90c000 	C:\WINDOWS.0\system32\kernel32.dll
0x77b90000 - 0x77bea000 	C:\WINDOWS.0\system32\msvcrt.dll
0x77f40000 - 0x77fd1000 	C:\WINDOWS.0\system32\USER32.dll
0x77bf0000 - 0x77c38000 	C:\WINDOWS.0\system32\GDI32.dll
0x77d90000 - 0x77e3e000 	C:\WINDOWS.0\system32\ADVAPI32.dll
0x77c40000 - 0x77cdf000 	C:\WINDOWS.0\system32\RPCRT4.dll
0x76e70000 - 0x76e83000 	C:\WINDOWS.0\system32\Secur32.dll
0x77ee0000 - 0x77f32000 	C:\WINDOWS.0\system32\SHLWAPI.dll
0x77830000 - 0x779a3000 	C:\WINDOWS.0\system32\SHDOCVW.dll
0x760d0000 - 0x76165000 	C:\WINDOWS.0\system32\CRYPT32.dll
0x760b0000 - 0x760c2000 	C:\WINDOWS.0\system32\MSASN1.dll
0x76c50000 - 0x76cd2000 	C:\WINDOWS.0\system32\CRYPTUI.dll
0x76ad0000 - 0x76afb000 	C:\WINDOWS.0\system32\WINTRUST.dll
0x76b30000 - 0x76b58000 	C:\WINDOWS.0\system32\imagehlp.dll
0x77cf0000 - 0x77d7b000 	C:\WINDOWS.0\system32\OLEAUT32.dll
0x77510000 - 0x77649000 	C:\WINDOWS.0\system32\ole32.dll
0x71a90000 - 0x71ae7000 	C:\WINDOWS.0\system32\NETAPI32.dll
0x76e30000 - 0x76e5f000 	C:\WINDOWS.0\system32\WLDAP32.dll
0x77b80000 - 0x77b88000 	C:\WINDOWS.0\system32\VERSION.dll
0x77360000 - 0x77463000 	C:\WINDOWS.0\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.3959_x-ww_D8713E55\Comctl32.dll
0x7c9e0000 - 0x7d1e5000 	C:\WINDOWS.0\system32\SHELL32.dll
0x75dc0000 - 0x75ebf000 	C:\WINDOWS.0\system32\BROWSEUI.dll
0x72300000 - 0x72313000 	C:\WINDOWS.0\system32\browselc.dll
0x77e40000 - 0x77ed7000 	C:\WINDOWS.0\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_5.82.3790.3959_x-ww_78FCF8D0\COMCTL32.dll
0x75d70000 - 0x75d97000 	C:\WINDOWS.0\system32\apphelp.dll
0x77650000 - 0x776d3000 	C:\WINDOWS.0\system32\CLBCatQ.DLL
0x76f30000 - 0x770bd000 	C:\WINDOWS.0\system32\COMRes.dll
0x76840000 - 0x76903000 	C:\WINDOWS.0\system32\USERENV.dll
0x719c0000 - 0x719f6000 	C:\WINDOWS.0\system32\UxTheme.dll
0x779d0000 - 0x77a7c000 	C:\WINDOWS.0\system32\WININET.dll
0x76460000 - 0x764b5000 	C:\WINDOWS.0\System32\cscui.dll
0x76440000 - 0x7645d000 	C:\WINDOWS.0\System32\CSCDLL.dll
0x764c0000 - 0x765cb000 	C:\WINDOWS.0\system32\SETUPAPI.dll
0x75f60000 - 0x75ff9000 	C:\WINDOWS.0\system32\shdoclc.dll
0x77a80000 - 0x77b2f000 	C:\WINDOWS.0\system32\urlmon.dll
0x01220000 - 0x014f0000 	C:\WINDOWS.0\system32\xpsp2res.dll
0x74450000 - 0x744e3000 	C:\WINDOWS.0\system32\mlang.dll
0x71a00000 - 0x71a0a000 	C:\WINDOWS.0\system32\wsock32.dll
0x71a50000 - 0x71a67000 	C:\WINDOWS.0\system32\WS2_32.dll
0x71a40000 - 0x71a48000 	C:\WINDOWS.0\system32\WS2HELP.dll
0x71970000 - 0x719b2000 	C:\WINDOWS.0\system32\mswsock.dll
0x5c7e0000 - 0x5c83a000 	C:\WINDOWS.0\system32\hnetcfg.dll
0x71930000 - 0x71938000 	C:\WINDOWS.0\System32\wshtcpip.dll
0x76db0000 - 0x76def000 	C:\WINDOWS.0\system32\RASAPI32.DLL
0x76d60000 - 0x76d72000 	C:\WINDOWS.0\system32\rasman.dll
0x76d80000 - 0x76daf000 	C:\WINDOWS.0\system32\TAPI32.dll
0x76d50000 - 0x76d5c000 	C:\WINDOWS.0\system32\rtutils.dll
0x769c0000 - 0x769ee000 	C:\WINDOWS.0\system32\WINMM.dll
0x71a10000 - 0x71a18000 	C:\WINDOWS.0\system32\rdpsnd.dll
0x779b0000 - 0x779c1000 	C:\WINDOWS.0\system32\WINSTA.dll
0x76a90000 - 0x76a9b000 	C:\WINDOWS.0\system32\PSAPI.DLL
0x744f0000 - 0x747ae000 	C:\WINDOWS.0\system32\msi.dll
0x75cb0000 - 0x75d6d000 	C:\WINDOWS.0\system32\SXS.DLL
0x76bb0000 - 0x76bd7000 	C:\WINDOWS.0\system32\msv1_0.dll
0x76c10000 - 0x76c2a000 	C:\WINDOWS.0\system32\iphlpapi.dll
0x72150000 - 0x72155000 	C:\WINDOWS.0\system32\sensapi.dll
0x5e080000 - 0x5e08e000 	C:\WINDOWS.0\system32\pstorec.dll
0x769a0000 - 0x769b8000 	C:\WINDOWS.0\system32\ATL.DLL
0x4a330000 - 0x4a632000 	C:\WINDOWS.0\system32\mshtml.dll
0x743a0000 - 0x743c7000 	C:\WINDOWS.0\system32\msls31.dll
0x743d0000 - 0x743fb000 	C:\WINDOWS.0\system32\msimtf.dll
0x74400000 - 0x74450000 	C:\WINDOWS.0\system32\MSCTF.dll
0x761b0000 - 0x761cd000 	C:\WINDOWS.0\system32\IMM32.DLL
0x16200000 - 0x16206000 	C:\ARQUIV~1\WINZIP\WZSHLSTB.DLL
0x16250000 - 0x16271000 	C:\ARQUIV~1\WINZIP\wzshlex1.dll
0x16300000 - 0x1631a000 	C:\ARQUIV~1\WINZIP\WZCAB3.DLL
0x76810000 - 0x76836000 	C:\WINDOWS.0\system32\ntshrui.dll
0x6d350000 - 0x6d35d000 	C:\Arquivos de programas\Oracle\JInitiator 1.3.1.22\bin\npjinit13122.dll
0x6d130000 - 0x6d15b000 	C:\Arquivos de programas\Oracle\JInitiator 1.3.1.22\bin\beans.ocx
0x76df0000 - 0x76e1b000 	C:\WINDOWS.0\system32\DNSAPI.dll
0x76e90000 - 0x76e97000 	C:\WINDOWS.0\System32\winrnr.dll
0x6d300000 - 0x6d316000 	C:\Arquivos de programas\Oracle\JInitiator 1.3.1.22\bin\jpishare.dll
0x6d7c0000 - 0x6da10000 	C:\ARQUIV~1\Oracle\JINITI~1.22\bin\hotspot\jvm.dll
0x7c340000 - 0x7c396000 	C:\WINDOWS.0\system32\MSVCR71.dll
0x6d220000 - 0x6d227000 	C:\ARQUIV~1\Oracle\JINITI~1.22\bin\hpi.dll
0x6d380000 - 0x6d38d000 	C:\ARQUIV~1\Oracle\JINITI~1.22\bin\verify.dll
0x6d250000 - 0x6d268000 	C:\ARQUIV~1\Oracle\JINITI~1.22\bin\java.dll
0x6d390000 - 0x6d39d000 	C:\ARQUIV~1\Oracle\JINITI~1.22\bin\zip.dll
0x6d020000 - 0x6d12b000 	C:\Arquivos de programas\Oracle\JInitiator 1.3.1.22\bin\awt.dll
0x72ec0000 - 0x72ee7000 	C:\WINDOWS.0\system32\WINSPOOL.DRV
0x6d1e0000 - 0x6d21c000 	C:\Arquivos de programas\Oracle\JInitiator 1.3.1.22\bin\fontmanager.dll
0x103d0000 - 0x1044b000 	C:\WINDOWS.0\system32\W03A2409.dll
0x6d340000 - 0x6d348000 	C:\Arquivos de programas\Oracle\JInitiator 1.3.1.22\bin\net.dll
0x76ea0000 - 0x76ea5000 	C:\WINDOWS.0\system32\rasadhlp.dll
0x77290000 - 0x77301000 	C:\WINDOWS.0\system32\jscript.dll
0x736c0000 - 0x7370b000 	C:\WINDOWS.0\system32\ddraw.dll
0x739f0000 - 0x739f6000 	C:\WINDOWS.0\system32\DCIMAN32.dll
0x68100000 - 0x68127000 	C:\WINDOWS.0\system32\dssenh.dll
0x6d370000 - 0x6d37a000 	C:\Arquivos de programas\Oracle\JInitiator 1.3.1.22\bin\packager.dll
0x6d2c0000 - 0x6d2db000 	C:\Arquivos de programas\Oracle\JInitiator 1.3.1.22\bin\jpeg.dll
0x01710000 - 0x01720000 	C:\Arquivos de programas\Oracle\JInitiator 1.3.1.22\bin\JNIsharedstubs.dll
0x01730000 - 0x01761000 	C:\ARQUIV~1\Oracle\JINITI~1.22\bin\d2kwut60.dll
0x761d0000 - 0x76218000 	C:\WINDOWS.0\system32\comdlg32.dll
0x71a20000 - 0x71a31000 	C:\WINDOWS.0\system32\MPR.dll
0x112b0000 - 0x1140f000 	C:\Windows\System32\BemaFI32.dll
0x76e20000 - 0x76e28000 	C:\WINDOWS.0\system32\wtsapi32.dll

VM Arguments:
jvm_args: -Xbootclasspath/a:C:\ARQUIV~1\Oracle\JINITI~1.22\lib\jaws.jar;C:\ARQUIV~1\Oracle\JINITI~1.22\lib\plugprov.jar;C:\ARQUIV~1\Oracle\JINITI~1.22\lib\sunrsasign.jar;C:\ARQUIV~1\Oracle\JINITI~1.22\lib\javax-ssl-1_2.jar;C:\ARQUIV~1\Oracle\JINITI~1.22\lib\jssl-1_2.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.3.1.22 -Djavaplugin.nodotversion=13122 -DtrustProxy=true -Dapplication.home=C:\ARQUIV~1\Oracle\JINITI~1.22 -Djava.protocol.handler.pkgs=sun.plugin.protocol.jdk12 -Djavaplugin.vm.options=-Djava.class.path=C:\ARQUIV~1\Oracle\JINITI~1.22\lib\applet. -Xbootclasspath/a:C:\ARQUIV~1\Oracle\JINITI~1.22\lib\jaws.jar;C:\ARQUIV~1\Oracle\JINITI~1.22\lib\plugprov.jar;C:\ARQUIV~1\Oracle\JINITI~1.22\lib\sunrsasign.jar;C:\ARQUIV~1\Oracle\JINITI~1.22\lib\javax-ssl-1_2.jar;C:\ARQUIV~1\Oracle\JINITI~1.22\lib\jssl-1_2.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.3.1.22 -Djavaplugin.nodotversion=13122 -DtrustProxy=true -Dapplication.home=C:\ARQUIV~1\Oracle\JINITI~1.22 -Djava.protocol.handler.pkgs=sun.plugin.protocol.jdk12  
java_command: <unknown>
Launcher Type: generic

Environment Variables:
JAVA_HOME=C:\Arquivos de programas\Java\jdk1.6.0_04
PATH=C:\ARQUIV~1\Oracle\JINITI~1.22\bin;C:\ARQUIV~1\Oracle\JINITI~1.22\jre\bin;C:\Arquivos de programas\Internet Explorer;;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\oracle\BI10g\bin;C:\oracle\BI10g\jlib;C:\oracle\BI10g\jre\1.4.2\bin\client;C:\oracle\BI10g\jre\1.4.2\bin;C:\ORACLE\Dev10g\bin;C:\ORACLE\Dev10g\jdk\jre\bin\classic;C:\ORACLE\Dev10g\jdk\jre\bin;C:\ORACLE\Dev10g\jdk\jre\bin\client;C:\ORACLE\Dev10g\jlib;C:\ORACLE\Dev10g\jre\1.4.2\bin\client;C:\ORACLE\Dev10g\jre\1.4.2\bin;C:\ORACLE\client\bin;C:\Arquivos de programas\Arquivos comuns\NetSarang;C:\ORACLE\DEV6i\bin;C:\WINDOWS.0\system32;C:\WINDOWS.0;C:\WINDOWS.0\System32\Wbem;C:\ORACLE\DEV6i\jdk\bin;C:\Arquivos de programas\Graphviz2.24\bin;.
USERNAME=ancora
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 9, GenuineIntel


--------------- S Y S T E M ---------------

Selecionar tudo

OS: Windows Server 2003 family Build 3790 Service Pack 2

CPU:total 1 (1 cores per cpu, 1 threads per core) family 15 model 4 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, sse3

Memory: 4k page, physical 1013760k(585568k free), swap 3975724k(3628984k free)

vm_info: Java HotSpot(TM) Client VM (10.0-b23) for windows-x86 JRE (1.6.0_07-b06), built on Jun 10 2008 01:14:11 by "java_re" with MS você++ 7.1

time: Wed Aug 24 11:52:54 2011
elapsed time: 378 seconds
Avatar do usuário
stcoutinho
Moderador
Moderador
Mensagens: 850
Registrado em: Qua, 11 Mai 2011 5:15 pm
Localização: são Paulo - SP

Asgard,

Não posso te prometer nada, mas vou ver se localizo alguma coisa, baseado nas mensagens do log.

Se você tiver este recurso disponível, recomendaria a você abrir uma SR no metalink.

Mas tenha cautela ao explicar para eles que é um código customizado. A Oracle não se responsabiliza e nem avalia código de terceiros, por mais que você peça.

Se eu encontrar alguma coisa que te ajude, postarei aquí.

Talvez outro colega do forum possa "dar alguma luz" sobre o problema relatado aquí.

Abraços,

Sergio Coutinho
Avatar do usuário
stcoutinho
Moderador
Moderador
Mensagens: 850
Registrado em: Qua, 11 Mai 2011 5:15 pm
Localização: são Paulo - SP

Asgard,

Realmente não encontrei nenhum tema que ligasse WEBUTIL_C_API com a mensagem de erro descrita.

Somente uma nota informando que a WEBUTIL_C_API não funcionaria com uma DLL desenvolvida em PASCAL.

O erro que você relatou me parece bem genérico e pertenceria mais ao "mundo java".

Será que não valeria a pena mudar esta thread para o forum Java?

Abraços,

Sergio
esaito
Rank: Estagiário Sênior
Rank: Estagiário Sênior
Mensagens: 8
Registrado em: Qua, 06 Abr 2011 3:56 pm
Localização: Lins-sp

Asgard, tdo bem?

conseguiu resolver o problema?
também estou passando pela mesma situação, só que estou usando a Dll da Daruma. A DarumaFrameWork.dll
Gostaria de saber qual foi a solução que conseguiu para o problema....
se for possivel compartilhar.
Agradeceria.
abraços.
Responder
  • Informação
  • Quem está online

    Usuários navegando neste fórum: Nenhum usuário registrado e 5 visitantes