jorgevaron wrote:Hello Martynas, us are working with the console example enroll-finger-from-scanner, from tutorials.biometrics.java. this example runs perfetly in us windows machine.

Could you compile the application on Linux? Also please ensure that the application is able to find all required *.so files, by defining the LD_LIBRARY_PATH when launching it and that the path defined in LD_LIBRARY_PATH has a FScanners folder.

As I can read, it fails when try to obtain the first license of the list (fingerprint). The information do not give to me any clue of how to solve the problem. Any ideas are welcome.

Hello Jorge,

I have asked you once to provide me the SDK, which you are using, revision number, but you didn't. Could you provide it now? It will help me to identify the exact version of the SDK you are using. so i will try to reproduce the issue on our side.

I see that you are trying to obtain the license from the ip address 192.168.100.10 using the port 16669. Is the Neurotechnology licensing service running on the 192.168.100.10 configured to use the port 16669 too? By default it is 5000.

Regarding to the port of the server, yes, you are right. The port was wrong. Now it works!Thanks.

Hello Jorge,

actually there should be no crash when the license is not obtained - my colleague was successful in reproducing of this issue and he reported it to our developers. the fix should be included in the next update of the SDK.

jorgevaron wrote:Hello Martynas, The problem was solved, just had to run the eclipse as sudo.

Our company will acquire the Finger print Concurrent License.

Where we can obtain technical documentation on this subject?

Thanks in advance

Hi,

nice to hear that you have found the solution.What regards the concurrent license - we do not have any technical document on it. I will explain it below in this post.

The main difference between the single computer license and the concurrent license is that the concurrent license does not lock to the customer computer, which obtained the license, for some time period (single computer license obtained from the "license server" is locked to obtained client machine up to 8 hours). It becomes available to other clients, as soon as the client, obtained it, releases it. So in this case if the process, which needs the license on the client side, is not long, it is possible to use a one concurrent license on several computers. i.e. if you have 5 client applications and one concurrent license. i..e the application needs the license only for the fingerprint scanning and template extraction. Then when all clients tried to obtain the concurrent license, one of the clients obtains it and uses. Other clients waits while the license will be released. once the first client releases the license, other clients can obtain it.Concurrent license should be installed on computer, which will be accessible by other client computers via network.

