| 
      
      
      From: <php...@li...> - 2007-12-06 07:12:38
       | 
| =A0=0AHi ,=0AI am trying to install Java Bridge =0Afor that i have fallowe= d fallowing link =0Ahttp://www.dsl.uow.edu.au/~sk33/php5java.htm =0A =0Ai a= m using fallowing configuration on my machine =0AWinXP =0APhp 5.2.5=0AApach= e 2.0.54=0Aphp-java-bridge_3.2.1a_j2ee =0AI have fallowed all instruction= as per above link =0A=0A=0ABut in my phpinfo() all required things are not= coming such as =0AJava support =96 enable =0Ajav.status - running =0A=0Ai= t only showing fallowing information =0A = JAVA=0ADirectiveLocal ValueMaster = Value=0Ajava.class.pathC:\php\JavaBridge.jarC:\php\JavaBridge.jar=0Ajav= a.homeC:\Program Files\Java\jdk1.5.0\binC:\Program Files\Java\jdk1.5.0\bin= =0Ajava.libraryC:\Program Files\Java\jre1.5.0\bin\client\jvm.dllC:\Program = Files\Java\jre1.5.0\bin\client\jvm.dll=0Ajava.library.pathC:\Program Files\= Java\jre1.5.0\bin\client\jvm.dllC:\Program Files\Java\jre1.5.0\bin\client\j= vm.dll=0A=0A =0A =0AWhenever I tried to run my test code in browser it will= not display any thing =0ABut in apache error log it will show error like = this =0AClass 'Java' not found in C:\\Program Files\\Apache Group\\Apache2\= \htdocs\\phpjava\\HelloWorld.php on line 4, referer: http://localhost/phpja= va/ =0A =0A =0AAnd for java bridge test file it will show error in log lik = =0A=0A=0APHP Warning: fsockopen() [<a href=3D'function.fsockopen '>functio= n.fsockopen</a>]: unable to connect to 127.0.0.1:8080 (A connection attempt= failed because the connected party did not properly respond after a period= of time, or established connection failed because connected host has faile= d to respond.\r\n) in C:\\Program Files\\Apache Group\\Apache2\\htdocs\\Jav= aBridge\\java\\Protocol.php on line 273, referer: http://localhost/JavaBrid= ge/=0A =0A =0Aso please help me to resolve this problem . =0A=0A =0AThanks= =0AManish deshmukh =20 | 
| 
      
      
      From: <php...@li...> - 2007-12-06 08:00:02
       | 
| Try with PHP 5.1.6. I spent a lot of time trying to make it run with PHP 5.2.x and had no luck. With PHP 5.1.6 it worked. ----- Original Message ----- From: <php...@li...> To: <php...@li...> Sent: Thursday, December 06, 2007 8:10 AM Subject: [Php-java-bridge-users] configuration problem with WinXP/ Php 5.2.5/ Apache 2.0.54 / php-java-bridge_3.2.1a_j2ee Hi , I am trying to install Java Bridge for that i have fallowed fallowing link http://www.dsl.uow.edu.au/~sk33/php5java.htm i am using fallowing configuration on my machine WinXP Php 5.2.5 Apache 2.0.54 php-java-bridge_3.2.1a_j2ee I have fallowed all instruction as per above link But in my phpinfo() all required things are not coming such as Java support - enable jav.status - running it only showing fallowing information JAVA DirectiveLocal ValueMaster Value java.class.pathC:\php\JavaBridge.jarC:\php\JavaBridge.jar java.homeC:\Program Files\Java\jdk1.5.0\binC:\Program Files\Java\jdk1.5.0\bin java.libraryC:\Program Files\Java\jre1.5.0\bin\client\jvm.dllC:\Program Files\Java\jre1.5.0\bin\client\jvm.dll java.library.pathC:\Program Files\Java\jre1.5.0\bin\client\jvm.dllC:\Program Files\Java\jre1.5.0\bin\client\jvm.dll Whenever I tried to run my test code in browser it will not display any thing But in apache error log it will show error like this Class 'Java' not found in C:\\Program Files\\Apache Group\\Apache2\\htdocs\\phpjava\\HelloWorld.php on line 4, referer: http://localhost/phpjava/ And for java bridge test file it will show error in log lik PHP Warning: fsockopen() [<a href='function.fsockopen '>function.fsockopen</a>]: unable to connect to 127.0.0.1:8080 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.\r\n) in C:\\Program Files\\Apache Group\\Apache2\\htdocs\\JavaBridge\\java\\Protocol.php on line 273, referer: http://localhost/JavaBridge/ so please help me to resolve this problem . Thanks Manish deshmukh ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users | 
| 
      
      
      From: <php...@li...> - 2007-12-06 12:01:22
       | 
