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
(2) |
4
(17) |
5
(5) |
6
(7) |
7
(11) |
8
(11) |
|
9
(3) |
10
(3) |
11
(9) |
12
(6) |
13
(11) |
14
(3) |
15
(2) |
|
16
(1) |
17
(4) |
18
|
19
|
20
(2) |
21
(2) |
22
(3) |
|
23
|
24
|
25
|
26
|
27
(1) |
28
(1) |
29
|
|
30
|
31
|
|
|
|
|
|
|
From: <php...@li...> - 2008-03-08 17:09:28
|
Hi,
>> $_SESSION['xy']="someValue";
>> $_SESSION['instance']=$repository;
>Depending on your PHP version it may or may not be possible to store Objects into the >session
>store.
I've solved this issue like this:
page 1:
$_SESSION['user'] = serialize($user);
page 2:
$user = unserialize($_SESSION['user']);
Regards,
Zoran
php...@li... wrote:
Hi,
> $repository=new Java("depths.moodle.RepositoryFactory");
> if (!isset($repository)){
The above isset(..) is wrong and obsolete. new ClassName() cannot return null.
Furthermore Java NULL values are represented by NULL proxies, not by PHP null or void.
> $_SESSION['xy']="someValue";
> $_SESSION['instance']=$repository;
Depending on your PHP version it may or may not be possible to store Objects into the session
store.
> protocol error: , Invalid document end at col 22. Check the back end log for details.
> Could you please indicate what did cause this error?
Sorry, but I can't read your back end log file. :)
Regards,
Jost Boekemeier
Lesen Sie Ihre E-Mails auf dem Handy.
www.yahoo.de/go
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
|
|
From: <php...@li...> - 2008-03-08 17:05:46
|
Thanks again! I tried another approach and I guess I found the reason.
Right now I put everything inside a java class and it runs in java
with no problem. But once I try to run it in php, it fail to load the
file. Here's how it looks like.
Test1.java
import net.sourceforge.jFuzzyLogic.FIS;
import net.sourceforge.jFuzzyLogic.rule.FuzzyRuleSet;
public class Test1{
private FIS aFIS;
private FuzzyRuleSet aRuleSet;
public Test1(){}
public String init(){
String fileName = "tipper.fcl";
aFIS = FIS.load(fileName,true);
if( aFIS == null ){
return "Can't load file: '" + fileName + "'";
}
aRuleSet = aFIS.getFuzzyRuleSet();
if(aRuleSet == null){
return "Can't load rule set";
}
return "Initialization succeed";
}
public String setRule(double x, double y){
if(aRuleSet == null){
return "Can't access rule set";
}
else{
aRuleSet.setVariable("service", x);
aRuleSet.setVariable("food", y);
aRuleSet.evaluate();
return "" + aRuleSet.getVariable("tip").defuzzify();
}
}
public String printRuleSet(){
if(aRuleSet == null){
return "Can't print rule set";
}
else{
return aRuleSet.toString();
}
}
}
test1.php
<?php
if(!extension_loaded("java"))
require_once("JavaBridge/java/Java.inc");
java_require(".;jFuzzyLogic_1_2_1.jar;Test1.jar");
try{
$temp = new Java("Test1");
echo "<p>" . java_inspect($temp) . "</p>";
echo "<p>" . $temp->init() . "</p>";
echo "<p>" . $temp->setRule(3, 7) . "</p>";
echo "<p>" . $temp->printRuleSet() . "</p>";
} catch(JavaException $ex){
$exStr = java_cast($ex, "string");
echo "<p>Exception occured; mixed trace: " . $exStr . "</p>";
}
?>
and the output
[class Test1: Constructors: public Test1() Fields: Methods: public
boolean java.lang.Object.equals(java.lang.Object) public native int
java.lang.Object.hashCode() public java.lang.String
java.lang.Object.toString() public java.lang.String Test1.init()
public java.lang.String Test1.setRule(double,double) public
java.lang.String Test1.printRuleSet() public final native
java.lang.Class java.lang.Object.getClass() public final native void
java.lang.Object.notify() public final native void
java.lang.Object.notifyAll() public final void java.lang.Object.wait()
throws java.lang.InterruptedException public final void
java.lang.Object.wait(long) throws java.lang.InterruptedException
public final native void java.lang.Object.wait(long,int) throws
java.lang.InterruptedException Classes: ]
Can't load file: 'tipper.fcl'
Exception occured; mixed trace: java.lang.Exception: Invoke failed:
[[o:Test1]]->setRule((o:double)[o:PhpExactNumber],
(o:double)[o:PhpExactNumber]). Cause:
java.lang.IllegalArgumentException VM: 1.5.0@http://www.ibm.com/
All files are sitting in the same directory. Any idea? Thanks
On Sat, Mar 8, 2008 at 5:48 AM,
<php...@li...> wrote:
> > [[o:Request$PhpNull]]->toString.
>
> Instead of a NullPointerException we should throw a custom exception which explains that the user
> has passed a PHP null value to the bridge.
>
>
>
>
> Lesen Sie Ihre E-Mails auf dem Handy.
> www.yahoo.de/go
>
> -------------------------------------------------------------------------
>
>
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
|
|
From: <php...@li...> - 2008-03-08 14:49:36
|
Hi,
> Can you please unsubscribe me from this list?
Sure. Can you please send me your name or e-mail account, so that we can remove you from the list?
Regards,
Jost Boekemeier
Lesen Sie Ihre E-Mails auf dem Handy.
www.yahoo.de/go
|
|
From: <php...@li...> - 2008-03-08 13:52:51
|
Can you please unsubscribe me from this list? I tried twice from the control panel and never got the verification e-mail. Thank you |
|
From: <php...@li...> - 2008-03-08 13:48:16
|
> [[o:Request$PhpNull]]->toString.
Instead of a NullPointerException we should throw a custom exception which explains that the user
has passed a PHP null value to the bridge.
Lesen Sie Ihre E-Mails auf dem Handy.
www.yahoo.de/go
|
|
From: <php...@li...> - 2008-03-08 13:35:49
|
Hi,
> $repository=new Java("depths.moodle.RepositoryFactory");
> if (!isset($repository)){
The above isset(..) is wrong and obsolete. new ClassName() cannot return null.
Furthermore Java NULL values are represented by NULL proxies, not by PHP null or void.
> $_SESSION['xy']="someValue";
> $_SESSION['instance']=$repository;
Depending on your PHP version it may or may not be possible to store Objects into the session
store.
> protocol error: , Invalid document end at col 22. Check the back end log for details.
> Could you please indicate what did cause this error?
Sorry, but I can't read your back end log file. :)
Regards,
Jost Boekemeier
Lesen Sie Ihre E-Mails auf dem Handy.
www.yahoo.de/go
|
|
From: <php...@li...> - 2008-03-08 13:31:25
|
Hi,
> "maximum time of 60 seconds exceeded" from JavaBridge
Are you sure?
I think this error message comes from PHP, not from the JavaBridge. Please see the PHP
documentation for details.
Regards,
Jost Boekemeier
Lesen Sie Ihre E-Mails jetzt einfach von unterwegs.
www.yahoo.de/go
|
|
From: <php...@li...> - 2008-03-08 13:26:29
|
Hi,
> the entry point of the bridge. But how do I use it. It seems that I have to
With Runner.getRequiredInstance(). This allocates a Java continuation which has full access
to your Java objects.
Please see the INSTALL.STANDALONE document for details.
> I was actually thinking about using something like a stub on the php side,
> which would connect to another JVM where my Java object is already
> instanciated (something like RMI actually).
You could as well use RMI from within your Java continuation, please see the J2EE examples from
the source download folder.
But why don't you simply call into the Java continuation and use the objects already allocated by
your Java application?
Regards,
Jost Boekemeier
Lesen Sie Ihre E-Mails auf dem Handy.
www.yahoo.de/go
|
|
From: <php...@li...> - 2008-03-08 13:17:58
|
> Thank you! Yes, I understand that.
No, I don't think so. :)
Please read the error message and your code carefully.
Regards,
Jost Boekemeier
Machen Sie Yahoo! zu Ihrer Startseite. Los geht's:
http://de.yahoo.com/set
|
|
From: <php...@li...> - 2008-03-08 11:24:46
|
Hi,
When I try to create an Java instance I got this strange error message. It doesn't cause my program stop to work, but I'm confused about it, and why does it happen. Here is the complete code:
try{
$repository=new Java("depths.moodle.RepositoryFactory");
if (!isset($repository)){
throw new Exception("Could not create repository!");
}
} catch (Exception $e){
echo "Error (File: " .$e->getFile().", line ".$e->getLine()."): ".$e->getCause() ." end of message. <br>";
echo "<br> ".$e->getMessage();
echo "<br> ".$e;
}
$_SESSION['xy']="someValue";
$_SESSION['instance']=$repository;
echo "Session xy=".$_SESSION['xy'];
echo "<br>";
if (isset($_SESSION['instance']))
{echo "instance exists";
echo "<br>";}
else{
echo "instance does not exists";
}
?>
Output of this page is as follows:
Session xy=someValue
instance exists
protocol error: , Invalid document end at col 22. Check the back end log for details.
Could you please indicate what did cause this error?
Thanks,
Zoran
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
|
|
From: <php...@li...> - 2008-03-08 09:41:20
|
Hi, I am using PHP/Java Bridge on Windows under PHP/Apache/Tomcat configuration. On calling some of my JavaClasses from PHP, I observe an error saying "maximum time of 60 seconds exceeded" from JavaBridge. Is this response timeout parameter configurable? If Yes, Pls let me know where can I alter it. regds, Bharti |