|
From: <php...@li...> - 2009-04-30 17:30:02
|
Hello,
I tested in Debian Lenny with an apache2(with mod_jk)+tomcat5.5,
configuring
/etc/php5/apache2/php.ini for
allow_url_include = On
(dangerous, only for development environment)
and using a test.php code from the FAQ.html code at apache2 doc root:
<?php
require_once("http://localhost:8180/JavaBridge/java/Java.inc");
echo java("java.lang.System")->getProperties();
?>
Use your own tomcat configured port number.
It worked as expected using the 5.4.4.2-1 j2ee deb package built from cvs,
placing the new file
60JavaBridge.policy
by hand where and as previously explained.
The 5.4.4.2-1 j2ee debian package is unfinished and only available at cvs
repository
and will not be released for binary download.
Build it from cvs following the README.Debian instructions.
The 60JavaBridge.policy file is available only at the repository HEAD by
now.
Please, test them and send suggestions and improvements to the list.
Regards.
Andre Felipe Machado
--
http://www.techforce.com.br
A Debian user never dies. Issues a last command:
#shutdown -h now
On Thu, 30 Apr 2009 05:00:26 -0300,
php...@li... wrote:
>
> On Thu, 30 Apr 2009 11:27:39 +0200,
>
> php...@li... wrote:
>
>> Hello,
>
>>
>
>> Building from repo solved the problem, calling from tomcat, and linking
>
>> JavaBridge to the webroot, it works.
>
>>
>
>> But the page is'nt found the java_set_library_path php function.
>
>> I have a webpage with an old apache-php-javabridge engine (with
>
>> php-java-bridge 4.0.8). When I started the apache, it starts a java
>
>> process
>
>> listenin on port 9267.
>
>> I want to migrate it to Debian lenny. With the new version of
>
>> php-java-brigde is it possible?
>
>>
>
>> (I think, the java.so starts this process, and it would be better, if I
>
>> can
>
>> leave the tomcat...)
>
>>
>
>> Thanks:
>
>>
>
>> --
>
>> dv,
>
>> Ricsi
|