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
(1) |
4
|
5
|
6
(4) |
7
(1) |
|
8
(1) |
9
(2) |
10
(3) |
11
(1) |
12
(1) |
13
(5) |
14
(4) |
|
15
(1) |
16
(4) |
17
(3) |
18
(2) |
19
(2) |
20
|
21
|
|
22
|
23
|
24
|
25
|
26
|
27
|
28
(2) |
|
29
|
30
|
31
|
|
|
|
|
|
From: <php...@li...> - 2006-10-13 23:27:38
|
What are the purpose of the PEAR style php stub classes that I
created during the install of PHP-Java Bridge?
For example, if I do the following in a HP script:
$request = new Java("java.util.HashMap");
I can then use the "put" method to stick keys and values into this
special Java Style array.
$request->put( "key", "value" );
But, I can also do the following:
require_once('classes/java_util_HashMap.php');
$request = java_util_hashMap();
But cannot do the "put" method to get values into the variable.
$request->put( "key", "value" );
This gives me a "NoSuchMethodException" error?
So I guess I just don't understand what these php stubs are for? Can
anyone explain? Also, is there an official BBS style forum anywhere
for posting help -- the mailing list seems outdated?
Thanks,
Jon
|
|
From: <php...@li...> - 2006-10-13 17:49:18
|
Thanks for your reply.
I now have successfully called an EJB3 Stateless Session Bean using this fantastic bridge in Jboss 4.0.4.GA (ejb3 install).
I am however, having a little problem with logging - as soon as my EAR with a modified WAR (i removed all the files not necessary for my deployment) is deployed my console locks up. I have managed to connect to the log4j output using Chainsaw so I know things are still working. Has anyone else had similar problems? Found any solutions - I think it's probably a property I haven't passed over when starting Jboss for a port or something...
Paul
php...@li... wrote: Hi,
just a quick reply, I haven't read your messages yet;
> files, I just needed to remove the line:
>
> require_once("java/Java.php");
>
> from the top of the sample pages...
We should probably encapsulate them, for example with
if(!extension_loaded('java'))
require_once("java/Java.php");
> I am, however, getting a
> javax.naming.NameNotFoundException when I try the
> document example.
It should work; I have tested the sample against the
current jboss release. There's a FAQ entry for it.
> BTW - Has anybody had any success with using this
> bridge with Spring beans (in Java) if so, how do I
> go about accessing these? Code example will be
> great.
Please see the JSF examples for more information how
to use IOC (Fowler calls it "dependency injection").
I think Spring directly supports JSF beans, so that
should be pretty easy.
Regards,
Jost Boekemeier
___________________________________________________________
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
---------------------------------
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine |
|
From: <php...@li...> - 2006-10-13 17:11:51
|
Hi,
just a quick reply, I haven't read your messages yet;
> files, I just needed to remove the line:
>
> require_once("java/Java.php");
>
> from the top of the sample pages...
We should probably encapsulate them, for example with
if(!extension_loaded('java'))
require_once("java/Java.php");
> I am, however, getting a
> javax.naming.NameNotFoundException when I try the
> document example.
It should work; I have tested the sample against the
current jboss release. There's a FAQ entry for it.
> BTW - Has anybody had any success with using this
> bridge with Spring beans (in Java) if so, how do I
> go about accessing these? Code example will be
> great.
Please see the JSF examples for more information how
to use IOC (Fowler calls it "dependency injection").
I think Spring directly supports JSF beans, so that
should be pretty easy.
Regards,
Jost Boekemeier
___________________________________________________________
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
|
|
From: <php...@li...> - 2006-10-13 07:19:54
|
HI am such an idiot - I don't need the java/*.php files, I just needed to remove the line:
require_once("java/Java.php");
from the top of the sample pages...
So now I know I am using the c-based extension and I can run the most of the examples.
I am, however, getting a javax.naming.NameNotFoundException when I try the document example.
I am running with Jboss.
BTW - Has anybody had any success with using this bridge with Spring beans (in Java) if so, how do I go about accessing these? Code example will be great.
Thanks
php...@li... wrote: Hi,
I am wanting to use your php-java-bridge to share httpsession data between a php application and a j2ee application and also for the php applicaton to communicate with some java session facades as an alternative to SOAP based calls.
I have had mixed success with the various configurations described in the documentation and would appreciate comments on the most optimal solution. I am finding the documentation a little confusing :(
>From what I have read the c-based extension seems to be an obvious choice and running PHP using the Apache module rather than the embedded J2EE AS option seems the safest.
Like I said, I have played around - the solution that seemed to work best was when I had the .php files removed from the JavaBridge.war and placed into my Apache doc_root. I had also copied the java directory from the war to the doc_root (I had to update the php.ini include_directory) and I removed the cgi directory from WEB-INF (I wanted to make sure the PHP pages were being served by Apache). With this I was able to run the sessionSharing example - the RMI/IIOP example failed but I have seen a few posts here regarding this...
Anyway, I am not sure if the above configuration is correct/desirable - I am sure that now I am using the pure php php/java bridge implementation, I think this because with the java directory (with the php files) things don't work.
I have the following configuration:
Apache 2.0.59
PHP 5.1.6
mod_jk 1.2.19
Jboss 4.0.4
Java 1.5
We are using Apache to server static content like images and html, we are also using it to serve PHP. We have the following rules for a virtual host:
# Dynamic content
JkMount _/* worker
# Static content
JkUnMount _/*.gif worker
(more like the above - including _/*.php)
I am not really sure if I need the JkAutoAlias also..
Any help/comments most welcome.
Send instant messages to your online friends http://uk.messenger.yahoo.com -------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
Send instant messages to your online friends http://uk.messenger.yahoo.com |
|
From: <php...@li...> - 2006-10-13 01:43:40
|
Hi all. The title of the email says it all! I know PHP like the back of my hand, but know little to nothing about Java. I was able to compile and test the bridge for OS X Server, but I am running into a brick wall trying to understand how to create calls to Java objects (libraries, JAR's, or whatever they are called) and could use a little help from you experts. Hopefully some of you can answer a few questions for me to get me started (ill try to be brief): 1) What are the standard "include" files I need at the top of each of my PHP scripts to utilize the Bridge? 2) How do I gain access to certain Java methods in my PHP scripts? For example if I want to convert a string read from a file into an array of values I think I would use $array_var->toCharArray ($string_var). I believe I need the "java.lang.string" library/class thing (found this in the Java API docs at Sun.com) but I cannot figure out how to enable this class or method in my PHP scripts? 3) I cannot figure out how to instantiate a new class or object. For example a Java API we need to access has a file called "cybsclients15.jar". I used a "java_require ('......cybclients15.jar')" which seems to work (I didn't get any errors). So how do I call or access the classes in that file? For example, there is a class called "Utility" which in turn has a method called "read") in the JAR file. I tried the following: <?php java_require("/Library/WebServer/Documents/cj/simapi-java-5.0.0/lib/ cybsclients15.jar"); $handle = new Java("Utility"); $props = $handle->read("config.properties"); ?> This is supposed to create a handle to the class called "Utility" and then let me use the "read" method to read a configuration file into an array. All I get is the following error that seems to tell me the class does not exist: Fatal error: Uncaught [o(Exception):"java.lang.Exception: CreateInstance failed: new Utility. Cause: java.lang.ClassNotFoundException: Could not find Utility in java_require() path. Please check the path and the SEL and File permissions. Responsible VM: 1.5.0_06@http://apple.com/" at: #-7 php.java.bridge.DynamicJavaBridgeClassLoader.loadClass (DynamicJavaBridgeClassLoader.java:408) #-6 php.java.bridge.SimpleJavaBridgeClassLoader.forName (SimpleJavaBridgeClassLoader.java:162) #-5 php.java.bridge.JavaBridge.CreateObject(JavaBridge.java:499) #0 / Library/WebServer/Documents/cj/simapi-java-5.0.0/samples/nvp/ AuthCaptureSample.php(18): Java::__construct('Utility') #1 {main}] thrown in /Library/WebServer/Documents/cj/simapi-java-5.0.0/samples/ nvp/AuthCaptureSample.php on line 18 Thanks for the help. -- Jon |