Griaule Biometrics

Home » Forums » FINGERPRINT SDK » Other Programming Languages » my server use centos,and client-side use window os but server-side couldnot use COM() to use SDK of java version?
14 replies [Last post]
steve666
Offline
Joined: 2011-03-28
Rate this post:
0
No votes yet
my server use centos,and client-side use window os but server-side couldnot use COM() to use SDK of java version?

Dear griaule:

I buy a sample finger scanner and install trial-version on my pc(window xp),
downloaging http://www.griaulebiometrics.com/page/en-us/system/files/private/samples/GrFinger_Javascript-PHP.zip
uploading server-side all files to http://xxx.xxx.xxx.xxx/testsdk/ (not install 2009 SDK java version)
chang the url_server code to this url in GrFinger.js,
and install 2009 SDK windows and setup tje scanner(fs 80) driver.

When disable $grs->initialize() ,I can get the $_POST['tpt'] string by server when enroll and identify.
but use $grs->initialize() ,my server error log return the error of ' PHP Fatal error: Class 'COM' not found '.

I saw the teaching video from froum,it seems like only support windows based apache and mysql?
On my situation,how to correctly to use the 'GrFingerX = new COM('GrFingerX.GrFingerXCtrl.1')' on my linux server to call the sdk?

thanks~

m.svol
Offline
Joined: 2010-09-02
Rate this post:
0
No votes yet

Dear customer, The teaching video provided by Griaule is just a sample to help our customers, you can use another server and database if you want to. You don't have to worry about the GrFingerX on the server, as this is used only on the client computer. But you do have to install Fingerprint SDK Java on your server and it will contain a libgrfingerjava.so file which you will have to use. You have also to call for the PHP functions, some recomendations are:

  • import them directly on your PHP code; or
  • make a C program that imports the .so and call this program on the PHP; or
  • create a new .so that imports the needed ones and call just it on the PHP.

Hope it helps you. If you have more doubts, don't hesitate to contact us. Best regards,

--
Matheus Smythe Svolenski
Griaule Biometrics Support Team

steve666
Offline
Joined: 2011-03-28
Rate this post:
0
No votes yet

thanks for your reply!

I will install sdk 2009 java version on remote linux server,and try to use php require the class in the jar.

I try to find the manual of java sdk,I found this Fingerprint SDK Java Javadoc,

but http://www.griaulebiometrics.com/javadoc/GrFingerJava/com/griaule/grfingerjava/package-summary.html

the url is broken?

Could you help to fix it or tell me another url to this manual.

thanks very very much..:) 

matheusbjd
Offline
Joined: 2011-06-28
Rate this post:
0
No votes yet

Can you see my topic?

http://www.griaulebiometrics.com/en-us/forum/exemplo-phpjavascript

m.svol
Offline
Joined: 2010-09-02
Rate this post:
0
No votes yet

Dear Steve,

You're right, this link is not working right now.
I've contacted the team to correct this problem.
I'll let you know very soon.

Best regards,

 

--
Matheus Smythe Svolenski
Griaule Biometrics Support Team

m.svol
Offline
Joined: 2010-09-02
Rate this post:
0
No votes yet

Dear Matheus,

I'm going to take a look on your topic.

Best regards,

 

--
Matheus Smythe Svolenski
Griaule Biometrics Support Team

m.svol
Offline
Joined: 2010-09-02
Rate this post:
0
No votes yet

Dear Steve,

 

We have solved the problem with this page. it's is already online again.
I'm sorry for the problem.

 

Best regards,

 

--
Matheus Smythe Svolenski
Griaule Biometrics Support Team

steve666
Offline
Joined: 2011-03-28
Rate this post:
0
No votes yet

I saw the right html page.

Thanks for your help!

 

matheusbjd
Offline
Joined: 2011-06-28
Rate this post:
0
No votes yet

I try to install in ubuntu 10 but I get an errror, can you help me?

davi.st1
Offline
Joined: 2010-08-26
Rate this post:
0
No votes yet

Dear customer,

 

Did you try to install it with Administrator rights?

 

Best regards,

 

Davi Stuart Zilli

Griaule Support Team

matheusbjd
Offline
Joined: 2011-06-28
Rate this post:
0
No votes yet

I installed Fingerprint_SDK_Java_2009_Installer.jar on Ubuntu 11, but the following error still continues:

 

Fatal error: Class 'COM' not found in /var/www/testes/biometria/server/GrFingerService.php on line 15

m.svol
Offline
Joined: 2010-09-02
Rate this post:
0
No votes yet

Dear customer,

Please take a look at this comment and try to follow the advice for this error: http://www.griaulebiometrics.com/en-us/forum/my-server-use-centosand-client-side-use-window-os-server-side-couldnot-use-com-use-sdk-java-ve#comment-5484

It should solve your problem.
Best regards,

 

--
Matheus Smythe Svolenski
Griaule Biometrics Support Team

matheusbjd
Offline
Joined: 2011-06-28
Rate this post:
0
No votes yet

I copied the file libgrfingerjava.so to the extension directory (/usr/lib/php5/20090626+lfs) and added the line extension=libgrfingerjava.so to the /etc/php5/apache2/php.ini but the erros still continues. What I have to do?

 

"import them directly on your PHP code" - What code???

m.svol
Offline
Joined: 2010-09-02
Rate this post:
0
No votes yet

Dear customer,

You're getting a "Class 'COM' not found" on the PHP code, you have to import the .so on it to avoid this problem.
That's what I'm explaining how to do on this comment.

Following one of this methods will help you on this.

Hope it helps you.
Best regards,

 

--
Matheus Smythe Svolenski
Griaule Biometrics Support Team

matheusbjd
Offline
Joined: 2011-06-28
Rate this post:
0
No votes yet

How can I import the .so on my code??

I do not know how to do it