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-16 23:34:45
|
Figured out the disconnect and why it wasn't "working" for me... Turns out that it seems I had the configuration correct at one point, the browser reporting back the message re: PECL required, along with your note about PECL "If you want to embed java statements into your php pages, you must install the PECL extension from sourceforge." turned out to be the final clue for me and in hindsight was actually working at that time. I had assumed, based on the browser output of the phpinfo()-like information, that the test.php file contained only one line and that line had phpinfo() on it. A bad assumption in hindsight. I opened the test.php file and saw calls to java includes and then made up a .php file that had the phpinfo() function as the only line in the file. Viola, I had 4.4.4, and even 4.4.2 when I pointed the bridge to use my old version of php. So the disconnect was that the test.php file didn't run off the bat, yet php support was enabled. Next step is to enable support for 4.4.x so that I can call java servlets and capture return values in my php pages >>If you want to embed java statements into your php pages, you must >>install the PECL extension from sourceforge. Couldn't find a PECL extension on sourceforge - do you have a URL/instructions? I use PEAR but am not familiar with PECL |
|
From: <php...@li...> - 2006-10-16 17:38:18
|
Hi, > I am however, having a little problem with logging - > as soon as my EAR is deployed (or the original WAR) > my console locks up. Do you use tomcat as the web container? There is an open bug report connected with log4j. The tomcat people suggest to copy the log4j library to the global classpath. > I sometimes get the following exception also - on a > deployment (things still appear to work okay though) > > 2006-10-14 17:03:44,626 DEBUG > [org.jboss.invocation.pooled.server.ServerThread] > beginning dorun > 2006-10-14 17:03:44,636 ERROR > [org.jboss.invocation.pooled.server.ServerThread] > Failed to initialize > java.net.SocketException: Software caused connection > abort: recv failed > at java.net.SocketInputStream.socketRead0(Native > Method) > at > java.net.SocketInputStream.read(SocketInputStream.java:129) > at > java.io.BufferedInputStream.fill(BufferedInputStream.java:218) > at > java.io.BufferedInputStream.read1(BufferedInputStream.java:256) > at > java.io.BufferedInputStream.read(BufferedInputStream.java:313) > at > java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2222) > at > java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2235) > at > java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2703) > at > java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:760) > at > java.io.ObjectInputStream.<init>(ObjectInputStream.java:278) > at > org.jboss.invocation.pooled.interfaces.OptimizedObjectInputStream.<init>(OptimizedObjectInputStream.java:131) > at > org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:265) > at > org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:156) I don't think this is a PHP/Java Bridge issue. It sounds as if some jboss internal service failed to start correctly. > p.s. Why is there such restrictions on posts to this > forum Because 90% of all messages posted to this list are spam. So we cannot allow anonymous posts or posts from non-members anymore. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
|
From: <php...@li...> - 2006-10-16 17:32:28
|
Hi, [please excuse the delay] > 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 :( I agree that the documentation is currently in a horrible state. But unfortunately we don't have any time to update or to rewrite it at the moment. > >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. Not necessarily. Running PHP within a J2EE AS is faster than the Apache prefork MPM. The only problem with this setup is that java cannot drop privileges (due to posix constraints), so you need a native wrapper which forwards the request from the HTTP or HTTPS port to the unprivileged 8080 or 8443 ports. In most cases this "native wrapper" is either Apache with mod_jk or Apache with PHP and the PHP/Java Bridge. > Anyway, I am not sure if the above configuration is > correct/desirable Certainly. Your setup is described in fig. #3 in the README. > 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.. I can't comment on this one because I have not much experience with mod_jk. We usually set the Apache DocumentRoot to the J2EE AS webapps directory and set up a .htaccess file. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
|
From: <php...@li...> - 2006-10-16 16:46:25
|
Hi again. I am replying to my own question post since a friend of mine helped me track down my NoClassDefFound problem (thanks Russell). The error is in the java_require's at the beginning of my code. I needed to use the format java_require(JAR1;JAR2;JAR3;JAR4); instead of separating the requires. There is cross calling in the classes in the 4 libraries I use so they must all be brought into the same memory space. See the following reference for full details: http://php-java-bridge.sourceforge.net/documentation/PHP-API/html/ java_8c.html#doc23 I read this before, but it didn't rally gel in my brain until I was reminded of how libraries are cached by the back-end loader. Jon On Oct 15, 2006, at 4:49 PM, php-java-bridge- us...@li... wrote: > Hullo all. > > Well I am slowly getting closer to converting a sample java class > from our processing companies API (for credit card transactions) > into a woring PHP script using php-java bridge. Thanks for all the > helpful tips I received so far. > > I am currently stuck with an error when calling a particular method > of a class from the JAR file I included at the top of my script. > > MY CODE > ========= > java_require("/Library/WebServer/Documents/cj/simapi-java-5.0.0/lib/ > cybsclients15.jar"); > java_require("/Library/WebServer/Documents/cj/simapi-java-5.0.0/lib/ > cybssecurity.jar"); > java_require("/Library/WebServer/Documents/cj/simapi-java-5.0.0/lib/ > xercesImpl.jar"); > java_require("/Library/WebServer/Documents/cj/simapi-java-5.0.0/lib/ > xml-apis.jar"); > > // Set up var with the class for generating the charge request > $reply_class = new JavaClass("com.cybersource.ws.client.Client"); > // create new hashmap variable to use for results > $reply = new JavaClass("java.util.HashMap"); > $reply = java_util_hashMap(); > $reply = $reply_class->runTransaction($request, $props); > > RESULTS > ======== > [o(Exception):"java.lang.Exception: Invoke failed: [c(Client)]- > >runTransaction((Map)o(HashMap), (Properties)o(Properties)). Cause: > java.lang.ClassNotFoundException: Unresolved external reference: > java.lang.NoClassDefFoundError: com/cybersource/security/exception/ > SecuritySystemException. -- Unable to call the method, see the > README section "Java platform issues" for details. Responsible VM: > 1.5.0_06@http://apple.com/" at: #-6 > php.java.bridge.JavaBridge.getUnresolvedExternalReferenceException > (JavaBridge.java:481) #-5 php.java.bridge.JavaBridge.Invoke > (JavaBridge.java:1084) #-4 php.java.bridge.Request.handleRequest > (Request.java:499) #0 [internal function]: Java->__call > ('runTransaction', Array) #1 /Library/WebServer/Documents/cj/simapi- > java-5.0.0/samples/nvp/AuthCaptureSample.php(114): JavaClass- > >runTransaction(Object(JavaArray), Object(JavaArray)) #2 {main}] > > > Looking back at the docs for the Bridge, it says that if you get a > "NoClassDefFound" error it means there is another class that the > current class is trying to reference or call that is missing (so > the Client->runTransaction is missing something). > > Does this mean that the four java_require statements at the top of > my PHP script do not contain the missing class? These are all the > JAR files that were provided as part of this API package from our > card processing company. > > If it means that there is some other JAR I need a java_require for, > how do I go about finding what JAR I should include??? > > Thanks, > > Jon > ---------------------------------------------------------------------- > --- > 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 |