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
(4) |
5
(3) |
6
(5) |
7
(2) |
8
(1) |
9
(3) |
10
(2) |
|
11
(1) |
12
(5) |
13
(2) |
14
(1) |
15
|
16
|
17
|
|
18
|
19
|
20
(1) |
21
|
22
|
23
|
24
|
|
25
|
26
|
27
(4) |
28
(1) |
29
(1) |
30
(2) |
|
|
From: <php...@li...> - 2006-06-11 05:27:17
|
I added some debug output to begin_header in client.c:
case 'X':// Redirect
{
php_log_err("Got X");
php_log_err(str);
char *key;
static const char context[] = "X_JAVABRIDGE_CONTEXT";
static const char redirect[]= "X_JAVABRIDGE_REDIRECT";
if(!(*ctx)->peer_redirected && !strcmp(str, redirect)) {
php_log_err("redirect");
And this is what I get:
[Sat Jun 10 21:50:47 2006] [error] [client 127.0.0.1] Got X, referer:
http://localhost:81/JavaBridge/index.php
[Sat Jun 10 21:50:47 2006] [error] [client 127.0.0.1]
X_javabridge_redirect, referer: http://localhost:81/JavaBridge/index.php
But no 'redirect'; the header has been munged to Mixed case, so the
strcmp against redirect fails. I suspect this is happening in the Web
Server implementation of HttpServletResponse.
HTTP spec (http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2)
states that header field names are case-insensitive, so the comparison
should use strcasecmp. Changing strcmp to strcasecmp in lines 398, 414,
424 and 444 fixes the problem.
Hope this is useful, and thanks again for a really useful tool :-)
Cheers,
Pat
php...@li... wrote:
> I successfully built php-java-bridge_3.0.8.3 on Solaris 10 U1 x86. I'm
> now trying to deploy it. I have Apache 2.2 + PHP5 on the 'client' end,
> Sun Java System Web Server 6.1 SP5 on the server end.
>
> In my php.ini, I have:
>
> extension = java.so
> [java]
> java.hosts = "127.0.0.1:80"
> java.servlet = "/JavaBridge/JavaBridge.phpjavabridge"
> java.log_level="4"
>
>
> After some tweaks to fix some SJSWS specific issues (ensuring that all
> directories in the pat to the shared docs directory are 755, changing
> the ACL to allow PUT), I'm stuck. test.php hangs before it shows the
> bottom of the page.
>
> The WS error log shows an NPE in GlobalRef.get. Here is the whole
> interaction as logged at WS:
>
> [09/Jun/2006:23:10:33] info (21795): for host 127.0.0.1 trying to PUT
> /JavaBridge/JavaBridge.phpjavabridge, service-j2ee reports: WEB2798:
> [/JavaBridge] ServletContext.log(): JavaBridge DEBUG: @1a73d30 --> <C
> v="java.lang.System" p="C" i="136880520" >
> [09/Jun/2006:23:10:33] info (21795): for host 127.0.0.1 trying to PUT
> /JavaBridge/JavaBridge.phpjavabridge, service-j2ee reports: WEB2798:
> [/JavaBridge] ServletContext.log(): JavaBridge DEBUG: @1a73d30 --> </C>
> [09/Jun/2006:23:10:33] info (21795): for host 127.0.0.1 trying to PUT
> /JavaBridge/JavaBridge.phpjavabridge, service-j2ee reports: WEB2798:
> [/JavaBridge] ServletContext.log(): JavaBridge DEBUG: @1a73d30 <-- <O
> v="1" p="O" i="136880520"/>
> [09/Jun/2006:23:10:33] info (21795): for host 127.0.0.1 trying to PUT
> /JavaBridge/JavaBridge.phpjavabridge, service-j2ee reports: WEB2798:
> [/JavaBridge] ServletContext.log(): JavaBridge DEBUG: @1a73d30
> re-directing to port# Pipe:/var/tmp//.php_java_bridgeC3a4CQ
> [09/Jun/2006:23:10:33] info (21795): for host 127.0.0.1 trying to PUT
> /JavaBridge/JavaBridge.phpjavabridge, service-j2ee reports: WEB2798:
> [/JavaBridge] ServletContext.log(): JavaBridge DEBUG: @1a73d30 --> <I
> v="1" m="getProperties" p="I" i="136886208" >
> [09/Jun/2006:23:10:33] info (21795): for host 127.0.0.1 trying to PUT
> /JavaBridge/JavaBridge.phpjavabridge, service-j2ee reports: WEB2798:
> [/JavaBridge] ServletContext.log(): JavaBridge ERROR: An exception occured
> [09/Jun/2006:23:10:33] failure (21795): for host 127.0.0.1 trying to PUT
> /JavaBridge/JavaBridge.phpjavabridge, service-j2ee reports: WEB2798:
> [/JavaBridge] ServletContext.log():
> java.lang.NullPointerException
> at php.java.bridge.GlobalRef.get(GlobalRef.java:30)
> at php.java.bridge.Request.getGlobalRef(Request.java:88)
> at php.java.bridge.Request.begin(Request.java:352)
> at php.java.bridge.Parser.CALL_BEGIN(Parser.java:95)
> at php.java.bridge.Parser.parse(Parser.java:156)
> at php.java.bridge.Request.handleRequest(Request.java:460)
> at php.java.bridge.Request.handleRequests(Request.java:493)
> at
> php.java.servlet.PhpJavaServlet.handleSocketConnection(PhpJavaServlet.java:213)
> at php.java.servlet.PhpJavaServlet.doPut(PhpJavaServlet.java:260)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
> at
> org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
> at
> com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
> at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
>
> 30 seconds later, Apache reports:
>
> [Fri Jun 09 23:11:03 2006] [notice] child pid 21735 exit signal
> Segmentation fault (11)
>
> Any idea what could be happening here?
>
> I'm trying to interpret the trace from the WS error file - extracting
> the relevant stuff, it says:
>
> # $v = new JavaClass("java.lang.System");
> <C v="java.lang.System" p="C" i="136880520" >
> </C>
> <O v="1" p="O" i="136880520"/>
>
> re-directing to port# Pipe:/var/tmp//.php_java_bridgeC3a4CQ
>
> # $v->getProperties()
> <I v="1" m="getProperties" p="I" i="136886208" >
>
> So the first method invocation returns an object reference '1', which is
> then used in the second invocation, but, by then, this object doesn't
> seem to exist. I can see the redirection to the named pipe in between
> the two calls, but, from the stack trace, the client doesn't seem to be
> following the redirect - it's just doing another PUT.
>
> It looks like the client should be setting the
> X_JAVABRIDGE_OVERRIDE_HOSTS header to override the redirect, but, for
> some reason, it doesn't, so the server doesn't know to preserve the
> context in the second PUT.
>
> Does this all make sense? Any suggestions on tracking this down further?
>
> Cheers,
>
> Pat
>
--
------------------------------------------------------------------------
Pat Patterson <mailto:pat...@su...>
Federation Architect
Superpatterns <http://blogs.sun.com/roller/page/superpat> blog, Planet
Identity <http://planetidentity.org>
Identity Management Products <http://www.sun.com/identity>
/Sun Microsystems, Inc. <http://www.sun.com/>/
------------------------------------------------------------------------
|