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
|
7
(5) |
8
(2) |
9
(1) |
10
|
11
|
12
|
|
13
(1) |
14
(1) |
15
|
16
(1) |
17
|
18
|
19
|
|
20
|
21
(4) |
22
(2) |
23
|
24
|
25
(2) |
26
|
|
27
|
28
|
29
(2) |
30
(3) |
31
|
|
|
|
From: <php...@li...> - 2008-01-07 23:19:36
|
G'day,
Thanks for the prompt reply, i did see that note in the readme of PJB
Ive just had another go (I think i was instantiating a class object for
the forname call rather than using the java method) but i am still
getting no love
require_once("./pjb/java/Java.inc");
java_require("mysql-connector-java-5.1.5-bin.jar");
$class = java("java.lang.Class");
$loader =
java("java.lang.Thread")->currentThread()->getContextClassLoader();
$class->forName("com.mysql.jdbc.Driver",true,$loader);
$driverManager = new JavaClass("java.sql.DriverManager");
$thiscon =
$driverManager->getConnection("jdbc:mysql://xxx/xxx?user=xxx&password=xxx");
Yields the error:
PHP Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: Invoke
failed: [[c:DriverManager]]->getConnection((o:String)[o:String]). Cause:
java.sql.SQLException: No suitable driver found for
jdbc:mysql://xxx/xxx?user=xxx&password=xxx Responsible VM:
1.6.0_03@http://java.sun.com/" at:
#-11 java.sql.DriverManager.getConnection(Unknown Source)
#-10 java.sql.DriverManager.getConnection(Unknown Source)
#-9 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
#0 C:\Inetpub\wwwroot\app\webroot\test\pjb\java\Java.inc(259):
java_ThrowExceptionProxyFactory->getProxy(7, 'php.java.bridge...', true)
#1 C:\Inetpub\wwwroot\app\webroot\test\pjb\java\Java.inc(409):
java_Arg->getResult(true)
#2 C:\Inetpub\wwwroot\app\webroot\test\pjb\java\Java.inc(415):
java_Client->getWrappedResult(true)
#3 C:\Inetpub\wwwroot\app\webroot\test\pjb\java\Java.inc(619):
java_Client->getResult()
#4 C:\Inetpub\wwwroot\app\webroot\test\pjb\java\Java.inc(1730):
java_Client->invokeMethod(6, 'getConnection', Array)
#5 C:\Inetpub\wwwroot\app\webroot\test\ in C:\xxx\pjb\java\Java.inc on
line 222
Im not sure what im doing wrong, it appears the java_require call is
finding the file because if i change the path i get an error.
Regards,
Phillip Savage
php...@li... wrote:
> Hi,
>
>
>> Forgive me if i am blind, but I can't find anything in the FAQ located
>> at http://php-java-bridge.sourceforge.net/pjb/faq.php
>>
>
> the up-to-date FAQ is here:
>
> http://php-java-bridge.cvs.sourceforge.net/*checkout*/php-java-bridge/php-java-bridge/FAQ.html
>
> I think
>
> java_require ("yourDriver.jar");
> $Clazz = java("java.lang.Class");
> $loader = java("java.lang.Thread")->currentThread()->getContextClassLoader();
> $Clazz->forName("yourDriver", true, $loader);
>
> should do what you want.
>
>
> Regards,
> Jost Boekemeier
>
>
>
>
> Machen Sie Yahoo! zu Ihrer Startseite. Los geht's:
> http://de.yahoo.com/set
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> 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-01-07 12:31:44
|
Hi, > Forgive me if i am blind, but I can't find anything in the FAQ located > at http://php-java-bridge.sourceforge.net/pjb/faq.php the up-to-date FAQ is here: http://php-java-bridge.cvs.sourceforge.net/*checkout*/php-java-bridge/php-java-bridge/FAQ.html I think java_require ("yourDriver.jar"); $Clazz = java("java.lang.Class"); $loader = java("java.lang.Thread")->currentThread()->getContextClassLoader(); $Clazz->forName("yourDriver", true, $loader); should do what you want. Regards, Jost Boekemeier Machen Sie Yahoo! zu Ihrer Startseite. Los geht's: http://de.yahoo.com/set |
|
From: <php...@li...> - 2008-01-07 11:19:16
|
With all my playing around/searching i gathered that it wouldn't work
which is specifically why i tried the following which did not work:
$class->forName("com.mysql.jdbc.Driver",true,java("java.lang.Thread")->currentThread()->getContextClassLoader());
Forgive me if i am blind, but I can't find anything in the FAQ located
at http://php-java-bridge.sourceforge.net/pjb/faq.php with regards to my
problem
Regards,
Phillip Savage
php...@li... wrote:
> Hi,
>
>
>> $class->forName("com.mysql.jdbc.Driver");
>>
>
> won't work. Or better: will only work if the driver is available to the bootstrap loader.
> Either use the current loader or add the driver to the global class loader.
>
> Please see the Java specification or our FAQ for details.
>
>
> Regards,
> Jost Boekemeier
>
>
>
>
>
> __________________________________ Ihr erstes Fernweh? Wo gibt es den schönsten Strand? www.yahoo.de/clever
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> 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-01-07 09:37:36
|
Hi,
> $class->forName("com.mysql.jdbc.Driver");
won't work. Or better: will only work if the driver is available to the bootstrap loader.
Either use the current loader or add the driver to the global class loader.
Please see the Java specification or our FAQ for details.
Regards,
Jost Boekemeier
__________________________________ Ihr erstes Fernweh? Wo gibt es den schönsten Strand? www.yahoo.de/clever
|
|
From: <php...@li...> - 2008-01-07 05:21:03
|
G'day,
Ive tried all sorts of things and im starting to pull my hair out.
Im trying to create a JDBC Connection with php-java-bridge which i can
pass to BIRT to override the reports connection.
The code i started with is bellow:
$class = new JavaClass("java.lang.Class");
$class->forName("com.mysql.jdbc.Driver");
$driverManager = new JavaClass("java.sql.DriverManager");
$conn =
$driverManager->getConnection("jdbc:mysql://xxxx/xxxx?user=xxx&password=xxxx");
Which gave me a class not found on the forName call. The wierd thing is
i can instantiate a driver object manually by typing $driver = new
Java("com.mysql.jdbc.Driver"); so obviously php-java-bridge can see the
class file.
I'm at a loss as to what the problem is right now, here is a quick run
down of the things I've tried so far:
* Getting the current thread & using the context class loader
$thread = java("java.lang.Thread")->currentThread();
$class->forName("com.mysql.jdbc.Driver",true,$thread->getContextClassLoader());
* Just instantiating the driver as normal (java.sql.SQLException: No
suitable driver found thrown)
* Creating an instance of the driver and calling
$driverManager->registerDriver($driver) (java.sql.SQLException: No
suitable driver found thrown)
Any help would be appreciated,
Regards,
Phillip Savage
|