| Hi, > http://www.dsl.uow.edu.au/~sk33/php5java.htm isn't it possible to follow the install instructions that came with the PHP/Java Bridge download instead? > I spent a lot of time trying to make it run with PHP 5.2.x and had no luck. The pure Java implementation works with all PHP versions. The old php_java.dll or java.so only works with PHP4. (it may work with some PHP5 implementations, too, but we don't support it). Regards, Jost Boekemeier __________________________________ Ihre erste Baustelle? Wissenswertes für Bastler und Hobby Handwerker. www.yahoo.de/clever | 
| 
      
      
      From: <php...@li...> - 2007-12-06 18:24:19
       | 
| Hi, > http://www.dsl.uow.edu.au/~sk33/php5java.htm isn't it possible to follow the install instructions that came with the PHP/Java Bridge download instead? No Jost, I am sorry, but the documentation (and imho the file/directory structure of the archive) that comes with the PHP/Java Bridge leaves a lot to be desired to say the least. This is why most people (including myself) resort to the page mentioned above and I assume this is why this page is also mentioned in the official PHP/Java Bridge website. I would suggest putting all the different READMEs and installation guides in one big file and re-organizing them because it's not evident where one has to look for by the filename itself. I would also suggest providing a different dll/so (where needed) for the different versions of PHP because especially people who work on windows are not likely to compile (or have access to a compiler and the necessary knowledge to use it in the first place) any source code. This is why most PHP extensions provide these pre-compiled windows binaries. Finally, you should not assume that people who are trying to install/use the PHP/Java Bridge are proficient or even familiar with Java terminology. Last time I worked with Java was back in JDK 1.1, long before J2EE, Java Beans, Java Servlets and all sorts of other technical jargon came into play. Please don't get me wrong, I know you are trying to help and I appreciate you offering this library to the open-source community. I hope you will take the above as constructive criticism. :-) > I spent a lot of time trying to make it run with PHP 5.2.x and had no > luck. The pure Java implementation works with all PHP versions. The old php_java.dll or java.so only works with PHP4. (it may work with some PHP5 implementations, too, but we don't support it). Regards, Jost Boekemeier __________________________________ Ihre erste Baustelle? Wissenswertes für Bastler und Hobby Handwerker. www.yahoo.de/clever ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users | 
| 
      
      
      From: <php...@li...> - 2007-12-07 16:57:53
       | 
| Hi,
> No Jost, I am sorry, but the documentation (and imho the file/directory 
> structure of the archive) that comes with the PHP/Java Bridge leaves a lot 
> to be desired to say the least.
I don't see how the documentation could be improved. Basically you fire up your J2EE server, copy
JavaBridge.war to its deploy folder and use Java from your PHP scripts as follows:
<?php  require_once("java/Java.inc"); 
If that's too complicated, additional documentation won't help either.
> I would also suggest providing a different dll/so 
What is a dll/so and why do you need it?  There is no java.so or php_java.dll available for PHP.
Not now, not in the future, never.[1]
Regards,
Jost Boekemeier
[1] The java.so for Linux is only a compiled wrapper for java/Java.php, needed for Security
Enhanced Linux.
      Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail. www.yahoo.de/mail
 |