Hello, in ubuntu 10.04, firefox 3.6.3 and java 1.7.0. I have a signed applet for VeriFinger, it runs ok in eclipse, but in firefox an error occurs when executing the statement: if (!Nlicense.obtainComponents (....

The LD_LIBRARY_PATH = /home/micro01/Descargas/Neurotec_Biometric_4_2_SDK_Trial/Lib/Linux_x86/, the same for the PATH variable.

When running the line:if (!Nlicense.obtainComponents( ..I captured the following error:

jorgevaron wrote:Hello, in ubuntu 10.04, firefox 3.6.3 and java 1.7.0. I have a signed applet for VeriFinger, it runs ok in eclipse, but in firefox an error occurs when executing the statement: if (!Nlicense.obtainComponents (....

Hi,

which revision of the SDK do you use? SDK revision number can be found in SDKRevision.txt.

EAX=0x098f5520 is an unknown valueEBX=0x00bed234: <offset 0x13234> in /tmp/jna80298782680427177.tmp at 0x00bda000ECX=0x90aafc04 is an unknown valueEDX=0x00000000 is an unknown valueESP=0x90aaeb80 is an unknown valueEBP=0x90aaebb8 is an unknown valueESI=0x0163fe24: <offset 0x7a4e24> in /usr/lib/jvm/jdk1.7.0/jre/lib/i386/server/libjvm.so at 0x00e9b000EDI=0x90aaeba8 is an unknown value

Exception in thread "main" java.lang.UnsatisfiedLinkError:/usr/lib/libNeurotecJavaNative.so: /usr/lib/ libNeurotecJavaNative.so: cannot open shared object file: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1511) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:834) at com.neurotechnology.Library.NativeManager.loadDefault(NativeManager.java:14) at com.neurotechnology.NLicensing.NLicensing.<clinit>(NLicensing.java:28) at com.perzona.extractor.service.ExtractorManager.ExtraerMinucias(ExtractorManager.java:52) at com.perzona.extractor.service.WebExtracting.doExtract(WebExtracting.java:60) at com.perzona.extractor.service.WebExtracting.main(WebExtracting.java:36)

I am using Product revision number: 71621 (the latest Verifinger stand alone version you released).

Do you have any suggestions?

Another question. This file libNeurotecJavaNative.so doesn't exist anymore in your new Neurotec Biometrics SDK. Is there a reason why? Was it replaced by another library?

I am not sure which version of SDK you are using, but I think it is VeriFinger 6.2 SDK.

Crisstina wrote:Do you have any suggestions?

As the error states libNeurotecJavaNative.so is missing from /usr/lib/ directory. Please copy libNeurotecJavaNative.so from VeriFinger_6_2_SDK/Lib/Linux_x86_64/ to /usr/lib/ or run LD_LIBRARY_PATH=?/VeriFinger_6_2_SDK/Lib/Linux_x86_64/ ./YOUR_APPLICATION.

Crisstina wrote:Is there a reason why? Was it replaced by another library?

There is not libNeurotecJavaNative.so in VeriFinger 6.3+ SDK because Java API has been rewritten from the scratch. So in case you want to upgrade your application using VeriFinger 6.3+ SDK you would have to redevelop your application.

Am I missing a step? I have a dongle with licenses already connected. I was able to run the EnrollFingerFromImageCS (Visual C# version) with no issues, but the Java sample cannot be run.

I am using Java 1.6, and also in other computer Java 1.5 but with none of them it has worked.

I appreciate your help.

Hello,

It is very strange that you get error on NLicense.releaseComponents(components); method. Don't you get similar error when calling NLicense.obtainComponents()? Please make sure you have configured to use correct class.Also make sure there are Neurotechnology's jars at the same directory as EnrollFingerFromImage is.

It is very strange that you get error on NLicense.releaseComponents(components); method. Don't you get similar error when calling NLicense.obtainComponents()? Please make sure you have configured to use correct class.Also make sure there are Neurotechnology's jars at the same directory as EnrollFingerFromImage is.

Hello,

1. No, the error is just shown in that line. I don't get the error when the license is being obtained.2. I am using the class from the SDK. Maven automatically downloaded the JARs into its default folders.3. Anyway, I copied all the jars in the same directory where EnrollFingerFromImage is running: /ProgramFiles/Neurotechnology/SDKfolder/Bin/Win32_x86 (I am running under 32 bits architecture right now)

Still having the same error I described before.

I just get the error when I grant an argument to the program under eclipse. When I don't give it arguments, the error doesn't show.

I am not sure which version of SDK you are using, but I think it is VeriFinger 6.2 SDK.

Crisstina wrote:Do you have any suggestions?

As the error states libNeurotecJavaNative.so is missing from /usr/lib/ directory. Please copy libNeurotecJavaNative.so from VeriFinger_6_2_SDK/Lib/Linux_x86_64/ to /usr/lib/ or run LD_LIBRARY_PATH=?/VeriFinger_6_2_SDK/Lib/Linux_x86_64/ ./YOUR_APPLICATION.

Crisstina wrote:Is there a reason why? Was it replaced by another library?

There is not libNeurotecJavaNative.so in VeriFinger 6.3+ SDK because Java API has been rewritten from the scratch. So in case you want to upgrade your application using VeriFinger 6.3+ SDK you would have to redevelop your application.

Hello Vaidas,

I am using Verifinger 6.2 now... I tried our application again with a brand new clean Linux Ubuntu 10.04.3 computer, and after copying all the libraries in the right folders of Java and the Operating System, we're getting this error now:

at com.neurotechnology.Library.NativeManager.loadDefault(NativeManager.java:14) at com.neurotechnology.NLicensing.NLicensing.<clinit>(NLicensing.java:28) at com.perzona.extractor.service.ExtractorManager.ExtraerMinucias(ExtractorManager.java:52) at com.perzona.extractor.service.WebExtracting.doExtract(WebExtracting.java:60) at com.perzona.extractor.service.WebExtracting.main(WebExtracting.java:36)

It is very strange that you get error on NLicense.releaseComponents(components); method. Don't you get similar error when calling NLicense.obtainComponents()? Please make sure you have configured to use correct class.Also make sure there are Neurotechnology's jars at the same directory as EnrollFingerFromImage is.

Hello,

1. No, the error is just shown in that line. I don't get the error when the license is being obtained.2. I am using the class from the SDK. Maven automatically downloaded the JARs into its default folders.3. Anyway, I copied all the jars in the same directory where EnrollFingerFromImage is running: /ProgramFiles/Neurotechnology/SDKfolder/Bin/Win32_x86 (I am running under 32 bits architecture right now)

Still having the same error I described before.

I just get the error when I grant an argument to the program under eclipse. When I don't give it arguments, the error doesn't show.

Hello,

Could you please write an e-mail regarding this issue to support@neurotechnology.com. Please mention step-by-step scenario to reproduce the issue.I have tried exact the same version of SDK with eclipse and everything seems to run just fine.

I am using Verifinger 6.2 now... I tried our application again with a brand new clean Linux Ubuntu 10.04.3 computer, and after copying all the libraries in the right folders of Java and the Operating System, we're getting this error now:

at com.neurotechnology.Library.NativeManager.loadDefault(NativeManager.java:14) at com.neurotechnology.NLicensing.NLicensing.<clinit>(NLicensing.java:28) at com.perzona.extractor.service.ExtractorManager.ExtraerMinucias(ExtractorManager.java:52) at com.perzona.extractor.service.WebExtracting.doExtract(WebExtracting.java:60) at com.perzona.extractor.service.WebExtracting.main(WebExtracting.java:36)

Hello,

Such error is usually shown when you use different versions of libNeurotecJavaNative.so and JARs (not from the same SDK version). So please make sure you use the same version fo SDK for JARs and for libNeurotecJavaNative.so.

I am using Verifinger 6.2 now... I tried our application again with a brand new clean Linux Ubuntu 10.04.3 computer, and after copying all the libraries in the right folders of Java and the Operating System, we're getting this error now:

at com.neurotechnology.Library.NativeManager.loadDefault(NativeManager.java:14) at com.neurotechnology.NLicensing.NLicensing.<clinit>(NLicensing.java:28) at com.perzona.extractor.service.ExtractorManager.ExtraerMinucias(ExtractorManager.java:52) at com.perzona.extractor.service.WebExtracting.doExtract(WebExtracting.java:60) at com.perzona.extractor.service.WebExtracting.main(WebExtracting.java:36)

Hello,

Such error is usually shown when you use different versions of libNeurotecJavaNative.so and JARs (not from the same SDK version). So please make sure you use the same version fo SDK for JARs and for libNeurotecJavaNative.so.

Thank you for your reply Vaidas,

yes, I am using the same version for all files. As a matter of fact, I re-copied all the files to make sure, and I am still getting the same error, but ONLY in 64 bits architecture. In 32 bits, I do not get any error at all.

com.neurotec.lang.NIllegalArgumentException: The specified hImage has resolution specified as aspect ratio at com.neurotec.lang.RuntimeErrorCreator.create(RuntimeErrorCreator.java:18) at com.neurotec.lang.ChainedErrorCreator.create(ChainedErrorCreator.java:16) at com.neurotec.lang.NError.get(NError.java:166) at com.neurotec.lang.NError.get(NError.java:177) at com.neurotec.lang.NError.getLast(NError.java:182) at com.neurotec.lang.NResult.checkUnchecked(NResult.java:225) at com.neurotec.lang.NResult.raiseError(NResult.java:281) at com.neurotec.lang.NResult.check(NResult.java:219) at com.neurotec.biometrics.NFExtractor.extract(NFExtractor.java:292) at sre.sepm.dispositivos.escanercamaplana.regiones.RegionHuella.obtenerTemplateBase64(RegionHuella.java:166) at sre.sepm.dispositivos.escanercamaplana.auto.principal.ComunicacionConJavaScript.actualizarHuellaDeFormatoOP5EnJsp(ComunicacionConJavaScript.java:78) at sre.sepm.dispositivos.escanercamaplana.auto.principal.Programa.terminaProcesamiento(Programa.java:290) at sre.sepm.dispositivos.escanercamaplana.auto.principal.ManejadorDeEventos.reportarFinDeActividades(ManejadorDeEventos.java:68) at sre.sepm.dispositivos.escanercamaplana.auto.principal.FormatoOP5.run(FormatoOP5.java:180) at java.lang.Thread.run(Unknown Source)

JNA: Callback com.neurotec.plugins.NPlugin$1@737371 threw the following exception:java.util.concurrent.RejectedExecutionException at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.reject(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.execute(Unknown Source) at com.neurotec.util.concurrent.NSyncChangeObject.changing(NSyncChangeObject.java:71) at com.neurotec.plugins.NPlugin$1.invoke(NPlugin.java:65) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.jna.CallbackReference$DefaultCallbackProxy.invokeCallback(CallbackReference.java:384) at com.sun.jna.CallbackReference$DefaultCallbackProxy.callback(CallbackReference.java:414) at com.sun.jna.Function.invokeInt(Native Method) at com.sun.jna.Function.invoke(Function.java:344) at com.sun.jna.Function.invoke(Function.java:276) at com.sun.jna.Library$Handler.invoke(Library.java:216) at com.neurotec.lang.$Proxy2.NObjectFree(Unknown Source) at com.neurotec.lang.NObject.dispose(NObject.java:128) at com.neurotec.devices.NDeviceManager.dispose(NDeviceManager.java:321) at com.neurotec.lang.NAbstractDisposable.dispose(NAbstractDisposable.java:44) at sre.biometricos.faces.FacesPage.salir(FacesPage.java:285) at sre.biometricos.CapturaFotografia.CapturaFotografiaAplicacion.destroy(CapturaFotografiaAplicacion.java:80) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

JNA: Callback com.neurotec.plugins.NPlugin$1@737371 threw the following exception:java.util.concurrent.RejectedExecutionException at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.reject(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.execute(Unknown Source) at com.neurotec.util.concurrent.NSyncChangeObject.changing(NSyncChangeObject.java:71) at com.neurotec.plugins.NPlugin$1.invoke(NPlugin.java:65) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.jna.CallbackReference$DefaultCallbackProxy.invokeCallback(CallbackReference.java:384) at com.sun.jna.CallbackReference$DefaultCallbackProxy.callback(CallbackReference.java:414) at com.sun.jna.Function.invokeInt(Native Method) at com.sun.jna.Function.invoke(Function.java:344) at com.sun.jna.Function.invoke(Function.java:276) at com.sun.jna.Library$Handler.invoke(Library.java:216) at com.neurotec.lang.$Proxy2.NObjectFree(Unknown Source) at com.neurotec.lang.NObject.dispose(NObject.java:128) at com.neurotec.devices.NDeviceManager.dispose(NDeviceManager.java:321) at com.neurotec.lang.NAbstractDisposable.dispose(NAbstractDisposable.java:44) at sre.biometricos.faces.FacesPage.salir(FacesPage.java:285) at sre.biometricos.CapturaFotografia.CapturaFotografiaAplicacion.destroy(CapturaFotografiaAplicacion.java:80) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

Hello,

Do you use JNLP when loading applet? If yes, please check if separate_jvm property is set to "true" in JNLP file.

Dear,Our undergraduate final year project is to develop a fingerprint security system.We are having difficulty in running the sample java application using netbeans.Also guide us that how to link the libraries. We are trying to implement the software using microcontroller so guide us is java a right choice to complete this project.

Exception in thread "AWT-EventQueue-1" java.lang.ExceptionInInitializerError at com.neurotec.cluster.NCluster.<clinit>(NCluster.java:30) at com.neurotec.cluster.Admin.<clinit>(Admin.java:282) at com.neurotec.samples.connection.ClusterClient.checkServerConnection(ClusterClient.java:64) at com.neurotec.samples.connection.ConnectionSettingsPanel.btnOKClick(ConnectionSettingsPanel.java:377) at com.neurotec.samples.connection.ConnectionSettingsPanel.saveSettings(ConnectionSettingsPanel.java:132) at com.neurotec.samples.settings.SettingsManagerPanel$3.actionPerformed(SettingsManagerPanel.java:132) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) ... <snip> ...

Caused by: java.lang.UnsatisfiedLinkError: Unable to load library 'NClusterJni': The specified module could not be found.

at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:166) at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:239) at com.sun.jna.Library$Handler.<init>(Library.java:140) at com.sun.jna.Native.loadLibrary(Native.java:393) at com.neurotec.cluster.NCluster.<clinit>(NCluster.java:28) ... 40 more

could you specify what exact problems do you meet, when using AbisSampleJava in NetBeans?

Maham 141 wrote:We are trying to implement the software using microcontroller so guide us is java a right choice to complete this project.

What processor does your micro controller use?

We are using SDK one of your software development kits first of all tell us1) Does your SDK allow us to change extraction and matching algorithm?? Can we use our own programmed extraction algorithms(using various filters)??2)We have decided to use PIC 16F88 Microcontroller in our hardware with USB to PIC interface.

please use the latest updated SDK from our website.Also we have released a new version last month - April 27, Revision 87298. So you can upgrade to it.

Hello Martynas,

I downloaded the current SDK (Product revision number: 87298) and attempted to run the AbisApplet, and I received the same error. Library JClusterJni is not defined. I do not find this as a .jar file within the SDK.Can you suggest how to solve the problem?

mdwest wrote:I downloaded the current SDK (Product revision number: 87298) and attempted to run the AbisApplet, and I received the same error. Library JClusterJni is not defined. I do not find this as a .jar file within the SDK.Can you suggest how to solve the problem?

please provide steps how to reproduce this issue. I have used the latest SDK and imported the AbisSample in the Eclipse as Maven project as described in the documentation of the SDK.