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
(2) |
5
|
6
|
7
|
8
|
9
|
10
(2) |
11
(7) |
12
(4) |
13
|
14
|
15
|
16
|
17
(2) |
18
|
19
|
20
|
21
(1) |
22
(1) |
23
(1) |
24
|
25
|
26
|
27
|
28
(2) |
29
|
30
|
|
|
|
|
|
|
From: <php...@li...> - 2006-04-28 17:17:39
|
Hi, > I thought the bridge works for PHP 5 surely. Isn't > that so? Certanly. But RHEL3 shipped with PHP4 only. The RHEL3 RPM contains binaries for PHP4, the Fedora Core 4 (or RHEL4) RPM contains binaries for PHP5, the Fedora Core 5 (or RHEL5) RPM contains binaries for PHP5.1 or PHP6. That doesn't necessarily mean that you must upgrade to RHEL4 if you want to use PHP5, of course. Just install the appropriate PHP5 and FC4 RPM's. -- You may need to re-compile the php5-*.src.rpm and php-java-bridge-*.src.rpm and other files against your system, though. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-04-28 07:58:11
|
When we try to install the PHP-JAVA bridge 3.0.8-1, we get the following failed dependencies. ---------------------------------------------------------------------------- ------------ warning: php-java-bridge-3.0.8-1.RHEL.i386.rpm: V3 DSA signature: NOKEY, key ID be89e756 error: Failed dependencies: /usr/bin/php is needed by php-java-bridge-3.0.8-1 j2re >= 1.4.2 is needed by php-java-bridge-3.0.8-1 php >= 4.3.2 is needed by php-java-bridge-3.0.8-1 php < 5.0.0 is needed by php-java-bridge-3.0.8-1 Suggested resolutions: php-4.3.2-8.ent.i386.rpm ---------------------------------------------------------------------------- ------------ I thought the bridge works for PHP 5 surely. Isn't that so? Regards, Rithish. |
From: <php...@li...> - 2006-04-23 18:49:06
|
Hi, > I will add a php-cgi-x86-freebsd FastCGI > binary to the JavaBridge.war. It's here: http://php-java-bridge.sourceforge.net/snaps/FreeBSD/ tested with tomcat 5.5 on FreeBSD 6. However, Java on FreeBSD runs quite slow, so I don't think many people will use it. Therefore I will not make FreeBSD binaries available in future releases. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-04-22 16:31:44
|
Hi, first of all thank you very much for this problem report. Please try to report such issues immediately. > freebsd 6.0 For Linux, Solaris and Windows the CGI directory contains php-cgi-<os>-<arch> executables, but not for FreeBSD. -- I have a freebsd FastCGI binary here, but I decided to not include it until we get a support request[1]. So what happend is that the FastCGI servlet has started /usr/bin/php in the asumtion that this is a (Fast-)CGI binary, which isn't the case on FreeBSD. FreeBSD only ships with a command line binary. The PHP cli binary is similar to the cgi binary but doesn't read HTTP information like X_JAVABRIDGE_CONTEXT=, so the communication channel doesn't work. To fix this problem please install a php-cgi binary into /usr/bin/ or please start a standalone PHP FastCGI server with the command: ./php-cgi -b:9667 (Please see the section PHP without Apache/IIS front-end in the README for details). [freebsd port available ] > for the php-java bridge? I don't think one exists. Until recently it wasn't legally (and technically[1]) possible to ship a pre-compiled java binary for FreeBSD. Now that this is possible I will add a php-cgi-x86-freebsd FastCGI binary to the JavaBridge.war. I will inform you when it's available. Regards, Jost Boekemeier [1] Due to thread-related problems GNU "Java" (gcj) does not run properly on FreeBSD. ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-04-21 18:35:53
|
I've been struggling for a couple of weeks to make this work. In = particular I want to use the bridge with tomcat 5.5. If I browse to http://localhost:8080/JavaBridge nothing happens. http://localhost:8080 <http://localhost:8080/> does bring up the tomcat default page OK. = Running http://localhost/test.php from the JavaBridge directory was working at = one time. It still displays phpinfo OK but now at the bottom where I was getting a lot of java info I'm getting this instead: =20 Error: The PHP/Java Bridge backend is not running. Please start it = and/or check if the directory /usr/local/lib/php/20050922 contains "java.so" = and "JavaBridge.jar". Check if the following values are correct: = java.java_home =3D java.java =3D If you want to start the backend automatically, = disable: java.socketname =3D java.hosts =3D java.servlet =3D If that still = doesn't work, please check the "java command" above and report this problem to: php...@li.... =20 Here is the java section of phpinfo: =20 java support Enabled java bridge 3.0.8rc3 java.java_home no value java.java java java.log_file <stdout> java.log_level no value (use backend's default level) java.ext_java_compatibility Off java command LD_LIBRARY_PATH=3D/usr/local/lib/php/20050922:/usr/local/lib: /usr/local/lib/php/20050922-debug/RunJavaBridge java -Djava.library.path=3D/usr/local/lib/php/20050922 -Djava.class.path=3D/usr/local/lib/php/20050922/JavaBridge.jar -Djava.awt.headless=3Dtrue php.java.bridge.JavaBridge INET_LOCAL:0 2 java status not running java server localhost =20 I notice java.java_home has no value. How do I set it and what should = it be set to? My JAVA_HOME is /usr/local/diablo-jdk1.5.0/ =20 I also notice that the LD_LIBRARY_PATH refers to /usr/local/lib/php/20050922-debug/RunJavaBridge when it should be = using just 20050922? =20 I'm running: =20 freebsd 6.0 apache 2.2.0 tomcat 5.5 php 5.1.2 java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build = diablo-1.5.0-b00) Java HotSpot(TM) Client VM (build diablo-1.5.0_06-b00, mixed mode) =20 any help at all would really be appreciated ... =20 Tom =20 p.s. I installed everything else from freebsd ports, but I don't see a = port for the php-java bridge? =20 =20 =20 |
From: <php...@li...> - 2006-04-17 14:50:09
|
Hi, > -- Expection ---:java.net.SocketException: Invalid > argument or cannot assign requested > addressTranval----->-1 [I assume you mean "Exception"] -1 is an invalid TCP and LOCAL address. Most likely the -1 comes from the java.socketname from your php.ini or /etc/php.d/java*.ini. What does phpinfo() show and how have you started the java back-end (if any)? Another possibility is that jdk1.4.2 has tried to use IP6 instead of IP4 to connect to the local interface or that the SEL restrictions denied socket bind/connect. If that's the case please check your SEL and/or IP configuration. Or use LOCAL ("unix domain") sockets instead, they are faster than IP sockets anyway: java -jar JavaBridge.jar LOCAL:pjb 4 "" and the php.ini entry: java.socketname=pjb Unlike TCP, LOCAL sockets are allowed by the SEL policy (assuming that you've correctly installed the SEL policy files). Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-04-17 07:14:13
|
i,m trying the php- java-bridge onto fc4 & i'm getting the following: i'ld like to know what does the folowing mean -- Expection ---:java.net.SocketException: Invalid argument or cannot assign requested addressTranval----->-1 please help. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: <php...@li...> - 2006-04-12 19:20:06
|
php...@li... wrote: > So I suspect that you use an older version of the > back-end, probably the current cvs head, which is > 3.0.8pre. Can you please check the log of your > application server? It should contain a line: I reinstalled the entire stack and made sure both the front and back ends were running 3.0.8. I can no longer reproduce them problem. You are likely correct that it was a version mismatch. I suspect I had some leftover configuration that was directing traffic to the wrong servlet path (with an older backend) Thanks, Matt |
From: <php...@li...> - 2006-04-12 16:49:24
|
Hi, > > On Linux the segfault shouldn't happen, unless you > > have compiled PHP with ZTS. correction: the segfault only happens if both ZTS and debug are enabled. It is possible to use 5.1.2 with the Apache2 Worker MPM or NT MPM, if debug is off. (When the Worker MPM is used, the Apache+PHP+PHP/Java Bridge+standalone java backend combination delivers java-based content more than twice as fast compared with Apache Tomcat. > Please see Thanks. The problem is an assertion failure because the back-end has sent an <Object ...> request without a predicate, the predicate is required since 3.0.8. More about this on the ticket. -- Although I've promised that a 3.0.8 back-end will work with an old 2.0.8 front-end, I forgot to implement the compatibility option. Now that 3.0.8 is available it's too late. If anyone wants to use a 2.0.8 java.so or php_java.dll with a 3.0.8 back-end, please open a separate support request. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-04-12 16:36:59
|
Hi, I've just checked the code. Since version 3.0.8 the problem you've described should not appear anymore: On windows the PhpJavaServlet always passes null as the ChannelName which causes the ContextServer to allocate a SocketContextServer instead of a PipeContextServer. So I suspect that you use an older version of the back-end, probably the current cvs head, which is 3.0.8pre. Can you please check the log of your application server? It should contain a line: PhpJavaServlet Version 3.0.8 ready Since 3.0.8 the version # of the back-end is also stored in the global.properties within the JavaBridge.jar (located in the JavaBridge.war). The entry should be BACKEND_VERSION=3.0.8 Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |
From: <php...@li...> - 2006-04-12 16:17:16
|
Hi, > I need to call a java function from php that need a > java.lang.Collection<MY_OBJECT> as a parameter. Just instantiate and pass a java.lang.Vector() or a List, for example. > Looking at the doc I don't found anything useful > about use of generics. Since java doesn't support first-class generics, you can ignore them. The <...> is only syntactic shugar for the compiler (and for the marketing). The situation becomes different when Mono 2.0 appears, which supports first-class generics. I will add a section how to work with Mono generics when Mono 2.0 is available. Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |
From: <php...@li...> - 2006-04-11 20:33:15
|
php...@li... wrote: > I suspect the problem is in the java.so, probably the > mknod failed or has different semantics compared to > Solaris or Linux. Which operating system do you use? This is on XP. > strace ./php-cgi-ARCH-OS -b:9667 2>error.log So I don't have strace available. :\ I literally took the .war out of the distro and deployed it unmodified. Then I browsed over to http://localhost:8080/JavaBridge/test.php Is there anything else I can do to help get to the root of this? Thanks, Matt |
From: <php...@li...> - 2006-04-11 20:11:13
|
php...@li... wrote: > On Linux the segfault shouldn't happen, unless you > have compiled PHP with ZTS. I have tested against the > PHP 5.1.2 binary that ships with RedHat FedoraCore 5, > which doesn't show the problem. The build is non-ZTS. > Please open a problem report (use > http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233) > and append the configure options you have used to > compile your php binary and the above httpd.log Please see http://sourceforge.net/tracker/index.php?func=detail&aid=1468821&group_id=117793&atid=679233 Thanks, Matt |
From: <php...@li...> - 2006-04-11 19:46:20
|
Hi, > The bridge (v 3.0.8) segfaults when used as a module > to php 5.1.2. The php 5.1.2 on windows segfaults, yes (if I remember correctly it's the leak detector). That problem has been fixed in 5.1.3, which you can find in the JavaBridge.war. On Windows please use the latest stable PHP5 version, which is 5.0.5. Or please upgrade to PHP5.1.3, when it becomes available. -- The memory leak which caused the detector to crash is still in php 5.1.3, but it isn't fatal anymore.[1] On Linux the segfault shouldn't happen, unless you have compiled PHP with ZTS. I have tested against the PHP 5.1.2 binary that ships with RedHat FedoraCore 5, which doesn't show the problem. To reproduce the problem on Linux please stop your apache http server and start it as follows: strace -s1024 /usr/sbin/httpd -X 2>httpd.log and re-run the test. Please open a problem report (use http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233) and append the configure options you have used to compile your php binary and the above httpd.log Thank you very much for this bug report. Regards, Jost Boekemeier [1] They've fixed the leak, too, but forgot to bump the API version, so we're still forced to use the old API for backwards compatibility. ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-04-11 19:31:02
|
Hi, thank you very much for the feedback. > seems to work fine. (See trace below) I notice that > an empty null.i > file appears in my JBoss bin directory. Sounds as if the PipeContextServer failed because the front-end (the java.so) has sent garbage. The failure doesn't affect the operation of the bridge because the SocketContextServer takes over, if the PipeContextServer fails. I suspect the problem is in the java.so, probably the mknod failed or has different semantics compared to Solaris or Linux. Which operating system do you use? Can you please open a ticked and append the following information: Please start the standalone PHP server with the command: export X_JAVABRIDGE_OVERRIDE_HOSTS=/ cd to the JavaBridge/WEB-INF/cgi directory strace ./php-cgi-ARCH-OS -b:9667 2>error.log (Please see the README for details how to start a standalone PHP FastCGI server) On BSD or Solaris please use truss instead of strace. Then please re-start your application server and re-run the test. Please append the above error.log at the end of the ticket (please use http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233) Thank you very much for this bug report. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-04-11 18:30:03
|
The bridge (v 3.0.8) segfaults when used as a module to php 5.1.2. I get this behavior reproducibly on both windows and linux (RH ES 4). The linux install was from source (phpize; configure --with-java=/usr/java/jdk; make; make install). The windows install used java-x86-windows.dll renamed to php_java.dll. Has anyone gotten this combination to work? Thanks, Matt |
From: <php...@li...> - 2006-04-11 17:59:09
|
Hello, I have deployed the 3.0.8 JavaBridge.war on JBoss 4.0.3SP1. I then run some of the samples, like test.php. I find that any time I access a php resource I get a FileNotFoundException in the log, although everything seems to work fine. (See trace below) I notice that an empty null.i file appears in my JBoss bin directory. Does anyone have an idea as to why this would happen? Thanks, Matt 13:52:02,060 ERROR [[/JavaBridge]] JavaBridge Exception: java.io.FileNotFoundException: null.o (The system cannot find the file specified ) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at php.java.bridge.http.PipeContextServer$Channel.getInputStream(PipeCon textServer.java:46) at php.java.bridge.http.ContextRunner.<init>(ContextRunner.java:32) at php.java.bridge.http.PipeContextServer.start(PipeContextServer.java:7 5) at php.java.bridge.http.ContextServer.start(ContextServer.java:70) at php.java.servlet.PhpJavaServlet.handleSocketConnection(PhpJavaServlet .java:444) at php.java.servlet.PhpJavaServlet.doPut(PhpJavaServlet.java:471) at javax.servlet.http.HttpServlet.service(HttpServlet.java:720) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:252) |
From: <php...@li...> - 2006-04-11 09:15:44
|
Hi all, I need to call a java function from php that need a java.lang.Collection<MY_OBJECT> as a parameter. Looking at the doc I don't found anything useful about use of generics. Anyone knows if it's possible to use generics in the bridge? Thank you Paolo |
From: <php...@li...> - 2006-04-10 20:39:31
|
Hi, > Call to undefined function java_get_server_name() If you get the above message it is likely that the php_java.dll is there but doesn't export the java_get_server_name() function. Which operating system do you use? The test.php checks for java_get_server_name() to make sure that our php_java.dll is used. For windows there are several outdated php_java.dll files floating around (see http://pecl4win.php.net/list.php/5_1). They are unmaintained and don't work anymore since php >=5.0. > I have followed the install instructions pretty > close and I can't get past > the above error. Can someone help with this? I think the easiest way to test this is to install the web application, which contains all needed components: * Click on: http://apache.dns4.com/tomcat/tomcat-5/v5.5.16/bin/apache-tomcat-5.5.16.exe * Download the J2EE binary and copy JavaBridge.war to the tomcat webapps directory * Wait 15 seconds and visit http://localhost:8080/JavaBridge After that please compare the file size of your php_java.dll and the java-x86-windows.dll from the webapps\JavaBridge\WEB-INF\cgi folder. > I am configuring this for Apache2 and PHP5. I think it should be sufficient to copy the java-x86-windows.dll (or the php5java-x86-windows.dll, if you use php 5.0.x) and the JavaBridge.jar from the webapps\JavaBridge\WEB-INF to your extension_dir and to change your php.ini file from extension=php_java.dll to extension=java-x86-windows.dll I hope it helps. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-04-10 07:27:14
|
Call to undefined function java_get_server_name() I have followed the install instructions pretty close and I can't get past the above error. Can someone help with this? I am configuring this for Apache2 and PHP5. Thanks, Dave |
From: <php...@li...> - 2006-04-04 17:27:49
|
Hi Brian, > I'm using gcj, Suse > 9.1, php-java-bridge 3.x first of all thank you very much for this bug report. I have created a ticket for this, please see PR1464354 (http://sourceforge.net/tracker/index.php?func=detail&aid=1464354&group_id=117793&atid=679233) Dynamic class loading and especially error reporting is something that will improve in 3.1.x. -- My plan is to add a set of standard PHP bindings (generated during configure) which hide the Java(...) calls internally. Together with the improved error reporing this should help users to resolve such problems within their eclipse IDE. I don't know what causes this problem, but I know that older versions of gcj "GNU Java" throw a null pointer exception while resolving some urls. The NP is then wrapped by a NoClassDefFoundError which in turn is wrapped by a ClassNotFoundException. Or it might be that gcj could not read some meta-information (text, property files) after it has compiled the .jar files to native code. We'll check this, please see the PR1464354 for details. > Is there anything I've overlooked or perhaps > something in the log file that > could help me address this? You could set the log level to 5 or a higher log level and check the "trying to load ..." messages. Unfortunately some older versions of gcj do not print a stack trace unless c++filt is in the PATH, so you might need to use strace to see the original error message from the kernel. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-04-04 00:58:37
|
So if anyone has this problem, I solved it. Gcj was causing problems = with ClassNotFound and no matter what I did, nothing would solve the missing libraries/classpath issue. After switching to Sun's JDK/SDK package and tinkering around with a few tweaks in php.ini, it works as expected. =20 Make sure your test.php is showing everything (including backend) as = running properly. Regards, Brian ________________________________________ From: Brian Lucas [mailto:blu...@gm...]=20 Sent: Monday, April 03, 2006 2:32 PM To: 'php...@li...' Subject: lucene, gcj & ClassNotFoundException problems Hello.=A0 I=92ve been banging my head for the last day or two trying to = get Lucene to work with the bridge. It works successfully from command line. =A0However, in the bridge I continuously get the ClassNotFoundException. I=92ve done most everything listed in the INSTALL -- created and moved = jars into /usr/share/java, the php-ext directory, even the current directory = of the .php script -- and still get ClassNotFoundException. I=92ve also set the java.classpath in php.ini to include the = lucene-core.jar files without luck. --- error ---- Fatal error: Uncaught [o(Exception):"java.lang.Exception: CreateInstance failed: new searcher. Cause: java.lang.ClassNotFoundException: = Unresolved external reference: java.lang.NoClassDefFoundError: while resolving = class: searcher. -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. --- end error ---- new JavaClass(=91searcher=92) doesn=92t error, but new = Java(=91searcher=92) responds with the error above. Is there anything I=92ve overlooked or perhaps something in the log file = that could help me address this?=A0 I=92m using gcj, Suse 9.1, = php-java-bridge 3.x Thanks, Brian |
From: <php...@li...> - 2006-04-03 20:32:23
|
Hello. I've been banging my head for the last day or two trying to get Lucene to work with the bridge. It works successfully from command line. However, in the bridge I continuously get the ClassNotFoundException. I've done most everything listed in the INSTALL -- created and moved jars into /usr/share/java, the php-ext directory, even the current directory of the .php script -- and still get ClassNotFoundException. I've also set the java.classpath in php.ini to include the lucene-core.jar files without luck. --- error ---- Fatal error: Uncaught [o(Exception):"java.lang.Exception: CreateInstance failed: new searcher. Cause: java.lang.ClassNotFoundException: Unresolved external reference: java.lang.NoClassDefFoundError: while resolving class: searcher. -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. --- end error ---- new JavaClass('searcher') doesn't error, but new Java('searcher') responds with the error above. Is there anything I've overlooked or perhaps something in the log file that could help me address this? I'm using gcj, Suse 9.1, php-java-bridge 3.x Thanks, Brian |
From: <php...@li...> - 2006-04-02 19:31:46
|
Hi, > >ln -s /usr/opt/tomcat/webapps/app2 /var/www/html/ > I couldn't get these to work either. > > I did get it to work by adding the Alias to a > different virtual host, which > is ok for now becaue I use javascript to open > another window. > > Alias / /usr/opt/tomcat/webapps/phpBB2/ I'm not familier with the virtual hosts settings and aliases, but as I understood it, one must add a <Directory> entry for the DocumentRoot. I have tested this with 3.0.8rc3: ------(apache frontend, tomcat backend setting)--- the following example is for Apache 2. Edit e.g. /etc/httpd/conf/httpd.conf as follows: # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # -DocumentRoot "/var/www/html" +DocumentRoot "/var/lib/tomcat5/webapps" # # Each directory to which Apache has access can be configured with respect # # This should be changed to whatever you set DocumentRoot to. # -<Directory "/var/www/html"> +<Directory "/var/lib/tomcat5/webapps"> Edit the php.ini or add a file php-tomcat.ini to the directory which contains the php module descriptions (usually /etc/php.d/), so that it contains: [java] java.hosts = 127.0.0.1:8080 java.servlet = On -------end proposed FAQ entry----------------------- But I am not sure if that works in a virtual host environment. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |