From: <php...@li...> - 2012-09-07 12:03:51
|
Thanks for your answer. I'm not using Tomcat though, but directly calling java classes. I wonder if this could mean that a java class is for some reason not responding.. Thanks again, A --- Gio 6/9/12, php...@li... <php...@li...> ha scritto: > Da: php...@li... <php...@li...> > Oggetto: [Php-java-bridge-users] mysterious error(s) > A: php...@li... > Data: Giovedì 6 settembre 2012, 15:18 > Hello, > I get this error message in the Apache error log, and I > cannot understand what's causing it. > > Could somebody help please? Or at least point me to the > right direction :) > > > [Thu Sep 06 16:45:13 2012] [error] [client 131.152.227.94] > PHP Notice: fwrite() [<a > href='function.fwrite'>function.fwrite</a>]: send > of 193 bytes failed with errno=32 Broken pipe in > /import/wnz/home/mirz/libraries/php/Java.inc on line 652, > referer: http://www.clipz.unibas.ch/index.php?r=tools%2Falignment%2FregionalAlignment&strand=%2B&orgId=7&yt0=Show+genome+browser > > Java.inc looks like this: > > 648: $res .= "\r\n"; > 649: $res .= "\177"; > 650: $res .= $compatibility; > 651: $res .= $data; > 652: $count = fwrite($socket, $res) or > $this->shutdownBrokenConnection("Broken connection > handle"); > 653: fflush($socket) or > $this->shutdownBrokenConnection("Broken connection > handle"); > 654: return $count;} > 655: function read($size) > {if(is_null($this->headers)) $this->parseHeaders(); > 656: $data = fread($this->socket, > $this->headers['content_length']); > > > Another problem I get is that in a certain page I have this > error: > Error 500 > Undefined index: content_length > Which I strongly suspect that it's the same "content_length" > of line 656.. > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's > security and > threat landscape has changed and how IT managers can > respond. Discussions > will include endpoint security, mobile security and the > latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |