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...> - 2007-08-24 15:24:23
|
Hi, > version 4.1.8 with PHP 5.2.0. It appears that an updated version of > PHP 5 will be needed to install and run v. 4.1.8 (PHP 5.2.2). the API function that is used to compile the Java.inc PHP code to PHP byte code, "zend_compile_string()", was not available in earlier versions of PHP 5. > However > I was able to compile PHP/Java Bridge version 4.1.7 for PHP 5.2.0 Earlier versions of the PHP/Java Bridge used to use an extension, coded in C. We have dropped this C extension in favor of a pure PHP implementation which runs on any platform. The only disadvantage of the pure PHP implementation is that the Java VM doesn't start automatically with the Apache or IIS server. One needs to start an external Java VM as described in IBM's tutorial: http://www.ibm.com/developerworks/aix/library/au-javaphpaix5/ Regards, Jost Boekemeier ________ Yahoo! Clever: Stellen Sie Fragen und finden Sie Antworten. Teilen Sie Ihr Wissen. www.yahoo.de/clever |
From: <php...@li...> - 2007-08-24 13:22:15
|
Hello all, :) I need a php-java-bridge package for debian sarge and can not find a deb for sarge. Where can I get it? Can someone help? tia stefan |
From: <php...@li...> - 2007-08-24 12:54:50
|
Hello Ferran, I had that same issue when trying to install the PHP/JAVA bridge version 4.1.8 with PHP 5.2.0. It appears that an updated version of PHP 5 will be needed to install and run v. 4.1.8 (PHP 5.2.2). However I was able to compile PHP/Java Bridge version 4.1.7 for PHP 5.2.0 following the instructions provided in the binary README file. On Aug 22, 2007, at 12:42 PM, php-java-bridge-users- re...@li... wrote: > Ferran. |
From: <php...@li...> - 2007-08-22 17:47:40
|
Hi Ferran, [php_java.dll] > Sorry, as you said it's no a PHP extension, php_java.dll is part of the PECL extension that was an experiment to test the RPC extension. IMHO that code will vanish in one of the next releases. > I think that I will Integrate PHP into Tomcat Yes, using tomcat as the Apache or IIS back-end is the best option. In previous releases we've had another option which started a persistent Java process as a sub component of Apache or IIS. This is still available to those who know how to compile C code (Linux, Solaris, ... users). But it is difficult to pass Java options when the JVM is started as a sub process. Regards, Jost Boekemeier __________________________________ Kennt man wirklich jeden über 3 Ecken? Die Antworten gibt's bei Yahoo! Clever. www.yahoo.de/clever |
From: <php...@li...> - 2007-08-22 17:47:21
|
Hi Ferran, [php_java.dll] > Sorry, as you said it's no a PHP extension, php_java.dll is part of the PECL extension that was an experiment to test the RPC extension. IMHO that code will vanish in one of the next releases. > I think that I will Integrate PHP into Tomcat Yes, using tomcat as the Apache or IIS back-end is the best option. In previous releases we've had another option which started a persistent Java process as a sub component of Apache or IIS. This is still available to those who know how to compile C code (Linux, Solaris, ... users). But it is difficult to pass Java options when the JVM is started as a sub process. Regards, Jost Boekemeier Jetzt Mails schnell in einem Vorschaufenster überfliegen. Dies und viel mehr bietet das neue Yahoo! Mail - www.yahoo.de/mail |
From: <php...@li...> - 2007-08-22 16:42:41
|
Hi again, Jost.=0A=0ASorry, as you said it's no a PHP extension, php_java.d= ll is part of the PECL extension, as described here http://es.php.net/manua= l/en/ref.java.php. Don't worry, I think that I will Integrate PHP into Tomc= at (I did it some time....).=0A=0AThank's again=0A=0ARegards,=0A=0AFerran.= =0A=0A----- Original Message ----=0AFrom: "php...@li...= ceforge.net" <php...@li...>=0ATo: php-java-b= rid...@li...=0ASent: Wednesday, August 22, 2007 1:55:5= 4 PM=0ASubject: Re: [Php-java-bridge-users] Unable to install Java Bridge o= n Win XP/Apache 2.2.3/PHP 5.2.0=0A=0AHi Ferran,=0A=0A> I would ask you one = more thing. I've read that the module extension bundled with PHP 5.2 it's i= n=0A> beta release=0A=0Athat's a misunderstanding. There is no module exten= sion bundled with PHP 5.2. =0A=0AWhich PHP documentation do you mean? The d= ocumentation for PHP 4.3.0? The ext/java module=0Amentioned there is defunc= t; that code didn't really work on any operating system.=0A=0A=0ARegards,= =0AJost Boekemeier=0A=0A=0A=0A Heute schon einen Blick in die Zukunft = von E-Mails wagen? www.yahoo.de/mail=0A=0A---------------------------------= ----------------------------------------=0AThis SF.net email is sponsored b= y: Splunk Inc.=0AStill grepping through log files to find problems? Stop.= =0ANow Search log events and configuration files using AJAX and a browser.= =0ADownload your FREE copy of Splunk now >> http://get.splunk.com/=0A_____= __________________________________________=0Aphp-java-bridge-users mailing = lis...@li...=0Ahttps://lists.sourcefo= rge.net/lists/listinfo/php-java-bridge-users=0A=0A=0A=0A=0A=0A=0A=0A = =0A________________________________________________________________________= ____________=0AMoody friends. Drama queens. Your life? Nope! - their life, = your story. Play Sims Stories at Yahoo! Games.=0Ahttp://sims.yahoo.com/ |
From: <php...@li...> - 2007-08-22 11:56:00
|
Hi Ferran, > I would ask you one more thing. I've read that the module extension bundled with PHP 5.2 it's in > beta release that's a misunderstanding. There is no module extension bundled with PHP 5.2. Which PHP documentation do you mean? The documentation for PHP 4.3.0? The ext/java module mentioned there is defunct; that code didn't really work on any operating system. Regards, Jost Boekemeier Heute schon einen Blick in die Zukunft von E-Mails wagen? www.yahoo.de/mail |
From: <php...@li...> - 2007-08-22 07:04:57
|
Thank's again Jost,=0A=0AI would ask you one more thing. I've read that the= module extension bundled with PHP 5.2 it's in beta release (as it mentione= d on the php website) and it's also unestable. Because of this, I would try= the php/java bridge because I've read on some web that is more stable than= t the PHP itsealf.=0A=0A=BFI'm wrong?.=0A=0AThank's again for your help,=0A= =0AFerran.=0A=0A----- Original Message ----=0AFrom: "php-java-bridge-users@= lists.sourceforge.net" <php...@li...>=0ATo: = php...@li...=0ASent: Tuesday, August 21, 200= 7 8:29:35 PM=0ASubject: Re: [Php-java-bridge-users] Unable to install Java = Bridge on Win XP/Apache 2.2.3/PHP 5.2.0=0A=0AHi,=0A=0Athe install document = you've mentioned is for older PHP versions. =0A=0ASince PHP 6 (or 5.2), PHP= contains everything necessary to communicate with java; you don't need=0Aa= n extension anymore. You do need Java up and running, though.=0A=0A=0ARegar= ds,=0AJost Boekemeier=0A=0A=0A=0A Heute schon einen Blick in die Zukun= ft von E-Mails wagen? Versuchen Sie=B4s mit dem neuen Yahoo! Mail. www.yaho= o.de/mail=0A=0A------------------------------------------------------------= -------------=0AThis SF.net email is sponsored by: Splunk Inc.=0AStill grep= ping through log files to find problems? Stop.=0ANow Search log events and= configuration files using AJAX and a browser.=0ADownload your FREE copy of= Splunk now >> http://get.splunk.com/=0A__________________________________= _____________=0Aphp-java-bridge-users mailing list=0Aphp-java-bridge-users@= lists.sourceforge.net=0Ahttps://lists.sourceforge.net/lists/listinfo/php-ja= va-bridge-users=0A=0A=0A=0A=0A=0A=0A=0A ______________________________= ______________________________________________________=0APark yourself in f= ront of a world of choices in alternative vehicles. Visit the Yahoo! Auto G= reen Center.=0Ahttp://autos.yahoo.com/green_center/ |
From: <php...@li...> - 2007-08-21 18:29:41
|
Hi, the install document you've mentioned is for older PHP versions. Since PHP 6 (or 5.2), PHP contains everything necessary to communicate with java; you don't need an extension anymore. You do need Java up and running, though. Regards, Jost Boekemeier Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail. www.yahoo.de/mail |
From: <php...@li...> - 2007-08-21 17:33:24
|
Hi Jost,=0A=0AThank's for your reply. I follow the instructions I've mentio= ned, because that link (http://www.dsl.uow.edu.au/~sk33/php5java.htm) is on= e of the Examples and Case Studies of the php-java-bridge website (http://p= hp-java-bridge.sourceforge.net/pjb/examples.php). If you click into Updated= PHP/Java Bridge installation and examples for Win 32, the browser shows th= e page already mentioned.=0A=0AI will try to install following the instruc= tions taht are part of the PHP/Java Bridge, but seem's a little confused.= =0A=0AThank's and sorry about my English,=0A=0AGreetings from Barcelona,=0A= =0AFerran.=0A=0A----- Original Message ----=0AFrom: "php-java-bridge-users@= lists.sourceforge.net" <php...@li...>=0ATo: = php...@li...=0ASent: Monday, August 20, 2007= 6:48:04 PM=0ASubject: Re: [Php-java-bridge-users] Unable to install Java B= ridge on Win XP/Apache 2.2.3/PHP 5.2.0=0A=0AHi Ferran,=0A=0A> I've follow t= he instructions on http://www.dsl.uow.edu.au/~sk33/php5java.htm but seem's = it=0A> doesn't work.=0A=0Aisn't it possible to follow the instructions that= are part of the PHP/Java Bridge binary download=0Ainstead?=0A=0AHowever, s= uggestions how to improve our documentation are always welcome.=0A=0A=0AReg= ards,=0AJost Boekemeier=0A=0A=0A=0A __________________________________= =0AKennt man wirklich jeden =FCber 3 Ecken? Die Antworten gibt's bei Yaho= o! Clever. www.yahoo.de/clever=0A=0A---------------------------------------= ----------------------------------=0AThis SF.net email is sponsored by: Spl= unk Inc.=0AStill grepping through log files to find problems? Stop.=0ANow = Search log events and configuration files using AJAX and a browser.=0ADownl= oad your FREE copy of Splunk now >> http://get.splunk.com/=0A_____________= __________________________________=0Aphp-java-bridge-users mailing list=0Ap= hp-...@li...=0Ahttps://lists.sourceforge.net/= lists/listinfo/php-java-bridge-users=0A=0A=0A=0A=0A=0A=0A=0A =0A_____= ___________________________________________________________________________= ____=0APinpoint customers who are looking for what you sell. =0Ahttp://sear= chmarketing.yahoo.com/ |
From: <php...@li...> - 2007-08-20 16:48:11
|
Hi Ferran, > I've follow the instructions on http://www.dsl.uow.edu.au/~sk33/php5java.htm but seem's it > doesn't work. isn't it possible to follow the instructions that are part of the PHP/Java Bridge binary download instead? However, suggestions how to improve our documentation are always welcome. Regards, Jost Boekemeier __________________________________ Kennt man wirklich jeden über 3 Ecken? Die Antworten gibt's bei Yahoo! Clever. www.yahoo.de/clever |
From: <php...@li...> - 2007-08-20 11:11:16
|
Hi all!=0A=0AI'm new on this mailing list and, of course, on the java bridg= e interface. I've tried to install and configure it on Windows XP Pro, Apac= he 2.2.3 and PHP 5.2.0 but it doesn't work. If I take a look at the Apache = error log, I can see that: "PHP Warning: PHP Startup: java: Unable to init= ialize module\nModule compiled with module API=3D20050922, debug=3D0, threa= d-safety=3D1\nPHP compiled with module API=3D20060613, debug=3D0, thread= -safety=3D1\nThese options need to match\n in Unknown on line 0".=0A=0AI've= follow the instructions on http://www.dsl.uow.edu.au/~sk33/php5java.htm bu= t seem's it doesn't work.=0A=0AAny suggestions?=0A=0AThank's in advice,=0A= =0AFerran.=0A=0A=0A=0A=0A =0A________________________________________= ____________________________________________=0ASick sense of humor? Visit Y= ahoo! TV's =0AComedy with an Edge to see what's on, when. =0Ahttp://tv.yaho= o.com/collections/222 |
From: <php...@li...> - 2007-08-16 19:23:15
|
Hi Jost, src.zip from the current 4.2 download. However, I've just had another look at the sources, and I can't find any inconsistency anymore. I apologize. Moreover, that update process of mine had succeeded in the meantime (there had been other old Java Bridge JARs in the CLASSPATH, which caused the problems, apart from JavaBridge.jar itself, which, before, I had replaced, exclusively). Like you've mentioned, the webs will run with local dependencies on the Java Bridge, only, and they do, indeed. Thank you sincerely for providing and supporting PHP/Java Bridge. Getting really good software and support - and for free - is not a matter of course. I'm most thankful for that. Robert php...@li... wrote: > Hi, > > >> Actually, please look at the sources you've deployed, and if they would >> compile. >> > > Which sources? The sources from the CVS head or the src.zip from the download? > > > Regards, > Jost Boekemeier > > > > Heute schon einen Blick in die Zukunft von E-Mails wagen? www.yahoo.de/mail > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > > |
From: <php...@li...> - 2007-08-16 18:51:41
|
Hi again, > Now , I used C source 3.2.1 can run well with php5.2.3 and Zend optimize, but C source 4.1.8 > cannot. It may make sense to send a bug report to zend, if the Zend optimizer has problems with the PHP code. Regards, Jost Boekemeier __________________________________ Yahoo! Clever - Der einfachste Weg, Fragen zu stellen und Wissenswertes mit Anderen zu teilen. www.yahoo.de/clever |
From: <php...@li...> - 2007-08-16 18:46:30
|
Hi again, > In one of the next versions we will include the classloader in the output, so that the > error message will read: the log of the back end already contains enough information. When running in a J2EE server, this problem won't appear. And including the instance# of the dynamic class loader to the output will be more confusing than what we have now. Thus I will not change anything. These class loader related issues are common Java problems. And it is not the PHP/Java Bridge's job to workaround these Java platform specific problems. Regards, Jost Boekemeier Wissenswertes zum Thema PC, Zubehör oder Programme. BE A BETTER INTERNET-GURU! www.yahoo.de/clever |
From: <php...@li...> - 2007-08-16 10:14:40
|
Hi, > Actually, please look at the sources you've deployed, and if they would > compile. Which sources? The sources from the CVS head or the src.zip from the download? Regards, Jost Boekemeier Heute schon einen Blick in die Zukunft von E-Mails wagen? www.yahoo.de/mail |
From: <php...@li...> - 2007-08-16 10:10:22
|
Hi, > java version "1.6.0_02" > java.lang.RuntimeException: java.lang.NoClassDefFoundError: > sun/nio/cs/ext/HKSCS if I understand this correctly, this was a bug in JDK1.6 ("Mustang"). => http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6266592 However, fop.jar depends on external libraries, so you can't convert them to pure PHP code, anyway. Please use java_require(fop.jar;dependency1.jar;dependency2.jar;...) and the low-level interface, e.g. new java("...") instead. Regards, Jost Boekemeier Wissenswertes für Bastler und Hobby Handwerker. BE A BETTER HEIMWERKER! www.yahoo.de/clever |
From: <php...@li...> - 2007-08-16 10:04:24
|
Hi, you're right that the error message is confusing. You will get more information if you raise the log level. > [[o:PDDocument]]->protect((o:ProtectionPolicy)[o:StandardProtectionPolicy]). > Cause: java.lang.IllegalArgumentException In one of the next versions we will include the classloader in the output, so that the error message will read: [[o:PDDocument]]->protect((o:ProtectionPolicy@CL1)[o:StandardProtectionPolicy@CL2]) The problem is that StandardProtectionPolicy is assignment-incompatible to ProtectionPolicy. Please re-read the "java platform issues" and the "class loading" section from the readme and change the java_require() call so that it includes all interconnected libraries. Regards, Jost Boekemeier P.S.: The code I've tested is: <?php require_once("http://127.0.0.1:8080/JavaBridge/java/Java.inc"); $here=realpath(dirname($_SERVER["SCRIPT_FILENAME"])); if(!$here) $here=getcwd(); java_require("$here/PDFBox-0.7.3.jar;$here/bcprov-jdk15-137.jar;$here/bcmail-jdk15-137.jar"); $ap = new Java("org.pdfbox.pdmodel.encryption.AccessPermission"); $ap->setCanModify(false); $oDoc = new Java("org.pdfbox.pdmodel.PDDocument"); $oProtect = new Java("org.pdfbox.pdmodel.encryption.StandardProtectionPolicy","test","test",$ap); $doc = $oDoc->load( "$here/test.pdf"); $doc->protect($oProtect); ?> __________________________________ Yahoo! Clever: Sie haben Fragen? Yahoo! Nutzer antworten Ihnen. www.yahoo.de/clever |
From: <php...@li...> - 2007-08-16 09:29:49
|
Thanks and sorry. On another computer it works, thus, it works, in general. Robert php...@li... wrote: > Hi, > > [use of CLASSPATH results in NoClassDefFoundError and friends...] > >> - How should I proceed? >> > > Well, simply nuke the CLASSPATH and use a single repository. The PHP/Java Bridge offers this > as the default, please see the README for details. > > > Regards, > Jost Boekemeier > > > > __________________________________ > Yahoo! Clever: Sie haben Fragen? Yahoo! Nutzer antworten Ihnen. www.yahoo.de/clever > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > > |
From: <php...@li...> - 2007-08-16 07:53:07
|
> > Hi, > > >> > is it possible to get the FOP converted into php only code? >> > > assuming that the fop library doesn't depend on external libraries and that it can be compiled > into native code (using gcc4), yes, this should be possible. -- Even if gcc is not able to compile > the jar file into a native fop.so library, it should still be able to interpret the jar file using > the byte code interpreter built into libgcj. > > Which error message do you get? > http://www.heise.de/foren/go.shtml?read=1&msg_id=13283448&forum_id=44547 In that thread you can see the error i got. > > Regards, > Jost Boekemeier > -- *mark buss* technik *first target media gmbh* tel. : +49 (0)511 307 608 84 fax: +49 (0)511 307 608 99 mobil: +49 (0)171 855 411 7 bu...@fi... <mailto:bu...@fi...> http://www.firsttarget.de *Besuchen Sie uns auf der OMD 2007 am 25./26. September in Düsseldorf | Halle 10 / Stand J06* first target media gmbh | lavesstrasse 80 | 30159 hannover firma: first target media gmbh - sitz: hannover registergericht: amtsgericht hannover, hrb 200779 geschäftsführer: hans-georg albert |
From: <php...@li...> - 2007-08-15 19:35:14
|
Hi Jost, thanks for your reply. I already made sure three times anything in the CLASSPATH is OK. Else I wouldn't have posted. Actually, please look at the sources you've deployed, and if they would compile. As for version 4.2.2, they will not - as there's that inconsistency between a distinct method call, and signature ( ContextServer.getCredentials()) , I've mentionend in my previous post. - The sources won't compile, and the binaries (don't know how they have been compiled) throw the appropriate error. Please take a deep breath and look into this. Thanks again, and best regards Robert php...@li... wrote: > Hi, > > [use of CLASSPATH results in NoClassDefFoundError and friends...] > >> - How should I proceed? >> > > Well, simply nuke the CLASSPATH and use a single repository. The PHP/Java Bridge offers this > as the default, please see the README for details. > > > Regards, > Jost Boekemeier > > > > __________________________________ > Yahoo! Clever: Sie haben Fragen? Yahoo! Nutzer antworten Ihnen. www.yahoo.de/clever > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > > |
From: <php...@li...> - 2007-08-15 18:55:59
|
Hi, > // trying to create 3-element String[] in PHP4 ah, PHP4. Sorry, but there's no way to do this in PHP4, as this PHP version destroys object identity. -- It's a problem with PHP4's object system. You must write a wrapper Java class that does what you want and call that. Regards, Jost Boekemeier Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail. www.yahoo.de/mail |
From: <php...@li...> - 2007-08-15 18:52:00
|
Hi, [use of CLASSPATH results in NoClassDefFoundError and friends...] > - How should I proceed? Well, simply nuke the CLASSPATH and use a single repository. The PHP/Java Bridge offers this as the default, please see the README for details. Regards, Jost Boekemeier __________________________________ Yahoo! Clever: Sie haben Fragen? Yahoo! Nutzer antworten Ihnen. www.yahoo.de/clever |
From: <php...@li...> - 2007-08-15 16:21:13
|
Hi, I'm trying to upgrade JavaBridge in existing web apps (though this fact may not be a criteria for the problems arising). I've downloaded the current 4.2, resp. 3.2, version, extracted JavaBridge.war and copied its contents into the web app. Aditionally, I copied JavaBridge.jar to the CLASSPATH (jre/lib/ext in this case, which is the only CLASSPATH). There is no JavaBridge.jar in Tomcat's /common/lib, and JavaBridge.jar in ext and in /WEB-INF/lib are equal. OK, with 4.2, I'm getting the follow error: 2007-08-15 17:55:03,257 [http-80-Processor23] ERROR php.java.bridge.JavaBridge - JavaBridge exception java.lang.NoSuchMethodError: php.java.bridge.http.ContextServer.getCredentials(Ljava/lang/String;Ljava/lang/String;)Lphp/java/bridge/http/ContextFactory$ICredentials; at php.java.servlet.PhpJavaServlet.handleSocketConnection(PhpJavaServlet.java:270) at php.java.servlet.PhpJavaServlet.doPut(PhpJavaServlet.java:333) at javax.servlet.http.HttpServlet.service(HttpServlet.java:730) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) ... Looking at the sources, the error occurs in PhpJavaServlet.java, in line 212. And right, ContextServer.java contains a different signature of getCredentials(). With 3.2, there is another error: (BTW, JavaBridge.war, when deployed, throws the same error on load.) java.lang.NoClassDefFoundError: php/java/bridge/Util$Thread java.lang.ClassLoader.defineClass1(Native Method) java.lang.ClassLoader.defineClass(ClassLoader.java:620) java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) java.net.URLClassLoader.defineClass(URLClassLoader.java:260) java.net.URLClassLoader.access$100(URLClassLoader.java:56) java.net.URLClassLoader$1.run(URLClassLoader.java:195) java.security.AccessController.doPrivileged(Native Method) java.net.URLClassLoader.findClass(URLClassLoader.java:188) java.lang.ClassLoader.loadClass(ClassLoader.java:306) java.lang.ClassLoader.loadClass(ClassLoader.java:251) java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) php.java.servlet.fastcgi.FastCGIServlet.init(FastCGIServlet.java:248) php.java.servlet.PhpCGIServlet.init(PhpCGIServlet.java:103) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) ... Looking at the classes contained by JavaBridge.jar, there is no such class, indeed. - How should I proceed? Thanks Robert |
From: <php...@li...> - 2007-08-15 15:41:37
|
I tried that, but it doesn't work. $array will wind up as a php array with $count elements: // trying to create 3-element String[] in PHP4 $Array = new JavaClass("java.lang.reflect.Array"); $String = new JavaClass("java.lang.String"); $javaArr = $Array->newInstance($String, 3); var_dump($javaArr); Output: array(3) { [0]=> NULL [1]=> NULL [2]=> NULL } Michael. > -----Original Message----- > From: php...@li... [mailto:php- > jav...@li...] On Behalf Of php-java- > bri...@li... > Sent: Wednesday, August 15, 2007 5:00 AM > To: php...@li... > Subject: Re: [Php-java-bridge-users] coerce sub-array as Java array > > Why don't you create a string array explicitly, for example by using > java.reflect.Array? > > The code would look like this: > > $array = java("java.reflect.Array")- > >newInstance(java("java.lang.String"), $count); > > Please see the documentation for details: http://php-java- > bridge.sourceforge.net/pjb/extension_mappings.php > > > __________________________________ > Alles was der Gesundheit und Entspannung dient. BE A BETTER MEDIZINMANN! > www.yahoo.de/clever > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |