nv-l

RE: [nv-l] Integrating Java Applications using Java 1.4

2003-01-16 19:48:27
Subject: RE: [nv-l] Integrating Java Applications using Java 1.4
From: Kenneth Stoutzenberger <kstoutzenberger AT netaphor DOT com>
To: brozow AT tavve DOT com, nv-l AT lists.tivoli DOT com
Date: Thu, 16 Jan 2003 15:29:40 -0800
Thanks Matt,

I did make sure to use the Java 1.4 JDK prior to posting.  I've created a
simple application that only loads the dll.  I've removed all the code from
my .cpp file except the DllMain method and the simple application does not
crash.  However, if I add a method to the .cpp file that accesses the
NetView code, i.e. OVwInit() or OVwGetAppName(), the program crashes (even
though the methods are not called) with the error previously reported.  I'm
troubleshooting now to see if I can figure out what is going on.

Have you integrated an application using Java 1.4?  Just curious if anyone
else already has done this.  Also, I have NetView running on two different
machines and when the program is started, without my application, it starts
a Java process.  We install the 1.4 JRE that our application uses.  Could
there be a conflict between the JVM NetView uses and the one my application
uses?  

Best Regards,


Ken Stoutzenberger
NETAPHOR SOFTWARE, INC.

-----Original Message-----
From: brozow AT tavve DOT com [mailto:brozow AT tavve DOT com]
Sent: Thursday, January 16, 2003 6:13 AM
To: nv-l AT lists.tivoli DOT com
Cc: Kenneth Stoutzenberger
Subject: Re: [nv-l] Integrating Java Applications using Java 1.4



This may be an obvious answer but I would recommend you ensure that you
build your dll using Java 1.4 JDK... just to ensure that the headers
haven't changed or anything of that sort..

                                                                           
 Matt Brozowski                                         Tavve Software Co. 
 Tavve Software Co.                          One Copley Parkway, Suite 480 
 www.tavve.com                                      Morrisville, NC  27560 
 Matt.Brozowski AT tavve DOT com                                  +1 
919-654-1224 
                                                       fax +1 919-380-7147 
                                                                           





 

                      Kenneth

                      Stoutzenberger             To:
nv-l AT lists.tivoli DOT com                                
                      <kstoutzenberger@ne        cc:

                      taphor.com>                Subject:  [nv-l]
Integrating Java Applications using Java 1.4  
 

                      01/15/2003 07:47 PM

 

 





Hi,

Has anyone tried to integrate a Java 1.4 application with NetView?  I have
a
Java application that uses JNI to communicate with NetView.  The code
builds
and runs fine using Java 1.3 but if I change to Java 1.4, I am unable to
load my .dll library.  Below is the error occurs when the application runs.

Thanks,


Ken Stoutzenberger
NETAPHOR SOFTWARE, INC.
(949) 598-7394
kstoutzenberger AT netaphor DOT com



An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0xB43BD20
Function=[Unknown.]
Library=(N/A)

NOTE: We are unable to locate the function name symbol for the error that
      just occurred. Please refer to release documentation for possible a
      reason and solutions.


Current Java thread:
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        - locked <02EF5DE0> (a java.util.Vector)
        - locked <02EF6320> (a java.util.Vector)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        - locked <02EF21F8> (a java.lang.Runtime)
        at java.lang.System.loadLibrary(Unknown Source)
        at
com.netaphor.metaconsole.libovw.OVInterface.<clinit>(OVInterface.java:19)
        at com.netaphor.metaconsole.libovw.LibOvw.<init>(LibOvw.java:33)
        at com.netaphor.metaconsole.nvimp.OV.OVStart(OV.java:488)
        at com.netaphor.metaconsole.nvimp.OV.<init>(OV.java:56)
        at com.netaphor.metaconsole.nvimp.NVClient.<init>(NVClient.java:62)
        at com.netaphor.metaconsole.nvimp.NVClient.main(NVClient.java:112)

