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
|
|
From: <php...@li...> - 2008-08-25 19:24:24
|
Hello,
I have moved all required jar and zip files to:
/usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/ext
In the php code I add:
java_require("asjava.zip;msbase.jar;msutil.jar;bowerweb.jar;");
But I still get:
Fatal error: Uncaught [[o:Exception]:"java.lang.Exception:
Invoke failed:
[[o:JavaBridge]]->updateJarLibraryPath((o:String)[o:String],
(o:String)[o:String], (o:String)[o:String], (o:String)[o:String]).
Cause: java.io.IOException: Could not open jar file asjava.zip, reason:
error in opening zip file
Responsible VM: 1.6.0_03@http://java.sun.com/" at:
#-17
php.java.bridge.DynamicJavaBridgeClassLoader.checkJarFile(DynamicJavaBridgeClassLoader.java:108)
#-16 php.java.bridge.JarLibraryPath.createUrls(JarLibraryPath.java:193)
#-15 php.java.bridge.JarLibraryPath.checkURLs(JarLibraryPath.java:118)
#0 java.inc(257): java_ThrowExceptionProxyFactory->getProxy(1, NULL, true)
#1 java.inc(473): java_Arg->getResult(true)
#2 java.inc(479): java_Client->getWrappedResult(true)
#3 java.inc(672): java_Client->getResult()
#4 java.inc(1664): java_Client->invokeMethod(0, 'updateJarLibrar...',
Array)
#5 /var/www/pbr/pbr_acct_summary.php(6):
java_require('asjava.zip;msba...')
#6 {main}] thrown in java.inc on line 220
Do I need to give a fully qualified path in the java_require statement?
There is also a /usr/lib/jvm/java-6-sun-1.6.0.03/ext
directory. Is that the repository I am looking for?
Charles Shaffer
Senior Analyst
NTN-Bower Corporation
php...@li...
Sent by: php...@li...
08/22/2008 05:43 AM
Please respond to php-java-bridge-users
To: php...@li...
cc:
Subject: Re: [Php-java-bridge-users] (no subject)
Hi,
a *global* CLASSPATH variable (i.e. which is set directly by the kernel or
the init process) doesn't exist. So you can't use it. (the whole classpath
concept is insane anyway).
Please store your libraries in the jre/lib/ext repository instead.
Depending on your version this is /usr/lib/jvm/java-6-sun/jre/lib/ext or
java-6-sun-1.6.0.03/jre/lib/ext or wherever.
Regards,
Jost Boekemeier
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz
gegen Massenmails.
http://mail.yahoo.com
-------------------------------------------------------------------------
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-08-22 17:25:54
|
Thank you.
I was able to sort of get it going, but the work-around was lame. What I
found was that if I included every jar file accessed in every object
called in the PHP code, that it could resolve the references. I'll start
using the /usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/ext directory to hold
my jars in the future. This is what I was looking for.
Charles Shaffer
Senior Analyst
NTN-Bower Corporation
php...@li...
Sent by: php...@li...
08/22/2008 05:43 AM
Please respond to php-java-bridge-users
To: php...@li...
cc:
Subject: Re: [Php-java-bridge-users] (no subject)
Hi,
a *global* CLASSPATH variable (i.e. which is set directly by the kernel or
the init process) doesn't exist. So you can't use it. (the whole classpath
concept is insane anyway).
Please store your libraries in the jre/lib/ext repository instead.
Depending on your version this is /usr/lib/jvm/java-6-sun/jre/lib/ext or
java-6-sun-1.6.0.03/jre/lib/ext or wherever.
Regards,
Jost Boekemeier
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz
gegen Massenmails.
http://mail.yahoo.com
-------------------------------------------------------------------------
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-08-22 10:43:39
|
Hi, a *global* CLASSPATH variable (i.e. which is set directly by the kernel or the init process) doesn't exist. So you can't use it. (the whole classpath concept is insane anyway). Please store your libraries in the jre/lib/ext repository instead. Depending on your version this is /usr/lib/jvm/java-6-sun/jre/lib/ext or java-6-sun-1.6.0.03/jre/lib/ext or wherever. Regards, Jost Boekemeier __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com |
|
From: <php...@li...> - 2008-08-21 16:38:43
|
Hello. This may be a little off topic, but I am hoping someone on the list has run into this same problem and can enlighten me. I apologize in advance as I am fairly new to Java. On an Ubuntu 7.1 LAMP server. I have created a Java object for accessing an MS Sql Server server from Java. When I run it from the command line, it runs fine. When I run it from PHP through the JavaBridge, it cannot find the SQLServerDriver Unresolved external reference: java.lang.NoClassDefFoundError: com/microsoft/jdbc/sqlserver/SQLServerDriver. -- Unable to call constructor, see the README section "Java platform issues" for details. The resolution I am finding on the Internet indicates that this is because the package is not in the CLASSPATH. The driver is in mssqlserver.jar 731 Thu Nov 21 16:35:04 CST 2002 com/microsoft/jdbc/sqlserver/SQLServerDriver.class which is in my CLASSPATH as cshaffer. But when it is run from PHP through the Bridge, it is apparently not in the CLASSPATH. So who is running it in that case and how do I effect the CLASSPATH? Or can I use an import to force it? Is there a trick to this? Charles Shaffer Senior Analyst NTN-Bower Corporation |
|
From: <php...@li...> - 2008-08-20 19:53:57
|
I read that a long time ago too...doh! thanks |
|
From: <php...@li...> - 2008-08-20 19:38:02
|
Problem appears to either be with my JDBC driver or Filemaker, not the bridge. I tested with a Java DB test app Filemaker gives out. Thanks for all your help. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com php...@li... wrote: > Try the same algorithm directly on Java code, maybe the delay could be on > the SQL queries. > > > On Wed, Aug 20, 2008 at 2:06 PM, < > php...@li...> wrote: > > >> Is there any reason why the following code would take 13 seconds to load? >> >> I'm using the java.so extension. >> >> Code: >> <?php >> include_once('java/Java.inc'); >> >> $class = Java("java.lang.Class"); >> $sequelink = >> $class->forName("com.ddtek.jdbc.sequelink.SequeLinkDriver")->newInstance(); >> $dm = Java("java.sql.DriverManager"); >> >> $con = >> >> $dm->getConnection("jdbc:sequelink://FMServer:2399;serverDataSource=Clients", >> $username, $password); >> >> $stmt = $con->createStatement(); >> >> $results = $stmt->executeQuery($query); >> >> $metaData = $results->getMetaData(); >> >> $numCols = $metaData->getColumnCount(); >> >> ?> >> >> -- >> >> >> Thank you, >> Micah Gersten >> onShore Networks >> Internal Developer >> http://www.onshore.com >> >> >> ------------------------------------------------------------------------- >> 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-08-20 19:27:48
|
Try the same algorithm directly on Java code, maybe the delay could be on
the SQL queries.
On Wed, Aug 20, 2008 at 2:06 PM, <
php...@li...> wrote:
> Is there any reason why the following code would take 13 seconds to load?
>
> I'm using the java.so extension.
>
> Code:
> <?php
> include_once('java/Java.inc');
>
> $class = Java("java.lang.Class");
> $sequelink =
> $class->forName("com.ddtek.jdbc.sequelink.SequeLinkDriver")->newInstance();
> $dm = Java("java.sql.DriverManager");
>
> $con =
>
> $dm->getConnection("jdbc:sequelink://FMServer:2399;serverDataSource=Clients",
> $username, $password);
>
> $stmt = $con->createStatement();
>
> $results = $stmt->executeQuery($query);
>
> $metaData = $results->getMetaData();
>
> $numCols = $metaData->getColumnCount();
>
> ?>
>
> --
>
>
> Thank you,
> Micah Gersten
> onShore Networks
> Internal Developer
> http://www.onshore.com
>
>
> -------------------------------------------------------------------------
> 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
>
--
Roger José Padilla Camacho
|
|
From: <php...@li...> - 2008-08-20 19:08:46
|
Thanks, I actually did have the JVM loaded. Through debugging, I realized it was my JDBC connection that was slow. I started a new thread for it. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com php...@li... wrote: > Hi, > > >> Is there way to keep the Java engine loaded in PHP so that >> it doesn't >> have to run every time? I'm currently using the PHP >> > > please see our FAQ entry "Whenever I reboot my computer I have to start the bridge back end again. How can I automate this?" at http://php-java-bridge.sourceforge.net/doc/faq.php > > > Regards, > Jost Boekemeier > > > __________________________________________________ > Do You Yahoo!? > Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. > http://mail.yahoo.com > > ------------------------------------------------------------------------- > 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-08-20 19:06:46
|
Is there any reason why the following code would take 13 seconds to load?
I'm using the java.so extension.
Code:
<?php
include_once('java/Java.inc');
$class = Java("java.lang.Class");
$sequelink =
$class->forName("com.ddtek.jdbc.sequelink.SequeLinkDriver")->newInstance();
$dm = Java("java.sql.DriverManager");
$con =
$dm->getConnection("jdbc:sequelink://FMServer:2399;serverDataSource=Clients",
$username, $password);
$stmt = $con->createStatement();
$results = $stmt->executeQuery($query);
$metaData = $results->getMetaData();
$numCols = $metaData->getColumnCount();
?>
--
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
|
|
From: <php...@li...> - 2008-08-20 11:02:02
|
Hi, > Is there way to keep the Java engine loaded in PHP so that > it doesn't > have to run every time? I'm currently using the PHP please see our FAQ entry "Whenever I reboot my computer I have to start the bridge back end again. How can I automate this?" at http://php-java-bridge.sourceforge.net/doc/faq.php Regards, Jost Boekemeier __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com |
|
From: <php...@li...> - 2008-08-20 10:58:16
|
Hi,
I am sorry, I could not reproduce this problem. The following script prints
{country=Columbia}
<?php require_once("http://localhost:8080/JavaBridge/java/Java.inc");
$map = new Java('java.util.HashMap');
$map->put('country', 'Columbia');
printMapFromPHP($map);
// Receive the variable by reference
function printMapFromPHP(&$map){
echo $map;
}
?>
Regards,
Jost Boekemeier
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
|
|
From: <php...@li...> - 2008-08-20 10:48:59
|
Hi, > my question is this: Why do I have to include the Java.inc? Please see http://php-java-bridge.sourceforge.net/doc/faq.php section "Do I have to require Java.inc in each of my scripts? Isn't that very slow?" Regards, Jost Boekemeier __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com |
|
From: <php...@li...> - 2008-08-19 23:23:04
|
Is there way to keep the Java engine loaded in PHP so that it doesn't have to run every time? I'm currently using the PHP class implementation. -- Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com |
|
From: <php...@li...> - 2008-08-19 21:46:57
|
I want send a variable that reference a Java object to a function, I tried
it on different ways, but I can not.
$map = new Java('java.util.HashMap');
$map->put('country', 'Columbia');
$this->printMapFromPHP($map);
// Receive the variable by reference
function printMapFromPHP(&$map){
// try to print, but not print
}
Thanks in advance.
|
|
From: <php...@li...> - 2008-08-19 21:34:33
|
To reference static methods, you could use:
$STATIC_REFERENCE = Java('package.ClassName');
$STATIC_REFERENCE->staticMetod(...);
To create an object (an instance of a class), you must use the "*new*"
keyword:
$object = new Java('package.ClassName');
So, you can create a static reference to the "Class" class and the same for
others.
$CLASS = Java('java.lang.Class');
$driver = $CLASS->forName("...")->newInstance();
I think that you don't need typecasting, remember, PHP is a dynamic
language.
Best regards from Cartagena / Colombia
Roger Padilla
On Tue, Aug 19, 2008 at 4:20 PM, <
php...@li...> wrote:
> Thank you for the quick reply.
>
> How would I do something like this with typecasting?
> Driver d =
>
> (Driver)Class.forName("com.ddtek.jdbc.sequelink.SequeLinkDriver").newInstance();
>
> Thank you,
> Micah Gersten
> onShore Networks
> Internal Developer
> http://www.onshore.com
>
>
>
> php...@li... wrote:
> > $dm = Java("java.sql.DriverManager");
> >
> > $con
> >
> =$dm->getConnection(\"jdbc:sequelink://fmServer:2399;serverDataSource=Clients\",
> > $username, $password");
> >
> >
> > On Tue, Aug 19, 2008 at 3:44 PM, <
> > php...@li...> wrote:
> >
> >
> >> I can now create the JDBC connection in PHP, but it doesn't do anything
> >> and just waits there.
> >> Here is the code:
> >>
> >> $con = new
> >>
> Java("DriverManager.getConnection(\"jdbc:sequelink://fmServer:2399;serverDataSource=Clients\",$username,$password);");
> >> --
> >>
> >>
> >> Thank you,
> >> Micah Gersten
> >> onShore Networks
> >> Internal Developer
> >> http://www.onshore.com
> >>
> >>
> >>
> -------------------------------------------------------------------------
> >> 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
> >>
> >>
> >
> >
> >
> >
>
> -------------------------------------------------------------------------
> 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
>
--
Roger José Padilla Camacho
|
|
From: <php...@li...> - 2008-08-19 21:20:01
|
Thank you for the quick reply.
How would I do something like this with typecasting?
Driver d =
(Driver)Class.forName("com.ddtek.jdbc.sequelink.SequeLinkDriver").newInstance();
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
php...@li... wrote:
> $dm = Java("java.sql.DriverManager");
>
> $con
> =$dm->getConnection(\"jdbc:sequelink://fmServer:2399;serverDataSource=Clients\",
> $username, $password");
>
>
> On Tue, Aug 19, 2008 at 3:44 PM, <
> php...@li...> wrote:
>
>
>> I can now create the JDBC connection in PHP, but it doesn't do anything
>> and just waits there.
>> Here is the code:
>>
>> $con = new
>> Java("DriverManager.getConnection(\"jdbc:sequelink://fmServer:2399;serverDataSource=Clients\",$username,$password);");
>> --
>>
>>
>> Thank you,
>> Micah Gersten
>> onShore Networks
>> Internal Developer
>> http://www.onshore.com
>>
>>
>> -------------------------------------------------------------------------
>> 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-08-19 20:56:28
|
$dm = Java("java.sql.DriverManager");
$con
=$dm->getConnection(\"jdbc:sequelink://fmServer:2399;serverDataSource=Clients\",
$username, $password");
On Tue, Aug 19, 2008 at 3:44 PM, <
php...@li...> wrote:
> I can now create the JDBC connection in PHP, but it doesn't do anything
> and just waits there.
> Here is the code:
>
> $con = new
> Java("DriverManager.getConnection(\"jdbc:sequelink://fmServer:2399;serverDataSource=Clients\",$username,$password);");
> --
>
>
> Thank you,
> Micah Gersten
> onShore Networks
> Internal Developer
> http://www.onshore.com
>
>
> -------------------------------------------------------------------------
> 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
>
--
Roger José Padilla Camacho
|
|
From: <php...@li...> - 2008-08-19 20:49:02
|
I've installed the package and successfully tested it, my question is this: Why do I have to include the Java.inc? Specifically I've installed what I believe to be the standalone, 3.2.1 version on windows server 2003. I don't have to include the Java.inc. I have installed php-java-bridge from source 5.2.0 on ubuntu, which requires this Java.inc. I also need the java_autoload statement which comes from the test.php file. It is working sufficiently enough for me right now, but could anyone clarify? scott |
|
From: <php...@li...> - 2008-08-19 20:44:12
|
I can now create the JDBC connection in PHP, but it doesn't do anything
and just waits there.
Here is the code:
$con = new Java("DriverManager.getConnection(\"jdbc:sequelink://fmServer:2399;serverDataSource=Clients\",$username,$password);");
--
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
|
|
From: <php...@li...> - 2008-08-19 13:01:02
|
Hello Jost,
I think I am beginning to see what was happening. At the time this
starting happening I was editing, rebuilding and testing in a very tight
pattern. I suspect that I left some connections open and then tried to
open other connections before gc could clean them up. Also, Ithink I had
an unhandled exception going on as well.
I am going to try putting the close connection in the finally clause and
beefing up the error handling. Thanks for your help.
Charles Shaffer
Senior Analyst
NTN-Bower Corporation
php...@li...
Sent by: php...@li...
08/19/2008 06:21 AM
Please respond to php-java-bridge-users
To: php...@li...
cc:
Subject: Re: [Php-java-bridge-users] php-java-bridge on ubuntu hardy
Hi,
> [[o:U2]]->PbrGetMgrList.
are you sure that the loaded version of the class U2 has the method
PbrGetMgrList? What does echo java_inspect($yourU2Object) display?
> Since rebooting the server last Friday, it has been running
> OK. I am
> uncomfortable not knowing what happened since it may happen
> again.
It won't happen again unless you change U2.class (or the Java library
archive which contains U2.class).
Regards,
Jost Boekemeier
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz
gegen Massenmails.
http://mail.yahoo.com
-------------------------------------------------------------------------
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
This email was Anti Virus checked by Astaro Security Gateway. http://www.astaro.com
|
|
From: <php...@li...> - 2008-08-19 11:25:02
|
Hi, if you copy the JDBC driver to Java's repository (usually /usr/share/java/ext or /usr/java/default/jre/lib/ext), you can use the JDBC driver through the DriverManager as usual. You need a wrapper class only if you load the driver from the DynamicClassLoader (this is because the DriverManager is loaded from the system class loader, which cannot access the DynamicClassLoader at run-time). Regards, Jost Boekemeier __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com |
|
From: <php...@li...> - 2008-08-19 11:22:00
|
Hi, > [[o:U2]]->PbrGetMgrList. are you sure that the loaded version of the class U2 has the method PbrGetMgrList? What does echo java_inspect($yourU2Object) display? > Since rebooting the server last Friday, it has been running > OK. I am > uncomfortable not knowing what happened since it may happen > again. It won't happen again unless you change U2.class (or the Java library archive which contains U2.class). Regards, Jost Boekemeier __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com |
|
From: <php...@li...> - 2008-08-18 21:40:16
|
I can't use ODBC because I don't have a driver, but I do have a JDBC driver. Has anyone made JDBC calls from PHP without a Java Class between the PHP and JDBC class? -- Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com |
|
From: <php...@li...> - 2008-08-18 16:39:08
|
Jost, The error messages I am seeing look like this ****************************************************** Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke failed: [[o:U2]]->PbrGetMgrList. Cause: java.lang.NoSuchMethodException: PbrGetMgrList(). Candidates: [] Responsible VM: 1.6.0_03@http://java.sun.com/" at: #-5 php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1045) #-4 php.java.bridge.Request.handleRequest(Request.java:405) #-3 php.java.bridge.Request.handleRequests(Request.java:481) #0 java.inc(257): java_ThrowExceptionProxyFactory->getProxy(52, '@N', true) #1 java.inc(473): java_Arg->getResult(true) #2 java.inc(479): java_Client->getWrappedResult(true) #3 java.inc(672): java_Client->getResult() #4 java.inc(1786): java_Client->invokeMethod(51, 'PbrGetMgrList', Array) #5 java.inc(1910): java_JavaProxy->__call('PbrGetMgrList', Array) #6 java.inc(2072): java_AbstractJava->__call('PbrGetMgrList', Array) #7 [internal function]: Java->__call('PbrGetMgrList', Array) #8 /var/www/pbr/pbr.php(14): Java->PbrGetMgrList() #9 {main}] thrown in java.inc on line 220 ******************************************************** I am sure you are correct that the Java-Bridge doesn't crash, but the web app stops functioning. After rereading your web site, I noticed this comment. "Java knowledge is not necessary and it is neither necessary nor recommended to write custom- or glue logic in the Java programming language." Unfortunately I can't avoid glue logic since I need to access libraries called Uniobjects for Java that allow access to our nested relational MRP database. My problem is that I am not experienced enough with Java to understand what the error message above is telling me. I was hoping that someone on the list could help. The PbrGetMgrList method is in a custom Java object I use to access libraries on the web server and it has worked reliably for some time. The Java methods are only "stubs." Most of the work is done on the database server. Since rebooting the server last Friday, it has been running OK. I am uncomfortable not knowing what happened since it may happen again. Charles Shaffer Senior Analyst NTN-Bower Corporation php...@li... Sent by: php...@li... 08/18/2008 11:12 AM Please respond to php-java-bridge-users To: php...@li... cc: Subject: Re: [Php-java-bridge-users] php-java-bridge on ubuntu hardy Hi Charles, what do you mean with "crashes"? The bridge is written in pure Java. It may throw OutOfMemory errors or exceptions (if you mix an older version of the front end with a recent version of the back end). But it cannot crash. > error message which error message? > someone had seen a similar problem Please at least describe which problem you have with the bridge. Regards, Jost Boekemeier __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com ------------------------------------------------------------------------- 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 This email was Anti Virus checked by Astaro Security Gateway. http://www.astaro.com |
|
From: <php...@li...> - 2008-08-18 16:13:07
|
Hi Charles, what do you mean with "crashes"? The bridge is written in pure Java. It may throw OutOfMemory errors or exceptions (if you mix an older version of the front end with a recent version of the back end). But it cannot crash. > error message which error message? > someone had seen a similar problem Please at least describe which problem you have with the bridge. Regards, Jost Boekemeier __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com |