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
|
|
From: <php...@li...> - 2008-12-03 21:59:56
|
Interesting why would I get different results on the same search??
----- Original Message -----
From: php...@li...
To: php...@li...
Sent: Wednesday, December 3, 2008 4:57:01 PM GMT -05:00 US/Canada Eastern
Subject: Re: [Php-java-bridge-users] Lucene
> We you able to get results??
Yes (I've used .* as query).
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|
|
From: <php...@li...> - 2008-12-03 21:57:05
|
> We you able to get results??
Yes (I've used .* as query).
|
|
From: <php...@li...> - 2008-12-03 21:26:36
|
We you able to get results??
If I just a QueryParser and not a MultiFieldQueryParser I get results.
When I do a MultiFieldQueryParser i am not getting any results.
----- Original Message -----
From: php...@li...
To: php...@li...
Sent: Wednesday, December 3, 2008 4:23:12 PM GMT -05:00 US/Canada Eastern
Subject: Re: [Php-java-bridge-users] Lucene
I could not reproduce this. Your code works well:
<?php require_once("http://localhost:8080/JavaBridge/java/Java.inc");
java_require("lucene.jar");
$parser = new Java( 'org.apache.lucene.queryParser.MultiFieldQueryParser',array('name','description'),$analyzer );
echo "got parser:$parser\n";
?>
==>
php -n -dallow_url_include=On test.php
got parser:org.apache.lucene.queryParser.MultiFieldQueryParser@1f26605
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|
|
From: <php...@li...> - 2008-12-03 21:23:16
|
I could not reproduce this. Your code works well:
<?php require_once("http://localhost:8080/JavaBridge/java/Java.inc");
java_require("lucene.jar");
$parser = new Java( 'org.apache.lucene.queryParser.MultiFieldQueryParser',array('name','description'),$analyzer );
echo "got parser:$parser\n";
?>
==>
php -n -dallow_url_include=On test.php
got parser:org.apache.lucene.queryParser.MultiFieldQueryParser@1f26605
|
|
From: <php...@li...> - 2008-12-03 21:00:27
|
I am trying to implement 'org.apache.lucene.queryParse.MultiFieldQueryParser' and I am not sure how to pass the fields.
I have tried the following and dont seem to be getting anything back:
$parser = new Java( 'org.apache.lucene.queryParser.MultiFieldQueryParser',array('name','description'),$analyzer );
I have also tried:
$parser = new Java( 'org.apache.lucene.queryParser.MultiFieldQueryParser',"name,description",$analyzer );
AND
$parser = new Java( 'org.apache.lucene.queryParser.MultiFieldQueryParser',"name description",$analyzer );
|
|
From: <php...@li...> - 2008-12-03 20:58:47
|
OK I found the policy and now have this working.
----- Original Message -----
From: php...@li...
To: php...@li...
Sent: Wednesday, December 3, 2008 3:56:53 PM GMT -05:00 US/Canada Eastern
Subject: Re: [Php-java-bridge-users] java.security.AccessControlException: access denied
Access to all files except user.home and java.io.tempdir is denied. Please see the java policy file and/or the Security Enhanced Linux policy for details.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|
|
From: <php...@li...> - 2008-12-03 20:57:02
|
Access to all files except user.home and java.io.tempdir is denied. Please see the java policy file and/or the Security Enhanced Linux policy for details.
|
|
From: <php...@li...> - 2008-12-03 20:13:52
|
I would first check that the user running this code (the Apache user for example) has permission to read and write on the folder where you're trying to create the index. On Wed, Dec 3, 2008 at 10:21 AM, < php...@li...> wrote: > I am getting the following error when trying to use php/java bridge as a > php extension, I am assuming i have to change a setting somewhere. > > Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: CreateInstance > failed: new org.apache.lucene.index.IndexWriter((o:String)[o:String], > (o:Analyzer)[o:StopAnalyzer], (o:boolean)[o:Boolean]). Cause: > java.security.AccessControlException: access denied (java.io.FilePermission > /searchindex/in read) VM: 1.6.0_10@http://java.sun.com/" at: #-19 > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
|
From: <php...@li...> - 2008-12-03 18:22:08
|
I am getting the following error when trying to use php/java bridge as a php extension, I am assuming i have to change a setting somewhere. Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: CreateInstance failed: new org.apache.lucene.index.IndexWriter((o:String)[o:String], (o:Analyzer)[o:StopAnalyzer], (o:boolean)[o:Boolean]). Cause: java.security.AccessControlException: access denied (java.io.FilePermission /searchindex/in read) VM: 1.6.0_10@http://java.sun.com/" at: #-19 |
|
From: <php...@li...> - 2008-11-30 18:13:41
|
I willl be in the desert until Monday. If this is an emergency, please email te...@fe.... Thanks, Justin |
|
From: <php...@li...> - 2008-11-30 18:13:25
|
Hi, I have updated the examples page. I think this => http://php-java-bridge.sourceforge.net/pjb/examples/source.php?source=PhpThreads.java is what you want. Regards, Jost Boekemeier |
|
From: <php...@li...> - 2008-11-30 17:34:37
|
Hello, I did not receive answer from any of you. Does nobody have any idea ? thanks for any help, link, or... Regards David php...@li... a écrit : > Hello, > > I have a project that require java interpreter. > > But I've made some part of the project in php. > > I'll need to use php classes in java to escape rewriting for now. > > It's difficult to find exemple of php code call from java. > > The simple code on the web site does not work on my machine telling that > he is not finding EngineFactory, nor even in the import path. > > I do not need apache or web tools, just being able to run php command > line script in java and being able to use php objects. > > Thanks in advance for your help. > > Regards > > David > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > > > |
|
From: <php...@li...> - 2008-11-26 19:18:13
|
Hi André,
I think the issue was that java/Java.inc was missing in the PHP include path. See my other message.
Regards,
Jost Boekemeier
|
|
From: <php...@li...> - 2008-11-26 19:16:36
|
Hi André, okay, I will comment out the java.security_policy=On in the java.ini. BTW: Which Java VM is it? The "policy==" syntax is valid (http://java.sun.com/j2se/1.4.2/docs/guide/security/PolicyFiles.html), but some JVM implementations (GNU Java?) may not recognize it. > The "Djava.security.policy==" issue was commited > at bind.c v1.92 [0] It happened when I switched on the policy in the java.ini file: ----------- * VERSION, php-java-bridge.spec: Version 5.2.2.3 released 2008-09-21 Jost Boekemeier <jostb@intern> * java.ini: Use a very restrictive security setting. ----------- > I will adapt the packaging to include the Java.inc and > JavaRaw.inc files. Java.inc is everything PHP users really need. Java users who want to call PHP libraries from Java also need the JavaProxy.php within the PHP web application. I would simply install the entire java/ folder into the PEAR include path (/usr/share/pear?). (http://php-java-bridge.sourceforge.net/pjb/docs/php-api/ric_README.html) > What about the "jce.jar" issue? I think it's a misunderstanding. Unlike other VM implementations Java doesn't have a "GAC", a single repository for Java packages. GNU used to use /usr/share/java, Sun introduced /usr/java/packages/lib/ext in Java 1.6. java_require() searches both locations, then $HOME/lib and then PHP_INCLUDE_PATH/libname/libname.jar. I think we should sidestep these Java class loading issues by always requiring a Tomcat back end. -- This would automatically eliminate the java.security.policy issue mentioned above and probably other (GNU-/Kaffe-/...) JVM releated issues; the Tomcat maintainers have much more experience with the different JVM implementations than we have. Unfortunately I can't nuke the java.so and require a Tomcat back end because of *BSD kernel issues[1]. But for Debian/Ubuntu it may be a viable alternative, I think. Regards, Jost Boekemeier [1] BSD is the only operating system which still doesn't contain John Nagle's TCP/IP bug fix: http://lists.freebsd.org/pipermail/freebsd-bugs/2006-April/018144.html and http://unix.derkeiler.com/pdf/Mailing-Lists/FreeBSD/net/2006-01/msg00156.pdf |
|
From: <php...@li...> - 2008-11-26 15:12:54
|
Hello, Jan Wagner ( waja AT cyconet.org) bring to attention some problems. The "Djava.security.policy==" issue was commited at bind.c v1.92 [0] The cvs log message does not contain the reason. Could it be reverted to "Djava.security.policy=" without side effects? I will adapt the packaging to include the Java.inc and JavaRaw.inc files. What about the "jce.jar" issue? Regards. Andre Felipe [0] http://php-java-bridge.cvs.sourceforge.net/viewvc/php-java-bridge/php-java-bridge/bind.c?r1=1.91&r2=1.92 > > Dear List, > > > > this week we did setup a php-java-bridge for one of our customers. We did have > > serveral problems, caused by missing documentation for relevant parts, but we > > did solve this anyhow. We have just some issues in place which we worked > > around, but maybe you can give us some hints, how we should correct it. > > > > What we did on a Debian/etch: > > > > * > > wget "http://downloads.sourceforge.net/php-java-bridge/php-java- > > bridge_5.3.2.1.2-1_i386.deb?modtime=1223900853&big_mirror=0" > > * dpkg -i php-java-bridge_5.3.2.1.2-1_i386.deb > > * set "java.log_level = 3" in /etc/php5/conf.d/java.ini > > * copied Java.inc and JavaRaw.inc from an buildenvorinment > > to /usr/share/php/java (why aren't those shipped with the debian package?) > > * /etc/init.d/apache2 restart > > > > So far so good ... after houres of debugging we found the following problem: > > > > # ps aux| grep java > > root 4661 2.5 5.0 210624 13224 ? Sl 00:24 0:00 > > java -Djava.library.path=/usr/lib/php5/20060613+lfs - > > Djava.class.path=/usr/lib/php5/20060613+lfs/JavaBridge.jar - > > Djava.security.policy==/usr/lib/php5/20060613+lfs/javabridge.policy - > > Dphp.java.bridge.base=/usr/lib/php5/20060613+lfs > > php.java.bridge.Standalone LOCAL:@java-bridge-122e 3 > > > > Maybe you also miss the it .. it's right after "-Djava.security.policy", where > > you can find "==" and this cause the JVM to not use this parameter. > > > > We worked around by setting 'java.wrapper > > = "/usr/local/sbin/java_bridge_wrapper"' in /etc/php5/conf.d/java.ini and > > defining the JVM parameter for our own. > > > > To get included the "jce.jar" via 'java_require("jce.jar");' we did need to > > place it in "/usr/share/java", which we did > > with: "ln -s /usr/lib/jvm/java-6-sun/jre/lib/jce.jar /usr/share/java/jce.jar" > > Is there some more elegant way of doing this? > > > > If you wonna have a look into the whole thing, I attached our test script. > > > > Thanks and with kind regards, Jan. |
|
From: <php...@li...> - 2008-11-26 09:09:47
|
Hello,
thank you for your answer.
> What do you mean with this? Your script doesn't even use java()
> statements, so how can this be a PHP/Java Bridge problem?
My script doesn't use Java, but the PEAR package "XML/fo2pdf.php" does.
The script exited after running:
$options = @new Java("org.apache.fop.apps.CommandLineOptions", $options)
(from fo2pdf.php)
As Patrick said, FOP 0.95 is not compatible with "XML/fo2pdf.php",
therefore I should hack this package or will use the Apache FOP
embedding Fop2PDF.java from:
http://xmlgraphics.apache.org/fop/0.94/embedding.html#ExampleFO2PDF
cheers,
Al
>
--- On Tue, 11/25/08, php...@li... <php...@li...> wrote:
From: php...@li... <php...@li...>
Subject: Re: [Php-java-bridge-users] FOP & PHP-Java-Bridge
To: php...@li...
Date: Tuesday, November 25, 2008, 4:16 PM
Apache FOP is a Java library which converts XSL-FO to PDF; it is invoked
via the Java Bridge from PHP.
I run a system (on FreeBSD, but platform doesn't matter) which uses PHP
5.2 and Java Bridge 4.0.8a to call FOP 0.20.5. We don't use the PEAR
library XML_fo2pdf like you do, but the code is very simple and thus
similar.
I've attempted to use FOP 0.95, but in short, FOP broke compatibility
between 0.20.x and 0.95. We continue to use 0.20.5 in production simply
because it works and there's no need to upgrade. Considering that
XML_fo2pdf is out of maintenance by about five years [1], odds are it
just doesn't work with FOP 0.95.
If you have any true need for FOP 0.95 over 0.20.x, you will need to
hack XML_fo2pdf. If you do take the time, I'd suggest posting your patch
to the PEAR website when you're finished.
Cheers,
Patrick van Staveren
[1] http://pear.php.net/package/XML_fo2pdf/
php...@li... wrote:
> Hi,
>
> [.. not working]
>
>> FOP: version 0.95
>>
>
> [...but]
>
>> is working with: FOP: 0.20.4,
>>
>
> Umm, you should then report the problem to FOP, then. -- FOP seems to be
some PHP extenstion which doesn't have any links to the PHP/Java Bridge.
>
>
>
>> is PHP-Java-Bridge 5.2.2 working with FOP 0.95 and PHP 5.2.6,
Java_1.6.0 ?
>>
>
> What do you mean with this? Your script doesn't even use java()
statements, so how can this be a PHP/Java Bridge problem?
>
>
> BTW: Since you have Java installed, you may want to check out the itext
PDF library instead. It is a very powerful and mature library which can create
and even transform PDF in various ways, see our itext examples from the source
download for details.
>
>
> Regards,
> Jost Boekemeier
>
>
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
> Build the coolest Linux based applications with Moblin SDK & win great
prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
--
Patrick "Trick" van Staveren
http://trick.vanstaveren.us
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|
|
From: <php...@li...> - 2008-11-26 00:14:28
|
Apache FOP is a Java library which converts XSL-FO to PDF; it is invoked via the Java Bridge from PHP. I run a system (on FreeBSD, but platform doesn't matter) which uses PHP 5.2 and Java Bridge 4.0.8a to call FOP 0.20.5. We don't use the PEAR library XML_fo2pdf like you do, but the code is very simple and thus similar. I've attempted to use FOP 0.95, but in short, FOP broke compatibility between 0.20.x and 0.95. We continue to use 0.20.5 in production simply because it works and there's no need to upgrade. Considering that XML_fo2pdf is out of maintenance by about five years [1], odds are it just doesn't work with FOP 0.95. If you have any true need for FOP 0.95 over 0.20.x, you will need to hack XML_fo2pdf. If you do take the time, I'd suggest posting your patch to the PEAR website when you're finished. Cheers, Patrick van Staveren [1] http://pear.php.net/package/XML_fo2pdf/ php...@li... wrote: > Hi, > > [.. not working] > >> FOP: version 0.95 >> > > [...but] > >> is working with: FOP: 0.20.4, >> > > Umm, you should then report the problem to FOP, then. -- FOP seems to be some PHP extenstion which doesn't have any links to the PHP/Java Bridge. > > > >> is PHP-Java-Bridge 5.2.2 working with FOP 0.95 and PHP 5.2.6, Java_1.6.0 ? >> > > What do you mean with this? Your script doesn't even use java() statements, so how can this be a PHP/Java Bridge problem? > > > BTW: Since you have Java installed, you may want to check out the itext PDF library instead. It is a very powerful and mature library which can create and even transform PDF in various ways, see our itext examples from the source download for details. > > > Regards, > Jost Boekemeier > > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > -- Patrick "Trick" van Staveren http://trick.vanstaveren.us |
|
From: <php...@li...> - 2008-11-25 23:22:11
|
I can edit the PEAR include path in php.ini. But what is the path to be included? On Mon, Nov 24, 2008 at 11:56 AM, <php...@li...> wrote: > Hi Andrè, > > is it possible to install a Java.inc into the PEAR include path on debian? > > > Regards, > Jost Boekemeier > > > > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
|
From: <php...@li...> - 2008-11-25 20:20:32
|
Hi,
[.. not working]
> FOP: version 0.95
[...but]
> is working with: FOP: 0.20.4,
Umm, you should then report the problem to FOP, then. -- FOP seems to be some PHP extenstion which doesn't have any links to the PHP/Java Bridge.
> is PHP-Java-Bridge 5.2.2 working with FOP 0.95 and PHP 5.2.6, Java_1.6.0 ?
What do you mean with this? Your script doesn't even use java() statements, so how can this be a PHP/Java Bridge problem?
BTW: Since you have Java installed, you may want to check out the itext PDF library instead. It is a very powerful and mature library which can create and even transform PDF in various ways, see our itext examples from the source download for details.
Regards,
Jost Boekemeier
|
|
From: <php...@li...> - 2008-11-25 12:20:36
|
Hello,
I've installed PHP-Java-Bridge 5.2.2
and would like to create a PDF file using FOP and PHP.
OS: Solaris 10
FOP: version 0.95
PHP: version 5.2.6
Java: jdk1.6.0
Apache: Server Version: Apache/2.2.9
when I run fop form the command line, the PDF file was created.
./fop test.fo test.pdf
But when I created a PHP file, let's say mytest.php as following:
---------------------------
<?php
include_once ("XML/fo2pdf.php");
$pdf = new XML_fo2pdf( );
$pdf->tmpdir = "/tmp";
$pdf->run("/tmp/simple.fo", "/tmp/simple.pdf");
$pdf->printPDF();
$pdf->deletePDF();
?>
---------------------------
I could not see any PDF file in my browser after checking the PHP page
http://my-server/mytest.php
The script exit after executing $pdf->run("/tmp/simple.fo", "/tmp/simple.pdf");
without any errors or warning (I've checked the apache log file, php-java-bridge.log file,phperror logfile)
I have tried the runFromFile and runFromString (in fo2pdf.php) methods they behave the same way.
My question is : is PHP-Java-Bridge 5.2.2 working with FOP 0.95 and PHP 5.2.6, Java_1.6.0 ?
Any help would be appreciated.
BTW, the same script (PHP) is working with:
FOP: 0.20.4, PHP-Java-Bridge-4.0.8a, Java jdk1.5.0_06 (I mean the PDF file has been created).
Al
|
|
From: <php...@li...> - 2008-11-24 20:11:55
|
Hi again, sorry for the misunderstanding. > I'll need to use php classes in java to escape rewriting for now. JSR 223 examples can be found here: https://scripting.dev.java.net/ A specific JSR 223 example is here: http://php-java-bridge.sourceforge.net/pjb/examples/php%2Bjsp/source.php?source=script_api.php -- The example is written in PHP which in turn accesses Java, which in turn accesses PHP through the JSR 223 API, which in turn accesses PHP by invoking java.lang.Thread.run() method, which in turn is backed by a PHP run() implementation; essentially running 5 PHP threads from Java, concurrently writing to a shared output device. Regards, Jost Boekemeier |
|
From: <php...@li...> - 2008-11-24 19:56:12
|
Hi Andrè,
is it possible to install a Java.inc into the PEAR include path on debian?
Regards,
Jost Boekemeier
|
|
From: <php...@li...> - 2008-11-24 19:33:49
|
Hi,
> I'd like to peruse the PHP classes generated by
> java_autoload. Where
> can I find these files?
they are generated "on the fly" by the PHP standard library. The generated classes are just tags which extend the generic "Java" class; they don't have any features of their own.
Regards,
Jost Boekemeier
|
|
From: <php...@li...> - 2008-11-24 18:32:00
|
I'd like to peruse the PHP classes generated by java_autoload. Where can I find these files? |
|
From: <php...@li...> - 2008-11-24 18:30:26
|
I get the following error when I did what you suggested:
Fatal error: require_once() [function.require]: Failed opening
required 'java/Java.inc' (include_path='.:/usr/share/php:/usr/share/pear') in
/home/kratib/www/d6/sites/all/modules/sheetnode/sheetnode_xls.import.inc
on line 20
Should the include_path look different than this?
K.
On Mon, Nov 24, 2008 at 6:56 AM,
<php...@li...> wrote:
> Hi,
>
> the java/Java.inc should be in PHP's include path.
>
> require_once("java/Java.inc")
>
> should be sufficient.
>
>
> Regards,
> Jost Boekemeier
>
>
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
|