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
(1) |
4
(7) |
5
(1) |
6
|
7
|
8
|
9
|
10
(3) |
11
(1) |
12
(1) |
13
|
14
|
15
(1) |
16
(6) |
17
(6) |
18
(4) |
19
|
20
|
21
|
22
|
23
(2) |
24
|
25
|
26
(3) |
27
(6) |
28
(3) |
29
|
30
(3) |
|
|
|
|
|
From: <php...@li...> - 2007-04-17 05:33:15
|
Error information: java stack trace: java.lang.Exception: Invoke failed: [[c:MultiThreadedExample]]->doit. Cause: java.lang.ClassNotFoundException: Unresolved external reference: java.lang.NoClassDefFoundError: MultiThreadedExample$GetThread. -- Unable to call the method, see the README section "Java platform issues" for details. Responsible VM: 1.5.0@ http://java.sun.com/ at php.java.bridge.JavaBridge.getUnresolvedExternalReferenceException( JavaBridge.java:496) at php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1135) at php.java.bridge.Request.handleRequest(Request.java:342) at php.java.bridge.Request.handleRequests(Request.java:388) at php.java.bridge.JavaBridge.run(JavaBridge.java:215) at php.java.bridge.BaseThreadPool$Delegate.run(BaseThreadPool.java :66) Caused by: java.lang.ClassNotFoundException: Unresolved external reference: java.lang.NoClassDefFoundError: MultiThreadedExample$GetThread. -- Unable to call the method, see the README section "Java platform issues" for details. ... 6 more Caused by: java.lang.NoClassDefFoundError: MultiThreadedExample$GetThread at MultiThreadedExample.doit(MultiThreadedExample.java:44) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1124) ... 4 more tm.php > <?php > $JAVA_LIB = 'file:/usr/solrapp/commons-logging-1.1.jar > ;file:/usr/solrapp/comm > try{ > java_require($JAVA_LIB); > $m = new JavaClass('MultiThreadedExample'); > $a = $m->doit(); > var_dump($a); > }catch (JavaException $ex){ > $trace = new Java("java.io.ByteArrayOutputStream"); > $ex->printStackTrace(new Java("java.io.PrintStream", > $trace)); > print "java stack trace: $trace\n"; > } > > ?> > MultiThreadedExample.java > import org.apache.commons.httpclient.HttpClient; > import org.apache.commons.httpclient.MultiThreadedHttpConnectionManager; > import org.apache.commons.httpclient.methods.GetMethod; > > /** > * An example that performs GETs from multiple threads. > * > * @author Michael Becke > */ > public class MultiThreadedExample { > > /** > * Constructor for MultiThreadedExample. > */ > public MultiThreadedExample() { > super(); > } > > public static void main(String[] args) { > > // Create an HttpClient with the > MultiThreadedHttpConnectionManager. > // This connection manager must be used if more than one thread > will > // be using the HttpClient. > > > } > > public static int[] doit(){ > int a[] = new int[50]; > HttpClient httpClient = new HttpClient(new > MultiThreadedHttpConnectionManager()); > // Set the default host/protocol for the methods to connect to. > // This value will only be used if the methods are not given an > absolute URI > httpClient.getHostConfiguration().setHost("jakarta.apache.org", > 80, "http"); > > // create an array of URIs to perform GETs on > String[] urisToGet = { > "/", > "/commons/", > "/commons/httpclient/", > "http://cvs.apache.org/viewcvs.cgi/jakarta-commons/httpclient/ > " > }; > > // create a thread for each URI > GetThread[] threads = new GetThread[urisToGet.length]; > for (int i = 0; i < threads.length; i++) { > GetMethod get = new GetMethod(urisToGet[i]); > get.setFollowRedirects(true); > threads[i] = new GetThread(httpClient, get, i + 1); > } > > // start the threads > for (int j = 0; j < threads.length; j++) { > threads[j].start(); > a[j] = threads[j].getResult(); > > } > return a; > } > /** > * A thread that performs a GET. > */ > static class GetThread extends Thread { > > private HttpClient httpClient; > private GetMethod method; > private int id; > private int num; > > public GetThread(HttpClient httpClient, GetMethod method, int id) > { > this.httpClient = httpClient; > this.method = method; > this.id = id; > } > > /** > * Executes the GetMethod and prints some satus information. > */ > public void run() { > > try { > > System.out.println(id + " - about to get something from " > + method.getURI()); > // execute the method > httpClient.executeMethod(method); > > System.out.println(id + " - get executed"); > // get the response body as an array of bytes > byte[] bytes = method.getResponseBody(); > this.num = bytes.length; > //System.out.println(id + " - " + bytes.length + " bytes > read"); > > } catch (Exception e) { > System.out.println(id + " - error: " + e); > } finally { > // always release the connection after we're done > method.releaseConnection(); > System.out.println(id + " - connection released"); > } > } > > public int getResult(){ > return this.num; > } > > } > > } > jar cvf m.jar Multi*.class and i add these .jar file is in class_path. i use freebsd6.2 . -- regards jl |
From: <php...@li...> - 2007-04-17 01:17:14
|
It is ok now.. Maybe yesterday package is wrong. today i redownload a new package. and it is ok. Thks. 2007/4/16, php...@li... < php...@li...>: > > Hi, > > what's wrong with the J2EE download? C compilation > isn't for everyone. > > > > when i use > > echo "<?php dl('java.so'); phpinfo() ?>" | php -n > > > result.txt > > > Segmentation fault (core dumped) > > Which gcc version do you use? Some gcc versions have a > bug in their optimizer. This bug has been reported > twice, against FreeBSD and RedHat Linux. > > The workaround is to switch to another gcc version or > to switch off the optimizer (export CFLAGS=3D"-O0"). > > In any case, this isn't a problem in the PHP/Java > Bridge code. > > > --disable-backend[...] > > Do you want to [...] > > Generate PHP classes from standard Java classes > [...] > > java.lang.NoClassDefFoundError: > > You haven't built the back end (the JavaBridge.jar). > If you want to transform java libraries into php pear > classes, you need the JavaBridge.jar. > > Which in turn means that you must either install the > required autoconf, automake and libtool versions or > disable back end compilation and use the > JavaBridge.jar from the J2EE back end. > > > > php/java/bridge/JavaBridge > > cp: java/*.php: No such file or directory > > Okay. > > > > "Makefile", line 8: Could not find > > /usr/share/selinux//include/Makefile > > make: fatal errors encountered -- cannot continue > > install.sh: /usr/sbin/semodule: not found > > install.sh: /usr/bin/chcon: not found > > install.sh: /usr/bin/chcon: not found > > PHP/Java Bridge installed. > > Okay. > > > Regards, > Jost Boekemeier > > > > Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen > Sie=B4s mit dem neuen Yahoo! Mail. www.yahoo.de/mail > > ------------------------------------------------------------------------- > 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 > --=20 regards jl |
From: <php...@li...> - 2007-04-16 15:50:42
|
Hi, what's wrong with the J2EE download? C compilation isn't for everyone. > when i use > echo "<?php dl('java.so'); phpinfo() ?>" | php -n > > result.txt > > Segmentation fault (core dumped) Which gcc version do you use? Some gcc versions have a bug in their optimizer. This bug has been reported twice, against FreeBSD and RedHat Linux. The workaround is to switch to another gcc version or to switch off the optimizer (export CFLAGS="-O0"). In any case, this isn't a problem in the PHP/Java Bridge code. > --disable-backend[...] > Do you want to [...] > Generate PHP classes from standard Java classes [...] > java.lang.NoClassDefFoundError: You haven't built the back end (the JavaBridge.jar). If you want to transform java libraries into php pear classes, you need the JavaBridge.jar. Which in turn means that you must either install the required autoconf, automake and libtool versions or disable back end compilation and use the JavaBridge.jar from the J2EE back end. > php/java/bridge/JavaBridge > cp: java/*.php: No such file or directory Okay. > "Makefile", line 8: Could not find > /usr/share/selinux//include/Makefile > make: fatal errors encountered -- cannot continue > install.sh: /usr/sbin/semodule: not found > install.sh: /usr/bin/chcon: not found > install.sh: /usr/bin/chcon: not found > PHP/Java Bridge installed. Okay. 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-04-16 12:45:37
|
It seems not fit FreeBSD when i use echo "<?php dl('java.so'); phpinfo() ?>" | php -n > result.txt > it show me: > Segmentation fault (core dumped) So i have to rebuild, comand like pre mail. when finish "sh install.sh" , i find : Generate PHP classes from standard Java classes and install them in the /usr/local/share/pear directory? convert java libraries (yes/no): Exception in thread "main" java.lang.NoClassDefFoundError: php/java/bridge/JavaBridge cp: java/*.php: No such file or directory "Makefile", line 8: Could not find /usr/share/selinux//include/Makefile make: fatal errors encountered -- cannot continue install.sh: /usr/sbin/semodule: not found install.sh: /usr/bin/chcon: not found install.sh: /usr/bin/chcon: not found PHP/Java Bridge installed. Now type "/usr/local/bin/php test.php" to check the installation. bridge i today download. Is it ok? 2007/4/16, php...@li... < php...@li...>: > > Hi, > > > > Error: The PHP/Java Bridge back-end is not running. > > Have you started the back end? If your php.ini file > dosn't contain any java related entries (which seems > to be the case), the bridge automatically starts a > local back end. You can find the command in the > result of the phpinfo() command: > > echo "<?php dl('java.so'); phpinfo() ?>" | php -n > > result.txt > > cat result.html | fgrep "java command" > > Please take the java command obtained from the > phpinfo() and paste it into a command shell (xterm). > > The command should display the reason for the failure, > probably some freebsd java/jdk issue. > > > In any case, we recommend to use the J2EE binary on > freeBSD, or to use a modern operating system with a > decent TCP socket implementation, for example Windows, > Linux or Solaris. > > > Regards, > Jost Boekemeier > > > > __________________________________ Kennt man wirklich jeden =FCber= 3 > Ecken? Die Antworten gibt's bei Yahoo! Clever. www.yahoo.de/clever > > ------------------------------------------------------------------------- > 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 > --=20 regards jl |
From: <php...@li...> - 2007-04-16 11:42:52
|
Hi, > Error: The PHP/Java Bridge back-end is not running. Have you started the back end? If your php.ini file dosn't contain any java related entries (which seems to be the case), the bridge automatically starts a local back end. You can find the command in the result of the phpinfo() command: echo "<?php dl('java.so'); phpinfo() ?>" | php -n > result.txt cat result.html | fgrep "java command" Please take the java command obtained from the phpinfo() and paste it into a command shell (xterm). The command should display the reason for the failure, probably some freebsd java/jdk issue. In any case, we recommend to use the J2EE binary on freeBSD, or to use a modern operating system with a decent TCP socket implementation, for example Windows, Linux or Solaris. 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-04-16 11:34:15
|
Hi, the binary/J2EE download contains a binary for freebsd. Please use this if you cannot compile on freebsd. Using the pure PHP implementation on FreeBSD is NOT recommended because of the well known kernel problem. The *BSD kernel uses Nagle's algorithm for the local interface, and the PHP people don't switch it off when creating/using sockets. Therefore PHP local socket connections are extremly slow on this operating system. -- You can switch off NDELAY for all interfaces using the freebsd sysctl interface, but doing so is not recommended. Hope it helps. Regards, Jost Boekemeier --- php...@li... schrieb: > i use soure to install( > http://php-java-bridge.sourceforge.net/pjb/installation.php#sourceinstall) > > my cmd : > > phpize && ./configure > --with-java=JAVA_HOME,JAVA_HOME/jre && make > > > > and show me > > > checking for sem_init in -lrt... no > > checking for pthreads_cflags... -pthread > > checking for pthreads_lib... > > configure: error: host_alias is not set. Make sure > to run config.guess > > Back-end configuration failed. > > Please install the recommended autoconf, libtool > and automake versions > > or disable back-end configuration and use the > pre-compiled J2EE back-end: > > > > ./configure --disable-backend > --with-java=<JAVA_HOME> > > > > configure: error: /usr/local/bin/bash > './configure.gnu' failed for server > > > > how can i install? > > > -- > regards > jl > ------------------------------------------------------------------------- > 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 > 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-04-16 09:26:44
|
i config > ./configure --disable-backend --with-java=/usr/local/diablo-jdk1.5.0 > ,/usr/local/diablo-jdk1.5.0 sh install.sh i use FreeBSD6.2 java -version: # java -version > java version "1.5.0" > Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b01) > Java HotSpot(TM) Client VM (build diablo-1.5.0_07-b01, mixed mode) > Error: The PHP/Java Bridge back-end is not running. Please start it and/or > check if the directory /usr/local/lib/php/20060613 contains "java.so" and > "JavaBridge.jar". Check if the following values are correct: > java.java_home = java.java = If you want to start the back-end > automatically, disable: java.socketname = java.hosts = java.servlet = If > that still doesn't work, please check the "java command" above and report > this problem to: php...@li.... > -- regards jl |
From: <php...@li...> - 2007-04-16 08:36:03
|
i use soure to install( http://php-java-bridge.sourceforge.net/pjb/installation.php#sourceinstall) my cmd : phpize && ./configure --with-java=JAVA_HOME,JAVA_HOME/jre && make > and show me checking for sem_init in -lrt... no > checking for pthreads_cflags... -pthread > checking for pthreads_lib... > configure: error: host_alias is not set. Make sure to run config.guess > Back-end configuration failed. > Please install the recommended autoconf, libtool and automake versions > or disable back-end configuration and use the pre-compiled J2EE back-end: > > ./configure --disable-backend --with-java=<JAVA_HOME> > > configure: error: /usr/local/bin/bash './configure.gnu' failed for server > how can i install? -- regards jl |
From: <php...@li...> - 2007-04-15 11:38:52
|
Session sharing between JSP and PHP doesn't work in version 4.0.8. The reason is that it uses a session cache variable, and the bridge doesn't reset this variable at the end of each php script. I have committed a fix into the CVS head and updated the binary- and source download. I have set the version# to 4.0.8a. The fix is in php-servlet.jar; the debian or RedHat binaries don't need it. 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-04-12 20:35:22
|
Hi Davide, > After a series of call of the metod "test" the > javabridge send > OutOfMemory errors. I could not reproduce this problem. I've created a class which passes a 100MB byte array to java, retrieves it and compares the result. The algorithm requires at least 500MB heap, but there's no memory leak. > The problem seem that the system don't free the > allocated memory. Can you please open a problem report (please use http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233) and attach the code to reproduce this memory leak at the end of the ticket? > I try also with a singleton class but the problem > persist. Well, if you bind your data to a class, the data will not be released until the VM runs out of memory. This isn't a bug but a Java feature. > There are known problem related to passing big size > params?? No. But note that sending large binary data is not as efficient as you might think. XML is a ASCII protocol, to that your byte array is 4/3 times bigger than it needs to be. > $data = function_that_return_a_50Mega_byteArray(); > with a memory set to 384M (-Xmx384m) the javabridge > fill the memory > after 3/4 calls. 50MB for the original data, +67MB+50MB (arg) +50MB (result) + 67MB (response) = 284MB. So 384 MB heap should be enough. Regards, Jost Boekemeier __________________________________ Yahoo! Clever: Sie haben Fragen? Yahoo! Nutzer antworten Ihnen. www.yahoo.de/clever |
From: <php...@li...> - 2007-04-11 10:20:47
|
Hi!! My name is Davide and is my first message on the llist. I'v created a class who make something on a large bytearray stream. After a series of call of the metod "test" the javabridge send OutOfMemory errors. The problem seem that the system don't free the allocated memory. I try also with a singleton class but the problem persist. There are known problem related to passing big size params?? with a memory set to 384M (-Xmx384m) the javabridge fill the memory after 3/4 calls. PHP $data = function_that_return_a_50Mega_byteArray(); java_require(CLASSPATH); $fooClass = new Java("Foo"); $retData = java_values($fooClass->test($data)); JAVA class Foo { public Foo() { } public byte[] test(byte[] inputByteArray) { return inputByteArray; } } I've tried this code too, whith the method "test" that simply return the array; Thanks Davide Fiorello |
From: <php...@li...> - 2007-04-10 15:06:09
|
> Version 3.0.8 is now available for testing. 4.0.8, of course. ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2007-04-10 15:01:08
|
Hi, Version 3.0.8 is now available for testing. Changes since version 3.2.1: * Support for bea weblogic * It is now possible to call JSP tags from Apache/PHP * if the configured java executable cannot be found, the bridge searches the VM on the PATH (when running as a sub-component of apache) * it is now possible to set the java.hosts option from a script: require_once("http://foo:8080/.../Java.inc") redirects the C extension to the server foo:8080 * the FastCGI logic has been rewritten entirely, it now works on all operating systems. * the binary download now contains PHP binaries for freebsd, linux, solaris and windows. * the debian package has been split into a base-, doc-, j2ee-, j2ee-doc and devel package. Version 3.0.8 will be released in june 2007. Please report bugs/problems to the mailing list: php...@li... Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2007-04-10 14:21:34
|
Hi Andre, > The binary packages *may* work in Ubuntu too, I've committed a patch for Ubuntu into the "jostb-debian-ubuntu-patch" branch: http://php-java-bridge.cvs.sourceforge.net/php-java-bridge/php-java-bridge/debian/?sortby=date&pathrev=jostb-debian-ubuntu-patch#dirlist Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2007-04-05 16:53:42
|
Hi, > I will re-enable Version 3.2.1 this evening. the version is back. However, are you sure you want version 3.2.1? If I remember correctly all versions < 4.0.1 throw a NullPointerException because WebLogic always returns null for context.getRealPath(""). The 4.x series contains a workaround for this, please see: http://sourceforge.net/mailarchive/message.php?msg_id=393709.85193.qm%40web27002.mail.ukl.yahoo.com Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2007-04-04 11:41:43
|
Hi, the optimized implementation ("php_java.dll" or "java.so") is not required. Installing it should be optional. Which error message do you get on Suse Linux? Can you please remove the optional "java.so" and use the following script: <?php require_once("http://localhost:8080/JavaBridge/java/Java.inc"); echo java("java.lang.System")->getProperties(); ?> Please open a problem report (please use http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233) and attach the result of the commands: php -n myTest.php strace -s 8193 php -n myTest.php 2>script.log at the end of that ticket. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2007-04-04 10:56:28
|
Hi, it depends on which OS you try to use the bridge. On Windows, just install the Tomcat-Addon for Xampp and deploy the JavaBridge.war - file into the webapps directory of xampp. On Linux I can just tell you, that to get it working on SUSE 10.1 I had to compile the sources. -------- Original-Nachricht -------- Datum: Wed, 4 Apr 2007 11:55:22 +0200 (CEST) Von: php...@li... An: php...@li... Betreff: Re: [Php-java-bridge-users] Instructions for php/Java bridge v4.0.7 on XAMPP 1.6.0a? > Hi, > > > > bridge v4.0.7 on XAMPP 1.6.0a. > > I don't know what XAMPP is, but the generic > description from the README should work: > > 1. Start your J2EE server, copy JavaBridge.war into > its autodeploy folder > 2. Use > require_once("http://localhost:<port>/JavaBridge/java/Java.inc"); > > if you want to access Java from your PHP scripts. > > > In case you don't want to install a J2EE server or > servlet engine, the JavaBridge.jar contained in the > JavaBridge.war contains a simple servlet engine > implementation which can be started with: > > java -jar JavaBridge.jar SERVLET:8080 > > > Regards, > Jost Boekemeier > > > > ___________________________________________________________ > Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users -- "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail |
From: <php...@li...> - 2007-04-04 10:46:03
|
Hi Gary, I will re-enable Version 3.2.1 this evening. > Are the 4.0.x distributions complete? Unfortunately no. We'll try to make a stable release in june. PHP 5.2.0 and above contain a bug which makes FastCGI unusable on Windows systems. Please see http://bugs.php.net/bug.php?id=40758 for details. So we've decided to replace IBM's FastCGI launcher.exe with our own implementation, it uses windows named pipes instead of TCP sockets. Furthermore all 4.0.x versions currently require that you install an external php-cgi.exe (option "CGI other" in the PHP installer). > 4.0.7 throws the following exceptions trying to run > test.php: > java.io.FileNotFoundException: > \\.\pipe\D:\TEMP\JavaBridge9860.socket > (All pipe instances are busy) Thank you very much for the bug report. How many php-cgi executables are listening on \\.\pipe\D:\TEMP\JavaBridge9860.socket and how many connection pools are accessing it? There should be one connection pool with not more than 5 connections and 5 php fastcgi instances listening on \.\pipe\D:\TEMP\JavaBridge9860.socket. Can you please open a problem report (please use http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233) and start the java VM with the option -Dphp.java.bridge.default_log_level=5 and attach the log at the end of the ticket? Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2007-04-04 09:55:29
|
Hi, > bridge v4.0.7 on XAMPP 1.6.0a. I don't know what XAMPP is, but the generic description from the README should work: 1. Start your J2EE server, copy JavaBridge.war into its autodeploy folder 2. Use require_once("http://localhost:<port>/JavaBridge/java/Java.inc"); if you want to access Java from your PHP scripts. In case you don't want to install a J2EE server or servlet engine, the JavaBridge.jar contained in the JavaBridge.war contains a simple servlet engine implementation which can be started with: java -jar JavaBridge.jar SERVLET:8080 Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2007-04-04 01:12:01
|
Has anyone been able to get the Eclipse PDT debugger to work with the SourceForge Java bridge in servlet configuration? I installed the PDT into Eclipse Callisto (from http://dowloads.zend.com/pdt). Then I * obtained the 2.2.3 debugger dll from the Zend website. (http://downloads.zend.com/pdt/server-debugger/) * put the 5_1_x_comp version into the cgi directory of the exploded JavaBridge.war * put the following lines into php.ini: [Zend] zend_extension_ts="D:\EclipseWorkspaces\sourceForgeJavaBridge2\JavaBridg e3.2.1\WEB-INF\cgi\ZendDebugger.dll" zend_debugger.allow_hosts=127.0.0.1/32,172.17.65.115 zend_debugger.allow_tunnel=127.0.0.1/32,172.17.65.115 zend_debugger.expose_remotely=always At this point, running phpinfo() in test.php shows that the debugger dll has been loaded. * set the debugger socket value in the PDT preferences to 10013, since that was what phpinfo() showed. * unchecked the URL autogenerate and hard-coded the specific URL in the PHP Web Page panel of the Eclipse debug dialog. * launched the debug session. Web browser opens but never loads the page. This debugger does work with the bridge in the Zend Platform product. Running Eclipse 3.2 and PHP Java Bridge 3.2.1 on Windows XP. If anybody has gotten this config to debug, or sees anything obviously wrong with my setup, please respond... Thanks -Gary Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. |
From: <php...@li...> - 2007-04-04 00:46:10
|
The Release Announcements page says, at the top: "Version 3.2.1 * The pure PHP PHP/Java Bridge is now the reference implementation." I downloaded it a while ago, and have successfully run it on WebLogic Server in the servlet configuration. That version longer appears in the download page on http://sourceforge.net/project/showfiles.php?group_id=117793. I have tried to use 4.0.1 and 4.0.7, but they don't work at all (see exceptions below), and seem to be missing all the PHP executable files in the cgi directory that 3.2.1 contained. Are the 4.0.x distributions complete? Or do they require that you obtain the PHP executables from some other source? Where is 3.2.1? 4.0.7 throws the following exceptions trying to run test.php: php.java.servlet.fastcgi.ConnectException at php.java.servlet.fastcgi.NPChannelName.doConnect(NPChannelName.java:50) at php.java.servlet.fastcgi.NPChannelName.connect(NPChannelName.java:54) at php.java.servlet.fastcgi.FastCGIServlet$1.connect(FastCGIServlet.java:13 8) at php.java.servlet.fastcgi.ConnectionPool$Connection.reopen(ConnectionPool .java:101) at php.java.servlet.fastcgi.ConnectionPool.openConnection(ConnectionPool.ja va:198) at php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.parseBody(FastCGIServl et.java:388) at php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.doRun(FastCGIServlet.j ava:344) at php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.run(FastCGIServlet.jav a:352) at php.java.servlet.CGIServlet.doGet(CGIServlet.java:463) at php.java.servlet.PhpCGIServlet.doGet(PhpCGIServlet.java:328) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) ...snip java.io.FileNotFoundException: \\.\pipe\D:\TEMP\JavaBridge9860.socket (All pipe instances are busy) at java.io.RandomAccessFile.open(Native Method) at java.io.RandomAccessFile.<init>(Unknown Source) at java.io.RandomAccessFile.<init>(Unknown Source) at php.java.servlet.fastcgi.NPChannelName.doConnect(NPChannelName.java:48) at php.java.servlet.fastcgi.NPChannelName.connect(NPChannelName.java:54) at php.java.servlet.fastcgi.FastCGIServlet$1.connect(FastCGIServlet.java:13 8) at php.java.servlet.fastcgi.ConnectionPool$Connection.reopen(ConnectionPool .java:101) at php.java.servlet.fastcgi.ConnectionPool.openConnection(ConnectionPool.ja va:198) at php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.parseBody(FastCGIServl et.java:388) at php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.doRun(FastCGIServlet.j ava:344) at php.java.servlet.fastcgi.FastCGIServlet$CGIRunner.run(FastCGIServlet.jav a:352) at php.java.servlet.CGIServlet.doGet(CGIServlet.java:463) at php.java.servlet.PhpCGIServlet.doGet(PhpCGIServlet.java:328) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) ...snip Thanks -Gary Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. |
From: <php...@li...> - 2007-04-03 15:28:13
|
Hi all, I am trying to find some documentation on how to install the php/Java bridge v4.0.7 on XAMPP 1.6.0a. All descriptions I found so far refer to php/Java bridge v3.1.7 or older, but apparently that one does not run under XAMPP 1.6.0a. I tried to install v3.1.7 and went through misc. described procedures but none made "java" show up under phpinfo(). Michael |
From: <php...@li...> - 2007-04-02 12:39:27
|
Hi, version 3.0.8 supports this. I have created a hidden download: http://sourceforge.net/project/downloading.php?group_id=117793&use_mirror=osdn&filename=php-java-bridge_4.0.8_j2ee.zip&97384973 A test case is in the server/tests.php5/tag.php: require_once("http://localhost:8080/JavaBridge/java/Java.inc"); java_require("$here/fooTag.jar"); $attributes=array("att1"=>"98.5","att2"=>"92.3","att3"=>"107.7"); $pc = new java_PageContext(); $tag = new java_Tag($pc, "FooTag", $attributes); if($tag->start()) { do { $pc->getPageContext()->getOut()->print("member:: "); $pc->getPageContext()->getOut()->println($pc->getPageContext()->getAttribute("member")); } while($tag->repeat()); $tag->end(); } This works from Apache/PHP and from Tomcat/PHP. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |