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-02-10 11:33:38
|
Hi,
I have the problem to deploy PHP/Java bridge version 5.1.2 or 4.3.1 to the Tomcat. When I try to start it from Web browser I'm getting a plenty of messages "CGI / FastCGI has encountered a problem and needs to close. We are sorry for the inconvenience.".
However, the problem does not exist if I use php-java-bridge 3.2.1.
I'm using Java JDK 1.6 update 4, Tomcat 6.0, PHP 5.2.5 and Apache 2.2
Thanks
Zoran
---------------------------------
Never miss a thing. Make Yahoo your homepage.
|
|
From: <php...@li...> - 2008-02-06 11:03:46
|
Hi,
> I am trying to connect my php front-end to my web application in the tomcat backend.
all you need is the PhpJavaServlet in the back end and, if you don't want to call
the back end trough raw PHP fread/fwrite calls, the Java.inc (you can fetch the
Java.inc from the Servlet, or store it locally).
> myBackendApp.war", and that the example uses the
> JavaBridge.jar
It needs JavaBridge.jar and php-servlet.jar and the web.xml which declares the servlet stored
in php-servlet.jar.
You can use the JavaBridge.war as a template; JavaBridge.war is actually just a sample web archive
which contains some PHP examples.
> I will not need any deployed JavaBridge.war
> in order to communicate via the apache php and the tomcat java
Right. Just rename JavaBridge.war to foo.war and change your apache PHP script to
require_once ("http://localhost:8080/foo/java/Java.inc");
:)
> Building this particular backend war requires quite a bit of effort
Just rename JavaBridge.war to myBackendApp.war, add the libraries and/or PHP files you need
to the myBackendApp.war zip archive and you're done.
Note that the Java files are distributed under the MIT License, so you can do whatever you want
with that code.
Regards,
Jost Boekemeier
Lesen Sie Ihre E-Mails jetzt einfach von unterwegs.
www.yahoo.de/go
|
|
From: <php...@li...> - 2008-02-05 22:19:13
|
Hi Jost, Thanks for the reply, and sorry for my lack of clarity. > I need to confirm a call to com.dang through Tomcat:8080 without requiring local apache php > load. I am trying to connect my php front-end to my web application in the tomcat backend. I see from the INSTALL.J2EE that I must deploy my "myBackendApp.war", and that the example uses the JavaBridge.jar. I see that I must edit my Java.inc target to reflect this new web context, ie http://127.0.0.1:8080/myBackendApp. Am I to understand that all that is required is the Java.inc in order to access myBackendApp, and that I will not need any deployed JavaBridge.war in order to communicate via the apache php and the tomcat java? Building this particular backend war requires quite a bit of effort, but in addition - much of it includes production-ready deployment scripts, so knowing whether or not I must integrate the JavaBridge into deployment is very important. Thank you for all of your hard work and time, I shall be sure to try and answer some of the posts on the threads as I become more familiar / confident with the package. Thanks again, ~tim |
|
From: <php...@li...> - 2008-02-05 16:27:44
|
Hi,
> [o:ClassNotFoundException]:"java.lang.ClassNotFoundException: Unresolved
> external reference: java.lang.NoClassDefFoundError:
> org/hibernate/HibernateException. -- Unable to call the method, see the
> README section "Java platform issues" for details." at: #-6
there exists an open reference to an external entity. Please see the README section "Java platform
issues" for details.
Regards,
Jost Boekemeier
Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail. www.yahoo.de/mail
|
|
From: <php...@li...> - 2008-02-05 11:11:58
|
Hi,
I am calling my custom Java class from PHP and am getting following error:
[o:ClassNotFoundException]:"java.lang.ClassNotFoundException: Unresolved
external reference: java.lang.NoClassDefFoundError:
org/hibernate/HibernateException. -- Unable to call the method, see the
README section "Java platform issues" for details." at: #-6
php.java.bridge.JavaBridge.getUnresolvedExternalReferenceException(
JavaBridge.java:427) #-5
php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1072)
#-4 php.java.bridge.Request.handleRequest(Request.java:409) #0
http://127.0.0.1:8080/JavaBridge/java/Java.inc(259):
java_ExceptionProxyFactory->getProxy(5, 'java.lang.Class...', true) #1
http://127.0.0.1:8080/JavaBridge/java/Java.inc(411):
java_Arg->getResult(true) #2
http://127.0.0.1:8080/JavaBridge/java/Java.inc(417):
java_Client->getWrappedResult(true) #3
http://127.0.0.1:8080/JavaBridge/java/Java.inc(621):
java_Client->getResult() #4
http://127.0.0.1:8080/JavaBridge/java/Java.inc(1749):
java_Client->invokeMethod(4, 'getCause', Array) #5
http://127.0.0.1:8080/JavaBridge/java/Java.inc(2117):
java_JavaProxy->__call('getCause', Array) #6 [internal function]:
java_exception->__call('getCause', Array) #7 C:\~\htdocs\test.php(51):
java_InternalException->getCause() #8 {main}]
The code executed is below:
<?
java_require("c://~//WEB-INF//lib");
$user_class = new JavaClass('org.myApp.Usermanagement');
$obj = $user_class->getInstance();
?>
Pls let me know what is missing here..
regds,
Bharti
|
|
From: <php...@li...> - 2008-02-05 01:37:12
|
Hi,
Thanks very much for the clarifications. We will try your suggestions and hopefully get things working.
Regards,
Ramdak
php...@li... wrote: Hi,
> 1.) We already have JDK 1.4.2 at /usr/local/. Does this mean we already have java running or
> that php has java support?
Yes. Just type /usr/local/java -jar JavaBridge.jar SERVLET:somePort 3 logfile.log to enable PHP
Java support.
> 2.) If we were to use php-java-brdige, will it meet our gateway provider's requirement of having
> PHP with java support? Basically, the shopping cart is a php/mysql thing, so the php application
> needs to call certain .jar files relevant to the payment gateway.
The bridge uses fopen(somePort) and PHP fread/fwrite to communicate with Java. Please see the
README for details.
> 3.) If we install php-java-bridge, can we remove the jdk
If you keep the JRE or some other free "Java" like technology (e.g.: gcj), yes.
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 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
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
|
|
From: <php...@li...> - 2008-02-04 21:43:36
|
Hi Jost, Thanks for the reply, and sorry for my lack of clarity. > I need to confirm a call to com.dang through Tomcat:8080 without requiring local apache php > load. I am trying to connect my php front-end to my web application in the tomcat backend. I see from the INSTALL.J2EE that I must deploy my "myBackendApp.war", but that the example uses the JavaBridge.jar. I see that I must edit my Java.inc target to reflect this new web context, ie http://127.0.0.1:8080/myBackendApp. Am I to understand that all that is required is the Java.inc in order to access myBackendApp, and that I will not need any deployed JavaBridge.war in order to communicate via the apache php and the tomcat java? Building this particular backend war requires quite a bit of effort, but in addition - much of it includes production-ready deployment scripts, so knowing whether or not I must integrate the JavaBridge into deployment is very important. Thank you for all of your hard work and time, I shall be sure to try and answer some of the posts on the threads as I become more familiar / confident with the package. Thanks again, ~tim |
|
From: <php...@li...> - 2008-02-04 13:45:27
|
Hi,
> 1.) We already have JDK 1.4.2 at /usr/local/. Does this mean we already have java running or
> that php has java support?
Yes. Just type /usr/local/java -jar JavaBridge.jar SERVLET:somePort 3 logfile.log to enable PHP
Java support.
> 2.) If we were to use php-java-brdige, will it meet our gateway provider's requirement of having
> PHP with java support? Basically, the shopping cart is a php/mysql thing, so the php application
> needs to call certain .jar files relevant to the payment gateway.
The bridge uses fopen(somePort) and PHP fread/fwrite to communicate with Java. Please see the
README for details.
> 3.) If we install php-java-bridge, can we remove the jdk
If you keep the JRE or some other free "Java" like technology (e.g.: gcj), yes.
Regards,
Jost Boekemeier
Machen Sie Yahoo! zu Ihrer Startseite. Los geht's:
http://de.yahoo.com/set
|
|
From: <php...@li...> - 2008-02-04 10:23:38
|
Hi, For integrating a payment gateway for our web site, our org has been asked to configure PHP with java support. We thought of using WHM's (we use a cPanel linux server running CentOS) EasyApache to rebuild Apache and PHP with Java, but when we clicked on the 'More info' link next to Java in EasyApache, it took us to the following page: http://www.php.net/manual/en/ref.java.php Unfortunately, the page also warns that the php extension is unstable and may be given up in future php versions. The comments on that page then point to php-java bridge and recommend it highly: http://php-java-bridge.sourceforge.net/pjb/ Our questions are: 1.) We already have JDK 1.4.2 at /usr/local/. Does this mean we already have java running or that php has java support? 2.) If we were to use php-java-brdige, will it meet our gateway provider's requirement of having PHP with java support? Basically, the shopping cart is a php/mysql thing, so the php application needs to call certain .jar files relevant to the payment gateway. 3.) If we install php-java-bridge, can we remove the jdk We are running a VPS (Virtuozzo on 64-bit kernel), but we don't have a great IT team to support us as we are an org, so I am hoping someone here could guide us about the Java support. Thanks in advance, Ramdak --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. |
|
From: <php...@li...> - 2008-02-04 09:51:11
|
Sorry..Am a newbie runner and have another question to cut my time short!
Where shall I copy my own JARs that will be loaded using "java_autoload()"?
What kind of path definition needs to be given in this function call? Can
you give me or point me to some examples?
regds,
Bharti
On Feb 4, 2008 2:53 PM, Bharti Batra <bha...@gm...> wrote:
> Thanx a ton! It works for me!
>
> regds,
> Bharti
>
>
> On Feb 4, 2008 2:49 PM, <php...@li...>
> wrote:
>
> > Hi
> >
> > > require_once("http://localhost/JavaBridge/java/Java.inc");
> >
> > the port number is missing. It should be:
> >
> > require_once("http://localhost:8080/JavaBridge/java/Java.inc");
> >
> > or simply
> >
> > require_once ("java/Java.inc");
> >
> >
> > Please re-read the README for details.
> >
> >
> > Regards,
> > Jost Boekemeier
> >
> >
> >
> > Lesen Sie Ihre E-Mails jetzt einfach von unterwegs.
> > 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-02-04 09:23:44
|
Thanx a ton! It works for me!
regds,
Bharti
On Feb 4, 2008 2:49 PM, <php...@li...> wrote:
> Hi
>
> > require_once("http://localhost/JavaBridge/java/Java.inc");
>
> the port number is missing. It should be:
>
> require_once("http://localhost:8080/JavaBridge/java/Java.inc");
>
> or simply
>
> require_once ("java/Java.inc");
>
>
> Please re-read the README for details.
>
>
> Regards,
> Jost Boekemeier
>
>
>
> Lesen Sie Ihre E-Mails jetzt einfach von unterwegs.
> 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-02-04 09:19:13
|
Hi
> require_once("http://localhost/JavaBridge/java/Java.inc");
the port number is missing. It should be:
require_once("http://localhost:8080/JavaBridge/java/Java.inc");
or simply
require_once ("java/Java.inc");
Please re-read the README for details.
Regards,
Jost Boekemeier
Lesen Sie Ihre E-Mails jetzt einfach von unterwegs.
www.yahoo.de/go
|
|
From: <php...@li...> - 2008-02-04 06:37:33
|
Thanx Jost for your reply.
I have disabled mod_jk and enabled mod_proxy as per your suggestion, but th=
e
problem is still the same. If I put test123.php under JavaBridge, it works
fine. But whereas if I put test123.php under Apache DocumentRoot, it still
gives me the same error. The code I am trying to execute in test123.php is
following:
<?php
if(!extension_loaded("java"))
require_once("http://localhost/JavaBridge/java/Java.inc");
$s =3D new Java("java.lang.String", "hello");
phpinfo();
?>
I am able to access http://localhost/JavaBridge and execute PHP scripts
under this app.
Is my desired setup configuration i.e. PHP scripts on Apache htdocs and
JavaClasses on Tomcat correct? What are the better alternatives to this
setup?
regds,
Bharti
On Feb 4, 2008 1:38 AM, <php...@li...> wrote=
:
> Hi,
>
> >using mod_jk connectors
>
> you must forward *all* requests to the back end or none. Please consult
> the mod_jk dokumentation
> for details.
>
> However, mod_jk is slow and very difficult to set up. A much better
> approach is to use mod_rewrite
> or mod_proxy. Example httpd.conf:
>
> ProxyPass /JavaBridge balancer://mycluster maxattempts=3D3
> <Proxy balancer://mycluster>
> BalancerMember http://diego:8080/JavaBridge
> BalancerMember http://carlos:8080/JavaBridge
> BalancerMember http://localhost:8080/JavaBridge
> </Proxy>
>
>
>
> Regards,
> Jost Boekemeier
>
>
> Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen
> Sie=B4s mit dem neuen Yahoo! Mail. www.yahoo.de/mail
>
> -------------------------------------------------------------------------
> 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-02-03 20:08:30
|
Hi,
>using mod_jk connectors
you must forward *all* requests to the back end or none. Please consult the mod_jk dokumentation
for details.
However, mod_jk is slow and very difficult to set up. A much better approach is to use mod_rewrite
or mod_proxy. Example httpd.conf:
ProxyPass /JavaBridge balancer://mycluster maxattempts=3
<Proxy balancer://mycluster>
BalancerMember http://diego:8080/JavaBridge
BalancerMember http://carlos:8080/JavaBridge
BalancerMember http://localhost:8080/JavaBridge
</Proxy>
Regards,
Jost Boekemeier
Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail. www.yahoo.de/mail
|
|
From: <php...@li...> - 2008-02-03 12:45:32
|
Hi,
I have a very basic question regarding my installation and usage of
JavaBridge. Here is my setup:
Apache -----------------------------------
Tomcat
[Runs PHP
[Serving as back-end,
Scripts]
using mod_jk connectors]
I want to use PHP/Java Bridge to call Java Classes for some backend
operations. Following is my setup configuration:
OS: Windows XP
Apache: 2.2.6
PHP: 5.2.4
Tomcat: 5.0.24
I have done following under installation of JavaBridge:
1. Copied JavaBridge.war in webapps folder of tomcat.
2. Restarted Tomcat server.
3. I can access http://localhost/JavaBridge
4. Copied test.php into Apache/htdocs folder.
5. Access to http://localhost/test.php is giving following error:
*Warning*: fsockopen() expects parameter 2 to be long, string given in *
http://localhost/JavaBridge/java/Java.inc* on line *916*
*Fatal error*: Uncaught exception 'java_RuntimeException' with message
'Could not connect to the J2EE server localhost:. Please start it, for
example with the command: "java -jar JavaBridge.jar SERVLET:8080 3
JavaBridge.log" or, if the back end has been compiled to native code, with
"modules/java SERVLET:8080 3 JavaBridge.log". Error message: () ' in
http://localhost/JavaBridge/java/Java.inc:917 Stack trace: #0
http://localhost/JavaBridge/java/Java.inc(927): java_HttpHandler->open() #1
http://localhost/JavaBridge/java/Java.inc(1131):
java_HttpHandler->java_HttpHandler(Object(java_Protocol), '', 'localhost',
'') #2 http://localhost/JavaBridge/java/Java.inc(1170):
java_Protocol->createHttpHandler() #3
http://localhost/JavaBridge/java/Java.inc(1175):
java_Protocol->createHandler() #4
http://localhost/JavaBridge/java/Java.inc(364):
java_Protocol->java_Protocol(Object(java_Client)) #5
http://localhost/JavaBridge/java/Java.inc(1529): java_Client->java_Client()
#6 http://localhost/JavaBridge/java/Java.inc(1901): __javaproxy_Clien in *
http://localhost/JavaBridge/java/Java.inc* on line *917
*Pls suggest how to resolve this error. Do I need to run
JavaBridge.jarmanually? How can I make it get started automatically by
tomcat server?
Pls help!
Bharti
On Feb 2, 2008 8:46 PM, <php...@li...> wrote:
> Hi,
>
> > However, the only way I can instantiate a class of com.dang is by
> adding:
> >
> > java_autoload("D:\appz\java\dang.jar");
> >
> > after require_once("java/Java.inc");
>
> right. One must load a class before it can be used.
>
>
> > I need to confirm a call to com.dang through Tomcat:8080 without
> requiring local apache php
> > load.
>
> I am sorry, but I don't understand the above sentence.
>
> Do you want to use the static loader? All you need to do is to copy
> dang.jar to the tomcat
> WEB-INF/lib directory and re-start tomcat.
>
>
> 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
>
|
|
From: <php...@li...> - 2008-02-02 15:16:46
|
Hi,
> However, the only way I can instantiate a class of com.dang is by adding:
>
> java_autoload("D:\appz\java\dang.jar");
>
> after require_once("java/Java.inc");
right. One must load a class before it can be used.
> I need to confirm a call to com.dang through Tomcat:8080 without requiring local apache php
> load.
I am sorry, but I don't understand the above sentence.
Do you want to use the static loader? All you need to do is to copy dang.jar to the tomcat
WEB-INF/lib directory and re-start tomcat.
Regards,
Jost Boekemeier
Lesen Sie Ihre E-Mails auf dem Handy.
www.yahoo.de/go
|
|
From: <php...@li...> - 2008-02-02 15:11:07
|
Hi Andre,
[please excuse the delay]
> Still needs further tests to announce it, but should compile and package
> from a plain cvs checkout, as per README.debian .
that's great. :)
> Maybe I missed something, but in this scenario are there still
> significant benefits of using zend_extension enough to justify dirty
> tricks at packaging?
The only advantage the zend_extension offers is binary compatibility.
We could as well leave everything as it is and add a note that users can load the
java.so as a zend_extension, if they want to.
Regards,
Jost Boekemeier
Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail. www.yahoo.de/mail
|
|
From: <php...@li...> - 2008-02-01 15:27:02
|
Hi,
> in the first search so i get a 'call
> to a member function on a non object' fatal error.
this means that there's a bug in your application logic. It probably does not check
for exceptions (OutOfMemoryError probably).
Please check the back end log for details.
Regards,
Jost Boekemeier
Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail. www.yahoo.de/mail
|
|
From: <php...@li...> - 2008-02-01 14:26:23
|
Hello all, I have this weird problem end i don't know where to start debugging. I have this search engine JAVA Lucene build with php/javabridge, so i don't use the 'converted' php interface but the original java jar. When my application is searching (which is quite expensive with resources because of complex queries) and another user on another pc starts another search, the objects used for searching are suddenly dropped in the first search so i get a 'call to a member function on a non object' fatal error. Any idea what could be the problem? increasing the number of threads? any other suggestions? thanks in advance! -- Gilbert |
|
From: <php...@li...> - 2008-02-01 00:58:35
|
I am sorry for posting this in advance.
I need help setting up, I have gone over quite a few things - and need =
to confirm it works before I configure code deployment on centos. Right =
now:
OS: winxpsp2
PHP vi apache: 5.2.5
PHP vi Tomcat: 5.2.1
Apache: 2.2
J2EE: Tomcat 6
I have deployed the javabridge into Tomcat,=20
phpinfo() via apache reports 5.2.5, however JavaBridge reports 5.2.1 via =
Tomcat?
As I understand it, my php.ini should have nothing for java module =
settings.
My php page is as follows
<?php
require_once("java/Java.inc");
=09
$SystemClazz =3D Java("java.lang.System");
$date =3D new Java("java.util.Date");
echo $date->toString() . "\n";
$system =3D new Java("java.lang.System");
echo "OS: ".$system->getProperty("os.name")."\n";
$math =3D new Java("java.lang.Math");
echo "PI: ".$math->PI."\n";
$jspider =3D new com_dang("arg1","arg2");
echo "end";
?>:
Where com_dang is a class in a jar loaded into the tomcat/lib folder. =
the Date and System calls produce expected result.
However, the only way I can instantiate a class of com.dang is by =
adding:
java_autoload("D:\appz\java\dang.jar");
=09
after require_once("java/Java.inc");
(which of course contains the class com.dang and is located @ =
D:\appz\java\dang.jar)
I need to confirm a call to com.dang through Tomcat:8080 without =
requiring local apache php load.
Sorry again.
~tim
|
|
From: <php...@li...> - 2008-01-30 19:17:33
|
read the install file that comes with the bridge? php...@li... wrote: Hi every: I have installed Apache 2.2.6 and PHP 5.2.5. Now I want to get configured PHPJavaBridge. For that I downloaded the latest release php-java-bridge_5.2.1_j2ee.zip. Exists any guide for dummies? I see this: 1. http://www.dsl.uow.edu.au/~sk33/php5java.htm But this is obsoleted. Any can help me? Cheers and thanks in advance Ing. Reynier Pérez Mira Grupo de Soporte al Desarrollo - Dirección Técnica IP ------------------------------------------------------------------------- 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-01-30 19:04:52
|
Hi every: I have installed Apache 2.2.6 and PHP 5.2.5. Now I want to get = configured PHPJavaBridge. For that I downloaded the=20 latest release php-java-bridge_5.2.1_j2ee.zip. Exists any guide for = dummies? I see this: 1. http://www.dsl.uow.edu.au/~sk33/php5java.htm But this is obsoleted. Any can help me? Cheers and thanks in advance Ing. Reynier P=E9rez Mira Grupo de Soporte al Desarrollo - Direcci=F3n T=E9cnica IP |
|
From: <php...@li...> - 2008-01-30 15:00:00
|
Hello, I just updated the CVS tree containing the debian directory for generating the Debian packages. Please, test the building following the updated instructions [0] and post comments / suggestions at the list. The instructions should work for Ubuntu, also. I will wait 2 days for comments before uploading binary files for public downloads. If one is interested in how it works, please read the wiki page [1]. Regards. Andre Felipe Machado [0] http://php-java-bridge.cvs.sourceforge.net/php-java-bridge/php-java-bridge/debian/README.Debian?view=log [1] http://wiki.debian.org/PkgSplit -- "A Debian user never dies. Issues a last command: shutdown -h now" http://www.techforce.com.br |
|
From: <php...@li...> - 2008-01-29 23:55:02
|
Hello, Jost Today I updated the ./debian directory with some improvements and prunings. Still needs further tests to announce it, but should compile and package from a plain cvs checkout, as per README.debian . Maybe the files you cited were removed from the packages by now. Could you try to compile yourself in a Debian or maybe Ubuntu (virtual) machine? The Debian php extension directory is calculated dinamicaly at compilation time by the line (today) 37: PHP_EXT_DIR := $(shell /usr/bin/php-config --extension-dir) To edit the java.ini dinamicaly, some shell tricks should be performed, and the postinst and postrm scripts could become really tricky. Previous versions of Debian php had such nasty tricks to edit and "unedit" ini files. Today, the php packages are much more cleaner [0], [1]. As the php extension dir location is calculated at Debian package compilation time, it will shurely compile for future versions. Maybe I missed something, but in this scenario are there still significant benefits of using zend_extension enough to justify dirty tricks at packaging? I am trying to clean the packaging files and rules as I learn more [2]. The target is lintian zero errors and warnings [4] against Debian Policy [3]. Best regards. Andre Felipe Machado http://www.techforce.com.br [0] http://bugs.debian.org/388697 [1] http://bugs.debian.org/388698 [2] http://wiki.debian.org/PkgSplit [3] http://www.debian.org/doc/debian-policy [4] http://wiki.debian.org/WhyDebianForDevelopers |
|
From: <php...@li...> - 2008-01-29 22:17:05
|
I would like to start using iText, and I think the quickest way for me to do so would be to use php-java-bridge. Is it possible to install php-java-bridge on a server running the following: tomcat 4.1 java 1.4.2 apache 2.0.51 php 5.0.4 gcc 3.3.3 If so, what would be the best strategy? |