JNI Calls to Native Methods No Longer Work: Possible Versioning Issue ?

Hello, all. Just a quick question... is it possible that invoking a method in a JNI-compliant DLL from Java 6 will fail if the DLL's source was compiled against the JNI header files from Java 4 or 5 ? I have a DLL with methods that used to be called successfully (and now fail outright and don't even seem to be getting inside the native method), but it seems that the only thing that could have changed in the environment is the installed JRE. Even stranger, I don't get the hs_err* files anymore to indicate that the JVM crashed. Does anyone know why this might happen ? Thanks !

Cthulhu76 wrote:
Hello, all. Just a quick question... is it possible that invoking a method in a JNI-compliant DLL from Java 6 will fail if the DLL's source was compiled against the JNI header files from Java 4 or 5 ? Solely? No.
You could of course be doing something in the JNI code in terms of working with Java which no longer works. Just as it is at least possible that java code from one version might not work with another.
Correct error checking in the JNI code would at least correctly identify this problem however.
I have a DLL with methods that used to be called successfully (and now fail outright and don't even seem to be getting inside the native method), but it seems that the only thing that could have changed in the environment is the installed JRE.The only thing that you assume changed was the JRE.
You seem unsure whether the JNI is being called at all, so verifying that first would be a good idea.

Similar Messages

  • Why I can't call my native method from my package?

    it is fine if my java code didn't complied into a package.
    But if I complied my java code as a package, and call its native method outside. It give me "UnsatisfiedLinkError". And can not find my method. It is indeed the method is inside.
    Thank a lot any helps. Email me on [email protected]

    I have found that javah does not generate the correct JNI function names when the native function is in a class that is within a Java package. The net result is an Unsatisfied link error.
    The JNI function name must be included in the package name. The naming is a bit complicated and that's why javah should be used, except in this case it does not work. I can't quite remember exactly how it works, something like adding in packagename_1 into the JNI name. The SWIG tool (http://www.swig.org) does generate the correct names when using packages. It is a tool which takes C or C++ header files and generates the JNI and Java classes for you so that you can call C/C++ code from Java. Once you have installed SWIG and run 'make check', have a look in the directory Examples/test-suite/java for the JNI naming for packages. I'll try remember to post the exact naming if you don't want to install SWIG.

  • EXCEPTION_ACCESS_VIOLATION  while calling a native method.....

    Hi guys,
    i am trying to call a native method from my java code, but i am getting this following error,
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x052bd55f, pid=2740, tid=3884
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_07-b03 mixed mode, sharing)
    # Problematic frame:
    # C [F3BC1ENG.DLL+0xd55f]
    In the log file,
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x052bd55f, pid=2740, tid=3884
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_07-b03 mixed mode, sharing)
    # Problematic frame:
    # C [F3BC1ENG.DLL+0xd55f]
    --------------- T H R E A D ---------------
    Current thread (0x03b26e50): JavaThread "httpWorkerThread-8080-0" daemon [_thread_in_native, id=3884]
    siginfo: ExceptionCode=0xc0000005, reading address 0x05e71000
    Registers:
    EAX=0x31304443, EBX=0x05d048f0, ECX=0x0c4c0d16, EDX=0x05e70000
    ESP=0x2c76ef38, EBP=0x2c76f034, ESI=0x05e71000, EDI=0x05d06d20
    EIP=0x052bd55f, EFLAGS=0x00010213
    Top of Stack: (sp=0x2c76ef38)
    0x2c76ef38: 00000001 052a9264 2c76f228 052a92a4
    0x2c76ef48: 01190002 00000000 00000000 00000000
    0x2c76ef58: 00000000 ffffffff 00000002 05d05d38
    0x2c76ef68: 00000000 00000000 00000000 00000000
    0x2c76ef78: ffffffff 7c9106eb 00000004 00000000
    0x2c76ef88: 00000000 00000000 00000000 00000000
    0x2c76ef98: 00000000 00000000 00000000 00000000
    0x2c76efa8: 00000000 052bf3e1 2c76efd4 0000101f
    Instructions: (pc=0x052bd55f)
    0x052bd54f: 00 8b 7c 24 2c 8b 4a 18 8d 72 18 8b c1 c1 e9 02
    0x052bd55f: f3 a5 8b c8 eb 16 8b b4 24 bc 00 00 00 8b 7c 24
    Stack: [0x2c670000,0x2c770000), sp=0x2c76ef38, free space=1019k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [F3BC1ENG.DLL+0xd55f]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j palmsecuresdk.sample.PvsAuthenticationJNI.identifyMatch(I[BLjava/util/List;ILjava/util/List;)I+0
    j packService.palmsImpl.identify([B)Ljava/lang/String;+55
    j packService.palmsSEI_Tie.invoke_identify(Lcom/sun/xml/rpc/server/StreamingHandlerState;)V+50
    j packService.palmsSEI_Tie.processingHook(Lcom/sun/xml/rpc/server/StreamingHandlerState;)V+58
    j com.sun.xml.rpc.server.StreamingHandler.handle(Lcom/sun/xml/rpc/spi/runtime/SOAPMessageContext;)V+819
    j com.sun.xml.rpc.server.http.JAXRPCServletDelegate.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+394
    j com.sun.enterprise.webservice.JAXRPCServlet.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+139
    j javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+139
    j javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+30
    j org.apache.catalina.core.ApplicationFilterChain.servletService(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/Servlet;Lorg/apache/catalina/util/InstanceSupport;)V+93
    j org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)I+644
    j org.apache.catalina.core.StandardPipeline.doInvoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+77
    j org.apache.catalina.core.StandardPipeline.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+3
    j org.apache.catalina.core.StandardContextValve.invokeInternal(Lorg/apache/catalina/Wrapper;Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)I+238
    j org.apache.catalina.core.StandardContextValve.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)I+252
    j org.apache.catalina.core.StandardPipeline.doInvoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+77
    j com.sun.enterprise.web.WebPipeline.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+53
    j org.apache.catalina.core.StandardHostValve.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)I+89
    j org.apache.catalina.core.StandardPipeline.doInvoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+77
    j com.sun.enterprise.web.VirtualServerPipeline.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+149
    j org.apache.catalina.core.ContainerBase.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+6
    j org.apache.catalina.core.StandardEngineValve.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)I+58
    j org.apache.catalina.core.StandardPipeline.doInvoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+77
    j org.apache.catalina.core.StandardPipeline.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+3
    j org.apache.catalina.core.ContainerBase.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+6
    j org.apache.coyote.tomcat5.CoyoteAdapter.service(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V+296
    j com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter()V+19
    j com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(Ljava/io/InputStream;Ljava/io/OutputStream;)Z+15
    j com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(Ljava/io/InputStream;Ljava/io/OutputStream;)Z+25
    j com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask()Z+74
    j com.sun.enterprise.web.connector.grizzly.ReadTask.doTask()V+161
    j com.sun.enterprise.web.connector.grizzly.TaskBase.run()V+1
    j com.sun.enterprise.web.connector.grizzly.WorkerThread.run()V+22
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x037aec00 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2664]
    0x0376bb10 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=4020]
    0x03a526c0 JavaThread "Thread-25" daemon [_thread_blocked, id=2508]
    0x03a3b8e8 JavaThread "Timer-5" daemon [_thread_blocked, id=2260]
    0x03a51e18 JavaThread "Timer-4" [_thread_blocked, id=2192]
    0x035bae38 JavaThread "ContainerBackgroundProcessor[StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[__JWSappclients]]" daemon [_thread_blocked, id=2548]
    0x035fac10 JavaThread "httpWorkerThread-4848-1" daemon [_thread_blocked, id=3492]
    0x03786530 JavaThread "httpWorkerThread-4848-0" daemon [_thread_blocked, id=1952]
    0x035fa9e8 JavaThread "SelectorThread-4848" [_thread_in_native, id=408]
    0x03576828 JavaThread "httpWorkerThread-8181-1" daemon [_thread_blocked, id=1964]
    0x0356ee10 JavaThread "httpWorkerThread-8181-0" daemon [_thread_blocked, id=3476]
    0x00c29278 JavaThread "SelectorThread-8181" [_thread_in_native, id=3512]
    0x03acb208 JavaThread "httpWorkerThread-8080-1" daemon [_thread_blocked, id=3472]
    =>0x03b26e50 JavaThread "httpWorkerThread-8080-0" daemon [_thread_in_native, id=3884]
    0x03bea780 JavaThread "SelectorThread-8080" [_thread_in_native, id=1500]
    0x03606198 JavaThread "ContainerBackgroundProcessor[StandardEngine[com.sun.appserv]]" daemon [_thread_blocked, id=3788]
    0x03b57620 JavaThread "SingleSignOnExpiration" daemon [_thread_blocked, id=3528]
    0x03b5fb58 JavaThread "ContainerBackgroundProcessor[StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[]]" daemon [_thread_blocked, id=3480]
    0x03c03d58 JavaThread "ContainerBackgroundProcessor[StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[newPalmService]]" daemon [_thread_blocked, id=3524]
    0x03629bf0 JavaThread "ContainerBackgroundProcessor[StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[palmSecure_ws]]" daemon [_thread_blocked, id=3560]
    0x03acbee8 JavaThread "SingleSignOnExpiration" daemon [_thread_blocked, id=2308]
    0x0374f418 JavaThread "ContainerBackgroundProcessor[StandardEngine[com.sun.appserv].StandardHost[__asadmin].StandardContext[]]" daemon [_thread_blocked, id=2708]
    0x03601a88 JavaThread "ContainerBackgroundProcessor[StandardEngine[com.sun.appserv].StandardHost[__asadmin].StandardContext[web1]]" daemon [_thread_blocked, id=2284]
    0x03b4e748 JavaThread "ContainerBackgroundProcessor[StandardEngine[com.sun.appserv].StandardHost[__asadmin].StandardContext[asadmin]]" daemon [_thread_blocked, id=680]
    0x037e4ac8 JavaThread "Timer-3" [_thread_blocked, id=2100]
    0x03a97b08 JavaThread "RMI RenewClean-[192.168.10.19:1464]" daemon [_thread_blocked, id=2080]
    0x037a7f38 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=1580]
    0x03a4a050 JavaThread "RMI TCP Accept-8686" daemon [_thread_in_native, id=1316]
    0x0379ccd0 JavaThread "Thread-15" [_thread_blocked, id=316]
    0x03771d20 JavaThread "Thread-14" [_thread_blocked, id=228]
    0x0376bcf0 JavaThread "Thread-13" [_thread_blocked, id=436]
    0x0373d2a8 JavaThread "RMI LeaseChecker" daemon [_thread_blocked, id=904]
    0x0373aa68 JavaThread "RMI RenewClean-[192.168.10.19:1429,com.sun.enterprise.admin.server.core.channel.LocalRMIClientSocketFactory@ac4d3b]" daemon [_thread_blocked, id=2320]
    0x00c66dd0 JavaThread "Timer-2" daemon [_thread_blocked, id=1512]
    0x038e3350 JavaThread "Timer-1" [_thread_blocked, id=2272]
    0x03a4ac60 JavaThread "Thread-10" [_thread_in_native, id=4052]
    0x03a6fc88 JavaThread "Thread-8" [_thread_in_native, id=1052]
    0x03a43818 JavaThread "Thread-7" [_thread_in_native, id=2600]
    0x03a1e808 JavaThread "Thread-6" [_thread_in_native, id=1648]
    0x03a1ac20 JavaThread "GC Daemon" daemon [_thread_blocked, id=4084]
    0x03a52e18 JavaThread "RMI Reaper" [_thread_blocked, id=144]
    0x03a52c30 JavaThread "Timer-0" daemon [_thread_blocked, id=208]
    0x03a3d730 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=2044]
    0x00c17020 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3456]
    0x00c15bf0 JavaThread "CompilerThread0" daemon [_thread_blocked, id=4064]
    0x00c14ed8 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4060]
    0x00c0fd90 JavaThread "Finalizer" daemon [_thread_blocked, id=4044]
    0x00c0e8c0 JavaThread "Reference Handler" daemon [_thread_blocked, id=2436]
    0x0032df88 JavaThread "main" [_thread_blocked, id=1532]
    Other Threads:
    0x00bdc778 VMThread [id=4028]
    0x00c31a20 WatcherThread [id=4068]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 11712K, used 4051K [0x06a70000, 0x07720000, 0x11510000)
    eden space 10432K, 27% used [0x06a70000, 0x06d435b0, 0x074a0000)
    from space 1280K, 90% used [0x075e0000, 0x077017d8, 0x07720000)
    to space 1280K, 0% used [0x074a0000, 0x074a0000, 0x075e0000)
    tenured generation total 25784K, used 15468K [0x11510000, 0x12e3e000, 0x26a70000)
    the space 25784K, 59% used [0x11510000, 0x1242b290, 0x1242b400, 0x12e3e000)
    compacting perm gen total 26880K, used 26785K [0x26a70000, 0x284b0000, 0x2aa70000)
    the space 26880K, 99% used [0x26a70000, 0x28498618, 0x28498800, 0x284b0000)
    ro space 8192K, 67% used [0x2aa70000, 0x2afcd9f8, 0x2afcda00, 0x2b270000)
    rw space 12288K, 46% used [0x2b270000, 0x2b813808, 0x2b813a00, 0x2be70000)
    Dynamic libraries:
    0x00400000 - 0x00406000      D:\Sun\AppServer\lib\appserv.exe
    0x7c900000 - 0x7c9b0000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f4000      C:\WINDOWS\system32\kernel32.dll
    0x77c10000 - 0x77c68000      C:\WINDOWS\system32\MSVCRT.dll
    0x6d730000 - 0x6d8c7000      C:\Program Files\Java\jdk1.5.0_07\jre\bin\client\jvm.dll
    0x77d40000 - 0x77dd0000      C:\WINDOWS\system32\USER32.dll
    0x77f10000 - 0x77f56000      C:\WINDOWS\system32\GDI32.dll
    0x77dd0000 - 0x77e6b000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77e70000 - 0x77f01000      C:\WINDOWS\system32\RPCRT4.dll
    0x76b40000 - 0x76b6d000      C:\WINDOWS\system32\WINMM.dll
    0x6d2f0000 - 0x6d2f8000      C:\Program Files\Java\jdk1.5.0_07\jre\bin\hpi.dll
    0x76bf0000 - 0x76bfb000      C:\WINDOWS\system32\PSAPI.DLL
    0x00a10000 - 0x00a27000      C:\Program Files\Common Files\Logishrd\LVMVFM\LVPrcInj.dll
    0x6d700000 - 0x6d70c000      C:\Program Files\Java\jdk1.5.0_07\jre\bin\verify.dll
    0x6d370000 - 0x6d38d000      C:\Program Files\Java\jdk1.5.0_07\jre\bin\java.dll
    0x6d720000 - 0x6d72f000      C:\Program Files\Java\jdk1.5.0_07\jre\bin\zip.dll
    0x6d530000 - 0x6d543000      C:\Program Files\Java\jdk1.5.0_07\jre\bin\net.dll
    0x71ab0000 - 0x71ac7000      C:\WINDOWS\system32\WS2_32.dll
    0x71aa0000 - 0x71aa8000      C:\WINDOWS\system32\WS2HELP.dll
    0x71a50000 - 0x71a8f000      C:\WINDOWS\System32\mswsock.dll
    0x76f20000 - 0x76f47000      C:\WINDOWS\system32\DNSAPI.dll
    0x76fb0000 - 0x76fb8000      C:\WINDOWS\System32\winrnr.dll
    0x76f60000 - 0x76f8c000      C:\WINDOWS\system32\WLDAP32.dll
    0x76fc0000 - 0x76fc6000      C:\WINDOWS\system32\rasadhlp.dll
    0x04220000 - 0x04248000      C:\WINDOWS\system32\rsaenh.dll
    0x769c0000 - 0x76a73000      C:\WINDOWS\system32\USERENV.dll
    0x5b860000 - 0x5b8b4000      C:\WINDOWS\system32\netapi32.dll
    0x6d550000 - 0x6d559000      C:\Program Files\Java\jdk1.5.0_07\jre\bin\nio.dll
    0x662b0000 - 0x66308000      C:\WINDOWS\system32\hnetcfg.dll
    0x71a90000 - 0x71a98000      C:\WINDOWS\System32\wshtcpip.dll
    0x6d520000 - 0x6d528000      C:\Program Files\Java\jdk1.5.0_07\jre\bin\management.dll
    0x6d670000 - 0x6d676000      C:\Program Files\Java\jdk1.5.0_07\jre\bin\rmi.dll
    0x6d070000 - 0x6d1d7000      C:\Program Files\Java\jdk1.5.0_07\jre\bin\awt.dll
    0x73000000 - 0x73026000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x76390000 - 0x763ad000      C:\WINDOWS\system32\IMM32.dll
    0x774e0000 - 0x7761c000      C:\WINDOWS\system32\ole32.dll
    0x73760000 - 0x737a9000      C:\WINDOWS\system32\ddraw.dll
    0x73bc0000 - 0x73bc6000      C:\WINDOWS\system32\DCIMAN32.dll
    0x73940000 - 0x73a10000      C:\WINDOWS\system32\D3DIM700.DLL
    0x6d2b0000 - 0x6d2ef000      C:\Program Files\Java\jdk1.5.0_07\jre\bin\fontmanager.dll
    0x7c9c0000 - 0x7d1d4000      C:\WINDOWS\system32\shell32.dll
    0x77f60000 - 0x77fd6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x773d0000 - 0x774d2000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
    0x5d090000 - 0x5d127000      C:\WINDOWS\system32\comctl32.dll
    0x05290000 - 0x0529a000      C:\WINDOWS\system32\PvsApiJv.dll
    0x052a0000 - 0x052ac000      D:\Java Project\PalmSecure\src\dll\PvFw.dll
    0x052b0000 - 0x052dc000      D:\Java Project\PalmSecure\src\dll\F3BC1ENG.DLL
    0x052e0000 - 0x0531f000      D:\Java Project\PalmSecure\src\dll\F3BC4CAP.DLL
    0x05320000 - 0x05344000      D:\Java Project\PalmSecure\src\dll\F3BC4COM.DLL
    0x73dd0000 - 0x73ece000      C:\WINDOWS\system32\MFC42.DLL
    0x05c50000 - 0x05cf7000      D:\Java Project\PalmSecure\src\dll\F3BC4MAT.DLL
    VM Arguments:
    jvm_args: -client -Xmx512m -XX:NewRatio=2 -Dcom.sun.aas.defaultLogFile=D:/Sun/AppServer/domains/domain1/logs/server.log -Djava.endorsed.dirs=D:/Sun/AppServer/lib/endorsed -Djava.security.policy=D:/Sun/AppServer/domains/domain1/config/server.policy -Djava.security.auth.login.config=D:/Sun/AppServer/domains/domain1/config/login.conf -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.rmi.dgc.client.gcInterval=3600000 -Djavax.net.ssl.keyStore=D:/Sun/AppServer/domains/domain1/config/keystore.jks -Djavax.net.ssl.trustStore=D:/Sun/AppServer/domains/domain1/config/cacerts.jks -Djava.ext.dirs=C:/Program Files/Java/jdk1.5.0_07/jre/lib/ext;D:/Sun/AppServer/domains/domain1/lib/ext;D:/Sun/AppServer/javadb/lib -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver -Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory -Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar -Dcom.sun.enterprise.taglisteners=jsf-impl.jar -Dcom.sun.aas.classloader.optionalOverrideableChain=appserv-ws.jar,commons-logging.jar,commons-launcher.jar -Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,dbschema.jar,j2ee-svc.jar -Dcom.sun.aas.classloader.serverClassPath.ee=%HADB_HOME%/lib/hadbjdbc4.jar,D:/Sun/AppServer/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbm.jar,%HADB_HOME%/lib/hadbmgt.jar,D:/Sun/AppServer/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar -Dcom.sun.aas.configName=server-config -Ddomain.name=domain1 -Djmx.invoke.getters=true -Dcom.sun.aas.promptForIdentity=true -Dcom.sun.aas.classloader.optionalOverrideableChain.ee= -Dcom.sun.aas.instanceRoot=D:/Sun/AppServer/domains/domain1 -Dcom.sun.aas.domainName=domain1 -Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,C:/Program Files/Java/jdk1.5.0_07/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,commons-launcher.jar
    java_command: <unknown>
    Launcher Type: generic
    Environment Variables:
    JAVA_HOME=C:\Program Files\Java\jdk1.5.0_07
    CLASSPATH=C:\PROGRA~1\JMF21~1.1E\lib\sound.jar;C:\PROGRA~1\JMF21~1.1E\lib\jmf.jar;C:\PROGRA~1\JMF21~1.1E\lib;C:\Program Files\Java\jdk1.5.0_07\jre\lib;.
    PATH=C:/Program Files/Java/jdk1.5.0_07\jre\bin\client;D:\Sun\AppServer\lib;D:\Sun\AppServer\lib;C:\Program Files\Java\jdk1.5.0_07\bin;.;C:\WINDOWS\system32;C:\WINDOWS;D:\Sun\AppServer\lib;D:\Sun\AppServer\bin;D:\Sun\AppServer\lib;D:\Sun\AppServer\bin;C:\Sun\share\lib;C:\Sun\share\bin;C:\PROGRA~1\Java\JDK15~2.0_0\bin;C:\Sun\MessageQueue\lib;C:\Sun\MessageQueue\bin;c:\oracledb\product\10.2.0\db_2\bin;D:\oracle\product\10.2.0\db_1\bin;c:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\wamp\php;C:\wamp\Apache\GnuWin32\bin;d:\Program Files\Microsoft SQL Server\90\Tools\binn\;D:\Java Project\PalmSecure\src\dll;D:\Java Project\PalmSecure\src\Lib;.;D:\Sun\AppServer\bin;;C:\Sun\AppServer;C:\Program Files\Java\jdk1.5.0_07\bin;C:\Program Files\Cvsnt;C:\Program Files\CVSNT\;D:\Java Project\PalmSecure\src\dll;D:\Java Project\PalmSecure\src\Lib;
    USERNAME=subbu.chandrasekaran
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 44 Stepping 2, AuthenticAMD
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 1 family 47, cmov, cx8, fxsr, mmx, sse, sse2
    Memory: 4k page, physical 457904k(42684k free), swap 3464136k(2905608k free)
    vm_info: Java HotSpot(TM) Client VM (1.5.0_07-b03) for windows-x86, built on May 3 2006 01:04:38 by "java_re" with MS VC++ 6.0
    what is the reason for this one....?
    In my case, whenever the user has clicked the Identify button then the native method Identify should be called. That time it's working fine.
    But once the user has clicked the Enroll button, then first the Identify native method should be called, based upon the result, the enroll() native method will be called. I am getting the error whenever i am clicking the Enroll button.
    while clicking the Identify button i didn't get any such error....
    What would be the reason?
    someone pls clear my doubt.
    --Subbu                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         

    You have a bug in your C code, and are attempting to access memory location 0.
    Look for an unitialized pointer.

  • Unable to call a native method

    Hi All,
    I am trying to call a native method tapi3Init from tapi3.dll present in Windows\System32 folder. But I get an error as below.
    Exception in thread "Main Thread" java.lang.UnsatisfiedLinkError: DLLCall.tapi3Init
         at DLLCall.main(DLLCall.java:25)
    I have verified my java.library.path and it has the path in it. I have cross verified by typing a wrong dll name and that gave a relevant error. So, please let me know what is going wrong?
    Also, is it not possible to call a native method from a dll which is not formed by using the javah header file?
    Thanks.

    native method tapi3Init from tapi3.dllSo that would be your JNI method.
    Exception in thread "Main Thread" java.lang.UnsatisfiedLinkError: DLLCall.tapi3Init And you are not calling it. Standard reasons apply.
    - library not loaded
    - Signatures are different.

  • Calling multiple DLL from Java and calling same native method

    i have two dll files named DLL_1.dll and DLL_2.dll .
    Both of them contain a native method which has a signature
    JNIEXPORT void JNICALL Java_Database_Notify
    (JNIEnv *, jclass);
    This method is common to both the DLL
    Now i load both of the DLL's using,
    System.loadLibrary("DLL_1");
    System.loadLibrary("DLL_2");
    Both of the DLL are loaded form same Java Application
    But the problem is that , whenever i try to call the Notify Method , it calls the Notify method of DLL_1 only.
    How do i call the Notify Methos of second DLL(i.e DLL_2).
    Is there any reference that i can get to all the DLL files when i load then , so that i can use that reference to invoke the Notify method of that particular DLL.

    i have two dll files named DLL_1.dll and DLL_2.dll .
    Both of them contain a native method which has a
    signature
    JNIEXPORT void JNICALL Java_Database_Notify
    (JNIEnv *, jclass);
    This method is common to both the DLL
    Now i load both of the DLL's using,
    System.loadLibrary("DLL_1");
    System.loadLibrary("DLL_2");
    Both of the DLL are loaded form same Java
    Application
    But the problem is that , whenever i try to call the
    Notify Method , it calls the Notify method of DLL_1
    only.
    How do i call the Notify Methos of second DLL(i.e
    DLL_2).
    Is there any reference that i can get to all the DLL
    files when i load then , so that i can use that
    reference to invoke the Notify method of that
    particular DLL.You need to explain exactly what you are trying to achieve.
    As per the description above it is impossible in java.
    And I didn't say JNI, I said java.
    Your above statement suggests that you think that you can have exactly the same java signature do two different things.
    Note again that I said java not JNI.
    A JNI method is just a tag that represents a java signature. Your description suggests that you are attempting to do it twice.
    There are three possibilities.
    1. Your explanation is incomplete.
    2. You are trying to do something that is impossible in java.
    3. You are trying to solve a problem and your description of your solution is not sufficient to determine what that is (and of course the solution is wrong.)

  • IFS message no longer working in version 1.1.9

    The following code worked correctly with version 1.1. I am wondering if the API has changed for the ifsMessage class. If so, where can I find the javadocs for the newer API?
    public void sendMail(String subject) {
    try {
    allocateConnection();
    ifsSession.setAdministrationMode(true);
    IfsMessage msg = new IfsMessage(ifsSession);
    msg.setToHeader(new String[] {SSU_NOTIFY_EMAIL});
    msg.setFromHeader(SSU_FROM_EMAIL);
    msg.setSubject(subject);
    msg.setContentType("text/plain");
    msg.send();
    releaseConnection();
    catch(Exception e){
    System.out.println("Error in mail message = " + e);
    }// end sendMail
    Thanks,
    Tony

    There are no error messages. If I take out the call to this method everything works fine. When I leave in the call to this method I get a blank screen and no mail sent. Just before the version change the mail worked with the exact same code.
    Thanks,
    tony

  • Scroll Wheel no longer works in version 4.4 RC

    My scroll wheel no longer works after installing Lightroom 4.4. In all previous versions, I was able to use my Logitech scroll device to adjust the sliders in the development panel.  In the 4.4 version, the scroll wheel no longer works and instead of adjusting an individual slider, it scrolls the whole development panel up and down. I did uninstall the mouse driver and reinstalled but that did not work. The mouse works just fine in all other programs. I think it is a bug with the 4.4 version. I am operating in Windows 7. Any suggestions for a fix?

    Ah....
    http://feedback.photoshop.com/photoshop_family/topics/you_broke_4_4_part_of_it_anyway

  • Noscript no longer works with version 8.01

    Addon "noscript" no longer runs with version 8.01, why?

    Can you please let us know the configuration details? Which
    OS/webserver/install mode (mutliserver etc)?
    Thanks,
    Praveen.

  • I've updated to iOS7 and now don't receive most calls AND my alarm no longer works.

    Since I updated to iOS7 a few days ago I have two unusual problems:
    1.  My alarm keeps resetting to a different, very quiet, sound which doesn't waken me.  I've always used "Strum" and I've set that ringtone several times in the new system but it doesn't play the alarm (although it will play it loud and clear when I'm setting it.)
    2.  I'll be holding my phone and look down only to see that I've missed a call, text, and/or voice mail.  I've set the phone so the Do Not Disturb is off, the vibrate on ring and vibrate on silent are both on, the ringtone, text tone and new voicemail settings are set,and the volume is up.  I use my phone for work and so my family can reach me when I'm at work so this obviously is not good.  I missed over a dozen calls and another 7 or 8 text messages today.  Sometimes a call or text will come through like they used to with iOS6 but most of the time they will not.  This does not change whether I have my Bluetooth earpiece in or not.
    And advice will be appreciated otherwise I'll be forced to purchase another type of phone.
    Thanks in advance.

    Since I updated to iOS7 a few days ago I have two unusual problems:
    1.  My alarm keeps resetting to a different, very quiet, sound which doesn't waken me.  I've always used "Strum" and I've set that ringtone several times in the new system but it doesn't play the alarm (although it will play it loud and clear when I'm setting it.)
    2.  I'll be holding my phone and look down only to see that I've missed a call, text, and/or voice mail.  I've set the phone so the Do Not Disturb is off, the vibrate on ring and vibrate on silent are both on, the ringtone, text tone and new voicemail settings are set,and the volume is up.  I use my phone for work and so my family can reach me when I'm at work so this obviously is not good.  I missed over a dozen calls and another 7 or 8 text messages today.  Sometimes a call or text will come through like they used to with iOS6 but most of the time they will not.  This does not change whether I have my Bluetooth earpiece in or not.
    And advice will be appreciated otherwise I'll be forced to purchase another type of phone.
    Thanks in advance.

  • Caller Id with Landline No Longer Working - Called Verizon 4 times without success

    I have a Verizon landline account (no Fios) and the caller id has stopped working.   I first tried using their help desk and went through the automated process of resetting it but that did not work.  Then I've tried 3 other times while speaking to a technician at Verizon and each time they say the service is activated and then close the trouble ticket without verifying that it actually works.  It's been going on for two weeks now with no decent help from Verizon.  Does anybody know how to fix it?
    Thanks.

    Your issue has been escalated to a Verizon agent. Before the agent can begin assisting you, they will need to collect further information from you.Please go to your profile page for the forum, and look in the middle, right at the top where you will find an area titled "My Support Cases". You can reach your profile page by clicking on your name beside your post, or at the top left of this page underneath the title of the board.
    Under “My Support Cases” you will find a link to the private board where you and the agent may exchange information. This should be checked on a frequent basis as the agent may be waiting for information from you before they can proceed with any actions. To ensure you know when they have responded to you, at the top of your support case there is a drop down menu for support case options. Open that and choose "subscribe".
    Please keep all correspondence regarding your issue in the private support portal.

  • Call of Duty 2 no longer works

    Have been playing this for some time now. Suddenly, anytime I try to start the game I get the 'Call of Duty 2 has unexpectedly quit' message.
    What's weird is multiplayer seems to start up fine.
    I've repaired permissions, booted into single user mode and run file system check - neither of which found any problems - to no effect.
    Then I trashed it and reinstalled. Same result.
    Anybody have any suggestions? Please help. I'm on 10.5.2 and have 4 gigs of RAM.
    Message was edited by: BW Lee

    The Apple Discussions only provides support for Apple products. You should visit the Call of Duty support site for assistance.

  • Javascript to Expand/Collapse all grouped list items(2010 method no longer working)

    I have the below little piece of javascript that used to work in 2010(with plus.gif/minus.gif)
    <html>
    <head>
    <script language="Javascript" type="text/Javascript">
    function collapseGroups() { 
    $("img[src*='spcommon.png']:visible").parent().click(); 
    function expandGroups() { 
    $("img[src*='spcommon.png']:visible").parent().click(); 
    </script>
    </head>
    <body>
    <input type="button" id="btnExpand" onclick="expandGroups()" value="Expand All">
    <input type="button" id="btnExpand" onclick="collapseGroups()" value="Collapse All">
    </body>
    </html>
    This however does not work and results in a lot of "clicks" occuring on the site, wherever the spcommon.png is present(which is a lot)
    Has anyone hit this issue before?
    Regards
    Pieter
    PS. Works on 2010 with plus/minus.gif.
    Regards, Pieter
    MCPD | MCITP
    My Blog
    Please remember to click "Mark As Answer" if a post solves your problem or "Vote As Helpful" if it was useful.

    Hi,
    In SharePoint 2013, we can add the following code into a Content Editor Web Part to achieve it.
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script language="Javascript" type="text/Javascript">
    function collapseGroups() {
    $("img[id^='img_']").click();
    function expandGroups() {
    $("img[id^='img_']").click();
    </script>
    <input id="btnExpand1" onclick="expandGroups()" type="button" value="Expand All" />
    <input id="btnExpand2" onclick="collapseGroups()" type="button" value="Collapse All" />
    Best Regards
    Dennis Guo
    TechNet Community Support

  • I have been able to wake my macmini by hitting the space bar - but since installing 10.7.4 using the 1.4Gb combo this wake method no longer works. Now the macmini shuts down, and I have to switch mains power off and on again before powering up the macmini

    Since purchase of my macmini (2011 model) I have been able to wake it from sleep by hitting the (wired) keyboard space bar.
    However, I recently updated the OS to 10.7.4 using the combo (1.4Gb) update, since when I cannot wake the macmini in that way.
    Now, after putting the macmini to sleep, pressing the spacebar causes it to shut down.
    I then have to switch mains power off and on again at the wall socket, after which the macmini starts up from shutdown condition.
    I am by no means an expert, and have not been fiddling with settings, so I am in need of advice on what could need resetting to allow me to return to the previous simple 'wake up' approach!
    Thanks.

    Reset the SMC > Intel-based Macs: Resetting the System Management Controller (SMC)
    1. Shut down the computer.
    2. Unplug the computer's power cord.
    3. Wait fifteen seconds.
    4. Attach the computer's power cord.
    5. Wait five seconds, then press the power button to turn on the computer.
    Followed by resetting the PRAM > Resetting your Mac's PRAM and NVRAM
    1. Shut down the computer.
    2. Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    3. Turn on the computer.
    4. Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    5. Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    6. Release the keys.
    Then if those do not fix the problem, you may need to reset your Energy Saver and Keyboard Preferences by readjusting them.

  • My auto-scale background photo on my site no longer works since version 14 it also depends on scrollbar!

    Please have a look at my site www.roosboum.nl and try ctrl- and ctrl+ to zoom. If you compare this with any version of IE or Chrome you'll find that since version 14 FF has stopped properly outlining the backgroundimage.
    Also I noticed in other pages, it sometimes works better if you add and remove(!) the searchbar with Ctrl F, that it's suddenly adapts to what it should have been in the first place.
    Also when using a vertical taskbar in windows, FF does not see this and a horizontal scrollbar is displayed which I find highly unworkable. I now have to zoom out to see the page with scrollbar :-(
    I've seen these issues on three totally different pc's and can't resolve the issue cause it was working well for years! This is a major setback cause I always advertise for using FF and now my main site is no longer displayed well.
    I'm not far away from going back to chrome which I can't emphasize enough is pure disapointment.
    I'm a technician and programmer, you can ask me for any detail as you feel fit. I'm glad to be of any help. Awaiting your reply,
    Erwin van Dijk

    Note that you use &lt;br> tags to position the menu bar, so increasing the font size or otherwise make changes that effect the text zoom can move that menu bar down.<br />
    I also see a repeat of the top background image if full page zoom is disabled (i.e. Zoom > Zoom Text Only is selected).
    You should find a better way to position that part of the page.
    A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the MozillaZine forum site in order to post at that forum.

  • Javascripting no longer works on version 23 breaks ckeditor

    My website ZenCart uses CKEditor in the admin to update product and web pages. I just replaced my hard drive and download the newest version of Firefox. The new version 23 breaks CKEditor - it no longer shows up and allows me to edit my products and pages within ZenCart. I put the old hard drive back in my machine with version 22 and CKEditor is working. I went to the content page it shows "Load Images automatically" and "Enable Javascript". I unchecked "Enable JavaScript" in version 22 and CKEditor did the same thing that it does in version 23. So I know the problem is with Version 23 because "Enable JavaScript" is now missing from the Content page under Options. This issue has basically could put me out of business because I can't add or change produce without CKEditor.
    I've been working and searching the internet for a solution for 3 days. Please help me.

    I found the solution without upgrading CKEditor. To the left of the address bar was a small icon. I double clicked on it. It said something about security issue with javascripting. I said to allow on this website. The CKEditor interface showed up. This fixed my problem.
    Thanks for everyone's help.

Maybe you are looking for