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
(1) |
|
3
|
4
(2) |
5
(3) |
6
(1) |
7
|
8
(3) |
9
|
|
10
(1) |
11
|
12
|
13
(4) |
14
(6) |
15
(3) |
16
(4) |
|
17
(1) |
18
(6) |
19
(2) |
20
(7) |
21
(7) |
22
(1) |
23
(2) |
|
24
|
25
(1) |
26
|
27
(2) |
28
(1) |
29
|
30
(1) |
|
From: <php...@li...> - 2007-06-20 20:30:19
|
Thanks Jost for your email.
I guess we have not set up our cluster correclty for the =
php-java-bridge? We do have other applications that do not use php, =
those work correctly in the cluster. But the one that uses the =
php-java-bridge do not.Just the invocations to the php-java side does =
not seem to be working. I finally have been able to get an exception:
Fatal error: php_mod_java(88): Protocol violation at pos 155 while =
trying to connect to 127.0.0.1:80(/JavaBridge/test.phpjavabridge). =
Please check that the back-end (JavaBride.war) is deployed or please =
switch off the java.servlet option. Received bytes: HTTP/1.1 500 =
Internal Server Error??Date: Wed, 20 Jun 2007 20:14:17 =
GMT??Content-Type: text/html;charset=3Dutf-8??Content-Length: =
1593??Connection: close????<html><head><title>Apache Tomcat/5.5.17 - =
Error report</title><style><!--H1 =
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76=
;font-size:22px;} H2 =
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76=
;font-size:16px;} H3 =
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76=
;font-size:14px;} BODY =
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}=
B =
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76=
;} P =
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-si=
ze:12px;}A {color : black;}A.name {color in =
E:\Tomcat5.5_2\webapps\JavaBridge\test.php on line 37
Does this sounds familiar to you or anyone?=20
Please let me know if you would like me to provide any other =
configuration information.
Thank you very much in advance.
|
|
From: <php...@li...> - 2007-06-20 14:43:40
|
Well, even in other examples where I have everything spelled correctly, I still get this problem. It seems that I have to completely restart Apache before it'll find any new Java methods but even then, it doesn't find certain methods in my Java classes. Is this always true though, where I have to restart Apache to allow the php-java-bridge to find any newly added Java methods? Is this the same for running the Java side in it's own VM via tomcat? Thanks, Jim On Jun 20, 2007, at 7:09 AM, php-java-bridge-users- re...@li... wrote: > Send php-java-bridge-users mailing list submissions to > php...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > or, via email, send a message with subject or body 'help' to > php...@li... > > You can reach the person managing the list at > php...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of php-java-bridge-users digest..." > > > Today's Topics: > > 1. Re: Windows Extension > (php...@li...) > 2. Re: jboss/tomcat, JavaBridge.war, log4j configuration reset > (php...@li...) > 3. Re: MySQL Connection (php-java-bridge- > us...@li...) > 4. Re: Protocol Invalid Document End error > (php...@li...) > 5. php-java-bridge and tomcat cluster > (php...@li...) > 6. Re: php-java-bridge and tomcat cluster > (php...@li...) > 7. Troubles calling a simple Java app > (php...@li...) > 8. Re: Troubles calling a simple Java app > (php...@li...) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 18 Jun 2007 14:07:44 +0200 (CEST) > From: php...@li... > Subject: Re: [Php-java-bridge-users] Windows Extension > To: php...@li..., > php...@li... > Message-ID: <880...@we...> > Content-Type: text/plain; charset=iso-8859-1 > > Hi Benjamin, > >> I used an older version of the bridge with >> php_java.dll under windows. > > The php_java.dll and java.so is available in the > legacy download. Since PHP version 5.1.4 these are not > needed anymore. > > >> I have to recompile the bridge extension > > You may compile a php_java.dll on windows (if you know > how to do this and if you have the right tools). But > you don't need to. > > >> , but I don't how how. > > Use the pure PHP implementation, then. > > > Regards, > Jost Boekemeier > > > __________________________________________________ > Do You Yahoo!? > Sie sind Spam leid? Yahoo! Mail verf?gt ?ber einen herausragenden > Schutz gegen Massenmails. > http://mail.yahoo.com > > > > ------------------------------ > > Message: 2 > Date: Mon, 18 Jun 2007 14:09:25 +0200 (CEST) > From: php...@li... > Subject: Re: [Php-java-bridge-users] jboss/tomcat, JavaBridge.war, > log4j configuration reset > To: php...@li... > Message-ID: <141...@we...> > Content-Type: text/plain; charset=iso-8859-1 > > Hi, > > I agree that this behaviour is annoying. We will > change this in version 4.1.3. > > > Regards, > Jost Boekemeier > > > > > ___________________________________________________________ > Telefonate ohne weitere Kosten vom PC zum PC: http:// > messenger.yahoo.de > > > > ------------------------------ > > Message: 3 > Date: Mon, 18 Jun 2007 14:13:43 +0200 (CEST) > From: php...@li... > Subject: Re: [Php-java-bridge-users] MySQL Connection > To: php...@li... > Message-ID: <473...@we...> > Content-Type: text/plain; charset=iso-8859-1 > > Hi, > >> Except that that the php-info example and the >> existing PHP web application which heavily depend on >> using MySQL are signaling that the MySQL extention >> is not included in the compilation and therefore no >> MySQL statements are processed. > > This has been fixed in version 4.1.2. Please use this > version instead. > > The bridge contains a php.exe and a php.ini file in > the WEB-INF/cgi directory. In previous versions the > system php executable used to read the local php.ini, > even though the option prefer_system_php_exec is set > to On in the web-inf/web.xml. > > As a immediate workaround please delete the php.ini > from the WEB-INF/web.xml directory. > > > Regards, > Jost Boekemeier > > > > > ___________________________________________________________ > Telefonate ohne weitere Kosten vom PC zum PC: http:// > messenger.yahoo.de > > > > ------------------------------ > > Message: 4 > Date: Mon, 18 Jun 2007 10:14:07 -0600 > From: php...@li... > Subject: Re: [Php-java-bridge-users] Protocol Invalid Document End > error > To: <php...@li...> > Message-ID: <BAY...@ph...> > Content-Type: text/plain; charset="iso-8859-1" > > I was using 4.1.0aI have updated to 4.1.2, and it appears to have > fixed the problemThanks for your help> Date: Sat, 16 Jun 2007 > 10:41:54 +0200> To: php...@li...> > From: php...@li...> Subject: Re: > [Php-java-bridge-users] Protocol Invalid Document End error> > Hi,> > > > java_require() not allowed for the HTTP Tunnel. Use> > a > context runner instead.> > which version of the PHP/Java Bridge do > you use?> The latest stable version is version 3.2.1.> > > > Regards,> Jost Boekemeier> > > > __________________________________________________> Do You Yahoo!?> > Sie sind Spam leid? Yahoo! Mail verf?gt ?ber einen herausragenden > Schutz gegen Massenmails. > http://mail.yahoo.com > > > ---------------------------------------------------------------------- > ---> 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 > _________________________________________________________________ > Explore the seven wonders of the world > http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en- > US&form=QBRE > > ------------------------------ > > Message: 5 > Date: Mon, 18 Jun 2007 16:56:27 -0400 > From: php...@li... > Subject: [Php-java-bridge-users] php-java-bridge and tomcat cluster > To: <php...@li...> > Message-ID: > <072...@sw...> > Content-Type: text/plain; charset="iso-8859-1" > > Hi, > > There is something you could possibly help us with. We have a > cluster with two machines that have (tomcat 5.5.17), jdk1.5.0_06 > and php 5.1.2 each. Our web application uses php-java-bridge. We > have noticed a weird behavior though. When both instances of tomcat > are running within 15 to 30 min one of the tomcat instances stops > responding and a browser window where we are accessing our php > application blacks out. Has anyone experience a similar problem? We > have not found exception in the log files, so we have no clue what > could be going on. Please let me know if you need me to provide > more information to help me find out what could be causing the > failure in the tomcat cluster. > > Thank you very much in advance. > > > ------------------------------ > > Message: 6 > Date: Tue, 19 Jun 2007 10:52:07 +0200 (CEST) > From: php...@li... > Subject: Re: [Php-java-bridge-users] php-java-bridge and tomcat > cluster > To: php...@li... > Message-ID: <984...@we...> > Content-Type: text/plain; charset=iso-8859-1 > > Hi, > > I assume your setup is like this: > > http://www.onjava.com/pub/a/onjava/2004/03/31/clustering.html > > If I understand this correctly, the management node > must detect the failure of one of the cluster nodes > and switch it off. > > I haven't tested the bridge in a cluster environment > (we should do this, though); the bridge is a standard > web application so that the operation mode of the J2EE > environment should be completely transparent. > > Which cluster algorithm do you use? Do you use > sessions? How do you store the sessions? > > > Regards, > Jost Boekemeier > > > __________________________________________________ > Do You Yahoo!? > Sie sind Spam leid? Yahoo! Mail verf?gt ?ber einen herausragenden > Schutz gegen Massenmails. > http://mail.yahoo.com > > > > ------------------------------ > > Message: 7 > Date: Tue, 19 Jun 2007 13:14:19 -0400 > From: php...@li... > Subject: [Php-java-bridge-users] Troubles calling a simple Java app > To: php...@li... > Message-ID: <E1F...@e-...> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > I am new to the php-java-bridge and am experimenting with it. There > is probably something obvious that I am not seeing, but I cannot get > a simple example Java to PHP application bridge working. I used the > latest Debian packages which are using version 4.0.8a of the php-java- > bridge. I can see via phpinfo() that php-java-bridge is installed and > running via Apache2.2 right now. The following application works fine > (I got it from the examples page): > > Java: > > public class HelloWorld { > private String hw = "Hello World"; > > public String getHelloWorld() { > return hw; > } > } > > PHP: > > <?php > > java_require('http://192.168.1.128/java/HelloWorld.jar'); > $myObj = new Java('HelloWorld'); > > // display Hello World > echo (String) $myObj->getHelloWorld(); > > ?> > > > However, if I change the Java and PHP to the following, then I get > the following exception output: > > Hello World > Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke > failed: [[o:HelloWorld]]->setHellowWorld([o:PhpParserString]). Cause: > java.lang.NoSuchMethodException: setHellowWorld([o:PhpParserString]). > Candidates: [] Responsible VM: 1.5.0_11@http://java.sun.com/" at: #-5 > php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1106) #-4 > php.java.bridge.Request.handleRequest(Request.java:342) #-3 > php.java.bridge.Request.handleRequests(Request.java:388) #0 [internal > function]: Java->__call('setHellowWorld', Array) #1 /home/jhodapp/ > projects/java_bridge/HelloWorld.php(9): Java->setHellowWorld('Hello > world, on...') #2 {main}] thrown in /home/jhodapp/projects/ > java_bridge/HelloWorld.php on line 9 > > > Changed Java (throws exception): > > public class HelloWorld { > private String hw = "Hello World"; > > public String getHelloWorld() { > return hw; > } > > public void setHelloWorld(String incoming) { > hw = incoming; > } > } > > Changed PHP (throws exception): > > <?php > > java_require('http://192.168.1.128/java/HelloWorld.jar'); > $myObj = new Java('HelloWorld'); > > // display Hello World > echo (String) $myObj->getHelloWorld(); > > $myObj->setHellowWorld((String) "Hello world, once again."); > > ?> > > > Once I add my own method in the Java source, it no longer seems to > work. I'm compiling this via "javac HelloWorld.java" and making a jar > via: "jar cvf HelloWorld.jar HelloWorld.class" > > Is there something wrong with my setup? The site seems to be good at > helping you get setup with php-java-bridge for your OS environment, > but lacks good documentation from that point. > > Thanks, > > Jim Hodapp > > > ------------------------------ > > Message: 8 > Date: Wed, 20 Jun 2007 07:07:20 -0400 > From: php...@li... > Subject: Re: [Php-java-bridge-users] Troubles calling a simple Java > app > To: php...@li... > Message-ID: > <215...@CH...> > Content-Type: text/plain; charset="iso-8859-1" > > Umm, you just spelled your method name wrong: > > public void setHelloWorld(String incoming) { > hw = incoming; > } > > Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke > failed: [[o:HelloWorld]]->setHellowWorld([o:PhpParserString]). Cause: > java.lang.NoSuchMethodException: setHellowWorld([o:PhpParserString]). > Candidates: [] Responsible VM: 1.5.0_11@http://java.sun.com/ > <http://java.sun.com/> " at: #-5 > > There's an extra "w" in there. > > ________________________________ > > From: php...@li... on behalf > of php...@li... > Sent: Tue 6/19/2007 1:14 PM > To: php...@li... > Subject: [Php-java-bridge-users] Troubles calling a simple Java app > > > > I am new to the php-java-bridge and am experimenting with it. There > is probably something obvious that I am not seeing, but I cannot get > a simple example Java to PHP application bridge working. I used the > latest Debian packages which are using version 4.0.8a of the php-java- > bridge. I can see via phpinfo() that php-java-bridge is installed and > running via Apache2.2 right now. The following application works fine > (I got it from the examples page): > > Java: > > public class HelloWorld { > private String hw = "Hello World"; > > public String getHelloWorld() { > return hw; > } > } > > PHP: > > <?php > > java_require('http://192.168.1.128/java/HelloWorld.jar'); > $myObj = new Java('HelloWorld'); > > // display Hello World > echo (String) $myObj->getHelloWorld(); > > ?> > > > However, if I change the Java and PHP to the following, then I get > the following exception output: > > Hello World > Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke > failed: [[o:HelloWorld]]->setHellowWorld([o:PhpParserString]). Cause: > java.lang.NoSuchMethodException: setHellowWorld([o:PhpParserString]). > Candidates: [] Responsible VM: 1.5.0_11@http://java.sun.com/" at: #-5 > php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1106) #-4 > php.java.bridge.Request.handleRequest(Request.java:342) #-3 > php.java.bridge.Request.handleRequests(Request.java:388) #0 [internal > function]: Java->__call('setHellowWorld', Array) #1 /home/jhodapp/ > projects/java_bridge/HelloWorld.php(9): Java->setHellowWorld('Hello > world, on...') #2 {main}] thrown in /home/jhodapp/projects/ > java_bridge/HelloWorld.php on line 9 > > > Changed Java (throws exception): > > public class HelloWorld { > private String hw = "Hello World"; > > public String getHelloWorld() { > return hw; > } > > public void setHelloWorld(String incoming) { > hw = incoming; > } > } > > Changed PHP (throws exception): > > <?php > > java_require('http://192.168.1.128/java/HelloWorld.jar'); > $myObj = new Java('HelloWorld'); > > // display Hello World > echo (String) $myObj->getHelloWorld(); > > $myObj->setHellowWorld((String) "Hello world, once again."); > > ?> > > > Once I add my own method in the Java source, it no longer seems to > work. I'm compiling this via "javac HelloWorld.java" and making a jar > via: "jar cvf HelloWorld.jar HelloWorld.class" > > Is there something wrong with my setup? The site seems to be good at > helping you get setup with php-java-bridge for your OS environment, > but lacks good documentation from that point. > > Thanks, > > Jim Hodapp > ---------------------------------------------------------------------- > --- > 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 > > > > > ------------------------------ > > ---------------------------------------------------------------------- > --- > 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 > > > End of php-java-bridge-users Digest, Vol 13, Issue 5 > **************************************************** |
|
From: <php...@li...> - 2007-06-20 14:01:11
|
Just tried it -- works great! All the log4j logging from jboss works fine - the configuration is no longer reset. I don't have chainsaw setup on 445 (I only use log4j to log to files and the console), but log4j is on my global classpath for jboss. Thanks for the quick fix, much appreciated, -Mark On 6/20/07, Mark Mitchell <ma...@gm...> wrote: > Thanks! > > I will test this out today. > > -Mark > > On 6/20/07, php...@li... > <php...@li...> wrote: > > Hi, > > > > I have created a hidden download which fixes this > > problem: > > > > http://sourceforge.net/project/downloading.php?group_id=3D117793&use_mi= rror=3Dosdn&filename=3Dphp-java-bridge_4.1.3_j2ee.zip&8337726 > > > > > > >From 4.1.2 to 4.1.3: > > > > The bridge doesn't assume ownership of log4j.jar if it > > came from the global classpath. In particular it > > doesn't reset the global log4j configuration anymore > > when it detects a log4j back end listening on port > > @445 > > > > > > Regards, > > Jost Boekemeier > > > > __________________________________________________ > > Do You Yahoo!? > > Sie sind Spam leid? Yahoo! Mail verf=FCgt =FCber einen herausragenden S= chutz gegen Massenmails. > > http://mail.yahoo.com > > > > -----------------------------------------------------------------------= -- > > 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 > > > |
|
From: <php...@li...> - 2007-06-20 13:32:52
|
Thanks! I will test this out today. -Mark On 6/20/07, php...@li... <php...@li...> wrote: > Hi, > > I have created a hidden download which fixes this > problem: > > http://sourceforge.net/project/downloading.php?group_id=3D117793&use_mirr= or=3Dosdn&filename=3Dphp-java-bridge_4.1.3_j2ee.zip&8337726 > > > >From 4.1.2 to 4.1.3: > > The bridge doesn't assume ownership of log4j.jar if it > came from the global classpath. In particular it > doesn't reset the global log4j configuration anymore > when it detects a log4j back end listening on port > @445 > > > Regards, > Jost Boekemeier > > __________________________________________________ > Do You Yahoo!? > Sie sind Spam leid? Yahoo! Mail verf=FCgt =FCber einen herausragenden Sch= utz gegen Massenmails. > http://mail.yahoo.com > > ------------------------------------------------------------------------- > 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 > |
|
From: <php...@li...> - 2007-06-20 13:28:39
|
Hi, [bridge class loader uses cached classes even though a jar file fetched from a remote URL has been changed] I think Martin's DynamicJavaBridgeClassLoader cannot check the modification time for remote jar files. Please use a local jar file instead. Regards, Jost Boekemeier __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com |
|
From: <php...@li...> - 2007-06-20 13:24:59
|
Hi, I have created a hidden download which fixes this problem: http://sourceforge.net/project/downloading.php?group_id=117793&use_mirror=osdn&filename=php-java-bridge_4.1.3_j2ee.zip&8337726 >From 4.1.2 to 4.1.3: The bridge doesn't assume ownership of log4j.jar if it came from the global classpath. In particular it doesn't reset the global log4j configuration anymore when it detects a log4j back end listening on port @445 Regards, Jost Boekemeier __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com |
|
From: <php...@li...> - 2007-06-20 11:09:11
|
Umm, you just spelled your method name wrong:
=20
public void setHelloWorld(String incoming) {
hw =3D incoming;
}
=20
Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke=20
failed: [[o:HelloWorld]]->setHellowWorld([o:PhpParserString]). Cause:=20
java.lang.NoSuchMethodException: setHellowWorld([o:PhpParserString]).=20
Candidates: [] Responsible VM: 1.5.0_11@http://java.sun.com/ =
<http://java.sun.com/> " at: #-5=20
There's an extra "w" in there.
________________________________
From: php...@li... on behalf of =
php...@li...
Sent: Tue 6/19/2007 1:14 PM
To: php...@li...
Subject: [Php-java-bridge-users] Troubles calling a simple Java app
I am new to the php-java-bridge and am experimenting with it. There=20
is probably something obvious that I am not seeing, but I cannot get=20
a simple example Java to PHP application bridge working. I used the=20
latest Debian packages which are using version 4.0.8a of the php-java-
bridge. I can see via phpinfo() that php-java-bridge is installed and=20
running via Apache2.2 right now. The following application works fine=20
(I got it from the examples page):
Java:
public class HelloWorld {
private String hw =3D "Hello World";
public String getHelloWorld() {
return hw;
}
}
PHP:
<?php
java_require('http://192.168.1.128/java/HelloWorld.jar');
$myObj =3D new Java('HelloWorld');
// display Hello World
echo (String) $myObj->getHelloWorld();
?>
However, if I change the Java and PHP to the following, then I get=20
the following exception output:
Hello World
Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke=20
failed: [[o:HelloWorld]]->setHellowWorld([o:PhpParserString]). Cause:=20
java.lang.NoSuchMethodException: setHellowWorld([o:PhpParserString]).=20
Candidates: [] Responsible VM: 1.5.0_11@http://java.sun.com/" at: #-5=20
php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1106) #-4=20
php.java.bridge.Request.handleRequest(Request.java:342) #-3=20
php.java.bridge.Request.handleRequests(Request.java:388) #0 [internal=20
function]: Java->__call('setHellowWorld', Array) #1 /home/jhodapp/
projects/java_bridge/HelloWorld.php(9): Java->setHellowWorld('Hello=20
world, on...') #2 {main}] thrown in /home/jhodapp/projects/
java_bridge/HelloWorld.php on line 9
Changed Java (throws exception):
public class HelloWorld {
private String hw =3D "Hello World";
public String getHelloWorld() {
return hw;
}
public void setHelloWorld(String incoming) {
hw =3D incoming;
}
}
Changed PHP (throws exception):
<?php
java_require('http://192.168.1.128/java/HelloWorld.jar');
$myObj =3D new Java('HelloWorld');
// display Hello World
echo (String) $myObj->getHelloWorld();
$myObj->setHellowWorld((String) "Hello world, once again.");
?>
Once I add my own method in the Java source, it no longer seems to=20
work. I'm compiling this via "javac HelloWorld.java" and making a jar=20
via: "jar cvf HelloWorld.jar HelloWorld.class"
Is there something wrong with my setup? The site seems to be good at=20
helping you get setup with php-java-bridge for your OS environment,=20
but lacks good documentation from that point.
Thanks,
Jim Hodapp
-------------------------------------------------------------------------=
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
|