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
(4) |
3
(1) |
4
|
5
|
6
|
7
(9) |
8
(26) |
9
|
10
|
11
(3) |
12
|
13
|
14
(3) |
15
|
16
(1) |
17
(6) |
18
(2) |
19
(2) |
20
(8) |
21
(11) |
22
(3) |
23
(1) |
24
(8) |
25
(2) |
26
(1) |
27
(5) |
28
(6) |
29
(17) |
30
(16) |
|
|
From: <php...@li...> - 2009-04-21 13:14:33
|
You can include the output of a portlet into php via requestDispatcher->include(...). Since PHP/Java Bridge version 5.4.4.2 (rc is available for download, final at the end of this month), you can use any php script to render the view for a portlet. Similar to this example jsp: http://nlc.nlc.go.cn/resin-doc/portlet/tutorial/basic-jsp/index.xtp Regards, Jost Boekemeier Apr 21, 2009 2:10 nachm. schrieb am < php...@li...>: Hi, I'm looking at a solution to embed a Java portlet (JSR-168) in a PHP webapp. For now, I found nobody on the Web who talk about this. Somebody on this mailing-list has an idea if it's possible ? Thank you very much for your response. ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2009-04-21 12:09:35
|
Hi, I'm looking at a solution to embed a Java portlet (JSR-168) in a PHP webapp. For now, I found nobody on the Web who talk about this. Somebody on this mailing-list has an idea if it's possible ? Thank you very much for your response. |
From: <php...@li...> - 2009-04-21 11:48:23
|
Jost, I've done it: public class TestCase { public ArrayList add(String a,String b){ but now "ClassNotFoundException"...... Well, am I right if I think, that it will work if I use "java_values($object-> add ($hund,$ball) );" <?php require_once("java/Java.inc"); $System = java("java.lang.System"); $object = new Java( "TestCase"); $result = java_values($object-> add ($hund,$ball) ); print_r($result); ?> Or do I need anything else???? Thanks in advance!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
From: <php...@li...> - 2009-04-21 10:54:51
|
maybe you should fix your java code first... its a bad idea to name your class "List" when you're importing at the same time the List Interface from java.util. You will probably get some visibility problems with that. next your method does not accept any parameters (at least not in the java code). how do you think php can then give it two parameters? Fix your java code first, write a testcase and then port that testcase to php using the bridge. 2009/4/21 <php...@li...> > Jost, > I tryed to add "v.addAll" to my javacode but it did not work . try/catch > did not help too much. I can invoke the method in php on the same way as it > were only an array,can't I?(with java_values and so on) > > > > > > > ------------------------------------------------------------------------------ > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
From: <php...@li...> - 2009-04-21 10:18:36
|
I think you've lost it. PHP Java objects can be inspected with echo java_inspect($jval), which reveals the java object's features with their parameters. But since you already know this from one of the last error message you've sent, I don't know how I can help. Regards, Jost Boekemeier Apr 21, 2009 11:58 vorm. schrieb am < php...@li...>: Jost, I tryed to add "v.addAll" to my javacode but it did not work . try/catch did not help too much. I can invoke the method in php on the same way as it were only an array,can't I?(with java_values and so on) ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2009-04-21 09:58:21
|
Jost, I tryed to add "v.addAll" to my javacode but it did not work . try/catch did not help too much. I can invoke the method in php on the same way as it were only an array,can't I?(with java_values and so on) |
From: <php...@li...> - 2009-04-21 09:40:30
|
Hello Jost, thank you very much for your advice. I've tried to put my class (ExampleFO2PDF.class) to /opt/coolstack/tomcat6/webapps/JavaBridge/WEB-INF/classes (since I'm running Tomcat port 8080), but still without success. I've still got error : java.lang.ClassNotFoundException:embedding.ExampleFO2PDF It seems, I have problem with the Java classes, I'm not expert in Java, hence I will learn, how to create/modify classes/classpath in Java, then I will try again this example. thank you for your help. Al --- On Mon, 4/20/09, php...@li... <php...@li...> wrote: From: php...@li... <php...@li...> Subject: Re: [Php-java-bridge-users] ExampleFO2PDF.java & PHP-Java-Bridge To: php...@li... Date: Monday, April 20, 2009, 3:16 AM Hi, If it is true that java emb.FPDF works, then it is also true that: java -jar JavaBridge.jar SERVLET:8090 3 jb.log & echo '<?php require("http://localhost:8090/JavaBridge/java/Java.inc");java("emb.FPDF")->main(array());?>' | php -dallow_url_include=On works. Everything else is guesswork. Please copy your classes to JavaBridge.war's WEB-INF/classes and your libraries to its WEB-INF/lib and re-deploy the modified JavaBridge.war. After that use the above PHP code to test (change the port nr to 8080 or whichever port your j2ee server listens on). There's a user-contributed video on our web site which shows how to work with tomcat: http://php-java-bridge.sourceforge.net/pjb/installation.php Regards, Jost Boekemeier Apr 20, 2009 11:17 vorm. schrieb am < php...@li...>: Hello, Thank you for your advice with the class FopFactory (I will try this later). What do you think about the following PHP script I've created ? www:root>vi ExampleFO2PDF.php ------------ <?php require_once('java/Java.inc'); $basedir = new Java("java.io.File", "."); $outdir = new Java("java.io.File", "out"); $outdir->mkdirs(); $fofile = new Java("java.io.File", $basedir, "InputFO2PDF.fo"); $pdffile = new Java("java.io.File", $outdir, "ResultFO2PDF.pdf"); echo "Input: ".$fofile->toString()."\n"; echo "Output: ".$pdffile->toString()."\n"; $myObject = new Java("embedding.ExampleFO2PDF"); $myObject->convertFO2PDF($fofile, $pdffile); ?> --------- When I run from command line: java embedding.ExampleFO2PDF it's OK: FOP ExampleFO2PDF Preparing... Input: XSL-FO (./xml/fo/helloworld.fo) Output: PDF (./out/ResultFO2PDF.pdf) Transforming... PageSequence <no id> generated 1 pages. PageSequence <no id> generated 1 pages. Generated 2 pages in total. Success! But when I send a request: http://myhost.com/embedding/ExampleFO2PDF.php I've got error in PHP error log: phperror.log --------- [17-Apr-2009 10:10:11] PHP Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: CreateInstance failed: new embedding.ExampleFO2PDF. Cause: java.lang.ClassNotFoundException: embedding.ExampleFO2PDF VM: 1.6.0_10@http://java.sun.com/" at: ---------- The class embedding.ExampleFO2PDF does exist, and is in the right place (in the directory $CLASSPATH). --- On Fri, 4/17/09, php...@li... < php...@li...> wrote: From: php...@li... < php...@li...> Subject: Re: [Php-java-bridge-users] ExampleFO2PDF.java & PHP-Java-Bridge To: php...@li... Date: Friday, April 17, 2009, 8:36 AM I don't think that tools exist which can translate a java example to PHP code. But since both langu... ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2009-04-21 08:42:23
|
1. If you surround yor php code with a try/catch, you can tell at which position the exception is thrown 2. You have called addList with two args, which caused this exception Apr 21, 2009 10:34 vorm. schrieb am < php...@li...>: If my javacode looks like this: import java.util.ArrayList; public class List { public ArrayList addList(){ ArrayList v = new ArrayList(); v.add("a"); v.add("b"); return v; } } Should I have in phpcode 2 times "java_values($object->addList)"??????????? ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2009-04-21 08:28:44
|
If my javacode looks like this: import java.util.ArrayList; public class List { public ArrayList addList(){ ArrayList v = new ArrayList(); v.add("a"); v.add("b"); return v; } } Should I have in phpcode 2 times "java_values($object->addList)"??????????? |
From: <php...@li...> - 2009-04-21 08:16:40
|
Probably because addList($str,$str) doesn't exist in your java code. Please see the error message for details. Regards, Jost Boekemeier Apr 21, 2009 9:55 vorm. schrieb am < php...@li...>: Hello, why do I get such an error message: root cause java.lang.RuntimeException: PHP Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke failed: [[o:List]]->addList([o:PhpParserString], [o:PhpParserString]). Cause: java.lang.NoSuchMethodException: addList([o:PhpParserString], [o:PhpParserString]). Candidates: [public java.util.ArrayList List.addList()] VM: 1.6.0_10@http://java.sun.com/" at: #-6 php.java.bridge.JavaBridge.checkM(JavaBridge.java:1119) #-5 php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1057) #-4 php.java.bridge.Request.handleRequest(Request.java:414) #-3 php.java.bridge.Request.handleRequests(Request.java:490) #-2 php.java.bridge.http.ContextRunner.run(ContextRunner.java:146) #-1 php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:60) #0 http://localhost:8081/Ordner/java/Java.inc(248): java_ThrowExceptionProxyFactory->getProxy(3, 'List', 'addList([o:PhpP...', true) #1 http://localhost:8081/Ordner/java/Java.inc(388): java_Arg->getResult(true) #2 http://localhost:8081/Ordner/java/Java.inc(394): java_Client->getWrappedResult(true) #3 http://localhost:8081/Ordner/java/Java.i in http://localhost:8081/Ordner/java/Java.inc on line 215 php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.parseBody(FastCGIServlet.java:484) php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.doExecute(FastCGIServlet.java:379) php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.execute(FastCGIServlet.java:387) php.java.servlet.CGIServlet.handle(CGIServlet.java:399) php.java.servlet.PhpCGIServlet.handle(PhpCGIServlet.java:382) php.java.servlet.CGIServlet.doGet(CGIServlet.java:469) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) I use the method "addList" in my Java code.... ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2009-04-21 07:54:45
|
Hello, why do I get such an error message: root cause java.lang.RuntimeException: PHP Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke failed: [[o:List]]->addList([o:PhpParserString], [o:PhpParserString]). Cause: java.lang.NoSuchMethodException: addList([o:PhpParserString], [o:PhpParserString]). Candidates: [public java.util.ArrayList List.addList()] VM: 1.6.0_10@http://java.sun.com/" at: #-6 php.java.bridge.JavaBridge.checkM(JavaBridge.java:1119) #-5 php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1057) #-4 php.java.bridge.Request.handleRequest(Request.java:414) #-3 php.java.bridge.Request.handleRequests(Request.java:490) #-2 php.java.bridge.http.ContextRunner.run(ContextRunner.java:146) #-1 php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:60) #0 http://localhost:8081/Ordner/java/Java.inc(248): java_ThrowExceptionProxyFactory->getProxy(3, 'List', 'addList([o:PhpP...', true) #1 http://localhost:8081/Ordner/java/Java.inc(388): java_Arg->getResult(true) #2 http://localhost:8081/Ordner/java/Java.inc(394): java_Client->getWrappedResult(true) #3 http://localhost:8081/Ordner/java/Java.i in http://localhost:8081/Ordner/java/Java.inc on line 215 php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.parseBody(FastCGIServlet.java:484) php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.doExecute(FastCGIServlet.java:379) php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.execute(FastCGIServlet.java:387) php.java.servlet.CGIServlet.handle(CGIServlet.java:399) php.java.servlet.PhpCGIServlet.handle(PhpCGIServlet.java:382) php.java.servlet.CGIServlet.doGet(CGIServlet.java:469) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) I use the method "addList" in my Java code.... |