From: <php...@li...> - 2012-08-29 06:35:26
|
I try installing typo3 on tomcat using php 5.3 without much success yet. Executing the install scripts fails, and when calling the typo3 index page the following error comes up: Cannot find tslib/. Please set path by defining $configured_tslib_path in JavaProxy.php. Is there something I have to configure/set up in any case? Thanks, Michael |
From: <php...@li...> - 2012-08-29 06:54:42
|
JavaProxy.php sounds as if you set include_java. Try without it. i.e. use JavaBridgeTemplate.war download instead. |
From: <php...@li...> - 2012-08-30 06:59:18
|
I did so. Running "java -classpath JavaBridge.war TestInstallation" produces RESULT.hmtl, and everything seems fine. Now calling test.php via Tomcat (embedded in webapp based on JavaBridgeTemplate.war) gives the following error: javax.servlet.ServletException: php.java.bridge.http.FCGIConnectException: Could not connect to server I browsed the archives, and someone could solve it by waiting some time for the pool to be initiated. Do I get something wrong? Does fast-cgi needs to run as daemon? Thanks, Michael 2012/8/29 <php...@li...>: > JavaProxy.php sounds as if you set include_java. Try without it. > > i.e. use JavaBridgeTemplate.war download instead. > ------------------------------------------------------------------------------ > 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 |
From: <php...@li...> - 2012-08-30 10:00:30
|
There is no JavaBridge.war in the template download... And the test backend youve started shadows tomcat. But I am sure you've already noticed that. |
From: <php...@li...> - 2012-09-06 15:18:34
|
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.. |
From: <php...@li...> - 2012-09-06 21:23:14
|
Your tomcat web app has crashed (out of memory, stack overflow or something). Please check the Tomcat log for details. |
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 > |
From: <php...@li...> - 2012-09-07 12:08:59
|
I thought so. If you don't want to use a jee (e.g. tomcat, glassfish,jetty...) back end, you're on your own. Please see FAQ and install document on php-java-bridge.sf.net for details. |
From: <php...@li...> - 2012-08-30 15:29:05
|
That is why I uploaded it separately and ran it for testing my php server configuration. But still, it runs under Tomcat included in JavaBridge.war, but not under the existing Tomcat installation. Do I need to include the php-fastcgi executable in some PATH variable? Do I need to setup a different port in some config file? The INSTALL.J2EE suggest that you just drop the war and that's it. But it's not, and I have no clue what to do. Thanks, Michael 2012/8/30 <php...@li...>: > There is no JavaBridge.war in the template download... > > And the test backend youve started shadows tomcat. But I am sure you've > already noticed that. > ------------------------------------------------------------------------------ > 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 |
From: <php...@li...> - 2012-08-31 17:05:14
|
> The INSTALL.J2EE suggest that you just drop the war and that's it. Yes, exactly. If you have downloaded the "original" software it will just work. Please see the install section on http://php-java-bridge.sf.net Common errors are to install the debian/ubuntu patched tomcat or the windows php installer package. Both packages are entirely broken. Please follow the instructions from the online install document. It will work. |