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-14 20:15:26
|
> Do you use the GlobalPhpJavaServlet or do you have > only one JavaBridge.war web application? We've only ever run one JavaBridge.war web application. > Since version > 3.0.8 the PHP/Java Bridge used a class > loader cache, which means that there was only one > class loader for all shared web applications. >=20 > But this is only an issue if the is a JavaBridge.jar > in the global classpath, which is not the recommended > setup. From the FAQ of version 4.1.1: We've only ever run the JavaBridge.war or run JavaBridge.jar from the command line. Version 4.1.1 doesn't exist -- you just released 4.1.0a yesterday, right? > Do you have the JavaBridge.jar in the global > classpath? Nope. So, we just downloaded the 4.1.0 release (thanks for replacing it) and I tried it in Tomcat and standalone. Either way, the first time I run my test script after starting the bridge it works fine. The second time, I get a "protocol error," and the third time my browser just hangs trying to make the request. I opened my Java Bridge log and saw that this had occurred the second time I ran my script: Jun 14 16:06:28 JavaBridge ERROR: An exception occured: java.lang.IllegalStateException: java_require() not allowed for the HTTP tunnel. Use a context runner instead. java.lang.IllegalStateException: java_require() not allowed for the HTTP tunnel. Use a context runner instead. at php.java.bridge.JavaBridgeClassLoader.checkCl(JavaBridgeClassLoader.java :46) at php.java.bridge.SimpleJavaBridgeClassLoader.getClassLoader(SimpleJavaBri dgeClassLoader.java:172) at php.java.bridge.Request.setBridge(Request.java:493) at php.java.bridge.http.ContextFactory.recycle(ContextFactory.java:212) at php.java.bridge.http.ContextFactory.recycle(ContextFactory.java:253) at php.java.bridge.Parser.parse(Parser.java:225) at php.java.bridge.Request.handleRequest(Request.java:334) at php.java.bridge.Request.handleRequests(Request.java:388) at php.java.bridge.http.ContextRunner.run(ContextRunner.java:165) at php.java.bridge.BaseThreadPool$Delegate.run(BaseThreadPool.java:58) (Happened on the line where I load my jars using java_require) First I've seen this error -- how do I "use a context runner"? Thanks, Jon |
|
From: <php...@li...> - 2007-06-14 18:30:51
|
Hi Jonathan,
> problem most often when
> the Bridge is running in Tomcat.
ah, I think I've missed that information.
Do you use the GlobalPhpJavaServlet or do you have
only one JavaBridge.war web application?
Since version > 3.0.8 the PHP/Java Bridge used a class
loader cache, which means that there was only one
class loader for all shared web applications.
But this is only an issue if the is a JavaBridge.jar
in the global classpath, which is not the recommended
setup. From the FAQ of version 4.1.1:
-----------------------------------------
I have two different classes with the same name in two
different web apps. When using the
GlobalPhpJavaServlet, the bridge uses only one of
these classes!?!
This is a known bug in all PHP/Java Bridge versions <
4.1.0.
Please upgrade to a PHP/Java Bridge version >= 4.1.0
or use a PHP/Java Bridge version <= 3.0.8 and switch
off persistent connections:
java.persistent_connections=Off.
Since version 4.1.0, the PHP/Java Bridge correctly
uses the current thread context class loader so that,
when the Java.inc is loaded from a webApp, the class
loader from that web application is used. For example:
require_once("http://localhost:8080/webApp1/java/Java.inc");
echo java("my.TestClass")->getId(); // assuming that a
getId() procedure exists
=> TestClass of webApp1
require_once("http://localhost:8080/webApp2/java/Java.inc");
echo java("my.TestClass")->getId(); // assuming that a
getId() procedure exists
=> TestClass of webApp2
--------------------------------------
Do you have the JavaBridge.jar in the global
classpath?
> How do I configure
> the Tomcat-deployed
> Bridge to put its log file in the directory of my
> choosing?
Please start tomcat as follows (assuming you are
running tomcat under Linux):
export
JAVA_OPTS="-Dphp.java.bridge.default_log_level=4
-Dphp.java.bridge.default_log_file=/tmp/jb.log"
/opt/apache-tomcat/bin/catalina.sh start
Or please add log4j.jar to the global class path (for
example to /opt/jdk1.5/jre/lib/ext) and start the
log4j log viewer with the command:
java -cp /opt/jdk1.5/jre/lib/ext/log4j.jar
org.apache.log4j.chainsaw.Main
After you restart tomcat, the log will appear in the
log4j window, which allows you to search for certain
events etc.
Regards,
Jost Boekemeier
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
|
|
From: <php...@li...> - 2007-06-14 18:28:15
|
Thanks very much Jost. Your commitment is highly appreciated. Robert php...@li... wrote: > Hi, > > PHP/Java Bridge version 4.1.0 fixes this problem. > > Please use the following download link: > > http://sourceforge.net/project/downloading.php?group_id=117793&use_mirror=osdn&filename=php-java-bridge_4.1.0_j2ee.zip&15111070 > > Since version 4.1.0 the DynamicJavaBridgeClassLoader > is optional. When running in a shared web environment, > JavaBridge.jar and php-servlet.jar are loaded from the > global classpath, the PhpJavaServlet sets the > currentThreadContextClassLoader (wrapped by a > URLClassLoader, used to load libraries from > ~/lib/)into the ContextFactory and the ContextRunners > retrieve and use the appropriate ClassLoader. > > The DynamicJavaBridgeClassLoader is enabled only when > the procedure java_require() is called. The bridge > allocates a new instance of the > DynamicJavaBridgeClassLoader (with the current loader > as a delegate) and sets it into the > PhpJavaBridgeClassLoader. After the request is done, > the DynamicJavaBridgeClassLoader is thrown away. This > is necessary because the VM keeps a native cache which > is associated the instance of the > DynamicJavaBridgeClassLoader. -- Some Java VM's (IBM) > even crash, if we do dirty tricks to recycle the > instance for new requests (see documentation note in > DynamicClassLoader#copyInto). > > Furthermore the ContextFactory's have been cleaned up. > Both, the pure PHP- as well as the C implementation > now pass the current context ID via a protocol header > field, so that the ContextFactory can temporarily set > the correct JavaBridge instance for the current > connection (see option java.persistent_connections). > This means that most of the old "recycle" logic is now > obsolete and has been removed (it may be possible to > keep the old cruft, but it is ugly and very hard to > understand). > > Because of the above change, old php_java.dll or > java.so files < 4.1.0 will likely crash. For version > 4.1.1 I will add a compatibility option which simply > disables java.persistent_connections when the back end > detects an old protocol header. Until then please use > the pure PHP implementation ("Java.inc") instead. > > > Regards, > Jost Boekemeier |
|
From: <php...@li...> - 2007-06-14 15:22:21
|
> > Can you please open a problem report, and attach code > > which allows us to reproduce the problem? And/or > > please set the log level to 4 and attach the log at > > the end of the ticket. I managed to recreate the original problem we saw (ClassCastExceptions) with a test script using the standalone bridge. I've packaged everything up (including a log) and have created a ticket on SourceForge. Best, Jonathan=20 |
|
From: <php...@li...> - 2007-06-14 14:17:56
|
> It is certainly possible to load classes so that > class@classLoader1 is assignment-incompatible to > class@classLoader2.=20 >=20 > But I don't see this as a problem of the PHP/Java > Bridge. -- When the request is done all versions of > the PHP/JavaBridge allocate a new > DynamicJavaBridgeClassLoader to avoid such problems > (one class coming from the VM cache, the other one > from the loader). Assuming for a moment that there may be a classloader issue, do you think it might be safer for us to put all our jars in one of the directories the Bridge loads by default, rather than use java_require()? > Can you please open a problem report, and attach code > which allows us to reproduce the problem? And/or > please set the log level to 4 and attach the log at > the end of the ticket. I'd be happy to. Unfortunately, we don't have any code that can reliably reproduce the problem -- it comes and goes without notice -- but I'll do my best. As I've said, we see the problem most often when the Bridge is running in Tomcat. How do I configure the Tomcat-deployed Bridge to put its log file in the directory of my choosing? Thanks, Jonathan |
|
From: <php...@li...> - 2007-06-14 12:11:40
|
Hi Jonathan, > We did some research on the JAXBContext class, and > found that when most > people had trouble and saw ClassCastExceptions imho the problem you've reported is due to a bug in your software. You must allocate the class via some factory. > class loader. To avoid class loader issues as much > as possible, we It is certainly possible to load classes so that class@classLoader1 is assignment-incompatible to class@classLoader2. But I don't see this as a problem of the PHP/Java Bridge. -- When the request is done all versions of the PHP/JavaBridge allocate a new DynamicJavaBridgeClassLoader to avoid such problems (one class coming from the VM cache, the other one from the loader). However, the code example you have given cannot work. Can you please open a problem report, and attach code which allows us to reproduce the problem? And/or please set the log level to 4 and attach the log at the end of the ticket. Regards, Jost Boekemeier ___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de |