Dynamic libraries:
0x00400000 - 0x00406000         C:\Program
Files\MetaConsole\jre\bin\java.exe
0x77F80000 - 0x77FFB000         C:\WINNT\System32\ntdll.dll
0x77DB0000 - 0x77E0B000         C:\WINNT\system32\ADVAPI32.dll
0x77E80000 - 0x77F35000         C:\WINNT\system32\KERNEL32.DLL
0x77D40000 - 0x77DB0000         C:\WINNT\system32\RPCRT4.DLL
0x78000000 - 0x78046000         C:\WINNT\system32\MSVCRT.dll
0x6D330000 - 0x6D45A000         C:\Program
Files\MetaConsole\jre\bin\client\jv
dll
0x77E10000 - 0x77E74000         C:\WINNT\system32\USER32.dll
0x77F40000 - 0x77F7C000         C:\WINNT\system32\GDI32.DLL
0x77570000 - 0x775A0000         C:\WINNT\System32\WINMM.dll
0x6D1D0000 - 0x6D1D7000         C:\Program
Files\MetaConsole\jre\bin\hpi.dll
0x6D300000 - 0x6D30D000         C:\Program
Files\MetaConsole\jre\bin\verify.dl
0x6D210000 - 0x6D229000         C:\Program
Files\MetaConsole\jre\bin\java.dll
0x6D320000 - 0x6D32D000         C:\Program
Files\MetaConsole\jre\bin\zip.dll
0x6D2D0000 - 0x6D2DE000         C:\Program
Files\MetaConsole\jre\bin\net.dll
0x75050000 - 0x75058000         C:\WINNT\System32\WSOCK32.dll
0x75030000 - 0x75043000         C:\WINNT\System32\WS2_32.DLL
0x75020000 - 0x75028000         C:\WINNT\System32\WS2HELP.DLL
0x785C0000 - 0x785CC000         C:\WINNT\System32\rnr20.dll
0x77980000 - 0x779A4000         C:\WINNT\System32\DNSAPI.DLL
0x77340000 - 0x77353000         C:\WINNT\System32\iphlpapi.dll
0x775C0000 - 0x775C9000         C:\usr\ov\bin\ICMP.DLL
0x77320000 - 0x77337000         C:\WINNT\System32\MPRAPI.DLL
0x75150000 - 0x75160000         C:\WINNT\System32\SAMLIB.DLL
0x75170000 - 0x751BF000         C:\WINNT\System32\NETAPI32.DLL
0x77BE0000 - 0x77BEF000         C:\WINNT\System32\SECUR32.DLL
0x751C0000 - 0x751C6000         C:\WINNT\System32\NETRAP.DLL
0x77950000 - 0x77979000         C:\WINNT\system32\WLDAP32.DLL
0x77A50000 - 0x77B46000         C:\WINNT\system32\OLE32.DLL
0x779B0000 - 0x77A4B000         C:\WINNT\system32\OLEAUT32.DLL
0x773B0000 - 0x773DE000         C:\WINNT\System32\ACTIVEDS.DLL
0x77380000 - 0x773A2000         C:\WINNT\System32\ADSLDPC.DLL
0x77830000 - 0x7783E000         C:\WINNT\System32\RTUTILS.DLL
0x77880000 - 0x7790D000         C:\WINNT\System32\SETUPAPI.DLL
0x77C10000 - 0x77C6D000         C:\WINNT\System32\USERENV.DLL
0x774E0000 - 0x77512000         C:\WINNT\System32\RASAPI32.DLL
0x774C0000 - 0x774D1000         C:\WINNT\System32\RASMAN.DLL






---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe AT lists.tivoli DOT com
For additional commands, e-mail: nv-l-help AT lists.tivoli DOT com

*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)





---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe AT lists.tivoli DOT com
For additional commands, e-mail: nv-l-help AT lists.tivoli DOT com

*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)


<Prev in Thread] Current Thread [Next in Thread>