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...> - 2006-08-07 18:09:05
|
Hi, > Warning: dl(): Not supported in multithreaded Web > servers - use if c:\winnt\php.ini contains a extension=php_java.dll [java] the above message means that PHP has rejected the php_java.dll and that the dl() function tried to load it again but failed. You should find the reason why the php_java.dll has been rejected in the PHP log file. Most likely ABI version# don't match. Which PHP version do you use? Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-08-07 15:29:19
|
Hello All -=20 I am trying to use the php-java-bridge to access java APIs in php file. I have configured Apache (which is running on Windows) as mentioned on http://php-java-bridge.sourceforge.net/INSTALL.WINDOWS . I am getting the error below. I really appreciate if someone can please suggest what might cause this error. #!/bin/env php Please permanently activate the extension. Loading java extension php_java.dll now...=20 Warning: dl(): Not supported in multithreaded Web servers - use extension statements in your php.ini in C:\ApacheWeb\test.php on line 42 Please permanently activate the extension. Loading java extension java-x86-windows.dll now...=20 Warning: dl(): Not supported in multithreaded Web servers - use extension statements in your php.ini in C:\ApacheWeb\test.php on line 42 Please permanently activate the extension. Loading java extension php_java.dll now... Error: Either the java extension is not installed or it was compiled against an older or newer php version. See the HTTP (IIS or Apache) server log for details. Thanks, Manish Sprint/Nextel * IT - Tech Research & Innovation M: 913-269-2595 |
From: <php...@li...> - 2006-07-27 22:33:57
|
Hi Peter, I think I've found the problem. They've changed the send size from 64k (FCGI_BUF_SIZE) to 32k, so that a single read doesn't fill the FCGI buffer anymore (I don't know why they changed it, though). Please change FastCGIServlet.java, line 422 from: int n = read(buf, 0, contentLength); to: int i, n; for(i=0;(n=read(buf, i, contentLength-i)>0; ) n+=i; Thank you very much for the bug report! Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-07-27 01:47:07
|
Hi, > dedicated application. But in my case, I want to > build an easy to > distribute/deploy PHP component requiring only the > minimim work of > installing the memory cache is the easiest solution I can think of. A file cache requires much more work, every node has to serialize the data to java.io.tmpdir (that's the only directory to which J2EE or SEL has write access) and make sure that all other nodes don't update or read the cache while one node updates the data. If the data doesn't fit into memory or into java.io.tmpdir, you'll need a decicated cache daemon which listens on some port, updates its database regularily and answers requests from the nodes. Users could start this daemon, if they want to: java -jar luceneCacheDaemon.jar If a Socket(daemonPort) fails during startup of a node you could revert to memory cache: public class fooFactory { private static Foo foo; private static final Socket cacheDaemon; static { try { cacheDaemon = new Socket(DAEMON_PORT); } catch (IOException e) {/*ignore*/} } public static synchronized foo getFoo() { if(foo!=null) return foo; if(cacheDaemon!=null) return foo=getFoo(cacheDaemon); return foo = createFoo(); } } > to native code yet (but will do, curious about the > performance with > respect to a VM install) Starting a native lucene .so costs about 100 to 150 ms. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-07-26 18:01:39
|
Hi Peter, > with php 5.1.4 the bridge fails with a protocol > exception in the fastcgi servlet. Yes. > It looks like php > now sends the data in chunks and the servlet stops > after reading the first packet. Not really. It's just that the PHP FastCGI SAPI is broken since 5.1.4, that's a known problem. All other projects which use the FastCGI SAPI have the same problem, IBM's "PHP Integration Kit for WebSphere" for example. > After wrapping the socket input stream by a > BufferedInputStream (line 128 in > ConnectionPool.java) it now works with 5.1.4 and 5.2 Indeed, the bridge shouldn't use raw socket streams. I will make the change for 3.1.7. However, I don't think this fixes the broken 5.1.4 FastCGI SAPI. Can you please open a ticket (please use http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233). We will look at this issue, when we have some time. In the meantime please use PHP versions 5.1.2 or 5.0.4 or PHP 4.x. Regards, Jost Boekemeier ___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de |
From: <php...@li...> - 2006-07-25 10:53:52
|
Hi, with php 5.1.4 the bridge fails with a protocol exception in the fastcgi servlet. It looks like php now sends the data in chunks and the servlet stops after reading the first packet. After wrapping the socket input stream by a BufferedInputStream (line 128 in ConnectionPool.java) it now works with 5.1.4 and 5.2 Peter --------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min. |
From: <php...@li...> - 2006-07-24 20:42:20
|
Hi Jost Thank you very much for your explanations On 7/24/06, php...@li... <php...@li...> wrote: > Hi Paul, > > > to keep certain Java objects (in my > > case Lucene index searchers, query filters) > > persistent between client calls. > > I usually use a factory class: > > public class FooFactory { > private static final Object foo=createFoo(); > public Object getFoo() { > return foo; > } > } > > This works because the JVM keeps the class Name=>Class > bindings in a weak hash map and classes usually aren't > gc'ed unless the VM runs short of memory. That could be part of the solution, like a lucene indexreader for a dedicated application. But in my case, I want to build an easy to distribute/deploy PHP component requiring only the minimim work of installing your php-java bridge as a stand-alone service (or for those who can within tomcat or the likes). > The above method can't be used if all nodes of a > (weblogoc- or tomcat-) cluster should refer to the > same foo instance or if there's no persistent VM at > all(for example if lucene and the bridge classes have > been compiled to native code and are started for each > request). > That is not the case for me, I did not explore the option of compiling to native code yet (but will do, curious about the performance with respect to a VM install) > > I also suspect > > serializing (sometimes > > larger) objects is beyond the scope of session > > variable too. > > Depends on how long you want to keep the data and how > expensive it is to create. If the data is really > expensive I would use the JPersistenceAdapter, > serialize the data and store it on the master node, on > the web server or in a database and deserialize it > when the next request comes in. Ah, that's interesting! The data (lucene filters and sort objects mainly) is rather expensive to create (roughly 50 to 200 msec per instance for a "typical" index which has a few tens to a few hundred fields and 100k records) The main problem with JPersistenceAdapter is that I should find a way to get this working in a PHP4 contextto which I'm tied now ... and which does not look trivial now Thank you very much again, I learned a lot andn admire your work on the php-java bridge! Best regards Paul -- http://walhalla.wordpress.com |
From: <php...@li...> - 2006-07-24 16:36:06
|
Hi, > i wanna return jl; > > but it show me "object(Java)#2 (0) { } " In PHP4 the code $ob = new Java(...) echo $ob; prints the above, echo $ob->toString(); should display the string representation of $ob, if $ob has a toString() method. Regards, Jost Boekemeier ___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de |
From: <php...@li...> - 2006-07-24 16:26:50
|
Hi Paul, > to keep certain Java objects (in my > case Lucene index searchers, query filters) > persistent between client calls. I usually use a factory class: public class FooFactory { private static final Object foo=createFoo(); public Object getFoo() { return foo; } } This works because the JVM keeps the class Name=>Class bindings in a weak hash map and classes usually aren't gc'ed unless the VM runs short of memory. The above method can't be used if all nodes of a (weblogoc- or tomcat-) cluster should refer to the same foo instance or if there's no persistent VM at all(for example if lucene and the bridge classes have been compiled to native code and are started for each request). > I also suspect > serializing (sometimes > larger) objects is beyond the scope of session > variable too. Depends on how long you want to keep the data and how expensive it is to create. If the data is really expensive I would use the JPersistenceAdapter, serialize the data and store it on the master node, on the web server or in a database and deserialize it when the next request comes in. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-07-24 03:38:00
|
i wanna return jl; but it show me "object(Java)#2 (0) { } " HOW CAN I DO? php code: package newjava; public class array{ public String arr_s(String ar[]){ return ar[0]+ar[1]; } public String[] s_arr(){ String ar[]={"m1","m2"}; return ar; } public int[] int_arr(){ int ar[]={1,2,3,4}; return ar; } public jl jl_arr(){ jl myjl=new jl("Shanghai",9); return myjl; } } java code1: package newjava; import java.lang.Object; public class jl extends Object{ String s; int i; public jl(String s, int i){ this.s=s; this.i=i; } } java code2: package newjava; public class array{ public String arr_s(String ar[]){ return ar[0]+ar[1]; } public String[] s_arr(){ String ar[]={"m1","m2"}; return ar; } public int[] int_arr(){ int ar[]={1,2,3,4}; return ar; } public jl jl_arr(){ jl myjl=new jl("Shanghai",9); return myjl; } } |
From: <php...@li...> - 2006-07-22 18:57:17
|
Hi I'm looking at the possibilities to keep certain Java objects (in my case Lucene index searchers, query filters) persistent between client calls. I looked at the java_session() function, but this is not possible as I it interferes with the session functions of the application in which I'm using the php-java bridge. I also suspect serializing (sometimes larger) objects is beyond the scope of session variable too. So my question is if any of you could shed some light or point me in a good direction to look for the best solutions. I am currently exploring the idea of using a Java cache framework like Apache Jakarta JCS but maybe I'm looking to far ... Any input is very much appreciated Best regards Paul -- http://walhalla.wordpress.com |
From: <php...@li...> - 2006-07-17 16:25:42
|
Hi Paul, > [...] integrating Lucene > (Java search libarries) with a PHP CMS - eZ publish. > We contributed our work to the community that's really great. If you need anything (features, assistence) please let us know. Regards, Jost Boekemeier ___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de |
From: <php...@li...> - 2006-07-14 17:16:12
|
Jost, While restarting my php-bridge, I noticed that I had two instances of the bridge running! root 3137 1 0 Jul07 ? 00:00:00 java - Djava.ext.dirs=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/ext -jar JavaBridge.jar INET:9267 3 JavaBridge.log apache 15746 15745 0 Jul09 ? 00:00:01 java - Djava.ext.dirs=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/ext - Djava.library.path=/usr/lib64/php/modules - Djava.class.path=/usr/lib64/php/modules/JavaBridge.jar - Djava.awt.headless=true -Dphp.java.bridge.base=/usr/lib64/php/modules php.java.bridge.JavaBridge INET_LOCAL:0 1 r I shut both down, restarted an instance similar to the first, restarted apache, and I no longer receive the error. I am not sure why that was occurring. Now, just to get Lucene working properly :) Thanks *so* much for all your help. Good luck with your next release! Wendy On 7/14/06, php...@li... < php...@li...> wrote: > > Hi Wendy, > > > "lucene-2.0.0 > > I get the following error about missing > > java.security.Security. > > this sounds like a GNU Java problem[1]. GNU Java > doesn't print the name of the missing class but the > name of the class that reports the problem. > > I think the real problem is that the class > java.security.Security complains that the concrete > security provider is missing. > > Can you please set the log level to 5 and run the test > again? It should display a "searching for class XXX" > where XXX is the missing class. > > Please open a ticket (please use > http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233) > and attach the log there. I will check this tomorrow > for the new 3.1.5 release. > > > Regards, > Jost Boekemeier > > [1] The source download archive contains a 1.x > lucene.jar in the unsupported folder which has been > tested against GNU Java and GCJ, please see > http://php-java-bridge.sourceforge.net/examples/search/. > Another example is here: > > http://php-java-bridge.sourceforge.net/documentation/PHP-API/html/java_8c.html#a54 > . > It might be that lucene 2.x doesn't work with GNU Java > at the moment, I will check this. > > > > > ___________________________________________________________ > Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > -- Wendy |
From: <php...@li...> - 2006-07-14 17:03:27
|
Hi Wendy, > "lucene-2.0.0 > I get the following error about missing > java.security.Security. this sounds like a GNU Java problem[1]. GNU Java doesn't print the name of the missing class but the name of the class that reports the problem. I think the real problem is that the class java.security.Security complains that the concrete security provider is missing. Can you please set the log level to 5 and run the test again? It should display a "searching for class XXX" where XXX is the missing class. Please open a ticket (please use http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233) and attach the log there. I will check this tomorrow for the new 3.1.5 release. Regards, Jost Boekemeier [1] The source download archive contains a 1.x lucene.jar in the unsupported folder which has been tested against GNU Java and GCJ, please see http://php-java-bridge.sourceforge.net/examples/search/. Another example is here: http://php-java-bridge.sourceforge.net/documentation/PHP-API/html/java_8c.html#a54. It might be that lucene 2.x doesn't work with GNU Java at the moment, I will check this. ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-07-13 18:58:24
|
I have a PHP file that includes the following code: <?php java_require("commons-beanutils.jar;commons-beanutils-bean-collections.jar ;commons-beanutils-core.jar;commons-logging-1.1.jar;commons-digester-1.7.jar;commons-b eanutils.jar;source.jar;demo.jar"); $path = new Java("java.lang.String", "/home/wendy/lucene-2.0.0 /src/demo/index"); $Searcher = new Java("org.apache.lucene.search.IndexSearcher ", $path); ?> I get the following error about missing java.security.Security. Fatal error: Uncaught [o(Exception):"java.lang.Exception: CreateInstance failed: new org.apache.lucene.search.IndexSearcher ((String)o(String)). Cause: java.lang.ClassNotFoundException: Unresolved external reference: java.lang.NoClassDefFoundError: java.security.Security. -- Unable to call constructor because it or one of its parameters refer to the mentioned external class which is not available in the current "java_require()" path. Please check the path and the SEL and File permissions and remember that all interconnected classes must be loaded with a single java_require() call, i.e. use java_require("foo.jar;bar.jar") instead of java_require("foo.jar"); java_require("bar.jar"). Please check the Java Bridge log file for details."] thrown in /home/wendy/public_html/test3.php on line 6 I am running on a FC5 machine, SEL disabled, 64-bit, using Java sockets and a standalone app. Is this problem occurring because my default java install has a 32-bit installation, and the bridge is requiring a 64-bit installation? If so, do I need to upgrade my version of java to the 64-bit installation somehow? (Ref: We had previously discussed my errors in a message entitled: "Installing on Fedora Core 5") Thanks very much. -- Wendy |
From: <php...@li...> - 2006-07-12 20:25:36
|
Hi All, I want to thank Jost for the excellent php-java bridge: it is a key factor in reaching a milestone: integrating Lucene (Java search libarries) with a PHP CMS - eZ publish. We contributed our work to the community (of course) and hope this php-java bridge project will continue to have an active life in the foreseeable future Regards Paul -- http://walhalla.wordpress.com |
From: <php...@li...> - 2006-07-12 15:54:06
|
Hi Andreas, > java_require("imda.jar;o4glrt.jar"); do you have the o4gl server running on the same computer? According to their documentation the "Basic o4glrt.jar" is only for "Intranet network configurations", whatever that means. > Could not connect to the AppServer: General Error: > Cannot find the support library for the > http protocol (9989). (7203) If I understand their documentation correctly, the HTTP protocol adapter is in the o4glrth.jar: AppServerDC Basic (o4glrt.jar)1 HTTP HTTP (o4glrth.jar) HTTPS HTTPS Lite (o4glrthsl.jar) HTTPS HTTPS Standard (o4glrths.jar) If the server indeed runs on the same machine, o4glrt.jar should work, if TCP connections work. If I remember correctly some JDK1.4 versions have problems, at least on RedHat Linux, where JDK1.4 incorrectly tries to use IPV6 instead of IP4. An strace -p <java-process-id> should reveil this problem. Regards, Jost Boekemeier ___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de |
From: <php...@li...> - 2006-07-12 06:54:47
|
thank u, i get it. 2006/7/12, php...@li... < php...@li...>: > > Hi, > > > because i use xampp,and my php and apache is not > > like 'c:/php' > > How do you start the back-end and which version of the > bridge do you use? Since 3.1.4 the bridge looks in > php.java.bridge.base/lib, where php.java.bridge.base > defaults to c:/php, if the PHP option extension_dir is > not set. Otherwise it depends of the extension_dir > setting. > > > > so i wanna change java_require path > > Simply changing the extension_dir should work: > > extension_dir=3Dd:/php > > for example. Please check the java.command from the > phpinfo(), it should display java.command =3D java ... > -Dphp.java.bridge.base=3D<your-extension-dir>. > > > > Regards, > Jost Boekemeier > > > > > > > > ___________________________________________________________ > Der fr=FChe Vogel f=E4ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! Ma= il: > http://mail.yahoo.de > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronim= o > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
From: <php...@li...> - 2006-07-12 06:53:49
|
dGhhbmsgdaGjoaOho2kgZml4ZWQgaXQuCgoyMDA2LzcvMTIsIHBocC1qYXZhLWJyaWRnZS11c2Vy c0BsaXN0cy5zb3VyY2Vmb3JnZS5uZXQgPApwaHAtamF2YS1icmlkZ2UtdXNlcnNAbGlzdHMuc291 cmNlZm9yZ2UubmV0PjoKPgo+IEhpLAo+Cj4gPiAiRmF0YWwgZXJyb3I6IHBocF9tb2RfamF2YSg1 Mikgc3lzdGVtIGVycm9yIGNvZGU6Cj4gPiAxMDA2MS4gQ291bGQgbm90IGNvbm5lY3QKPgo+IGhh dmUgeW91IHN0YXJ0ZWQgdGhlIGJhY2stZW5kIG9yIHNob3VsZCB0aGUgYmFjay1lbmQKPiBzdGFy dCBhdXRvbWF0aWNhbGx5PyBXaGF0J3MgeW91IHBocC5pbmkgamF2YSBzZXR1cD8KPiBDYW4geW91 IHBsZWFzZSBydW4gdGhlIHRlc3QucGhwIGFuZCBjaGVjayB0aGUKPiBqYXZhLnNvY2tldG5hbWUg YW5kIGphdmEuaG9zdHMgb3B0aW9ucz8KPgo+IElmIHlvdSBoYXZlIHNldCBqYXZhLnNvY2tldG5h bWU9OTI2NyBpbiB5b3VyIHBocC5pbmksCj4geW91IG11c3Qgc3RhcnQgdGhlIGJhY2stZW5kLCBm b3IgZXhhbXBsZSB3aXRoIHRoZQo+IGNvbW1hbmQ6Cj4KPiBqYXZhIC1qYXIgSmF2YUJyaWRnZS5q YXIgSU5FVDo5MjY3IEphdmFCcmlkZ2UubG9nCj4KPgo+IFJlZ2FyZHMsCj4gSm9zdCBCb2VrZW1l aWVyCj4KPgo+Cj4KPiBfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fXwo+IFRlbGVmb25hdGUgb2huZSB3ZWl0ZXJlIEtvc3RlbiB2b20gUEMg enVtIFBDOiBodHRwOi8vbWVzc2VuZ2VyLnlhaG9vLmRlCj4KPgo+IC0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0K PiBVc2luZyBUb21jYXQgYnV0IG5lZWQgdG8gZG8gbW9yZT8gTmVlZCB0byBzdXBwb3J0IHdlYiBz ZXJ2aWNlcywgc2VjdXJpdHk/Cj4gR2V0IHN0dWZmIGRvbmUgcXVpY2tseSB3aXRoIHByZS1pbnRl Z3JhdGVkIHRlY2hub2xvZ3kgdG8gbWFrZSB5b3VyIGpvYgo+IGVhc2llcgo+IERvd25sb2FkIElC TSBXZWJTcGhlcmUgQXBwbGljYXRpb24gU2VydmVyIHYuMS4wLjEgYmFzZWQgb24gQXBhY2hlIEdl cm9uaW1vCj4gaHR0cDovL3NlbC5hcy11cy5mYWxrYWcubmV0L3NlbD9jbWQ9bG5rJmtpZD0xMjA3 MDkmYmlkPTI2MzA1NyZkYXQ9MTIxNjQyCj4gX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX18KPiBwaHAtamF2YS1icmlkZ2UtdXNlcnMgbWFpbGluZyBsaXN0Cj4g cGhwLWphdmEtYnJpZGdlLXVzZXJzQGxpc3RzLnNvdXJjZWZvcmdlLm5ldAo+IGh0dHBzOi8vbGlz dHMuc291cmNlZm9yZ2UubmV0L2xpc3RzL2xpc3RpbmZvL3BocC1qYXZhLWJyaWRnZS11c2Vycwo+ Cg== |
From: <php...@li...> - 2006-07-11 16:57:50
|
Hi, > "Fatal error: php_mod_java(52) system error code: > 10061. Could not connect have you started the back-end or should the back-end start automatically? What's you php.ini java setup? Can you please run the test.php and check the java.socketname and java.hosts options? If you have set java.socketname=9267 in your php.ini, you must start the back-end, for example with the command: java -jar JavaBridge.jar INET:9267 JavaBridge.log Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-07-11 16:54:06
|
Hi, > because i use xampp,and my php and apache is not > like 'c:/php' How do you start the back-end and which version of the bridge do you use? Since 3.1.4 the bridge looks in php.java.bridge.base/lib, where php.java.bridge.base defaults to c:/php, if the PHP option extension_dir is not set. Otherwise it depends of the extension_dir setting. > so i wanna change java_require path Simply changing the extension_dir should work: extension_dir=d:/php for example. Please check the java.command from the phpinfo(), it should display java.command = java ... -Dphp.java.bridge.base=<your-extension-dir>. Regards, Jost Boekemeier ___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de |
From: <php...@li...> - 2006-07-11 16:48:40
|
Hi Wendy, [please excuse the delay] > However I am having troubles attaching a second > file. [to the bug report] Not necessary, the bug has already been fixed. I will create a new download this weekend. > You gave me a couple options to resolve the problem. > 1. Use TCP sockets. How is this done? The RPM binaries incorrectly assume that unix domain sockets are usable and discard most of the autoconf values. Compiling the .tar.bz2 source download should fix this: phpize && ./configure --with-java=<java-home> && make su -c "sh install.sh" answer no/no/yes/no to the questions from the install dialog. > configure > php.inidifferently? Is there an example somewhere? I've never had this 32/64 bit problem. :) > 2. Use the servlet backend. Don't I need to have > tomcat running for this? Either tomcat or any other J2EE server, yes. This is the fastest option, btw. Communication via named pipes is 3 times faster than TCP socket communication and 1.5 times faster than unix domain sockets. > I currently don't run Tomcat, so this didn't seem > like the option I would If you're not familier with it, you don't need to use it, this part is still being developed. However, in the future the Apache front end with a J2EE or Tomcat back-end will be default and the standalone back-end will be deprecated and may vanish. Regards, Jost Boekemeier ___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de |
From: <php...@li...> - 2006-07-11 09:02:14
|
Hi there, at first: I'm German, that's why my englich is not so good! I have a Problem with the PHP-Java-Bridge: I have a little Java-Programm thats establish a connection to a Progress-ApplicationServer and prints data from the Database on the Screen. I'm using a Java-Class that is generated by a Progress Proxy-Generator. That Programm runs correcly. But when I use that Class in PHP with the PHP-Java-Bridge I get the following Error-Messages in the log-file: Jul 11 10:34:28 JavaBridge ERROR: An exception occured: java.lang.reflect.InvocationTargetException java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at php.java.bridge.JavaBridge.CreateObject(JavaBridge.java:547) at php.java.bridge.Request.handleRequest(Request.java:502) at php.java.bridge.Request.handleRequests(Request.java:533) at php.java.bridge.JavaBridge.run(JavaBridge.java:189) at php.java.bridge.BaseThreadPool$Delegate.run(BaseThreadPool.java:37) Caused by: com.progress.open4gl.ConnectException: Could not connect to the AppServer: General Error: Cannot find the support library for the http protocol (9989). (7203) at com.progress.open4gl.dynamicapi.ExceptionConverter.convertToConnectException(ExceptionConverter.java:133) at com.progress.open4gl.dynamicapi.Session.connect(Session.java:252) at com.progress.open4gl.dynamicapi.Session.connect(Session.java:218) at com.progress.open4gl.javaproxy.AppObject.connect(AppObject.java:90) at IMDA.imdapgImpl.<init>(imdapgImpl.java:227) at IMDA.imdapg.<init>(imdapg.java:37) ... 9 more I'm Wondering, because the Java-Application (a Console-program) works correcly..... And on my Windows-PC that works fine too with the PHP-Java-Bridge. But on the SuSE vroot-Server not...... This is my PHP-File: java_require("imda.jar;o4glrt.jar"); $imda = new Java('IMDA.imdapg','AppServerDC://a.host.de:port/name','',''); var_dump($imda); The $imda - Variable is always the boolse Value false. The files imda.jar und o4glrt.jar are in the Directory /usr/lib/php/extensions/lib Has Anyone a Suggestion how that program running correct? Have I a Generally Error with the CLASSPATH? I have the Impression that not all Classes can found from the PHP-Java-Bridge..... Regards Andreas Barthel |
From: <php...@li...> - 2006-07-10 06:18:35
|
anyone know? 2006/7/9, James liu <liu...@gm...>: > > "Fatal error: php_mod_java(52) system error code: 10061. Could not connect > to server. Have you started the java back-end (either a servlet engine, an > application server, JavaBridge.jar or MonoBridge.exe) and set the > java.socketname or java.hosts option?. in > C:\xampp\xampp\htdocs\java_bridge\sessionSharing.php on line 2" > > who know how to fix it? > > |
From: <php...@li...> - 2006-07-09 08:47:04
|
"Fatal error: php_mod_java(52) system error code: 10061. Could not connect to server. Have you started the java back-end (either a servlet engine, an application server, JavaBridge.jar or MonoBridge.exe) and set the java.socketname or java.hosts option?. in C:\xampp\xampp\htdocs\java_bridge\sessionSharing.php on line 2" who know how to fix it? |