You can subscribe to this list here.
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
(6) |
Nov
(8) |
Dec
(2) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 |
Jan
(19) |
Feb
(15) |
Mar
(10) |
Apr
(8) |
May
(7) |
Jun
(9) |
Jul
(13) |
Aug
(31) |
Sep
(111) |
Oct
(52) |
Nov
(72) |
Dec
(42) |
| 2006 |
Jan
(21) |
Feb
(32) |
Mar
(33) |
Apr
(24) |
May
(15) |
Jun
(40) |
Jul
(32) |
Aug
(19) |
Sep
(38) |
Oct
(37) |
Nov
(63) |
Dec
(37) |
| 2007 |
Jan
(18) |
Feb
(39) |
Mar
(69) |
Apr
(49) |
May
(71) |
Jun
(59) |
Jul
(71) |
Aug
(85) |
Sep
(46) |
Oct
(14) |
Nov
(25) |
Dec
(56) |
| 2008 |
Jan
(24) |
Feb
(77) |
Mar
(104) |
Apr
(44) |
May
(41) |
Jun
(11) |
Jul
(31) |
Aug
(59) |
Sep
(44) |
Oct
(86) |
Nov
(66) |
Dec
(93) |
| 2009 |
Jan
(88) |
Feb
(41) |
Mar
(49) |
Apr
(135) |
May
(22) |
Jun
(31) |
Jul
(60) |
Aug
(71) |
Sep
(76) |
Oct
(18) |
Nov
(52) |
Dec
(20) |
| 2010 |
Jan
(8) |
Feb
(50) |
Mar
(35) |
Apr
(48) |
May
(46) |
Jun
(84) |
Jul
(38) |
Aug
(61) |
Sep
(51) |
Oct
(31) |
Nov
(17) |
Dec
(18) |
| 2011 |
Jan
(51) |
Feb
(14) |
Mar
(17) |
Apr
(23) |
May
(15) |
Jun
(11) |
Jul
(5) |
Aug
(5) |
Sep
(15) |
Oct
(8) |
Nov
(5) |
Dec
(25) |
| 2012 |
Jan
(2) |
Feb
(4) |
Mar
(6) |
Apr
(9) |
May
(27) |
Jun
(32) |
Jul
(36) |
Aug
(10) |
Sep
(16) |
Oct
(3) |
Nov
(13) |
Dec
(7) |
| 2013 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(4) |
Oct
(2) |
Nov
(1) |
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
(9) |
Jul
(5) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
(3) |
Feb
(2) |
Mar
(4) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(5) |
Oct
(1) |
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
(6) |
Feb
|
Mar
|
Apr
(10) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
| 2018 |
Jan
(2) |
Feb
(5) |
Mar
|
Apr
|
May
(1) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
| 2021 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2023 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
1
|
2
|
3
(2) |
4
(1) |
5
(1) |
6
|
7
|
|
8
|
9
(1) |
10
|
11
|
12
(3) |
13
(2) |
14
(6) |
|
15
|
16
(3) |
17
(2) |
18
(4) |
19
(2) |
20
|
21
|
|
22
|
23
(1) |
24
(1) |
25
(9) |
26
(7) |
27
(9) |
28
(5) |
|
29
(1) |
30
(7) |
31
(4) |
|
|
|
|
|
From: <php...@li...> - 2007-07-14 19:34:23
|
Hi Jost,
Thank you for your anwser.I tried your suggestion and it didn't gave me that
error but i still don't get it to work.
It just says:
Cause: java.lang.ClassNotFoundException: Unresolved external reference:
java.lang.NoClassDefFoundError.
This is what i did:
moved libAspriseOCR.so to /usr/lib/jvm/java-1_4_2-sun-1.4.2.13
/jre/lib/i386/client/libAspriseOCR.so
moved aspriseOCR.jar to /usr/lib/jvm/java-1_4_2-sun-1.4.2.13
/jre/lib/ext/aspriseOCR.jar
restarted tomcat and apache
See my code below, Java code is directly copied from the manufactures
website:
/*
The original java code:
import com.asprise.util.pdf.PDFReader;
import com.asprise.util.ocr.OCR;
PDFReader reader = new PDFReader(new File("my.pdf"));
reader.open(); // open the file.
int pages = reader.getNumberOfPages();
for(int i=0; i < pages; i++) {
BufferedImage img = reader.getPageAsImage(i);
// recognizes both characters and barcodes
String text = new OCR().recognizeAll(image);
System.out.println("Page " + i + ": " + text);
}
reader.close(); // finally, close the file.
*/
// My php5 Code
$aJarFiles[] = "./external/lucene-demos-2.0.0.jar";
$aJarFiles[] = "./external/lucene-core-2.0.0.jar";
$aJarFiles[] = "./external/junit.jar";
$aJarFiles[] = "./external/checkstyle-all-4.2.jar";
$aJarFiles[] = "./external/bcprov-jdk14-132.jar";
$aJarFiles[] = "./external/bcmail-jdk14-132.jar";
$aJarFiles[] = "./external/ant.jar";
$aJarFiles[] = "./external/FontBox-0.1.0-dev.jar";
$aJarFiles[] = "./AspriseJavaPDF.jar";
$aJarFiles[] = "./aspriseOCR.jar";
java_require(implode(";",$aJarFiles));
$file = new Java('java.io.File',"./changes.pdf");
$reader = new Java('com.asprise.util.pdf.PDFReader',$file);
$reader->open();
$pages = $reader->getNumberOfPages();
for($i=0; $i < $pages; $i++) {
$img = $reader->getPageAsImage($i);
$ocr = new Java('com.asprise.util.ocr.OCR');
$text = $ocr->recognizeAll($img);
print $text;
}
Any idea what's wrong with my setup? i Put everything in a zip if you would
like to take a look:
http://infolook.mpublisher.com/ocr.zip
On 7/14/07, php...@li... <
php...@li...> wrote:
>
> Hi,
>
> [loading impure java libraries]
>
> > anybody who knows how to do the trick?
>
> The native part should go into a VM specific library
> dir and the Java part into java.ext.dirs.
>
> <?php
> echo java("java.lang.System")->getProperties();
> ?>
>
> should show the location of both directories.
>
>
> Regards,
> Jost Boekemeier
>
>
>
>
> __________________________________ Die etwas anderen Infos rund um
> das Thema Reisen. BE A BETTER WELTENBUMMLER! www.yahoo.de/clever
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
--
Gilbert Groenendijk
|
|
From: <php...@li...> - 2007-07-14 16:31:31
|
Hi,
> I've got troubles getting the bridge running over a
> local unix socket
this was default until version 4.1.8. In version 4.1.8
we have temporarily switched it off, since 4.1.8 is
only a thin wrapper around the pure PHP PHP/Java
Bridge implementation "Java.inc".
> php-java-bridge_4.0.8a on
> my Ubunto PC and configured the module in many ways
Do you have the libnatcJavaBridge.so? This is the
library which implements unix domain socket
communication. It depends on whether your Java
supports JNI and whether or not your JVM can (and is
allowed to) load a native library.
If not, the bridge reverts to local TCP sockets or
named pipes.
IMHO unix domain socket communication is obsolete on
modern operating systems. The only exception is
FreeBSD, due to a bug in FreeBSD's local TCP socket
implementation (Nagle's algorithm switched on per
default and PHP doesn't have a way to switch it off).
Regards,
Jost Boekemeier
__________________________________ Die etwas anderen Infos rund um das Thema Reisen. BE A BETTER WELTENBUMMLER! www.yahoo.de/clever
|
|
From: <php...@li...> - 2007-07-14 16:24:32
|
Hi,
[loading impure java libraries]
> anybody who knows how to do the trick?
The native part should go into a VM specific library
dir and the Java part into java.ext.dirs.
<?php
echo java("java.lang.System")->getProperties();
?>
should show the location of both directories.
Regards,
Jost Boekemeier
__________________________________ Die etwas anderen Infos rund um das Thema Reisen. BE A BETTER WELTENBUMMLER! www.yahoo.de/clever
|
|
From: <php...@li...> - 2007-07-14 16:21:43
|
Hi,
[protocol error]
> Length parameter must be greater than 0 in
You should find the reason why the back end has
closed the connection in the log of the back end.
Probably an OutOfMemoryError or something.
Regards,
Jost Boekemeier
__________________________________
Machen Sie Yahoo! zu Ihrer Startseite. Los geht's:
http://de.yahoo.com/set
|
|
From: <php...@li...> - 2007-07-14 16:19:45
|
Hi,
tomcat looks for a JAVA_OPTS environment variable.
Example for Unix/Linux which passes some options to
the VM:
export JAVA_OPTS="-Xmx1024M
-Dphp.java.bridge.default_log_level=6"
/opt/apache_tomcat6/bin/catalina.sh start
Regards,
Jost Boekemeier
__________________________________ Die etwas anderen Infos rund um das Thema Reisen. BE A BETTER WELTENBUMMLER! www.yahoo.de/clever
|
|
From: <php...@li...> - 2007-07-14 16:16:57
|
Hi,
> Will it be a version to which "ZEND API" is not
> supported?
any version is supported. Since version 4.1.8 the
bridge uses only two C level API calls: zend_compile
and zend_execute.
> error: too few
> arguments to function
My fault, sorry. I forgot to add the TSRMLS_CC to the
zend_compile call. So the bridge currently doesn't
compile with TSRM.
I will fix this in a future version of the C code.
Until then please use the latest stable version 3.2.1
instead. Or please use the pure PHP implementation of
the bridge.
Regards,
Jost Boekemeier
__________________________________ Die etwas anderen Infos rund um das Thema Reisen. BE A BETTER WELTENBUMMLER! www.yahoo.de/clever
|