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...> - 2007-08-07 17:42:02
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Good day all, I apologize in advance if this question is answered in documentation -- I'm having trouble find mention of it. I'm encountering an issue with a new php-cgi process being created on each request, and not being terminated until servlet restart when running PJB as "java -jar JavaBridge.jar SERVLET_LOCAL:8080 3 JavaBridge.log". I feel like this isn't/shouldn't be normal behavior and that I may be missing a configuration hook or scripting cue that let's PJB know to shutdown the php-cgi process. Any help would be appreciated. P.S. Additionally, the examples at the bottom of INSTALL.J2SE have the line "e.eval((Reader)null);". What is that line used for? - -- Darian Anthony Patrick, ZCE, GWAS Principal, Application Development Criticode LLC (215) 240-6566 Office (866) 789-2992 Facsimile Web: http://criticode.com Email: da...@cr... JID: da...@ja... -----BEGIN PGP SIGNATURE----- iD8DBQFGuK65KpzEXPWA4IcRAld7AJ4nHHA8pStHVaENC5fuhEcRTFGxSACeMsos xr7FC15fPGh+28mL/OePEJI= =q0B7 -----END PGP SIGNATURE----- |
|
From: <php...@li...> - 2007-08-06 16:42:41
|
Hi Andre, > I was trying to build from latest cvs tree and stopped at some problems. you need the latest javax.script API, which is part of JDK 1.6. Do you use the main branch or 3.2.1? I have had some patches to upgrade Sanka's open-source script API contained in server/javax/script and applied them to the main branch. However, the 3.2.1 branch still contains the old interfaces. > symbol : method getErrorWriter() > location: interface javax.script.ScriptContext Sounds as if you have old classes in your path. getErrorWriter() is there: http://php-java-bridge.cvs.sourceforge.net/php-java-bridge/php-java-bridge/server/javax/script/ScriptContext.java?revision=1.4&view=markup&sortby=date Regards, Jost Boekemeier __________________________________ Formel1: Stuttgart, Maranello oder Blauweiß - Welches Team hat in Ungarn mehr Grip? www.eurosport.yahoo.de |
|
From: <php...@li...> - 2007-08-04 16:35:32
|
Hi,
> I think the URL split() used in version 4.1.7 caused this. In version 4.1.8 this
> problem disappeared (for me).
which URL split() do you mean?
> BTW: Is it possible to use Java.inc with version 3.2.1?
No, I don't think so. Version 4.x uses an enhanced protocol which tries to avoid round-trips as
much as possible. In order to make this work correctly, the bridge needs two interfaces, which
currently don't exist in the php core.
We could implement them ourselfs in java.c. But the java.c contained in version 4 is a fake, used
only for backward compatibility.
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-08-04 16:29:57
|
Hi, > It appears that the problem I was having with fread() errors (which, by the way, Jost, I > couldn't find any errors in the logs. Where would I find this log? Tomcat should report the > error, shouldn't it?) yes. -- The php.java.bridge.default_log_level is 3, which means that exceptions and errors are logged to the tomcat error log (usually called logs/NODENAME_date). > has to do with a JavaScript function interfering with Java. I guess Can you please open a problem report (please use http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233), set the log level to 5 and attach the log there? Maybe it is possible to also attach the request headers, obtained by adding the following line to Java.inc (line 265 in the current code http://php-java-bridge.cvs.sourceforge.net/php-java-bridge/php-java-bridge/server/META-INF/java/Protocol.inc?revision=1.11&view=markup): echo "request header::$str<br>\n"; I suspect that PHP could not parse the request headers correctly, probably because the back end has sent both, the PHP cookie and the JAVA cookie in an unusual way. -- I could not reproduce this, just a guess. They should be separated by a "; " and the value should be properly URLEncoded. Basically the bridge simply forwards the request URL to the back-end. I think what happened is that Java.inc has sent a garbage URL to tomcat and tomcat responded with a HTML error message. The bridge failed to detect the error condition and tried to parse the HTML error as a PHP/Java Bridge protocol response. > That is what appears is happening with the setCookie function that exists in java.inc as well as Yes, setCookie could be smarter. It should detect if the value is properly URLEncoded for example. I will check this. Regards, Jost Boekemeier __________________________________ Alles was der Gesundheit und Entspannung dient. BE A BETTER MEDIZINMANN! www.yahoo.de/clever |
|
From: <php...@li...> - 2007-08-04 16:03:29
|
Hi Filip,
> Actually, the jar files are not in a remote server.
then it is better to use a local URL. For example:
$here=getcwd();
java_require("$here/jar1.jar;$here/jar2.jar;...");
> could it be (another) Java classpath problem? All the
I don't think so.
> jar files inside java_require() should be in my Java
> classpath right?
No. -- Forget about the java classpath, this is an insane concept.
Please use the jar repository or java_require() instead.
> I assume that is what java_reset() does(?).
Yes. It clears the loader cache, which means that the dynamic loader
must load the classes again and again.
> did this because sometimes my Wiki runs sluggishly
> after I visit a page that invokes PHP-Java Bridge.
> That is true, even if the next pages I view do not use
> PHP-Java Bridge anymore.
Interesting. Java runs as a separate process. The only common
resource used by both processes is memory. Or this is a placebo
effect.
> java_reset()? Maybe, from an old local copy of some
> website?
It was documented in java.c, which doesn't exist anymore. But AFAIK
the documentation contained a warning that java_reset() should never
be used in user scripts.
If you have still performance problems please open a new ticket and
add a
echo java("java.lang.System")->currentTimeMillis();
to the beginning and the end of the script.
Regards,
Jost Boekemeier
__________________________________
Alles was der Gesundheit und Entspannung dient. BE A BETTER MEDIZINMANN! www.yahoo.de/clever
|
|
From: <php...@li...> - 2007-08-03 05:55:30
|
Hi Jost!
> the code pulls the java libraries from a remote
> server... Fetching jar files from a HTTP url is
> expensive,especially if you don't allow the bridge
> to cache them.
Actually, the jar files are not in a remote server.
They are in my PC which I am using as both server and
client. For some reason, the simple syntax below
would not work:
java_require("myJarFile1.jar;myJarFile2.jar;...");
That is why I switched to using HTTP urls. Hmmm...
could it be (another) Java classpath problem? All the
jar files inside java_require() should be in my Java
classpath right?
>Furthermore you remove all cached libraries at the
>end of the script, probably to emulate the dynamic
>behaviour which is switched off for remote URL's.
I assume that is what java_reset() does(?). I think I
did this because sometimes my Wiki runs sluggishly
after I visit a page that invokes PHP-Java Bridge.
That is true, even if the next pages I view do not use
PHP-Java Bridge anymore.
Hmmm... okay, I'll try your suggestions and hope that
fixes the problem. I wonder where I got
java_reset()? Maybe, from an old local copy of some
website?
Regards,
Filip
Send instant messages to your online friends http://uk.messenger.yahoo.com
|
|
From: <php...@li...> - 2007-08-02 20:03:24
|
It appears that the problem I was having with fread() errors (which, by the way, Jost, I couldn't find any errors in the logs. Where would I find this log? Tomcat should report the error, shouldn't it?) has to do with a JavaScript function interfering with Java. I guess they're so similar in terms of syntax that functions that happen to have the same name clash. That is what appears is happening with the setCookie function that exists in java.inc as well as many JavaScript based web applications that use cookies. Of course, I don't have to use JavaScript to set cookies, so I'll be finding a different way to set cookies I need to set.
--Nathan Shaskin
Compliance Publishing
php...@li... wrote: hello!
I think the URL split() used in version 4.1.7 caused this. In version 4.1.8 this
problem disappeared (for me).
BTW: Is it possible to use Java.inc with version 3.2.1?
---------------------------------
Building a website is a piece of cake.
Yahoo! Small Business gives you all the tools to get online.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
---------------------------------
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search.
|
|
From: <php...@li...> - 2007-08-02 19:13:56
|
hello!
I think the URL split() used in version 4.1.7 caused this. In version 4.1.8 this
problem disappeared (for me).
BTW: Is it possible to use Java.inc with version 3.2.1?
---------------------------------
Building a website is a piece of cake.
Yahoo! Small Business gives you all the tools to get online.
|
|
From: <php...@li...> - 2007-08-02 17:59:55
|
Hi,
the code pulls the java libraries from a remote server. Furthermore you remove all cached
libraries at the end of the script, probably to emulate the dynamic behaviour which is switched
off for remote URL's. Fetching jar files from a HTTP url is expensive, especially if
you don't allow the bridge to cache them.
Please do NOT use the following:
java_require("http://myServer.com/myJarFile1.jar;http://myServer.com/myJarFile2.jar;...");
... execute PHP code ...
@java_reset();
In the next version of the bridge I will remove java_reset() entirely and disallow remote
URL's[1].
Regards,
Jost Boekemeier
[1] Neither is documented, so this shouldn't be a problem for most users. :)
__________________________________
Yahoo! Clever - Der einfachste Weg, Fragen zu stellen und Wissenswertes mit Anderen zu teilen. www.yahoo.de/clever
|
|
From: <php...@li...> - 2007-08-02 09:23:52
|
Hi,
> Fatal error: php_mod_java(98): Call object is null: The connection to the
there is nothing wrong with it.
It means that you use an old php_java.dll or java.so in connection with a recent back end.
I have removed all legacy code in version 4.x, so if you use persistent connections and the
php_java.dll, I'd expect this error on the client side. However, you should see a clear exception
message in the back end.
Please use the pure PHP PHP/Java Bridge implementation instead. If you want to use PHP4, which
cannot execute the PHP 5 code contained in Java.inc, make sure to use the latest php_java.dll.
Or use the stable version 3.2.1 instead.
Regards,
Jost Boekemeier
__________________________________ Wissenswertes zum Thema PC, Zubehör oder Programme. BE A BETTER INTERNET-GURU! www.yahoo.de/clever
|
|
From: <php...@li...> - 2007-08-02 09:19:12
|
Hi,
> an update on the fread() errors below:
a short read or a "protocol error" means that something went wrong in the back end; the back end
has simply closed the connection.
You should find the reason for the short read in the log of the back end.
Regards,
Jost Boekemeier
dddd
|
|
From: <php...@li...> - 2007-08-02 09:17:19
|
Hi,
the ISAPI requires a running IIS webserver, right?
Why don't you install PHP into IIS and then use the following code:
require_once("http://localhost:8080/JavaBridge/java/Java.inc");
To connect the PHP instances running in your IIS server with the tomcat J2EE back end?
Regards,
Jost Boekemeier
__________________________________ Wissenswertes für Bastler und Hobby Handwerker. BE A BETTER HEIMWERKER! www.yahoo.de/clever
|
|
From: <php...@li...> - 2007-08-02 09:13:53
|
Hi,
[eval calls itself until a stack overflow occurs]
> Exception in thread "main" java.lang.StackOverflowError
I think version 4.2.0 have had such a problem. I could not reproduce this in version 4.2.1, but
this may well be a problem due to a change in the JSR223 API.
Which one do you use, the API shipped with the bridge or some other API?
Regards,
Jost Boekemeier
dddd
|
|
From: <php...@li...> - 2007-08-02 09:08:21
|
Hello, I'm currently using the PHP javabridge to use lucene together with PHP5. I developed our application and everything looked fine. Some stress test pointed me in the direction to use Tomcat as a servlet engine. we had an 4time speed increase after that. Everything looked fine till it went in production. The setup Tomcat and Apache started acting weird. Sometimes the code throws this error while other javabridge parts of the page work: Fatal error: php_mod_java(98): Call object is null: The connection to the current back end doesn't exist anymore; probably the current back end has been restarted w/o restarting the front end. the problem is basically that the production server is not stable. If anyone has a suggestion how to make this setup reliable and have some suggestions to tune apache/tomcat/javabridge/lucene? Greets, Gilbert |
|
From: <php...@li...> - 2007-08-02 09:03:18
|
Hi Jost! As you suggested, I opened a ticket and appended the detailed PHP-Java Bridge log (level = 5) at the end of that ticket. I also included additional information (e.g. my environment and the way I use PHP-Java Bridge code) in there. http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233 I hope you can help me find out why my code executes very slowly, and get ideas on optimizing PHP-Java Bridge code usage. Thank you very much! Regards, Filip Send instant messages to your online friends http://uk.messenger.yahoo.com |
|
From: <php...@li...> - 2007-08-01 19:30:14
|
an update on the fread() errors below:
It started failing on the following computer
http://192.168.0.5:8080/JavaBridge/test.php
after I'd changed a webpage that I've been developing (that makes use of the bridge) and clicked refresh. Thus, it must not have to do with which computer is used.
I found that deleting cookies makes it work again for some reason, so the problem must have something to do with cookies or the cache. Does the java bridge use cookies? if so, can it be configured not to?
--Nathan Shaskin
Compliance Publishing
php...@li... wrote: Background:
JavaBridge version is 4.1.7_j2ee
I'm using Tomcat 6.0 (running as a service) as the JVM.
Java version is 1.6.0_02
I'm running IIS (needs to work on both v5.1 and v6.0, which are running on Windows XP pro and Windows Server 2003 respectively)
PHP is version 5.2.3 and is running as an ISAPI
php directory is C:/PHP5
I want to run the javaBridge's pure php implementation
I do not want to run php as a CGI, but rather use my already running ISAPI php
When I first place the javaBridge.war file in Tomcat's webapps directory, it works fine regardless of which machine I used to access
http://localhost:8080/JavaBridge/test.php
However it does use CGI/FastCGI version of php (5.2.1) which is obviously not the ISAPI php instance I want it to use. It does list C:PHP5\php.ini as the php.ini file that was loaded, so it must be finding the php folder.
Also, when I restart the computer, a request to http://localhost:8080/JavaBridge/test.php
from the localhost will fail with
Warning: fread() [function.fread]: Length parameter must be greater than 0 in C:\Inetpub\wwwroot\JavaBridge\java\Java.inc on line 884
protocol error. , Invalid document end at col 1
However, if I go to the same page from a different computer
for instance:
http://192.168.0.5:8080/JavaBridge/test.php
the test completes successfully
So, I have two questions, how can I configure the bridge to use my ISAPI php instance, and why can I only run java from a computer that's not the server?
Thank you for your time.
--Nathan Shaskin
Compliance Publishing
---------------------------------
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
---------------------------------
Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out.
|
|
From: <php...@li...> - 2007-08-01 17:54:43
|
Background:
JavaBridge version is 4.1.7_j2ee
I'm using Tomcat 6.0 (running as a service) as the JVM.
Java version is 1.6.0_02
I'm running IIS (needs to work on both v5.1 and v6.0, which are running on Windows XP pro and Windows Server 2003 respectively)
PHP is version 5.2.3 and is running as an ISAPI
php directory is C:/PHP5
I want to run the javaBridge's pure php implementation
I do not want to run php as a CGI, but rather use my already running ISAPI php
When I first place the javaBridge.war file in Tomcat's webapps directory, it works fine regardless of which machine I used to access
http://localhost:8080/JavaBridge/test.php
However it does use CGI/FastCGI version of php (5.2.1) which is obviously not the ISAPI php instance I want it to use. It does list C:PHP5\php.ini as the php.ini file that was loaded, so it must be finding the php folder.
Also, when I restart the computer, a request to http://localhost:8080/JavaBridge/test.php
from the localhost will fail with
Warning: fread() [function.fread]: Length parameter must be greater than 0 in C:\Inetpub\wwwroot\JavaBridge\java\Java.inc on line 884
protocol error. , Invalid document end at col 1
However, if I go to the same page from a different computer
for instance:
http://192.168.0.5:8080/JavaBridge/test.php
the test completes successfully
So, I have two questions, how can I configure the bridge to use my ISAPI php instance, and why can I only run java from a computer that's not the server?
Thank you for your time.
--Nathan Shaskin
Compliance Publishing
---------------------------------
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
|
|
From: <php...@li...> - 2007-08-01 12:19:24
|
I am trying to call a simple php function in java (see below) and i get the error shown. Any suggestions
package test;
import java.io.IOException;
import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;
import javax.script.ScriptException;
public class cli {
/**
* @param args
* @throws IOException
* @throws ScriptException
*/
public static void main (String[] args) throws IOException, ScriptException {
String l = "5";
System.setProperty ("php.java.bridge.default_log_level", l);
System.setProperty ("php.java.bridge.default_log_file", "");
System.setProperty ("php.java.bridge.php_exec", "/usr/local/php5/bin/php");
ScriptEngine eng = (new ScriptEngineManager ()).getEngineByName ("php-interactive");
System.out.println (eng.eval ("$a=122"));
System.out.println (eng.eval ("$a=$a+1;"));
System.out.println (eng.eval ("echo $a;"));
eng.eval ((String)null);
}
}
=============================================================
see the error
=============================================================
Aug 01 08:17:51 JavaBridge DEBUG: contextfactory: new context: 1@ for web context, # of contexts: 1
Aug 01 08:17:51 JavaBridge DEBUG: created new bridge: php.java.bridge.JavaBridge@706da8
Aug 01 08:17:51 JavaBridge DEBUG: Using php binary: [/usr/local/php5/bin/php]
Aug 01 08:17:51 JavaBridge DEBUG: Started [/usr/local/php5/bin/php, -d, allow_url_include=On]
Aug 01 08:17:51 JavaBridge DEBUG: Socket connection accepted
Aug 01 08:17:51 JavaBridge DEBUG: Starting HTTP server thread from thread pool
Aug 01 08:17:51 JavaBridge DEBUG: 706da8@73eca6 --> <I v="0" m="getContext" p="I" i="1baa7fc" >
Aug 01 08:17:51 JavaBridge DEBUG: 706da8@73eca6 --> </I>
Aug 01 08:17:51 JavaBridge DEBUG:
Invoking [Object 7368104 - Class: php.java.bridge.JavaBridge:ID4712040:LOADER-ID3343727].getContext();
Aug 01 08:17:51 JavaBridge DEBUG:
Result [Object 1253877 - Class: php.java.script.PhpScriptContext:ID1729816:LOADER-ID3343727]
Aug 01 08:17:51 JavaBridge DEBUG: 706da8@73eca6 <-- <O v="1" p="O" i="1baa7fc"/>
Aug 01 08:17:51 JavaBridge DEBUG: 706da8@73eca6 re-directing to port# Pipe:/var/tmp//.php_java_bridgeo2Yypi/php_rz2B0f
Aug 01 08:17:51 JavaBridge DEBUG: 706da8@73eca6 waiting for context: 1@
Aug 01 08:17:51 JavaBridge DEBUG: end (thread returned to pool): Thread[JavaBridgeHttpServerThreadPool#1,5,JavaBridgeHttpServerThreadPool#1]
Aug 01 08:17:51 JavaBridge DEBUG: starting a new ContextRunner php.java.bridge.http.ContextRunner@1bd9c9
Aug 01 08:17:51 JavaBridge ERROR: An exception occured: java.io.IOException: Protocol violation
java.io.IOException: Protocol violation
at php.java.bridge.http.ContextRunner.init(ContextRunner.java:116)
at php.java.bridge.http.ContextRunner.run(ContextRunner.java:139)
at php.java.bridge.BaseThreadPool$Delegate.run(BaseThreadPool.java:58)
Aug 01 08:17:51 JavaBridge DEBUG: end (thread returned to pool): Thread[JavaBridgeContextRunner#1,5,JavaBridgeContextRunner#1]
Exception in thread "main" java.lang.StackOverflowError
Java Result: 1
any help will be appreciated
|
|
From: <php...@li...> - 2007-07-31 16:16:29
|
Hi,
> Just one more question. After staring JavaBridge on given port, do i need to
> start it again manualy
No. Please see the FAQ.html contained in the download folder.
Regards,
Jost Boekemeier
__________________________________ Wissenswertes für Bastler und Hobby Handwerker. BE A BETTER HEIMWERKER! www.yahoo.de/clever
|
|
From: <php...@li...> - 2007-07-31 16:13:20
|
thanks Jost, now everything is working just fine, Just one more question. After staring JavaBridge on given port, do i need to start it again manualy after restrating my system, or it will restart on its own (runing as a service)? If former is the case, is there a posibility to start JavaBridge as a service and initalize it to start listening always on specific port? mladen On 31/07/07, php...@li... < php...@li...> wrote: > > Hi, > > > [error] [client 127.0.0.1] PHP Fatal error: Cannot redeclare > > java_last_exception_get() in > > http://localhost:8101/JavaBridge/java/Java.incon line 1431 > > there's another extension which already exports this function. This is > probably the old > ext/java extension shipped with PHP, you can remove it. > > > Regards, > Jost Boekemeier > > > > __________________________________ Die etwas anderen Infos rund um > das Thema Reisen. BE A BETTER WELTENBUMMLER! www.yahoo.de/clever > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |
|
From: <php...@li...> - 2007-07-31 15:29:31
|
Hi,
> [error] [client 127.0.0.1] PHP Fatal error: Cannot redeclare
> java_last_exception_get() in
> http://localhost:8101/JavaBridge/java/Java.incon line 1431
there's another extension which already exports this function. This is probably the old
ext/java extension shipped with PHP, you can remove it.
Regards,
Jost Boekemeier
__________________________________ Die etwas anderen Infos rund um das Thema Reisen. BE A BETTER WELTENBUMMLER! www.yahoo.de/clever
|
|
From: <php...@li...> - 2007-07-31 11:24:31
|
Hi, i'm new to php-java bridge and having problem to install php-java bridge
on my Windows XP system.
Here is what i'm using.
* Apache Web Server 2.2.3
* PHP 5.2.3
* php/Java Bridge 4.2.1
* java 1.6
I tried several proposals on how to install javabridge, but still not having
any success.
When starting test.php, and after that reading result.html, everythting
seams ok. But, starting
my test.php page from apache/htdocs:
<?php
require_once("http://localhost:8082/JavaBridge/java/Java.inc");
$s = new Java("java.lang.String", "hello");
echo $s;
?>
i get error message in my error.log:
[error] [client 127.0.0.1] PHP Fatal error: Cannot redeclare
java_last_exception_get() in
http://localhost:8101/JavaBridge/java/Java.incon line 1431
I'm not sure where i'm getting wrong. So can someone pleas send me link with
some description on how to
configure my php.ini file so things can go working.
thanks
mladen
|
|
From: <php...@li...> - 2007-07-30 17:16:20
|
Hello, i tried to integrate an php cms system (typo3) in our java webapp. The intention is every request from php cms system forward to the java web app, that we can track every paramater from the request. (Or first all requests to our java web app and the back to the cms-system) Nothing i do it is successfully. We need an professional-consultand they have the skill to integrate this szenario and join for this task in our project. (performance-related <ende?lp=ende&p=eL4jU.&search=performance-related> pay <ende?lp=ende&p=eL4jU.&search=pay>) I prefere german speak consultant. Is there everybody they can help? Regards Jörg |
|
From: <php...@li...> - 2007-07-30 13:25:19
|
Hi Jörg, > >>[delete the] php.ini in the cgi folder. The same behavior. > >have you restarted tomcat? > i restarted the machine. Then you need to find out why your system PHP still loads the wrong php.ini. Please use our bug tracker, if you need assistence. => http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233 > 3. Copy java-x86-windows.dll from the JavaBridge.war to C:\PHP\ext > 4: Rename java-x86-windows.dll (from C:\PHP\ext) to php_java.dll > > Is this docu not correct? No. The relevant 4.x documentation is contained in the download archive. > (linked from the http://php-java-bridge.sourceforge.net/pjb/examples.php > site) This documentation describes the latest stable version, which is version 3.2.1. Regards, Jost Boekemeier dddd |
|
From: <php...@li...> - 2007-07-30 10:40:41
|
Hi Jost, >>[delete the] php.ini in the cgi folder. The same behavior. >> >> > >have you restarted tomcat? > > > i restarted the machine. > > >>Then i upgrade the bridge >>from 3.2.1a to 4.2.1. But unfortunately i cant find the >>java-x86-windows.dll for copy into the php/ext folder. >> >> > >You don't need a dll. The PHP/Java Bridge is written in pure PHP and pure Java. >Please see the README for details. > > i read this i the documentation: http://www.dsl.uow.edu.au/~sk33/php5jsp.htm PHP 5 & Java Bridge 3. Copy java-x86-windows.dll from the JavaBridge.war to C:\PHP\ext 4: Rename java-x86-windows.dll (from C:\PHP\ext) to php_java.dll Is this docu not correct? (linked from the http://php-java-bridge.sourceforge.net/pjb/examples.php site) regards Jörg |