Inet6Address

Hi all.
I have a problem with Inet6Address class.
I try to get a InetAddress object from
InetAddress ia = Inet6Address.getByAddress(dire_ipv6);
where dire_ipv6 is a byte [] such a:
String ip6 = new String("3ffe:1234:1234:1234:1234:1234:1234:1235");
dire_ipv6 = ip6.getBytes();
This throws a exception inform that ip address should be 16 bytes long��
Who can I translate my string ipv6 address "3ffe:...." to a valid ipv6 address for Inet6Address class
Thanks a lot.

I didn't test it, but can't you useInetAddress ia = Inet6Address.getByName(ip6);

Similar Messages

  • Inet6Address help and understanding

    Hello everyone,
    Firstly, I am not that knowledgable about networking, but Im not a complete fool :).
    I have a requirement to "get" the servers IP address in IPV6 format. I dont know how to do this, I can easily get the IP address in IPv4, via this:
    InetAddress hostDetails = InetAddress.getLocalHost();
    hostDetails.getHostAddress()works fine, but i simply just dont know how to work with the Inet6Address class to get the IVP6 version...
    Any help would be greatly appreciated!
    Mark

    ejp wrote:
    I have a requirement to "get" the servers IP address in IPV6 format.You need clarification of this requirement. There are two interpretations:
    (a) the server has both IPv6 and IPv4 addresses and you are to retrieve an IPv6 address. In this case just enumerate all its IP addresses (InetAddress.getAllByName()) and stop when one of them is instanceof Inet6Address.
    (b) You are to convert an IPv4 address into an 'IPv4-mapped IPv6 address'. These are of the form ::ffff:w.x.y.z where w.x.y.z is the IPv4 address. Java doesn't provide any API support that will yield this representation, although it will understand it.Thanks ejp, it turns out that IPV6 was not applicable due to our server and development environment so we are going to go with the IPV4 mapped address implementation.
    Thanks again...

  • Java error when uninstalling CF11 32-bit

    HI all,
    I am trying to uninstall ColdFusion 11 (32-bit) edition so I can reinstall CF11 64-bit on my Win2k8r2 production server. I currently have CF9 installed and running on this server.  I get a fatal error from the jre when attempting the CF11 uninstall. Detailed below is the PID error log from the uninstall directory:
    # A fatal error has been detected by the Java Runtime Environment:
    #  Internal Error (0xc06d007e), pid=5088, tid=2328
    # JRE version: Java(TM) SE Runtime Environment (8.0_25-b18) (build 1.8.0_25-b18)
    # Java VM: Java HotSpot(TM) Client VM (25.25-b02 mixed mode windows-x86 )
    # Problematic frame:
    # C  [kernel32.dll+0x1ed5b]
    # Failed to write core dump.
    # If you would like to submit a bug report, please visit:
    #   http://bugreport.sun.com/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 (0x465ecc00):  JavaThread "uninstall" [_thread_in_native, id=2328, stack(0x47310000,0x47360000)]
    siginfo: ExceptionCode=0xc06d007e, ExceptionInformation=0x4735e074
    Registers:
    EAX=0x4735e000, EBX=0x00000000, ECX=0x00000001, EDX=0x00000000
    ESP=0x4735e000, EBP=0x4735e050, ESI=0x7188f11c, EDI=0x00000000
    EIP=0x7524ed5b, EFLAGS=0x00000216
    Top of Stack: (sp=0x4735e000)
    0x4735e000:   c06d007e 00000000 00000000 7524ed5b
    0x4735e010:   00000001 4735e074 4735e438 752eefcb
    0x4735e020:   38f077b8 fffffffe 75243626 75243701
    0x4735e030:   7ef8bc00 00000000 00000000 4735e05c
    0x4735e040:   752436c8 7188ef90 00000000 00000000
    0x4735e050:   4735e0b8 7188b6db c06d007e 00000000
    0x4735e060:   00000001 4735e0c4 465ecd38 464c81b8
    0x4735e070:   00000000 00000024 7188f11c 718920c0
    Instructions: (pc=0x7524ed5b)
    0x7524ed3b:   02 50 ff 75 14 8d 45 c4 50 e8 da 03 0a 00 e9 16
    0x7524ed4b:   3d 02 00 89 45 c0 8d 45 b0 50 ff 15 14 07 24 75
    0x7524ed5b:   c9 c2 10 00 66 83 fa 06 0f 84 9f e0 01 00 66 83
    0x7524ed6b:   fa 09 75 0c c7 46 18 d8 21 00 00 e9 36 62 ff ff
    Register to memory mapping:
    EAX=0x4735e000 is pointing into the stack for thread: 0x465ecc00
    EBX=0x00000000 is an unknown value
    ECX=0x00000001 is an unknown value
    EDX=0x00000000 is an unknown value
    ESP=0x4735e000 is pointing into the stack for thread: 0x465ecc00
    EBP=0x4735e050 is pointing into the stack for thread: 0x465ecc00
    ESI=0x7188f11c is an unknown value
    EDI=0x00000000 is an unknown value
    Stack: [0x47310000,0x47360000],  sp=0x4735e000,  free space=312k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C  [kernel32.dll+0x1ed5b]
    C  [net.dll+0xb6db]
    C  [net.dll+0xb54a]
    C  [net.dll+0x5361]
    C  0x465f3d78
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j  java.net.NetworkInterface.getAll()[Ljava/net/NetworkInterface;+0
    j  java.net.NetworkInterface.getNetworkInterfaces()Ljava/util/Enumeration;+0
    j  sun.security.provider.SeedGenerator.addNetworkAdapterInfo(Ljava/security/MessageDigest;)V +0
    j  sun.security.provider.SeedGenerator.access$000(Ljava/security/MessageDigest;)V+1
    j  sun.security.provider.SeedGenerator$1.run()Ljava/lang/Void;+61
    j  sun.security.provider.SeedGenerator$1.run()Ljava/lang/Object;+1
    v  ~StubRoutines::call_stub
    j  java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/O bject;+0
    j  sun.security.provider.SeedGenerator.getSystemEntropy()[B+40
    j  sun.security.provider.SecureRandom$SeederHolder.<clinit>()V+4
    v  ~StubRoutines::call_stub
    j  sun.security.provider.SecureRandom.engineNextBytes([B)V+21
    j  java.security.SecureRandom.nextBytes([B)V+5
    j  java.security.SecureRandom.next(I)I+17
    j  java.util.Random.nextLong()J+3
    j  java.io.File$TempDirectory.generateFile(Ljava/lang/String;Ljava/lang/String;Ljava/io/File ;)Ljava/io/File;+3
    j  java.io.File.createTempFile(Ljava/lang/String;Ljava/lang/String;Ljava/io/File;)Ljava/io/F ile;+45
    j  java.io.File.createTempFile(Ljava/lang/String;Ljava/lang/String;)Ljava/io/File;+3
    j  com.macromedia.utils.StaticLocations.<clinit>()V+4
    v  ~StubRoutines::call_stub
    j  com.macromedia.ant.windowsdll.ExecProcess.<clinit>()V+111
    v  ~StubRoutines::call_stub
    j  com.macromedia.ant.ExecBase.execute()V+369
    j  org.apache.tools.ant.Task.perform()V+20
    j  org.apache.tools.ant.Target.execute()V+45
    j  org.apache.tools.ant.Target.performTasks()V+9
    j  org.apache.tools.ant.Project.executeTarget(Ljava/lang/String;)V+43
    j  org.apache.tools.ant.taskdefs.Ant.execute()V+342
    j  org.apache.tools.ant.taskdefs.CallTarget.execute()V+85
    j  org.apache.tools.ant.Task.perform()V+20
    j  org.apache.tools.ant.Target.execute()V+45
    j  org.apache.tools.ant.Target.performTasks()V+9
    j  org.apache.tools.ant.Project.executeTarget(Ljava/lang/String;)V+43
    j  com.zerog.ia.installer.util.AntUtility.go()Ljava/lang/String;+106
    j  com.zerog.ia.installer.actions.AntRunner.installSelf()Lcom/zerog/ia/installer/IAStatus;+1 46
    j  com.zerog.ia.installer.Uninstaller.ah(Lcom/zerog/ia/installer/Installer;)V+541
    j  com.zerog.ia.installer.Uninstaller.uninstall(Lcom/zerog/ia/installer/Installer;)V+65
    j  com.zerog.ia.installer.actions.UninstallProgressAction.ae()V+7
    j  com.zerog.ia.installer.actions.ProgressPanelAction$1.run()V+18
    v  ~StubRoutines::call_stub
    ---------------  P R O C E S S  ---------------
    Java Threads: ( => current thread )
      0x465ee000 JavaThread "SeedGenerator Thread" daemon [_thread_blocked, id=5576, stack(0x47830000,0x47880000)]
      0x465ed800 JavaThread "SeedGenerator Thread" daemon [_thread_in_Java, id=6072, stack(0x478b0000,0x47900000)]
    =>0x465ecc00 JavaThread "uninstall" [_thread_in_native, id=2328, stack(0x47310000,0x47360000)]
      0x465ed400 JavaThread "Timer-5" [_thread_blocked, id=3508, stack(0x45b90000,0x45be0000)]
      0x465ec800 JavaThread "TimerQueue" daemon [_thread_blocked, id=1828, stack(0x45fc0000,0x46010000)]
      0x0260c000 JavaThread "DestroyJavaVM" [_thread_blocked, id=5040, stack(0x00a90000,0x00ae0000)]
      0x44f3f800 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=5004, stack(0x460c0000,0x46110000)]
      0x4503f800 JavaThread "Thread-2" [_thread_blocked, id=5844, stack(0x45e10000,0x45e60000)]
      0x4505b000 JavaThread "AWT-Windows" daemon [_thread_in_native, id=4968, stack(0x45c60000,0x45cb0000)]
      0x4505a000 JavaThread "AWT-Shutdown" [_thread_blocked, id=5904, stack(0x003f0000,0x00440000)]
      0x45018400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1512, stack(0x45ab0000,0x45b00000)]
      0x44edac00 JavaThread "Service Thread" daemon [_thread_blocked, id=5996, stack(0x451b0000,0x45200000)]
      0x44ecac00 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=2224, stack(0x453f0000,0x45440000)]
      0x44ec9800 JavaThread "Attach Listener" daemon [_thread_blocked, id=6048, stack(0x00160000,0x001b0000)]
      0x44ec6800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3484, stack(0x02530000,0x02580000)]
      0x44e90000 JavaThread "Finalizer" daemon [_thread_blocked, id=5840, stack(0x45340000,0x45390000)]
      0x44e8b400 JavaThread "Reference Handler" daemon [_thread_blocked, id=2408, stack(0x45260000,0x452b0000)]
    Other Threads:
      0x44e86000 VMThread [stack: 0x04780000,0x047d0000] [id=4516]
      0x44ee4000 WatcherThread [stack: 0x45570000,0x455c0000] [id=5760]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap:
    def new generation   total 78720K, used 22098K [0x04800000, 0x09d60000, 0x19d50000)
      eden space 70016K,  31% used [0x04800000, 0x05d94bc0, 0x08c60000)
      from space 8704K,   0% used [0x08c60000, 0x08c60000, 0x094e0000)
      to   space 8704K,   0% used [0x094e0000, 0x094e0000, 0x09d60000)
    tenured generation   total 174784K, used 29070K [0x19d50000, 0x24800000, 0x44800000)
       the space 174784K,  16% used [0x19d50000, 0x1b9b3950, 0x1b9b3a00, 0x24800000)
    Metaspace       used 13894K, capacity 14118K, committed 14208K, reserved 14720K
    Card table byte_map: [0x44800000,0x44a10000] byte_map_base: 0x447dc000
    Polling page: 0x000f0000
    CodeCache: size=32768Kb used=2128Kb max_used=2254Kb free=30639Kb
    bounds [0x02610000, 0x02848000, 0x04610000]
    total_blobs=1205 nmethods=977 adapters=159
    compilation: enabled
    Compilation events (10 events):
    Event: 14.178 Thread 0x44ecac00  987             org.apache.xerces.util.SymbolTable::hash (38 bytes)
    Event: 14.178 Thread 0x44ecac00 nmethod 987 0x02738c08 code [0x02738d00, 0x02738de0]
    Event: 14.178 Thread 0x44ecac00  988             org.apache.xerces.util.XMLChar::isName (23 bytes)
    Event: 14.178 Thread 0x44ecac00 nmethod 988 0x02738988 code [0x02738a80, 0x02738b40]
    Event: 14.178 Thread 0x44ecac00  989             org.apache.xerces.impl.XMLEntityScanner::scanName (319 bytes)
    Event: 14.178 Thread 0x44ecac00 nmethod 989 0x02737e08 code [0x02737f90, 0x02738484]
    Event: 14.178 Thread 0x44ecac00  990             org.apache.xerces.util.SymbolTable::addSymbol (162 bytes)
    Event: 14.179 Thread 0x44ecac00 nmethod 990 0x02737488 code [0x027375e0, 0x02737960]
    Event: 14.187 Thread 0x44ecac00  991 % !         sun.security.provider.SeedGenerator$ThreadedSeedGenerator::run @ 112 (256 bytes)
    Event: 14.188 Thread 0x44ecac00 nmethod 991% 0x02736048 code [0x027361f0, 0x02736ad8]
    GC Heap History (10 events):
    Event: 1.320 GC heap before
    {Heap before GC invocations=0 (full 0):
    def new generation   total 78656K, used 69952K [0x04800000, 0x09d50000, 0x19d50000)
      eden space 69952K, 100% used [0x04800000, 0x08c50000, 0x08c50000)
      from space 8704K,   0% used [0x08c50000, 0x08c50000, 0x094d0000)
      to   space 8704K,   0% used [0x094d0000, 0x094d0000, 0x09d50000)
    tenured generation   total 174784K, used 0K [0x19d50000, 0x24800000, 0x44800000)
       the space 174784K,   0% used [0x19d50000, 0x19d50000, 0x19d50200, 0x24800000)
    Metaspace       used 7120K, capacity 7226K, committed 7296K, reserved 7552K
    Event: 1.352 GC heap after
    Heap after GC invocations=1 (full 0):
    def new generation   total 78656K, used 8704K [0x04800000, 0x09d50000, 0x19d50000)
      eden space 69952K,   0% used [0x04800000, 0x04800000, 0x08c50000)
      from space 8704K, 100% used [0x094d0000, 0x09d50000, 0x09d50000)
      to   space 8704K,   0% used [0x08c50000, 0x08c50000, 0x094d0000)
    tenured generation   total 174784K, used 6279K [0x19d50000, 0x24800000, 0x44800000)
       the space 174784K,   3% used [0x19d50000, 0x1a371d28, 0x1a371e00, 0x24800000)
    Metaspace       used 7120K, capacity 7226K, committed 7296K, reserved 7552K
    Event: 1.660 GC heap before
    {Heap before GC invocations=1 (full 0):
    def new generation   total 78656K, used 78656K [0x04800000, 0x09d50000, 0x19d50000)
      eden space 69952K, 100% used [0x04800000, 0x08c50000, 0x08c50000)
      from space 8704K, 100% used [0x094d0000, 0x09d50000, 0x09d50000)
      to   space 8704K,   0% used [0x08c50000, 0x08c50000, 0x094d0000)
    tenured generation   total 174784K, used 6279K [0x19d50000, 0x24800000, 0x44800000)
       the space 174784K,   3% used [0x19d50000, 0x1a371d28, 0x1a371e00, 0x24800000)
    Metaspace       used 7965K, capacity 8104K, committed 8192K, reserved 8576K
    Event: 1.708 GC heap after
    Heap after GC invocations=2 (full 0):
    def new generation   total 78656K, used 8704K [0x04800000, 0x09d50000, 0x19d50000)
      eden space 69952K,   0% used [0x04800000, 0x04800000, 0x08c50000)
      from space 8704K, 100% used [0x08c50000, 0x094d0000, 0x094d0000)
      to   space 8704K,   0% used [0x094d0000, 0x094d0000, 0x09d50000)
    tenured generation   total 174784K, used 21526K [0x19d50000, 0x24800000, 0x44800000)
       the space 174784K,  12% used [0x19d50000, 0x1b255800, 0x1b255800, 0x24800000)
    Metaspace       used 7965K, capacity 8104K, committed 8192K, reserved 8576K
    Event: 2.032 GC heap before
    {Heap before GC invocations=2 (full 0):
    def new generation   total 78656K, used 78656K [0x04800000, 0x09d50000, 0x19d50000)
      eden space 69952K, 100% used [0x04800000, 0x08c50000, 0x08c50000)
      from space 8704K, 100% used [0x08c50000, 0x094d0000, 0x094d0000)
      to   space 8704K,   0% used [0x094d0000, 0x094d0000, 0x09d50000)
    tenured generation   total 174784K, used 21526K [0x19d50000, 0x24800000, 0x44800000)
       the space 174784K,  12% used [0x19d50000, 0x1b255800, 0x1b255800, 0x24800000)
    Metaspace       used 8878K, capacity 9055K, committed 9088K, reserved 9600K
    Event: 2.052 GC heap after
    Heap after GC invocations=3 (full 0):
    def new generation   total 78656K, used 2372K [0x04800000, 0x09d50000, 0x19d50000)
      eden space 69952K,   0% used [0x04800000, 0x04800000, 0x08c50000)
      from space 8704K,  27% used [0x094d0000, 0x09721298, 0x09d50000)
      to   space 8704K,   0% used [0x08c50000, 0x08c50000, 0x094d0000)
    tenured generation   total 174784K, used 30154K [0x19d50000, 0x24800000, 0x44800000)
       the space 174784K,  17% used [0x19d50000, 0x1bac28c0, 0x1bac2a00, 0x24800000)
    Metaspace       used 8878K, capacity 9055K, committed 9088K, reserved 9600K
    Event: 8.378 GC heap before
    {Heap before GC invocations=3 (full 0):
    def new generation   total 78656K, used 72324K [0x04800000, 0x09d50000, 0x19d50000)
      eden space 69952K, 100% used [0x04800000, 0x08c50000, 0x08c50000)
      from space 8704K,  27% used [0x094d0000, 0x09721298, 0x09d50000)
      to   space 8704K,   0% used [0x08c50000, 0x08c50000, 0x094d0000)
    tenured generation   total 174784K, used 30154K [0x19d50000, 0x24800000, 0x44800000)
       the space 174784K,  17% used [0x19d50000, 0x1bac28c0, 0x1bac2a00, 0x24800000)
    Metaspace       used 11912K, capacity 12124K, committed 12160K, reserved 12672K
    Event: 8.409 GC heap after
    Heap after GC invocations=4 (full 0):
    def new generation   total 78656K, used 8704K [0x04800000, 0x09d50000, 0x19d50000)
      eden space 69952K,   0% used [0x04800000, 0x04800000, 0x08c50000)
      from space 8704K, 100% used [0x08c50000, 0x094d0000, 0x094d0000)
      to   space 8704K,   0% used [0x094d0000, 0x094d0000, 0x09d50000)
    tenured generation   total 174784K, used 34973K [0x19d50000, 0x24800000, 0x44800000)
       the space 174784K,  20% used [0x19d50000, 0x1bf77450, 0x1bf77600, 0x24800000)
    Metaspace       used 11912K, capacity 12124K, committed 12160K, reserved 12672K
    Event: 8.430 GC heap before
    {Heap before GC invocations=4 (full 0):
    def new generation   total 78656K, used 10917K [0x04800000, 0x09d50000, 0x19d50000)
      eden space 69952K,   3% used [0x04800000, 0x04a296b8, 0x08c50000)
      from space 8704K, 100% used [0x08c50000, 0x094d0000, 0x094d0000)
      to   space 8704K,   0% used [0x094d0000, 0x094d0000, 0x09d50000)
    tenured generation   total 174784K, used 34973K [0x19d50000, 0x24800000, 0x44800000)
       the space 174784K,  20% used [0x19d50000, 0x1bf77450, 0x1bf77600, 0x24800000)
    Metaspace       used 12074K, capacity 12284K, committed 12288K, reserved 12672K
    Event: 8.468 GC heap after
    Heap after GC invocations=5 (full 1):
    def new generation   total 78720K, used 0K [0x04800000, 0x09d60000, 0x19d50000)
      eden space 70016K,   0% used [0x04800000, 0x04800000, 0x08c60000)
      from space 8704K,   0% used [0x08c60000, 0x08c60000, 0x094e0000)
      to   space 8704K,   0% used [0x094e0000, 0x094e0000, 0x09d60000)
    tenured generation   total 174784K, used 29070K [0x19d50000, 0x24800000, 0x44800000)
       the space 174784K,  16% used [0x19d50000, 0x1b9b3950, 0x1b9b3a00, 0x24800000)
    Metaspace       used 12074K, capacity 12281K, committed 12288K, reserved 12672K
    Deoptimization events (0 events):
    No events
    Internal exceptions (10 events):
    Event: 14.177 Thread 0x465ecc00 Exception <a 'java/lang/IllegalArgumentException': wrong number of arguments> (0x05cbfe70) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u25\1677\hotspot\src\share\vm\runtime\ reflection.cpp, line 1022]
    Event: 14.177 Thread 0x465ecc00 Exception <a 'java/lang/IllegalArgumentException': wrong number of arguments> (0x05cc1100) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u25\1677\hotspot\src\share\vm\runtime\ reflection.cpp, line 1022]
    Event: 14.177 Thread 0x465ecc00 Exception <a 'java/lang/IllegalArgumentException': wrong number of arguments> (0x05cc23b8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u25\1677\hotspot\src\share\vm\runtime\ reflection.cpp, line 1022]
    Event: 14.177 Thread 0x465ecc00 Exception <a 'java/lang/IllegalArgumentException': wrong number of arguments> (0x05cc36b0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u25\1677\hotspot\src\share\vm\runtime\ reflection.cpp, line 1022]
    Event: 14.177 Thread 0x465ecc00 Exception <a 'java/lang/IllegalArgumentException': wrong number of arguments> (0x05cc48f8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u25\1677\hotspot\src\share\vm\runtime\ reflection.cpp, line 1022]
    Event: 14.177 Thread 0x465ecc00 Exception <a 'java/lang/IllegalArgumentException': wrong number of arguments> (0x05cc59e8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u25\1677\hotspot\src\share\vm\runtime\ reflection.cpp, line 1022]
    Event: 14.177 Thread 0x465ecc00 Exception <a 'java/lang/IllegalArgumentException': wrong number of arguments> (0x05cc6bc8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u25\1677\hotspot\src\share\vm\runtime\ reflection.cpp, line 1022]
    Event: 14.177 Thread 0x465ecc00 Exception <a 'java/lang/IllegalArgumentException': wrong number of arguments> (0x05cc7e60) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u25\1677\hotspot\src\share\vm\runtime\ reflection.cpp, line 1022]
    Event: 14.179 Thread 0x465ecc00 Exception <a 'java/security/PrivilegedActionException'> (0x05d0ba18) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u25\1677\hotspot\src\share\vm\prims\jv m.cpp, line 1312]
    Event: 14.180 Thread 0x465ecc00 Exception <a 'java/security/PrivilegedActionException'> (0x05d108a8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u25\1677\hotspot\src\share\vm\prims\jv m.cpp, line 1312]
    Events (10 events):
    Event: 14.189 loading class java/net/Inet4Address
    Event: 14.189 loading class java/net/Inet4Address done
    Event: 14.189 loading class java/net/Inet6Address
    Event: 14.189 loading class java/net/Inet6Address done
    Event: 14.189 loading class java/net/Inet6Address$Inet6AddressHolder
    Event: 14.189 loading class java/net/Inet6Address$Inet6AddressHolder done
    Event: 14.189 loading class java/net/InterfaceAddress
    Event: 14.189 loading class java/net/InterfaceAddress done
    Event: 14.189 loading class java/net/DefaultInterface
    Event: 14.189 loading class java/net/DefaultInterface done
    Dynamic libraries:
    0x00af0000 - 0x00b20000 C:\CF11\jre\bin\javaw.exe
    0x77190000 - 0x772f0000 C:\Windows\SysWOW64\ntdll.dll
    0x75230000 - 0x75340000 C:\Windows\syswow64\kernel32.dll
    0x758a0000 - 0x75966000 C:\Windows\syswow64\ADVAPI32.dll
    0x76890000 - 0x76980000 C:\Windows\syswow64\RPCRT4.dll
    0x75170000 - 0x751d0000 C:\Windows\syswow64\Secur32.dll
    0x76be0000 - 0x76cb0000 C:\Windows\syswow64\USER32.dll
    0x76540000 - 0x765d0000 C:\Windows\syswow64\GDI32.dll
    0x74a40000 - 0x74bde000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6001.18523_n one_5cdd65e20837faf2\COMCTL32.dll
    0x767e0000 - 0x7688a000 C:\Windows\syswow64\msvcrt.dll
    0x76770000 - 0x767c8000 C:\Windows\syswow64\SHLWAPI.dll
    0x75530000 - 0x75590000 C:\Windows\system32\IMM32.DLL
    0x756e0000 - 0x757a8000 C:\Windows\syswow64\MSCTF.dll
    0x75220000 - 0x75229000 C:\Windows\syswow64\LPK.DLL
    0x76a50000 - 0x76acd000 C:\Windows\syswow64\USP10.dll
    0x707c0000 - 0x7087f000 C:\CF11\jre\bin\msvcr100.dll
    0x6df40000 - 0x6e2e4000 C:\CF11\jre\bin\client\jvm.dll
    0x74d90000 - 0x74d97000 C:\Windows\system32\WSOCK32.dll
    0x75970000 - 0x7599d000 C:\Windows\syswow64\WS2_32.dll
    0x767d0000 - 0x767d6000 C:\Windows\syswow64\NSI.dll
    0x748e0000 - 0x74912000 C:\Windows\system32\WINMM.dll
    0x75590000 - 0x756d4000 C:\Windows\syswow64\ole32.dll
    0x759a0000 - 0x75a2d000 C:\Windows\syswow64\OLEAUT32.dll
    0x747e0000 - 0x74819000 C:\Windows\system32\OLEACC.dll
    0x765d0000 - 0x765d7000 C:\Windows\syswow64\PSAPI.DLL
    0x72fb0000 - 0x72fbc000 C:\CF11\jre\bin\verify.dll
    0x72660000 - 0x72681000 C:\CF11\jre\bin\java.dll
    0x72f70000 - 0x72f83000 C:\CF11\jre\bin\zip.dll
    0x75a30000 - 0x76540000 C:\Windows\syswow64\SHELL32.dll
    0x74ed0000 - 0x74eee000 C:\Windows\system32\USERENV.dll
    0x6f640000 - 0x6f786000 C:\CF11\jre\bin\awt.dll
    0x74390000 - 0x7439c000 C:\Windows\system32\DWMAPI.DLL
    0x718a0000 - 0x718c0000 C:\CF11\uninstall\resource\iawin32.dll
    0x70a40000 - 0x70a78000 C:\CF11\jre\bin\fontmanager.dll
    0x71880000 - 0x71895000 C:\CF11\jre\bin\net.dll
    0x74db0000 - 0x74deb000 C:\Windows\system32\mswsock.dll
    0x74790000 - 0x74795000 C:\Windows\System32\wship6.dll
    0x72fa0000 - 0x72faf000 C:\CF11\jre\bin\nio.dll
    0x70bc0000 - 0x70be4000 C:\CF11\jre\bin\dcpr.dll
    0x74d10000 - 0x74d3c000 C:\Windows\system32\apphelp.dll
    0x765e0000 - 0x7676a000 C:\Windows\syswow64\SETUPAPI.dll
    0x71ac0000 - 0x71b7a000 C:\Windows\system32\PROPSYS.dll
    0x76990000 - 0x76a14000 C:\Windows\syswow64\CLBCatQ.DLL
    0x70a10000 - 0x70a40000 C:\CF11\jre\bin\t2k.dll
    0x718e0000 - 0x71993000 C:\Windows\system32\WindowsCodecs.dll
    0x72f90000 - 0x72f96000 C:\Windows\system32\IconCodecService.dll
    VM Arguments:
    jvm_args: -Xms268435456 -Xmx1073741824
    java_command: com.zerog.lax.LAX C:/CF11/uninstall/uninstall.lax c:/TEMP/2/laxB3F7.tmp
    java_class_path (initial): C:\CF11\uninstall\;C:\CF11\uninstall\InstData\Execute.zip;C:\CF11\uninstall\uninstaller.j ar;C:\CF11\uninstall\resource;C:\CF11\uninstall\uninstallerResources.zip;
    Launcher Type: SUN_STANDARD
    Environment Variables:
    PATH=C:\ProgramData\Oracle\Java\javapath;C:\PHP\;C:\CF9\verity\k2\_nti40\bin;C:\Windows\sy stem32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\ Program Files\Microsoft\Web Platform Installer\
    USERNAME=Administrator
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
    ---------------  S Y S T E M  ---------------
    OS: Windows Server 2008 , 64 bit Build 6001 Service Pack 1
    CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, aes, clmul, tsc, tscinvbit
    Memory: 4k page, physical 16685308k(11576684k free), swap 33168860k(23662396k free)
    vm_info: Java HotSpot(TM) Client VM (25.25-b02) for windows-x86 JRE (1.8.0_25-b18), built on Oct  7 2014 14:31:05 by "java_re" with MS VC++ 10.0 (VS2010)
    time: Wed Apr 22 12:25:12 2015
    elapsed time: 14 seconds (0d 0h 0m 14s)
    Any help or ideas would be appreciated.
    Thank you,
    Ross Herman

    I also get a fatal error after installing cf11.
    # A fatal error has been detected by the Java Runtime Environment:
    #  EXCEPTION_IN_PAGE_ERROR (0xc0000006) at pc=0x00000095d4acc035, pid=1636, tid=2996
    # JRE version: Java(TM) SE Runtime Environment (8.0_25-b18) (build 1.8.0_25-b18)
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.25-b02 mixed mode windows-amd64 compressed oops)
    # Problematic frame:
    # J 3290 C2 java.nio.MappedByteBuffer.load()Ljava/nio/MappedByteBuffer; (119 bytes) @ 0x00000095d4acc035 [0x00000095d4acbe20+0x215]
    This error occurs on every installation attempt. It is the only coldfusion version on the computer. Win 8.1 64bit.

  • JVM Crashing in ParallelGC at AIX

    We use JNI_CreateJavaVM to start an JVM from C. And in this JVM we use "LocateRegistry.createRegistry(JMXPORT);" to create registry. But the JVM always crash at Solaris with JDK1.6 ( It works fine with JDK1.5). The crash happens at the process of ParallelGC. It works fine with SerialGC.
    I can work around the crashing by add -XX:+UseSerialGC to change the GC method. But i need to know the root cause. It will be very appreciated for any help. Thanks.
    # A fatal error has been detected by the Java Runtime Environment:
    # SIGFPE (0x8) at pc=0xfffffd7ff0f2b898, pid=28894, tid=4
    # JRE version: 6.0_37-b06
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.12-b01 mixed mode solaris-amd64 compressed oops)
    # Problematic frame:
    # V [libjvm.so+0x46b898] JVM_GetCPClassNameUTF+0x94c8
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    --------------- T H R E A D ---------------
    Current thread (0x000000000081b800): VMThread [stack: 0xfffffd7ffe6af000,0xfffffd7ffe7af000] [id=4]
    siginfo:si_signo=SIGFPE: si_errno=0, si_code=4 (FPE_FLTOVF), si_addr=0xfffffd7ff0f2b898
    Registers:
    RAX=0x0000000000469f60, RBX=0x0000000000000000, RCX=0x0000000000461a60, RDX=0x0000000000880000
    RSP=0xfffffd7ffe7ae6a0, RBP=0xfffffd7ffe7ae6d0, RSI=0x0000000003300000, RDI=0x0000000000475500
    R8 =0x000000000046c860, R9 =0xfffffd7ffee52490, R10=0x0000000000461b00, R11=0x00000000f9380000
    R12=0x0000000000475500, R13=0xfffffd7ff1272fd0, R14=0x0000000000475d30, R15=0x00000000000cc010
    RIP=0xfffffd7ff0f2b898, RFLAGS=0x0000000000010246
    Top of Stack: (sp=0xfffffd7ffe7ae6a0)
    0xfffffd7ffe7ae6a0: fffffd7ff199af30 000000000046c2e0
    0xfffffd7ffe7ae6b0: 0000000000475500 0000000000000000
    0xfffffd7ffe7ae6c0: fffffd7ffe7ae6f0 408f4000447a0000
    0xfffffd7ffe7ae6d0: fffffd7ffe7ae710 fffffd7ff0f2b8e7
    0xfffffd7ffe7ae6e0: fffffd7ff199af30 000000000046c2e0
    0xfffffd7ffe7ae6f0: 00000000004623c0 fffffd7ff0f37d99
    0xfffffd7ffe7ae700: 00000000000cc010 fffffd7ff199af30
    0xfffffd7ffe7ae710: fffffd7ffe7ae720 fffffd7ff0f2b5da
    0xfffffd7ffe7ae720: fffffd7ffe7ae9c0 fffffd7ff1680c44
    0xfffffd7ffe7ae730: 0000000000461970 000000000046c2e0
    0xfffffd7ffe7ae740: fffffd7ff1999388 fffffd7ff19a16e8
    0xfffffd7ffe7ae750: 0000000000000000 000000000081cb70
    0xfffffd7ffe7ae760: 0000000000000000 000000001ecf66a6
    0xfffffd7ffe7ae770: 000000001f257d23 0000000000000000
    0xfffffd7ffe7ae780: 0000000000000000 0000000000000000
    0xfffffd7ffe7ae790: 0000000000000000 0000000000000000
    0xfffffd7ffe7ae7a0: fffffd7ffe7ae878 00000000004a6530
    0xfffffd7ffe7ae7b0: 0000000000000001 0000000000000000
    0xfffffd7ffe7ae7c0: fffffd7ffe7ae7d0 fffffd7ff0e6fc92
    0xfffffd7ffe7ae7d0: 0000000000517da0 00000000004a6520
    0xfffffd7ffe7ae7e0: 00000000004a6530 00000000004a6908
    0xfffffd7ffe7ae7f0: 000000000081b800 000000000047b280
    0xfffffd7ffe7ae800: 000000000081bf10 000000000081bf20
    0xfffffd7ffe7ae810: 000000000081c2f8 fffffd7ffe7aebb8
    0xfffffd7ffe7ae820: fffffd7ff1990100 0000000000000000
    0xfffffd7ffe7ae830: 0000000000000000 0000000000000000
    0xfffffd7ffe7ae840: 000000000045e450 fffffd7ff9c77300
    0xfffffd7ffe7ae850: fffffd7ffe010100 0000000000000000
    0xfffffd7ffe7ae860: fffffd7ffe7ae8a0 fffffd7ff0f7cf00
    0xfffffd7ffe7ae870: 00000000004a6530 000000000045e450
    0xfffffd7ffe7ae880: 0000000000000000 000000001ed00a99
    0xfffffd7ffe7ae890: 0000000000000001 0000000000476c80
    Instructions: (pc=0xfffffd7ff0f2b898)
    0xfffffd7ff0f2b878: 2c c0 4d 8b 4e 28 4d 89 01 4d 8b b4 24 08 01 00
    0xfffffd7ff0f2b888: 00 49 8b fc 33 c0 41 ff d5 4c 8b 80 98 00 00 00
    0xfffffd7ff0f2b898: f2 41 0f 5a 40 28 f3 0f 59 45 f8 f3 4c 0f 2c c0
    0xfffffd7ff0f2b8a8: 4d 8b 4e 28 4d 89 01 41 5e 41 5d 41 5c c9 c3 00
    Register to memory mapping:
    RAX=0x0000000000469f60 is an unknown value
    RBX=0x0000000000000000 is an unknown value
    RCX=0x0000000000461a60 is an unknown value
    RDX=0x0000000000880000 is an unknown value
    RSP=0xfffffd7ffe7ae6a0 is an unknown value
    RBP=0xfffffd7ffe7ae6d0 is an unknown value
    RSI=0x0000000003300000 is an unknown value
    RDI=0x0000000000475500 is an unknown value
    R8 =0x000000000046c860 is an unknown value
    R9 =0xfffffd7ffee52490 is an unknown value
    R10=0x0000000000461b00 is an unknown value
    R11=0x00000000f9380000 is an unknown value
    R12=0x0000000000475500 is an unknown value
    R13=0xfffffd7ff1272fd0: JVM_SupportsCX8+0x219000 in /****/bin/jdk1.6.0_37/jre/lib/amd64/server/libjvm.so at 0xfffffd7ff0ac0000
    R14=0x0000000000475d30 is an unknown value
    R15=0x00000000000cc010 is an unknown value
    Stack: [0xfffffd7ffe6af000,0xfffffd7ffe7af000], sp=0xfffffd7ffe7ae6a0, free space=1021k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [libjvm.so+0x46b898] JVM_GetCPClassNameUTF+0x94c8
    V [libjvm.so+0x46b8e7] JVM_GetCPClassNameUTF+0x9517
    V [libjvm.so+0x46b5da] JVM_GetCPClassNameUTF+0x920a
    V [libjvm.so+0xbc0c44] sysThreadAvailableStackWithSlack+0x3a384
    V [libjvm.so+0xbb3986] sysThreadAvailableStackWithSlack+0x2d0c6
    V [libjvm.so+0x531398] JVM_IsSameClassPackage+0x2eb8
    V [libjvm.so+0x472384] JVM_GetCPClassNameUTF+0xffb4
    V [libjvm.so+0x4725fa] JVM_GetCPClassNameUTF+0x1022a
    V [libjvm.so+0x5ad0a0] JVM_SupportsCX8+0x130d0
    V [libjvm.so+0x5ac55f] JVM_SupportsCX8+0x1258f
    V [libjvm.so+0xb7f469] JVM_RaiseSignal+0x1c8509
    C [libc.so.1+0x1149d4] thrpsetup+0xbc
    C [libc.so.1+0x114ca0] lwpstart+0x0
    VM_Operation (0xfffffd7ffd58b7a0): ParallelGCSystemGC, mode: safepoint, requested by thread 0x0000000000bba800
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x0000000000c4d800 JavaThread "RMI Scheduler(0)" daemon [_thread_blocked, id=23, stack(0xfffffd7ffd0ff000,0xfffffd7ffd1ff000)]
    0x0000000000b7d000 JavaThread "RMI RenewClean-[10.182.73.206:34213]" daemon [_thread_blocked, id=22, stack(0xfffffd7ffd28a000,0xfffffd7ffd38a000)]
    0x0000000000ccd000 JavaThread "RMI TCP Connection(1)-10.182.73.206" daemon [_thread_in_native, id=21, stack(0xfffffd7ffd38b000,0xfffffd7ffd48b000)]
    0x0000000000bba800 JavaThread "GC Daemon" daemon [_thread_blocked, id=20, stack(0xfffffd7ffd48c000,0xfffffd7ffd58c000)]
    0x0000000000bb9000 JavaThread "RMI Reaper" [_thread_blocked, id=19, stack(0xfffffd7ffd58d000,0xfffffd7ffd68d000)]
    0x0000000000bb6800 JavaThread "RMI TCP Accept-0" daemon [_thread_blocked, id=18, stack(0xfffffd7ffd68e000,0xfffffd7ffd78e000)]
    0x0000000000bb5800 JavaThread "Timer-0" [_thread_blocked, id=17, stack(0xfffffd7ffd78f000,0xfffffd7ffd88f000)]
    0x0000000000c0e000 JavaThread "RMI TCP Accept-26999" daemon [_thread_in_native, id=14, stack(0xfffffd7ffd96f000,0xfffffd7ffda6f000)]
    0x000000000086b800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=12, stack(0xfffffd7ffdea7000,0xfffffd7ffdfa7000)]
    0x0000000000868800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=11, stack(0xfffffd7ffdfa8000,0xfffffd7ffe0a8000)]
    0x0000000000865800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=10, stack(0xfffffd7ffe0a9000,0xfffffd7ffe1a9000)]
    0x000000000085a000 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=9, stack(0xfffffd7ffe1aa000,0xfffffd7ffe2aa000)]
    0x0000000000855000 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_in_native, id=8, stack(0xfffffd7ffe2ab000,0xfffffd7ffe3ab000)]
    0x0000000000849000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=7, stack(0xfffffd7ffe3ac000,0xfffffd7ffe4ac000)]
    0x0000000000823800 JavaThread "Finalizer" daemon [_thread_blocked, id=6, stack(0xfffffd7ffe4ad000,0xfffffd7ffe5ad000)]
    0x0000000000821800 JavaThread "Reference Handler" daemon [_thread_blocked, id=5, stack(0xfffffd7ffe5ae000,0xfffffd7ffe6ae000)]
    0x0000000000468800 JavaThread "main" [_thread_in_native, id=1, stack(0xfffffd7fff600000,0xfffffd7fffe00000)]
    Other Threads:
    =>0x000000000081b800 VMThread [stack: 0xfffffd7ffe6af000,0xfffffd7ffe7af000] [id=4]
    0x0000000000881000 WatcherThread [stack: 0xfffffd7ffdd3e000,0xfffffd7ffde3e000] [id=13]
    VM state:at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
    [0x0000000000467200] Threads_lock - owner thread: 0x000000000081b800
    [0x00000000004677a0] Heap_lock - owner thread: 0x0000000000bba800
    Heap
    PSYoungGen total 60928K, used 816K [0x00000000f5800000, 0x00000000f9c00000, 0x0000000100000000)
    eden space 52224K, 0% used [0x00000000f5800000,0x00000000f5800000,0x00000000f8b00000)
    from space 8704K, 9% used [0x00000000f8b00000,0x00000000f8bcc010,0x00000000f9380000)
    to space 8704K, 0% used [0x00000000f9380000,0x00000000f9380000,0x00000000f9c00000)
    PSOldGen total 137216K, used 0K [0x00000000e0a00000, 0x00000000e9000000, 0x00000000f5800000)
    object space 137216K, 0% used [0x00000000e0a00000,0x00000000e0a00000,0x00000000e9000000)
    PSPermGen total 22528K, used 9472K [0x00000000db800000, 0x00000000dce00000, 0x00000000e0a00000)
    object space 22528K, 42% used [0x00000000db800000,0x00000000dc1402f8,0x00000000dce00000)
    Code Cache [0xfffffd7ff9c00000, 0xfffffd7ffa000000, 0xfffffd7ffcc00000)
    total_blobs=280 nmethods=35 adapters=207 free_code_cache=49827264 largest_free_block=15680
    Dynamic libraries:
    0x0000000000400000 /****/bin/tlisten
    0xfffffd7fe8fc0000 /****/lib/libgpnet.so.71
    0xfffffd7fe8df0000 /****/lib/libtux.so.71
    0xfffffd7feae10000 /****/lib/libbuft.so.71
    0xfffffd7fe8db0000 /****/lib/libfml.so.71
    0xfffffd7fe8d70000 /****/lib/libfml32.so.71
    0xfffffd7fe9060000 /****/lib/libengine.so.71
    0xfffffd7ffe8cd000 /lib/64/libpthread.so.1
    0xfffffd7ffe8cb000 /lib/64/librt.so.1
    0xfffffd7ffe880000 /lib/64/libsocket.so.1
    0xfffffd7ffe7d0000 /lib/64/libnsl.so.1
    0xfffffd7ffeeb0000 /lib/64/libm.so.2
    0xfffffd7ffdcfc000 /lib/64/libthread.so.1
    0xfffffd7fff110000 /lib/64/libc.so.1
    0xfffffd7feadf0000 /****/lib/libutrace.so.71
    0xfffffd7feadb0000 /****/lib/libgiconv.so.71
    0xfffffd7ffd200000 /usr/lib/64/libCrun.so.1
    0xfffffd7fe8000000 /****/lib/libtmjmx.so
    0xfffffd7ffe8b0000 /lib/64/libmd.so.1
    0xfffffd7ffe7b0000 /lib/64/libmp.so.2
    0xfffffd7ff0ac0000 /****/bin/jdk1.6.0_37/jre/lib/amd64/server/libjvm.so
    0xfffffd7ffde3f000 /usr/lib/64/libsched.so.1
    0xfffffd7ffdcfb000 /lib/64/libdl.so.1
    0xfffffd7ffcdb0000 /lib/64/libm.so.1
    0xfffffd7ffceaf000 /lib/64/libdoor.so.1
    0xfffffd7ffcd70000 /usr/lib/64/libdemangle.so.1
    0xfffffd7fe9000000 /****/lib/registry.so
    0xfffffd7ff0a90000 /****/bin/jdk1.6.0_37/jre/lib/amd64/libverify.so
    0xfffffd7ff0a40000 /****/bin/jdk1.6.0_37/jre/lib/amd64/libjava.so
    0xfffffd7ff0950000 /****/bin/jdk1.6.0_37/jre/lib/amd64/libjdwp.so
    0xfffffd7ff0930000 /****/bin/jdk1.6.0_37/jre/lib/amd64/libnpt.so
    0xfffffd7ff0910000 /usr/lib/iconv/amd64/UTF-8%646.so
    0xfffffd7ff08f0000 /usr/lib/iconv/amd64/646%UTF-8.so
    0xfffffd7ff0a10000 /****/bin/jdk1.6.0_37/jre/lib/amd64/libzip.so
    0xfffffd7ff08d0000 /****/bin/jdk1.6.0_37/jre/lib/amd64/libdt_socket.so
    0xfffffd7fe6bc0000 /****/lib/libtuxjni.so
    0xfffffd7fe8ca0000 /****/lib/libtmib.so.71
    0xfffffd7fe8c10000 /****/lib/libqm.so.71
    0xfffffd7ff09f0000 /****/bin/jdk1.6.0_37/jre/lib/amd64/libj2pkcs11.so
    0xfffffd7ffde60000 /usr/lib/amd64/libpkcs11.so
    0xfffffd7ffdd10000 /lib/64/libcryptoutil.so.1
    0xfffffd7ffdbf0000 /usr/lib/security/64/pkcs11_softtoken.so
    0xfffffd7ffdbb0000 /usr/lib/64/libsoftcrypto.so.1
    0xfffffd7ffdb80000 /lib/64/libgen.so.1
    0xfffffd7ff09c0000 /****/bin/jdk1.6.0_37/jre/lib/amd64/libnet.so
    0xfffffd7fef430000 /****/bin/jdk1.6.0_37/jre/lib/amd64/librmi.so
    VM Arguments:
    jvm_args: -Djava.compiler=NONE -Dmyapp.jmx.auth=tux -Djava.security.policy= -Dmyapp.jmx.accessfile=/****/jmx/jmxaccess.properties -Dmyapp.jmx.addr=rmi://****:26999 -Xms200m -Xmx500m -Dmyapp.tlisten.nlsaddr=//****:27789 -XX:+HeapDumpOnCtrlBreak -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
    java_command: <unknown>
    Launcher Type: generic
    Environment Variables:
    JAVA_HOME=/****/bin/jdk1.6.0_37/jre
    PATH=/****/bin:/****/bin/jdk1.6.0_37/jre/bin/amd64:/****/bin:/****/bin/jdk1.6.0_37/jre/bin/amd64:/****/bin:/****/bin/jdk1.6.0_37/jre/bin/amd64:/****/bin:/****/bin/jdk1.6.0_37/jre/bin/amd64:/****/bin:/****/bin/jdk1.6.0_37/jre/bin/amd64:/****/bin:/****/bin/jdk1.6.0_37/jre/bin/amd64:/****/bin:/****/bin/jdk1.6.0_37/jre/bin/amd64:/****/bin/jdk1.6.0_37/bin/amd64/:/****/bin:/****/bin/jdk1.6.0_37/jre/bin/amd64:/****/bin:/****/bin/jdk1.6.0_37/jre/bin/amd64:/****/bin:/****/bin/jdk1.6.0_37/jre/bin/amd64:/****/bin:/****/bin/jdk1.6.0_37/jre/bin/amd64:/****/bin:/****/bin/jdk1.6.0_37/jre/bin/amd64:/****/bin:/****/bin/jdk1.6.0_37/jre/bin/amd64:/****/bin:/****/bin/jdk1.5.0_22/jre/bin:/****/bin:/****/bin/jdk1.6.0_37/jre/bin/amd64:/****/bin:/****/bin/jdk1.6.0_37/jre/bin/amd64:/****/bin:/****/bin/jdk1.6.0_37/jre/bin/amd64:/****/bin:/****/bin/jdk1.6.0_37/jre/bin:/****/bin:/****/bin/jdk1.6.0_37/jre/bin:/****/bin:/****/bin/jdk1.6.0_37/jre/bin:/usr/bin:/bin
    SHELL=/bin/ksh
    Signal Handlers:
    SIGSEGV: [libjvm.so+0xccfbb0], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGBUS: [libjvm.so+0xccfbb0], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGFPE: [libjvm.so+0x43f880], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGPIPE: [libjvm.so+0x43f880], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGXFSZ: [libjvm.so+0x43f880], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGILL: [libjvm.so+0x43f880], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGUSR1: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGUSR2: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGQUIT: [libjvm.so+0xb81a00], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIGHUP: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGINT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGTERM: [libjvm.so+0xb81a00], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIG39: [libjvm.so+0xb84870], sa_mask[0]=0x00000000, sa_flags=0x00000008
    SIG40: [libjvm.so+0x43f880], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    --------------- S Y S T E M ---------------
    OS: Oracle Solaris 11 Express snv_151a X86
    Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
    Assembled 04 November 2010
    uname:SunOS 5.11 snv_151a i86pc (T2 libthread)
    rlimit: STACK 10240k, CORE infinity, NOFILE 65536, AS infinity
    load average:1.16 1.15 0.84
    CPU:total 2 (32 cores per cpu, 2 threads per core) family 6 model 44 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, ht
    Memory: 4k page, physical 8191612k(1152580k free)
    vm_info: Java HotSpot(TM) 64-Bit Server VM (20.12-b01) for solaris-amd64 JRE (1.6.0_37-b06), built on Sep 24 2012 11:42:33 by "" with Workshop 5.8
    time: Fri Oct 26 09:29:22 2012
    elapsed time: 0 seconds
    And following is the core dump stack trace
    Reading librmi.so
    t@4 (l@4) terminated by signal ABRT (Abort)
    0xfffffd7fff22dd1a: lwpkill+0x000a: jae lwpkill+0x18 [ 0xfffffd7fff22dd28, .+0xe ]
    (dbx) where
    current thread: t@4
    =>[1] lwpkill(0x4, 0x6, 0xffffff02cd0cbc00, 0xfffffd7fff22e54b, 0x0, 0xfffffd7ffe7addc0), at 0xfffffd7fff22dd1a
    [2] thr_kill(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff2224dd
    [3] raise(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff1ce9f1
    [4] abort(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff1a41a1
    [5] os::abort(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7ff16403e4
    [6] VMError::report_and_die(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7ff178f66a
    [7] JVM_handle_solaris_signal(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7ff0eff703
    [8] signalHandler(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7ff0eff88e
    [9] __sighndlr(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff224d66
    [10] call_user_handler(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff217a1c
    [11] sigacthandler(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff217c43
    ---- called from signal handler with signal 8 (SIGFPE) ------
    [12] GCAdaptivePolicyCounters::update_counters_from_policy(0x475500, 0x3300000, 0x880000, 0x461a60, 0x46c860, 0xfffffd7ffee52490), at 0xfffffd7ff0f2b898
    [13] PSGCAdaptivePolicyCounters::update_counters_from_policy(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7ff0f2b8e7
    [14] PSGCAdaptivePolicyCounters::update_counters(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7ff0f2b5da
    [15] PSScavenge::invoke_no_policy(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7ff1680c44
    [16] PSMarkSweep::invoke(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7ff1673986
    [17] VM_ParallelGCSystemGC::doit(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7ff0ff1398
    [18] VM_Operation::evaluate(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7ff0f32384
    [19] VMThread::evaluate_operation(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7ff0f325fa
    [20] VMThread::loop(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7ff106d0a0
    [21] VMThread::run(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7ff106c55f
    [22] java_start(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7ff163f469
    [23] thrpsetup(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff2249d4
    [24] lwpstart(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff224ca0
    Edited by: geting on Oct 29, 2012 8:16 PM
    Edited by: geting on Oct 29, 2012 8:17 PM
    Edited by: geting on Dec 17, 2012 2:30 PM
    Edited by: geting on Dec 17, 2012 3:57 PM

    Thanks for your reply.
    My native code is based on C.
    We use Sun Studio C Compiler. Also all the warning is fixed.
    And i remove the JNI operations which is wrote by me from JAVA code. But the core dump is still happen at the same place.
    Now, here is the case. One Java program is invoked by C using "JNI_CreateJavaVM". In the Java program a RMI server is created.
    Following is all the JNI operation printed by -verbose:jni. I really need your help.
    [Dynamic-linking native method java.lang.Object.registerNatives ... JNI]
    [Registering JNI native method java.lang.Object.hashCode]
    [Registering JNI native method java.lang.Object.wait]
    [Registering JNI native method java.lang.Object.notify]
    [Registering JNI native method java.lang.Object.notifyAll]
    [Registering JNI native method java.lang.Object.clone]
    [Dynamic-linking native method java.lang.System.registerNatives ... JNI]
    [Registering JNI native method java.lang.System.currentTimeMillis]
    [Registering JNI native method java.lang.System.nanoTime]
    [Registering JNI native method java.lang.System.arraycopy]
    [Dynamic-linking native method java.lang.Thread.registerNatives ... JNI]
    [Registering JNI native method java.lang.Thread.start0]
    [Registering JNI native method java.lang.Thread.stop0]
    [Registering JNI native method java.lang.Thread.isAlive]
    [Registering JNI native method java.lang.Thread.suspend0]
    [Registering JNI native method java.lang.Thread.resume0]
    [Registering JNI native method java.lang.Thread.setPriority0]
    [Registering JNI native method java.lang.Thread.yield]
    [Registering JNI native method java.lang.Thread.sleep]
    [Registering JNI native method java.lang.Thread.currentThread]
    [Registering JNI native method java.lang.Thread.countStackFrames]
    [Registering JNI native method java.lang.Thread.interrupt0]
    [Registering JNI native method java.lang.Thread.isInterrupted]
    [Registering JNI native method java.lang.Thread.holdsLock]
    [Registering JNI native method java.lang.Thread.getThreads]
    [Registering JNI native method java.lang.Thread.dumpThreads]
    [Dynamic-linking native method java.lang.Class.registerNatives ... JNI]
    [Registering JNI native method java.lang.Class.getName0]
    [Registering JNI native method java.lang.Class.getSuperclass]
    [Registering JNI native method java.lang.Class.getInterfaces]
    [Registering JNI native method java.lang.Class.getClassLoader0]
    [Registering JNI native method java.lang.Class.isInterface]
    [Registering JNI native method java.lang.Class.getSigners]
    [Registering JNI native method java.lang.Class.setSigners]
    [Registering JNI native method java.lang.Class.isArray]
    [Registering JNI native method java.lang.Class.isPrimitive]
    [Registering JNI native method java.lang.Class.getComponentType]
    [Registering JNI native method java.lang.Class.getModifiers]
    [Registering JNI native method java.lang.Class.getDeclaredFields0]
    [Registering JNI native method java.lang.Class.getDeclaredMethods0]
    [Registering JNI native method java.lang.Class.getDeclaredConstructors0]
    [Registering JNI native method java.lang.Class.getProtectionDomain0]
    [Registering JNI native method java.lang.Class.setProtectionDomain0]
    [Registering JNI native method java.lang.Class.getDeclaredClasses0]
    [Registering JNI native method java.lang.Class.getDeclaringClass]
    [Registering JNI native method java.lang.Class.getGenericSignature]
    [Registering JNI native method java.lang.Class.getRawAnnotations]
    [Registering JNI native method java.lang.Class.getConstantPool]
    [Registering JNI native method java.lang.Class.desiredAssertionStatus0]
    [Registering JNI native method java.lang.Class.getEnclosingMethod0]
    [Dynamic-linking native method java.lang.Class.getPrimitiveClass ... JNI]
    [Dynamic-linking native method java.security.AccessController.getStackAccessControlContext ... JNI]
    [Dynamic-linking native method sun.misc.Unsafe.registerNatives ... JNI]
    [Registering JNI native method sun.misc.Unsafe.getLoadAverage]
    [Dynamic-linking native method java.lang.Throwable.fillInStackTrace ... JNI]
    [Registering JNI native method sun.misc.Unsafe.copyMemory]
    [Registering JNI native method sun.misc.Unsafe.setMemory]
    [Registering JNI native method sun.misc.Unsafe.getObject]
    [Registering JNI native method sun.misc.Unsafe.putObject]
    [Registering JNI native method sun.misc.Unsafe.getObjectVolatile]
    [Registering JNI native method sun.misc.Unsafe.putObjectVolatile]
    [Registering JNI native method sun.misc.Unsafe.getBoolean]
    [Registering JNI native method sun.misc.Unsafe.putBoolean]
    [Registering JNI native method sun.misc.Unsafe.getBooleanVolatile]
    [Registering JNI native method sun.misc.Unsafe.putBooleanVolatile]
    [Registering JNI native method sun.misc.Unsafe.getByte]
    [Registering JNI native method sun.misc.Unsafe.putByte]
    [Registering JNI native method sun.misc.Unsafe.getByteVolatile]
    [Registering JNI native method sun.misc.Unsafe.putByteVolatile]
    [Registering JNI native method sun.misc.Unsafe.getShort]
    [Registering JNI native method sun.misc.Unsafe.putShort]
    [Registering JNI native method sun.misc.Unsafe.getShortVolatile]
    [Registering JNI native method sun.misc.Unsafe.putShortVolatile]
    [Registering JNI native method sun.misc.Unsafe.getChar]
    [Registering JNI native method sun.misc.Unsafe.putChar]
    [Registering JNI native method sun.misc.Unsafe.getCharVolatile]
    [Registering JNI native method sun.misc.Unsafe.putCharVolatile]
    [Registering JNI native method sun.misc.Unsafe.getInt]
    [Registering JNI native method sun.misc.Unsafe.putInt]
    [Registering JNI native method sun.misc.Unsafe.getIntVolatile]
    [Registering JNI native method sun.misc.Unsafe.putIntVolatile]
    [Registering JNI native method sun.misc.Unsafe.getLong]
    [Registering JNI native method sun.misc.Unsafe.putLong]
    [Registering JNI native method sun.misc.Unsafe.getLongVolatile]
    [Registering JNI native method sun.misc.Unsafe.putLongVolatile]
    [Registering JNI native method sun.misc.Unsafe.getFloat]
    [Registering JNI native method sun.misc.Unsafe.putFloat]
    [Registering JNI native method sun.misc.Unsafe.getFloatVolatile]
    [Registering JNI native method sun.misc.Unsafe.putFloatVolatile]
    [Registering JNI native method sun.misc.Unsafe.getDouble]
    [Registering JNI native method sun.misc.Unsafe.putDouble]
    [Registering JNI native method sun.misc.Unsafe.getDoubleVolatile]
    [Registering JNI native method sun.misc.Unsafe.putDoubleVolatile]
    [Registering JNI native method sun.misc.Unsafe.getByte]
    [Registering JNI native method sun.misc.Unsafe.putByte]
    [Registering JNI native method sun.misc.Unsafe.getShort]
    [Registering JNI native method sun.misc.Unsafe.putShort]
    [Registering JNI native method sun.misc.Unsafe.getChar]
    [Registering JNI native method sun.misc.Unsafe.putChar]
    [Registering JNI native method sun.misc.Unsafe.getInt]
    [Registering JNI native method sun.misc.Unsafe.putInt]
    [Registering JNI native method sun.misc.Unsafe.getLong]
    [Registering JNI native method sun.misc.Unsafe.putLong]
    [Registering JNI native method sun.misc.Unsafe.getFloat]
    [Registering JNI native method sun.misc.Unsafe.putFloat]
    [Registering JNI native method sun.misc.Unsafe.getDouble]
    [Registering JNI native method sun.misc.Unsafe.putDouble]
    [Registering JNI native method sun.misc.Unsafe.getAddress]
    [Registering JNI native method sun.misc.Unsafe.putAddress]
    [Registering JNI native method sun.misc.Unsafe.allocateMemory]
    [Registering JNI native method sun.misc.Unsafe.reallocateMemory]
    [Registering JNI native method sun.misc.Unsafe.freeMemory]
    [Registering JNI native method sun.misc.Unsafe.objectFieldOffset]
    [Registering JNI native method sun.misc.Unsafe.staticFieldOffset]
    [Registering JNI native method sun.misc.Unsafe.staticFieldBase]
    [Registering JNI native method sun.misc.Unsafe.ensureClassInitialized]
    [Registering JNI native method sun.misc.Unsafe.arrayBaseOffset]
    [Registering JNI native method sun.misc.Unsafe.arrayIndexScale]
    [Registering JNI native method sun.misc.Unsafe.addressSize]
    [Registering JNI native method sun.misc.Unsafe.pageSize]
    [Registering JNI native method sun.misc.Unsafe.defineClass]
    [Registering JNI native method sun.misc.Unsafe.defineClass]
    [Registering JNI native method sun.misc.Unsafe.allocateInstance]
    [Registering JNI native method sun.misc.Unsafe.monitorEnter]
    [Registering JNI native method sun.misc.Unsafe.monitorExit]
    [Registering JNI native method sun.misc.Unsafe.tryMonitorEnter]
    [Registering JNI native method sun.misc.Unsafe.throwException]
    [Registering JNI native method sun.misc.Unsafe.compareAndSwapObject]
    [Registering JNI native method sun.misc.Unsafe.compareAndSwapInt]
    [Registering JNI native method sun.misc.Unsafe.compareAndSwapLong]
    [Registering JNI native method sun.misc.Unsafe.putOrderedObject]
    [Registering JNI native method sun.misc.Unsafe.putOrderedInt]
    [Registering JNI native method sun.misc.Unsafe.putOrderedLong]
    [Registering JNI native method sun.misc.Unsafe.park]
    [Registering JNI native method sun.misc.Unsafe.unpark]
    [Dynamic-linking native method sun.reflect.Reflection.getCallerClass ... JNI]
    [Dynamic-linking native method java.security.AccessController.getInheritedAccessControlContext ... JNI]
    [Dynamic-linking native method java.lang.ClassLoader.registerNatives ... JNI]
    [Registering JNI native method java.lang.ClassLoader.retrieveDirectives]
    [Dynamic-linking native method java.security.AccessController.doPrivileged ... JNI]
    [Dynamic-linking native method java.lang.System.initProperties ... JNI]
    [Dynamic-linking native method sun.misc.VM.initialize ... JNI]
    [Dynamic-linking native method java.io.FileSystem.getFileSystem ... JNI]
    [Dynamic-linking native method java.io.UnixFileSystem.initIDs ... JNI]
    [Dynamic-linking native method java.lang.Float.floatToRawIntBits ... JNI]
    [Dynamic-linking native method java.lang.Double.doubleToRawLongBits ... JNI]
    [Dynamic-linking native method java.lang.String.intern ... JNI]
    [Dynamic-linking native method java.io.UnixFileSystem.getBooleanAttributes0 ... JNI]
    [Dynamic-linking native method java.lang.System.mapLibraryName ... JNI]
    [Dynamic-linking native method java.io.UnixFileSystem.canonicalize0 ... JNI]
    [Dynamic-linking native method java.lang.ClassLoader$NativeLibrary.load ... JNI]
    [Dynamic-linking native method java.io.FileInputStream.initIDs ... JNI]
    [Dynamic-linking native method java.io.FileDescriptor.initIDs ... JNI]
    [Dynamic-linking native method java.io.FileOutputStream.initIDs ... JNI]
    [Dynamic-linking native method java.lang.System.setIn0 ... JNI]
    [Dynamic-linking native method java.lang.Runtime.maxMemory ... JNI]
    [Dynamic-linking native method java.lang.System.setOut0 ... JNI]
    [Dynamic-linking native method java.lang.System.setErr0 ... JNI]
    [Dynamic-linking native method sun.misc.Signal.findSignal ... JNI]
    [Dynamic-linking native method sun.misc.Signal.handle0 ... JNI]
    [Dynamic-linking native method java.lang.Compiler.registerNatives ... JNI]
    [Registering JNI native method java.lang.Compiler.compileClass]
    [Registering JNI native method java.lang.Compiler.compileClasses]
    [Registering JNI native method java.lang.Compiler.command]
    [Registering JNI native method java.lang.Compiler.enable]
    [Registering JNI native method java.lang.Compiler.disable]
    [Dynamic-linking native method java.lang.ClassLoader$NativeLibrary.find ... JNI]
    [Dynamic-linking native method java.security.AccessController.doPrivileged ... JNI]
    [Dynamic-linking native method java.io.FileInputStream.open ... JNI]
    [Dynamic-linking native method java.io.FileInputStream.readBytes ... JNI]
    [Dynamic-linking native method java.io.FileInputStream.available ... JNI]
    [Dynamic-linking native method java.lang.Object.getClass ... JNI]
    [Dynamic-linking native method java.lang.reflect.Array.newArray ... JNI]
    [Dynamic-linking native method java.io.FileInputStream.close0 ... JNI]
    [Dynamic-linking native method java.io.UnixFileSystem.list ... JNI]
    [Dynamic-linking native method java.io.ObjectStreamClass.initNative ... JNI]
    [Dynamic-linking native method java.lang.Class.forName0 ... JNI]
    [Dynamic-linking native method sun.reflect.Reflection.getClassAccessFlags ... JNI]
    [Dynamic-linking native method sun.reflect.NativeConstructorAccessorImpl.newInstance0 ... JNI]
    [Dynamic-linking native method java.lang.ClassLoader.findLoadedClass0 ... JNI]
    [Dynamic-linking native method java.lang.ClassLoader.findBootstrapClass ... JNI]
    [Dynamic-linking native method sun.misc.VMSupport.initAgentProperties ... JNI]
    Listening for transport dt_socket at address: 8000
    [Dynamic-linking native method java.security.AccessController.doPrivileged ... JNI]
    [Dynamic-linking native method java.util.zip.ZipFile.initIDs ... JNI]
    [Dynamic-linking native method java.io.UnixFileSystem.getLastModifiedTime ... JNI]
    [Dynamic-linking native method java.util.zip.ZipFile.open ... JNI]
    [Dynamic-linking native method java.util.zip.ZipFile.getTotal ... JNI]
    [Dynamic-linking native method java.util.zip.ZipFile.getEntry ... JNI]
    [Dynamic-linking native method java.util.zip.ZipEntry.initIDs ... JNI]
    [Dynamic-linking native method java.util.zip.ZipEntry.initFields ... JNI]
    [Dynamic-linking native method java.util.zip.ZipFile.freeEntry ... JNI]
    [Dynamic-linking native method java.util.zip.ZipFile.getCSize ... JNI]
    [Dynamic-linking native method java.util.zip.ZipFile.getSize ... JNI]
    [Dynamic-linking native method java.util.zip.ZipFile.getMethod ... JNI]
    [Dynamic-linking native method java.util.zip.Inflater.initIDs ... JNI]
    [Dynamic-linking native method java.util.zip.Inflater.init ... JNI]
    [Dynamic-linking native method java.util.zip.Inflater.inflateBytes ... JNI]
    [Dynamic-linking native method java.util.zip.ZipFile.read ... JNI]
    [Dynamic-linking native method java.util.zip.Inflater.reset ... JNI]
    [Dynamic-linking native method java.lang.Package.getSystemPackage0 ... JNI]
    [Dynamic-linking native method java.util.jar.JarFile.getMetaInfEntryNames ... JNI]
    [Dynamic-linking native method java.lang.ClassLoader.defineClass1 ... JNI]
    [Dynamic-linking native method java.lang.ProcessEnvironment.environ ... JNI]
    [Dynamic-linking native method java.security.AccessController.doPrivileged ... JNI]
    [Dynamic-linking native method java.util.ResourceBundle.getClassContext ... JNI]
    [Dynamic-linking native method java.lang.Class.isAssignableFrom ... JNI]
    [Dynamic-linking native method java.lang.System.identityHashCode ... JNI]
    [Dynamic-linking native method java.util.concurrent.atomic.AtomicLong.VMSupportsCS8 ... JNI]
    [Dynamic-linking native method java.lang.Double.longBitsToDouble ... JNI]
    [Dynamic-linking native method sun.security.pkcs11.wrapper.PKCS11.initializeLibrary ... JNI]
    [Dynamic-linking native method sun.security.pkcs11.wrapper.PKCS11.connect ... JNI]
    [Dynamic-linking native method sun.security.pkcs11.wrapper.PKCS11.C_Initialize ... JNI]
    [Dynamic-linking native method sun.security.pkcs11.wrapper.PKCS11.C_GetInfo ... JNI]
    [Dynamic-linking native method sun.security.pkcs11.wrapper.PKCS11.C_GetSlotList ... JNI]
    [Dynamic-linking native method sun.security.pkcs11.wrapper.PKCS11.C_GetSlotInfo ... JNI]
    [Dynamic-linking native method sun.security.pkcs11.wrapper.PKCS11.C_GetTokenInfo ... JNI]
    [Dynamic-linking native method sun.security.pkcs11.wrapper.PKCS11.C_OpenSession ... JNI]
    [Dynamic-linking native method sun.security.pkcs11.wrapper.PKCS11.C_GetMechanismList ... JNI]
    [Dynamic-linking native method sun.security.pkcs11.wrapper.PKCS11.C_GenerateRandom ... JNI]
    [Dynamic-linking native method java.net.InetAddress.init ... JNI]
    [Dynamic-linking native method java.net.InetAddressImplFactory.isIPv6Supported ... JNI]
    [Dynamic-linking native method java.net.Inet6AddressImpl.getLocalHostName ... JNI]
    [Dynamic-linking native method java.net.Inet6AddressImpl.lookupAllHostAddr ... JNI]
    [Dynamic-linking native method java.net.Inet4Address.init ... JNI]
    [Dynamic-linking native method java.net.Inet6Address.init ... JNI]
    [Dynamic-linking native method java.lang.Runtime.availableProcessors ... JNI]
    [Dynamic-linking native method java.net.PlainSocketImpl.initProto ... JNI]
    [Dynamic-linking native method java.net.PlainSocketImpl.socketCreate ... JNI]
    [Dynamic-linking native method java.net.PlainSocketImpl.socketBind ... JNI]
    [Dynamic-linking native method java.net.PlainSocketImpl.socketListen ... JNI]
    [Dynamic-linking native method java.net.PlainSocketImpl.socketAccept ... JNI]
    [Dynamic-linking native method sun.reflect.ConstantPool.getUTF8At0 ... JNI]
    [Dynamic-linking native method sun.reflect.NativeMethodAccessorImpl.invoke0 ... JNI]
    [Dynamic-linking native method java.lang.reflect.Proxy.defineClass0 ... JNI]
    [Dynamic-linking native method java.lang.UNIXProcess.initIDs ... JNI]
    [Dynamic-linking native method java.lang.UNIXProcess.forkAndExec ... JNI]
    [Dynamic-linking native method java.lang.UNIXProcess.waitForProcessExit ... JNI]
    [Dynamic-linking native method java.lang.UNIXProcess.destroyProcess ... JNI]
    [Dynamic-linking native method java.io.FileOutputStream.close0 ... JNI]
    [Dynamic-linking native method java.net.PlainSocketImpl.socketConnect ... JNI]
    [Dynamic-linking native method java.net.PlainSocketImpl.socketSetOption ... JNI]
    [Dynamic-linking native method java.net.SocketOutputStream.init ... JNI]
    [Dynamic-linking native method java.net.SocketOutputStream.socketWrite0 ... JNI]
    [Dynamic-linking native method java.net.SocketInputStream.init ... JNI]
    [Dynamic-linking native method java.net.SocketInputStream.socketRead0 ... JNI]
    [Dynamic-linking native method sun.misc.GC.maxObjectInspectionAge ... JNI]
    [Dynamic-linking native method java.lang.Runtime.gc ... JNI]
    # A fatal error has been detected by the Java Runtime Environment:
    # SIGFPE (0x8) at pc=0xfffffd7ffccbb898, pid=1912, tid=4
    # JRE version: 6.0_37-b06
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.12-b01 mixed mode solaris-amd64 compressed oops)
    # Problematic frame:
    # V [libjvm.so+0x46b898] JVM_GetCPClassNameUTF+0x94c8
    # An error report file with more information is saved as:
    # /testarea/gtt/test/jmx/servers/hs_err_pid1912.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    Edited by: geting on Oct 30, 2012 6:43 PM
    Edited by: geting on Oct 30, 2012 6:43 PM

  • DatagramSocket problem when using IPV6

    Hello,
    I've got an odd problem. I have to adapt a program to work with IPV6. The code below exemplifies my problem:
    public static void main(String[] args) {
         try {
            String serverHostname = new String ("fd22::1");
            Inet6Address inetd6 = (Inet6Address)InetAddress.getByName(serverHostname);
            Inet6Address inet6 = (Inet6Address)InetAddress.getByName(new String("fd22::3"));
            DatagramSocket clientSocket = new DatagramSocket(5080, inet6);
            byte[] msg = new byte[1025];
            DatagramPacket dp = new DatagramPacket(msg,msg.length,inetd6,7000);
            clientSocket.send(dp);
            clientSocket.close();
        } catch ( IOException ex ) {
        ex.printStackTrace();
    }When I send messages with more than 1024 bytes to a machine that does not exist in my network ( fd22::1 is not valid ). I get the following output:
    java.net.SocketException: Interrupted function call: Datagram send failed
            at java.net.PlainDatagramSocketImpl.send(Native Method)
            at java.net.DatagramSocket.send(Unknown Source)
            at Main.main(Main.java:23)I don't think this code is supposed to throw a SocketException. When I send a datagram to an invalid IPV4 address, it's not a problem. UDP is connectionless, so I can't figure out the problem here.
    ps.:Working in Windows XP

    The Java Version I'm using is 1.6.0_26 . I'm binding the DatagramSocket because, at the original program, the user may choose which IP address he wants to use as source. I've got over 200 IP addresses in my PC.
    I tried the code without the binding, but the problem persists.
    What did work was running this code on another machine (different network). I ran it on Linux, I was also using Java 6, from Oracle. I just don't remember which update was.
    Could it be a problem with the JVM or the network? IPV6 works just fine if I'm trying to send datagrams to valid addresses or really small datagrams to invalid adressess.
    I don't know whether it is relevant or not, but the IP addresses on my network were manually configured.

  • How to verify  if an IPV6 address entered in a textbox is valid ?

    Hi,
    How to verify if an IPV6 address entered in a text box is valid. I have a swing application. Until now we used only IPV4 address and we had a gui component with only four entries, which checked if the number entered is <= 255, so the user had to enter a correct address. Now with IPV6 there are IPV6 addresses, IPV4 mapped addresses, IPV6 zero compressed addresses and leading zeroes dropped kinds. We cannot supply a fix gui component.
    So if I provide a textcomponent which accepts strings - how do i check if the ip addresses entered by the user is valid. Can I use INET6Address to do this ? is there a way ?
    Thanks.

    InetAddress.getByName(String host)
    If it returns an Inet6Address without throwing an exception, I guess that would work.

  • Netbios Name query injected into socket connect.

    Folks,
    I have a java application which communicates to a networking device via sockets.
    It was written with J2SE 1.4, I have ported it to 1.5/5.0.
    When issuing a socket connect, I observe that the application/JRE is issuing
    several Netbios Name queries to the device.
    The device is responding with ICMP Destination unreachable.
    After 3 Name queries, the socket connect continues as before (1.4) and the app proceeds as before.
    The problem is that the name queries has introduced a 9 second delay to each connect to the appliance and the app now appears unresponsive.
    This did not happen with JRE1.4. I have made no changes to the socket code.
    Is there a way to stop the name queries?
    The getHostName in the JRE connect code below is causing the name queries.
    java.net.SocksSocketImpl
        protected void connect(SocketAddress endpoint, int timeout) throws IOException {
         SecurityManager security = System.getSecurityManager();
         if (endpoint == null || !(endpoint instanceof InetSocketAddress))
             throw new IllegalArgumentException("Unsupported address type");
         InetSocketAddress epoint = (InetSocketAddress) endpoint;
         if (security != null) {
             if (epoint.isUnresolved())
              security.checkConnect(epoint.getHostName(),
                              epoint.getPort());
             else
              security.checkConnect(epoint.getAddress().getHostAddress(),
                              epoint.getPort());
         if (server == null) {
             // This is the general case
             // server is not null only when the socket was created with a
             // specified proxy in which case it does bypass the ProxySelector
             ProxySelector sel = (ProxySelector)
              java.security.AccessController.doPrivileged(
                  new java.security.PrivilegedAction() {
                   public Object run() {
                       return ProxySelector.getDefault();
             if (sel == null) {
               * No default proxySelector --> direct connection
              super.connect(epoint, timeout);
              return;
             URI uri = null;
    --->>>>>>>> String host = epoint.getHostName();
             // IPv6 litteral?
             if (epoint.getAddress() instanceof Inet6Address &&
              (!host.startsWith("[")) && (host.indexOf(":") >= 0)) {
              host = "[" + host + "]";
             }Mauro Zallocco.

    The resolution of this is to turn off the new proxy server feature in JRE1.5.
    You do this by informing the jre that you do not have a default proxy server.
    This is done with the following lines of code placed somewhere in you application:
    import java.net.ProxySelector;
    ProxySelector.setDefault(null);
    With this, the NetBIOS name queries do not emanate, and we revert back to the 1.4 behavior.
    Mauro Zallocco.

  • Convert IPv6 address to decimal

    How do we convert an IPv6 address to its decimal equivalent using java?
    I could find different tools on Internet but not the java code for the same.
    Any help would be much appreciated.
    Thanks.

    Hello EJP
    Please visit the following URL:
    https://www.ultratools.com/tools/decimalCalcResult?ipAddress=805b%3A2d9d%3Adc28%3A0000%3A0000%3Afc57%3Ad4c8%3A1fff
    This converts the IPv6 address (which is in hexadecimal format) to a decimal number.
    I need to implement this functionality. I could not find any method in java.net.Inet6Address class for this.
    To convert an IPv4 address which is in String format to its decimal equivalent, we can use following method:
    <code>
    long stringToLong(String ipAddress) {
              String[] octets = ipAddress.split("\\.");
              long intValue = 0;
              long currentOctet;
              for (int i = 0; i < octets.length; i++) {
                   currentOctet = new Integer(octets[(octets.length-1)-i]).intValue();
                   intValue = (currentOctet << i*8) | intValue;
              return intValue;
    </code>
    Edited by: 803674 on May 26, 2011 12:22 AM

Maybe you are looking for

  • IMovie missing, but still able to play it! (iPad)

    I can play the complete finalized movie, but can not transfer it or copy it! Got the "missing clip" message! But than where is this movie file coming from? Only present in iMovie!? iTune or Camera roll doesn't show it either! Where is this file locat

  • Safari 6.0.2 keeps crashing

    My Safari brower keeps crashing  periodically throughout the day.  This has been a recent event, only happening in the last week or so in the 2 years I have owned the MAC book.  Below is the crash report, could someone please tell me what the problem

  • Report Formula Column

    Hi All, I need a help from you. I am working with reports. There I want to add 2 columns from two different groups from reports. It is like GroupA CF_1 GroupB col1 GroupC col2 GroupB and GroupC are linked by GroupA. Now I want to add col1 & col2 in C

  • Gap resolution is not  always happening with real time apply

    Hi I noticed a strange behavior in one of my 10.2.0.4 dataguards , and I am wondering if anyone else has encountered it : When there is an archive gap that need to be resolved , the gap is NOT always being identified and acted upon , when the recover

  • Best practices when using OEM with Siebel

    Hello, I support numerous Oracle databases and have also taken on the task of supporting Enterprise Manager (GRID Control). Currently we have installed the agent (10.2.0.3) on our Oracle Database servers. So most of our targets are host, databases an