You can subscribe to this list here.
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
(6) |
Nov
(8) |
Dec
(2) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 |
Jan
(19) |
Feb
(15) |
Mar
(10) |
Apr
(8) |
May
(7) |
Jun
(9) |
Jul
(13) |
Aug
(31) |
Sep
(111) |
Oct
(52) |
Nov
(72) |
Dec
(42) |
| 2006 |
Jan
(21) |
Feb
(32) |
Mar
(33) |
Apr
(24) |
May
(15) |
Jun
(40) |
Jul
(32) |
Aug
(19) |
Sep
(38) |
Oct
(37) |
Nov
(63) |
Dec
(37) |
| 2007 |
Jan
(18) |
Feb
(39) |
Mar
(69) |
Apr
(49) |
May
(71) |
Jun
(59) |
Jul
(71) |
Aug
(85) |
Sep
(46) |
Oct
(14) |
Nov
(25) |
Dec
(56) |
| 2008 |
Jan
(24) |
Feb
(77) |
Mar
(104) |
Apr
(44) |
May
(41) |
Jun
(11) |
Jul
(31) |
Aug
(59) |
Sep
(44) |
Oct
(86) |
Nov
(66) |
Dec
(93) |
| 2009 |
Jan
(88) |
Feb
(41) |
Mar
(49) |
Apr
(135) |
May
(22) |
Jun
(31) |
Jul
(60) |
Aug
(71) |
Sep
(76) |
Oct
(18) |
Nov
(52) |
Dec
(20) |
| 2010 |
Jan
(8) |
Feb
(50) |
Mar
(35) |
Apr
(48) |
May
(46) |
Jun
(84) |
Jul
(38) |
Aug
(61) |
Sep
(51) |
Oct
(31) |
Nov
(17) |
Dec
(18) |
| 2011 |
Jan
(51) |
Feb
(14) |
Mar
(17) |
Apr
(23) |
May
(15) |
Jun
(11) |
Jul
(5) |
Aug
(5) |
Sep
(15) |
Oct
(8) |
Nov
(5) |
Dec
(25) |
| 2012 |
Jan
(2) |
Feb
(4) |
Mar
(6) |
Apr
(9) |
May
(27) |
Jun
(32) |
Jul
(36) |
Aug
(10) |
Sep
(16) |
Oct
(3) |
Nov
(13) |
Dec
(7) |
| 2013 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(4) |
Oct
(2) |
Nov
(1) |
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
(9) |
Jul
(5) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
(3) |
Feb
(2) |
Mar
(4) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(5) |
Oct
(1) |
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
(6) |
Feb
|
Mar
|
Apr
(10) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
| 2018 |
Jan
(2) |
Feb
(5) |
Mar
|
Apr
|
May
(1) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
| 2021 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2023 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
1
|
2
|
3
|
4
|
|
5
|
6
(12) |
7
(5) |
8
(6) |
9
(1) |
10
(1) |
11
(4) |
|
12
(2) |
13
(7) |
14
|
15
(1) |
16
(1) |
17
(2) |
18
(2) |
|
19
(1) |
20
(2) |
21
(1) |
22
(4) |
23
|
24
(9) |
25
(5) |
|
26
(4) |
27
(2) |
28
(2) |
29
(1) |
30
(11) |
31
|
|
|
From: <php...@li...> - 2008-10-13 20:08:30
|
hello,
Find here enclose a code exemple :
<?
require_once 'Java.inc';
// créer une instance de la classe Java java.lang.System dans PHP
putenv("XAPPLRESDIR=/opt/matlab/X11/app-defaults");
putenv("LD_LIBRARY_PATH=".getenv('LD_LIBRARY_PATH').":/opt/matlab/sys/os/glnxa64/:/opt/matlab/bin/glnxa64/:/opt/matlab/sys/java/jre/glnxa64/jre1.6.0/lib/amd64/native_threads:/opt/matlab/sys/java/jre/glnxa64/jre1.6.0/lib/amd64/server:/opt/matlab/sys/java/jre/glnxa64/jre1.6.0/lib/amd64");
exec("export
LD_LIBRARY_PATH=".getenv('LD_LIBRARY_PATH').":/opt/matlab/sys/os/glnxa64/:/opt/matlab/bin/glnxa64/:/opt/matlab/sys/java/jre/glnxa64/jre1.6.0/lib/amd64/native_threads:/opt/matlab/sys/java/jre/glnxa64/jre1.6.0/lib/amd64/server:/opt/matlab/sys/java/jre/glnxa64/jre1.6.0/lib/amd64");
exec("export XAPPLRESDIR=/opt/matlab/X11/app-defaults");
define("XAPPLRESDIR","/opt/matlab/X11/app-defaults");
define("LD_LIBRARY_PATH",getenv('LD_LIBRARY_PATH').":/opt/matlab/sys/os/glnxa64/:/opt/matlab/bin/glnxa64/:/opt/matlab/sys/java/jre/glnxa64/jre1.6.0/lib/amd64/native_threads:/opt/matlab/sys/java/jre/glnxa64/jre1.6.0/lib/amd64/server:/opt/matlab/sys/java/jre/glnxa64/jre1.6.0/lib/amd64");
$test =
java_require("file:/home/bidsgui/java/bidsgui.jar;file:/opt/matlab/toolbox/javabuilder/jar/javabuilder.jar;file:/home/bidsgui/java/test_myplus.jar"
);
/* Create new magic object */
$thePlus = new Java( 'testMatlab' );
/* Compute plus */
$result = $thePlus->wrMyplus (1,2 );
print ( $result );
?>
This code is using java class exported from Matlab in a php script.
but this code does not work, because the environnement variable are not
recocgnise by javabuilder.jar.
regards
David
php...@li... a écrit :
> Hi David,
>
>
>> Well I'm starting using php-java-bridge under linux.
>>
>
> I assume that you don't want to use Java. The linux binary is a native binary and has been compiled against the standard library path, which is /usr/lib. However, I doubt that matlab will work with GNU Java.
>
> Please use a real Java implementation instead.
>
>
>
>> When I implement Matlab Java export in Java, there is no
>> problem, after
>> I have define LD_LIBRARY_PATH with "export".
>>
>
> Fine.
>
>
>
>
>> indicating that it does not find Matlab PATH.
>>
>
> Well, just start a real JVM and set the LD_LIBRARY_PATH before starting your Java application. After that you can call your app methods from PHP, as usual.
>
>
>
>> However, I try "export", php putenv function and
>> exec() without success.
>>
>
> I don't understand. There is no putenv() procedure in Java, so java("java.lang.System")->putenv(...) will almost certainly not work.
>
>
> Regards,
> Jost Boekemeier
>
>
>
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
>
>
|
|
From: <php...@li...> - 2008-10-13 15:25:21
|
Hi, > # WARNING: Do not disable the security manager unless you > understand the consequences! Don't use the debian-patched tomcat, unless you understand the consequences. :) > Can someone please explain what the consequences of this is It forbits access to PHP. However, if you use the debian-patched tomcat, you must fix more than just this setting. For example debian starts tomcat using a user-switch, leaving all environment variables untouched. This means that user.home points to /root (!) even though tomcat is running as user tomcat. Please either use Andre's PHP/Java Bridge debian port or install a standard tomcat download from http://tomcat.apache.org. Regards, Jost Boekemeier |
|
From: <php...@li...> - 2008-10-13 15:15:27
|
Hi,
sounds as if you tomcat installation cannot start a standard web application.
Please either use a standard Tomcat installation instead of check the tomcat error log and pass that information on to the debian tomcat maintainer.
Regards,
Jost Boekemeier
|
|
From: <php...@li...> - 2008-10-13 15:12:56
|
Hi,
> Is
> there any way
> to increase the heap space
Just start the Java VM with the option -Xmx512M.
> as supplying
> these arguments in the Java.ini configuration file.
There is no Java.ini configuration file. However, if you define
JAVA_PARSE_INI_FILE within your PHP script before including Java.inc, Java.inc will parse a java.ini config file.
In any case the .ini file is for PHP, not for Java.
Regards,
Jost Boekemeier
|
|
From: <php...@li...> - 2008-10-13 12:50:44
|
Hi I have an application that crops an existing svg image to a smaller svg image. On the command line I have no problems as I can configure the java object with a larger jvm heap space using the arguments -Xms1024m and -Xmx1024m. These are needed as the existing svg image is very large. So when I then run the application across the java-bridge I get an OutOfMemoryError as the heap space needs to upped. Is there any way to increase the heap space for us to do what we wish such as supplying these arguments in the Java.ini configuration file. Thanks for all your help Barry |
|
From: <php...@li...> - 2008-10-13 01:47:48
|
I have just discovered that this is a Tomcat issue in /etc/default/tomcat5.5 # Use the Java security manager? (yes/no, default: yes) # WARNING: Do not disable the security manager unless you understand # the consequences! # NOTE: java-gcj-compat-dev currently doesn't support a security # manager. #TOMCAT5_SECURITY=yes changing this to TOMCAT5_SECURITY=no fixes the problem and javabridge works as expected. Can someone please explain what the consequences of this is ? cheers Cees |
|
From: <php...@li...> - 2008-10-13 00:57:06
|
It must be something else I'm not getting. New install of ubuntu-8.04 server (LAMP), sun-java6-jdk, tomcat5.5, php5-cgi Tomcat working fine (tomcat5.5-webapps) and apache2/php5 working fine. However, deployed JavaBridge.war. Still a problem 404 error, Servlet PhpCGIServlet is not available fwiw, running standalone (no tomcat) as java -jar JavaBridge.jar SERVLET:8080 3 javabridge_servlet.log does work, both http://localhost:8080/test.php and http://localhost/JavaBridge/test.php give ok result Cees |