|
From: <php...@li...> - 2010-06-10 08:37:34
|
FYI: I have removed the php_include_java option from the
JavaBridgeTemplate.war file and added it to the JavaBridge.war
instead. I think this will avoid these support requests in the future.
<!-- the following line conveniently adds
require_once("java/Java.inc") to each PHP script. Remove the line, if
you don't need this feature. -->
<init-param><param-name>php_include_java</param-name><param-value>On</param-value></init-param>
-->
On 6/10/10, Jost Boekemeier <jos...@go...> wrote:
> Hi,
>
> if you are refering to the joomla bug described in
>
> http://bugs.php.net/bug.php?id=49618
>
> Yoomla uses _autoload. Please contact the yoomla maintainer to fix this
> bug.
>
>
> It may also be possible to patch Java.inc to not use spl_autoload or to
> patch php to not destroy _autoload if spl_autoload is present. But we won't
> do this.
>
> Regards,
> Jost Bökemeier
>
> Am 10.06.2010 03:03 schrieb <php...@li...>:
>
> Hi,
>
> I try run Joomla 1.5.17 project on
> Php 5.3.1
> Apache 2.2.14
> Geronimo Server 2.1.4
> using Php-JavaBridge 6.1.2.1
>
> I deploy javaBrigge.war in Geronimo Server. All test Ok.
>
> I create jes.war using javaBridgeTemplate6121.war and deploy it in
> Geronimo
> Server,
>
> I execute simple test Ok, when call jes app the firs page ok, bat no work
> other pages, not found css, js, images and other statics files.
>
> I connect Apache with Gerónimo vía modjk and I configure Apache
> for manage all static files and remit to geronimo only jes/*.php work Ok.
> All files are in Geronimo websapp/jes.
> I execute my simple test
>
>
> require_once("java/Java.inc");
> echo 'milisec: '.java("java.lang.System")->currentTimeMillis().'<br/>';
> Work Ok
> all joomla component in de same file work Ok.
>
> I try to ejecute same app in Apache DocumentRoot C:/xampp/htdocs/jes,
> original location.
> And insert simple test
> ..
> require_once("http://127.0.0.1:8080/JavaBridge/java/Java.inc");
> echo 'milisec: '.java("java.lang.System")->currentTimeMillis().'<br/>';
> ..
> Work but after, all Joomla compomente in the same php file, who is
> intantiane with "new" operator (not found class).
>
> Any idea?
>
> Thank and soory for my bad english.
>
>
>
>
>
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit. See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
|