|
From: <php...@li...> - 2010-06-02 14:59:12
|
Hi Jordan,
> I'm not sure I understand how things
> work because on the 32-bit system I turn off tomcat and php is still able to
> instatiate java objects
if you installed the PHP Apache- or command line SAPI, you can call a
(remote-) server simply by fetching Java.inc. Whether or not PHP is 64
or 32 bit, or the Java VM is 64 or 32 bit doesn't matter. The XML
protocol will take care of the details.
Please download JavaBridge.jar and start it:
java -jar JavaBridge.jar SERVLET:8087 4 ""
In your PHP scripts add:
require_once("http://yourServerRunningJavaBridgejar.com:8087/JavaBridge/java/Java.inc");
to the beginning of your script. That's all.
Regards,
Jost Bökemeier
On 6/2/10, php...@li...
<php...@li...> wrote:
> I have a similar problem with 64bit system. Can someone please volunteer to
> help with the installation. I can setup a server with credentials. I'd be
> happy to pay for your time.
>
> Server is 64bit ubuntu 9.04
>
> If you are trying to run java code from php and not vice versa ( run php on
> tomcat) you don't need tomcat do you? I'm not sure I understand how things
> work because on the 32-bit system I turn off tomcat and php is still able to
> instatiate java objects.
>
> Thanks,
> Jordan
>
> On Wed, Jun 2, 2010 at 12:04 AM, <
> php...@li...> wrote:
>
>> Hi Bernhard,
>>
>>
>> when we say tomcat, we mean tomcat from http://tomcat.apache.org
>>
>> If you want to use some other software, please contact its vendor for
>> support.
>>
>>
>> > Caused by: java.security.AccessControlException: access denied
>> (java.io.FilePermission /tmp/tomcat6-temp read)
>>
>> Sounds as if you have installed some software which cannot read its
>> own temp directory.
>>
>>
>> Please download and install tomcat from http://tomcat.apache.org.
>>
>>
>> Regards,
>> Jost Bökemeier
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> php-java-bridge-users mailing list
>> php...@li...
>> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
|