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
(3) |
2
(2) |
|
3
(2) |
4
(7) |
5
(4) |
6
(1) |
7
|
8
|
9
|
|
10
(8) |
11
|
12
(2) |
13
(6) |
14
(5) |
15
(1) |
16
|
|
17
|
18
(3) |
19
(3) |
20
(3) |
21
(4) |
22
(2) |
23
(1) |
|
24
(2) |
25
(10) |
26
(4) |
27
|
28
(3) |
29
(1) |
|
|
From: <php...@li...> - 2008-02-10 20:41:30
|
> Do you have some suggestions how can I find what makes a problem? I have
> already tried with PHP 5.1.0, a
Try to disable all PHP extensions. I'd be very surprised if the problem persists.
> nd different versions of Tomcat (5.5 and 6), and I have always had the same
> problem.
This has noting to do with the PHP version, the Java bridge version or with Java or with the Tomcat version.
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
|
|
From: <php...@li...> - 2008-02-10 20:19:17
|
>Both, the bridge and PHP work well i suppose. It's just that PHP crashes. Now you need >to find out what or which component makes it crash. Most likely you >have some broken PHP extension in your path which doesn't work anymore with PHP 5.2. Do you have some suggestions how can I find what makes a problem? I have already tried with PHP 5.1.0, and different versions of Tomcat (5.5 and 6), and I have always had the same problem. >I don't think this has anything to do with tomcat or the php-java bridge or with the tomcat >setup. BTW: What do you mean with "I have not setup Tomcat well to work with PHP". It >is impossible to do this, unless you have modified the PHP/Java Bridge source code, of >course. I thought that maybe I have to change something in Tomcat's configuration files in order to set it to work with PHP. Regards, Zoran php...@li... wrote: php...@li... wrote: > These messages have nothing to do with the PHP/Java Bridge. You are absolutely right about that. I have tried to deploy other PHP application to the Tomcat and I have experienced the same problem, so I suppose that I have not setup Tomcat well to work with PHP. Both, the bridge and PHP work well i suppose. It's just that PHP crashes. Now you need to find out what or which component makes it crash. Most likely you have some broken PHP extension in your path which doesn't work anymore with PHP 5.2. I don't think this has anything to do with tomcat or the php-java bridge or with the tomcat setup. BTW: What do you mean with "I have not setup Tomcat well to work with PHP". It is impossible to do this, unless you have modified the PHP/Java Bridge source code, of course. --------------------------------- Never miss a thing. Make Yahoo your homepage. ------------------------------------------------------------------------- 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-10 19:55:00
|
php...@li... wrote:
> These messages have nothing to do with the PHP/Java Bridge.
You are absolutely right about that. I have tried to deploy other PHP application to the Tomcat and I have experienced the same problem, so I suppose that I have not setup Tomcat well to work with PHP.
Both, the bridge and PHP work well i suppose. It's just that PHP crashes. Now you need to find out what or which component makes it crash. Most likely you
have some broken PHP extension in your path which doesn't work anymore with PHP 5.2.
I don't think this has anything to do with tomcat or the php-java bridge or with the tomcat setup. BTW: What do you mean with "I have not setup Tomcat well to work with PHP". It is impossible to do this, unless you have modified the PHP/Java Bridge source code, of course.
---------------------------------
Never miss a thing. Make Yahoo your homepage.
|
|
From: <php...@li...> - 2008-02-10 19:22:08
|
Hi Jost, > These messages have nothing to do with the PHP/Java Bridge. You are absolutely right about that. I have tried to deploy other PHP application to the Tomcat and I have experienced the same problem, so I suppose that I have not setup Tomcat well to work with PHP. When I have installed PHP I have set it as Apache 2.2 module. Do I need to configure something in Tomcat in other to use it with PHP? >Try to use another PHP SAPI instead, i.e. start PHP as an Apache module PHP works fine with Apache, but how can I use php/java bridge if I don't use Java application server (i.e. Tomcat)? I can't use pure PHP solution because of performances. Regards, Zoran php...@li... wrote: Hi, > I'm using Java JDK 1.6 update 4, Tomcat 6.0, PHP 5.2.5 and Apache 2.2 > 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.". These messages have nothing to do with the PHP/Java Bridge. Try to use another PHP SAPI instead, i.e. start PHP as an Apache module instead, and/or please report this bug to the PHP developers. -- I know that the PHP developers have revamped FastCGI in version 5.1.2, it may break older components. Regards, Jost Boekemeier Heute schon einen Blick in die Zukunft von E-Mails wagen? 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 --------------------------------- Never miss a thing. Make Yahoo your homepage. |
|
From: <php...@li...> - 2008-02-10 15:59:33
|
Try to use another PHP SAPI instead, i.e. start PHP as an Apache module instead, and/or please
A different server api won't make a difference. If PHP is crashing frequently, there's some problem with the PHP setup (php module crashing) or with PHP itself.
For example the following code crashes PHP immediately:
function f () { f(); }
f();
Most likely the crashes happen due to some deprecated PHP module.
---------------------------------
Never miss a thing. Make Yahoo your homepage.
|
|
From: <php...@li...> - 2008-02-10 15:17:15
|
Hi,
> I'm using Java JDK 1.6 update 4, Tomcat 6.0, PHP 5.2.5 and Apache 2.2
> 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.".
These messages have nothing to do with the PHP/Java Bridge.
Try to use another PHP SAPI instead, i.e. start PHP as an Apache module instead, and/or please
report this bug to the PHP developers. -- I know that the PHP developers have revamped FastCGI in
version 5.1.2, it may break older components.
Regards,
Jost Boekemeier
Heute schon einen Blick in die Zukunft von E-Mails wagen? www.yahoo.de/mail
|
|
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 |