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
|
4
(2) |
5
(3) |
6
(1) |
7
|
8
(3) |
9
|
|
10
(1) |
11
|
12
|
13
(4) |
14
(6) |
15
(3) |
16
(4) |
|
17
(1) |
18
(6) |
19
(2) |
20
(7) |
21
(7) |
22
(1) |
23
(2) |
|
24
|
25
(1) |
26
|
27
(2) |
28
(1) |
29
|
30
(1) |
|
From: <php...@li...> - 2007-06-21 23:02:17
|
Hello, I'm using php-java-bridge 4.1.2 (downloaded the binary release). Then I copied both PhpJavaServlet.jar and php_servlet.jar to the lib directory in my J2EE WAR, I also copied the PHP resources from the /java directory (for the pure PHP implementation). I'm using JBoss 4.0.4 as application server together with Java 1.5_11. I modified my web.xml to expose the PhpJavaServlet. This all works really great and very fast using PHP4 with the (legacy) java.so module and also with PHP5 and the pure PHP implementation. But now I want to connect to the same PhpJavaServlet from my local computer to this remote server (for testing purposes). How do I enable HTTP tunneling? As far as my knowledge goes, I cannot use sockets to a remote server. I tried to use "promiscuous" and also messed around with "php.java.bridge.no_pipe_server", but this didn't work out. Looking at the source code I also cannot tell when HTTP tunneling is used. It should call the method named "handleHttpConnection()", but it is never called. My question, is it possible to connect to my remote server from my local computer? (I do not care about the speed, just for testing). Any ideas? |
|
From: <php...@li...> - 2007-06-21 16:59:23
|
Using php-java-bridge v 4.1.1 built from source on a 64-bit SUSE 9 Linux box. Running PHP 4.3.4, Apache 2.0.52. JRE is 1.4.2_11, from SuSE (which I'm pretty sure is Sun Java). Just started using php-java-bridge, and so far have had mostly success, except for one annoying problem that could be a deal-breaker. Occassionally, when I load a page that actually uses php-java-bridge on Firefox, I get a blank page. I can reload, and it comes up fine. When I get the blank page, I can view source and see all of the source for the page I requested is there. I don't have this problem on IE6. First thought is that this is a Firefox problem, what does php-java-bridge have to do with it? Well, I never saw the problem before, and I can load pages using php that do not actually use any of the php-java-bridge functionality, and they NEVER fail. My thought is that the process does not exit cleanly during some of the clean-up, and that Firefox chooses to not display the information it has so far whereas IE does. I've heard some reports of crashes/segfaults during the clean-up process, but always PHP 5, and we're using PHP 4. Looked in the logs and found some segfaults in the apache logs, but often I see the failure behavior without a segfault. The only thing I see happening regularly when there is a failure are some Samba warnings (have no idea why this would be using Samba at all-it doesn't access any files off of the local fs). However, those warnings also occur when it does NOT fail (though not when I load a page that does not use php-java-bridge), and we have been seeing those warnings come up in various contexts for years without any manifest problem. So, I think the segfault and the samba warnings may be red herrings. Any ideas? Michael. |
|
From: <php...@li...> - 2007-06-21 16:27:44
|
Thank you very much for your suggestion to set the = -Dphp.java.bridge.promiscuous=3Dtrue I realized I was not setting that = parameter in the correct place in the windows service and that is why it = was not taking place. Now, it is still not working. When I attempt to access = Tomcat5.5\webapps\JavaBridge\test.php I get the following error: Warning: Invalid argument supplied for foreach() in = E:\Tomcat5.5\webapps\JavaBridge\test.php on line 46 Fatal error: Attempt to access a Java property on a non-Java object in = E:\Tomcat5.5\webapps\JavaBridge\test.php on line 51 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D And when I attempt to access our php - java web app. I got:=20 Warning: JavaException::__toString() must return a string in Unknown on = line 0 Fatal error: Uncaught thrown in = E:\Tomcat5.5_2\webapps\chapter\includes\inc_top.php on line 3 On all pages, after a bit of moving aroung the pages. I saw in the stdout.log the following line: INFO: 380f83@8f57a <-- <E v=3D"1" m=3D"java.lang.Exception: Invoke = failed: [o(JavaBridge)]->getSession((String)null, (boolean)o(Boolean), = (int)o(Integer)). Cause: java.lang.NullPointerException: This context = 2@E%3A%5CTomcat5.5%5Cwebapps%5Cchapter doesn't have a session proxy. = Respon... Jun 21, 2007 11:53:28 AM org.apache.catalina.core.ApplicationContext log Could some one gide me on how to enable the session proxy for a php web = app, or where to find info about this, please?=20 Thank you very much again. |
|
From: <php...@li...> - 2007-06-21 13:52:42
|
Hi, > Does this sounds familiar to you or anyone? not really. But I assume that there's a problem with the servlet => ContextRunner context switch. This might be a simple setup problem. We will add a HOWTO to the PHP/Java Bridge 4.1.4 download which describes how to setup the bridge in a cluster environment: http://sourceforge.net/tracker/index.php?func=detail&atid=679233&aid=1740947&group_id=117793 Thank you very much for the bug report! Regards, Jost Boekemeier __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com |
|
From: <php...@li...> - 2007-06-21 13:39:01
|
Hi Jim, > have to > completely restart Apache before it'll find any new PHP doesn't keep any state, so you don't need to restart apache. The cache, if any, is in the back end. > methods? Is this the > same for running the Java side in it's own VM via > tomcat? Well, it is a URLClassLoader problem, which caches the loaded classes using an associated cache in the sun JVM. It'd be interesting if the GNU VM has the same problem. There are certainly ways to workaround this, but how much sense does it make to pull java libraries from a http:// URL during development, anyway? Due to the caching in the URLClassLoader's associated VM cache you'll need to restart the VM to see the new code. Why don't you simply use load local jar files instead? Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
|
From: <php...@li...> - 2007-06-21 11:08:27
|
Hi,
the following code may show the problem. It is written in PHP, but it could have been written in Java as well, as it demonstrates a problem with Java's URLClassLoader:
xtest.java:
public class xtest { public static String f() { return "12"; } }
xtest.php:
<?php
// The following code shows a bug in Java's URLClassLoader
// While running this script, modify xtest.jar, so that f() returns
// "123" instead of "12".
// You will see that the jar file is fetched (its size changes)
// but the URLClassLoader discards it and uses the cached
// jar file from the previous request.
require_once("http://localhost:8080/JavaBridge/java/Java.inc");
while(true) {
$url = new java("java.net.URL", "http://localhost/xtest.jar");
$conn = $url->openConnection();
echo $conn->getContentLength(); echo "->";
$conn->disconnect();
$loader = java("java.net.URLClassLoader")->newInstance(array($url));
$clazz = $loader->loadClass("xtest");
echo $clazz->f(); echo "<br>\n";
sleep(1);
}
?>
---------------------------------
Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out.
|
|
From: <php...@li...> - 2007-06-21 10:19:56
|
Apache Tomcat/5.5.17 - Error reportFatal error: php_mod_java(88): Protocol violation at pos 155 while trying to connect to 127.0.0.1:80(/JavaBridge/test.phpjavabridge).
Did you start the nodes with -Dphp.java.bridge.promiscuous=true?
Without it the bridge will not be able to connect to the context runner's on the nodes.
In theory one can switch off the ContextRunner's and use a HTTP tunnel by setting an option in the web-inf/web.xml. If the C implementation doesn't receive a redirect from the servlet, it will continue to send all protocol requests via HTTP PUT using a session variable. But this will be very slow.
---------------------------------
You snooze, you lose. Get messages ASAP with AutoCheck
in the all-new Yahoo! Mail Beta.
|