Re: [PHP] PHP-Java Bridge: Connect PHP to MySQL using JNDI

2009-01-20 Thread jpmad4it
Thanks. However, I'm using this process as a test. In the proper application we will be using a JDBC or JDNI connection initiated by PHP to connect to our IDMS database. Its complicated but it means we have to use the PHP-Java Bridge, Java and JDBC. so we can't use ODBC. I'm using this as a

Re: [PHP] PHP-Java Bridge: Connect PHP to MySQL using JNDI

2009-01-20 Thread ceo
In general, if you are trying to get DB connections to work in a hybrid situation, and no native driver is behaving, try ODBC. It's crude, slow, and not pretty, but it should work. You can set it up so that you can go back later and dink around with drivers and re-compiling, but at least h

[PHP] PHP-Java Bridge: Connect PHP to MySQL using JNDI

2009-01-20 Thread jpmad4it
Hi everyone! This is driving me nuts! I have setup a Linux webserver. Tomcat is running at the backend and is connected to Apache at the frontend using mod_proxy. At the moment I have a few test applications setup, which involves Apache sending JSP requests to Tomcat via mod_proxy. They all work

Re: [PHP] php java intregration

2006-06-03 Thread Rabin Vincent
On 6/4/06, Vedanta Barooah <[EMAIL PROTECTED]> wrote: the pecl snapshots have the dll php_java.dll, but does not have the jar php_java.jar which is also required? I don't know about the snapshots, but the PECL zip on the download page does have the jar you are looking for. Rabin -- PHP Genera

Re: [PHP] php java intregration

2006-06-03 Thread Vedanta Barooah
the pecl snapshots have the dll php_java.dll, but does not have the jar php_java.jar which is also required? - vedanta On 6/3/06, Rabin Vincent <[EMAIL PROTECTED]> wrote: On 6/2/06, Vedanta Barooah <[EMAIL PROTECTED]> wrote: > i am setting up php_java.dll extension under windows/iis, my php > ve

Re: [PHP] php java intregration

2006-06-03 Thread Rabin Vincent
On 6/2/06, Vedanta Barooah <[EMAIL PROTECTED]> wrote: i am setting up php_java.dll extension under windows/iis, my php version is 5.1.2. can any one point me to the download location of php_java.jar which is needed for the setup. Download "Collection of PECL modules for PHP" from the Windows bi

[PHP] php java intregration

2006-06-02 Thread Vedanta Barooah
hello all, i am setting up php_java.dll extension under windows/iis, my php version is 5.1.2. can any one point me to the download location of php_java.jar which is needed for the setup. i searched all the sites/mirrors but its not available. do i have to compile from source to get that jar? ...

Re: [PHP] PHP JAVA Error on linux

2004-07-14 Thread Alawi albaity
Message - From: "Alawi albaity" <[EMAIL PROTECTED]> To: "php-general" <[EMAIL PROTECTED]> Sent: Wednesday, July 14, 2004 10:04 PM Subject: Re: [PHP] PHP JAVA Error on linux > I just edit php.ini and increase it to 200 > its not work any suggestion > does apa

Re: [PHP] PHP JAVA Error on linux

2004-07-14 Thread Alawi albaity
I just edit php.ini and increase it to 200 its not work any suggestion does apache effect ? cuz its Usage memory limitid to 98M - Original Message - From: "Alawi albaity" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 14, 2004 8:55 PM Subject: Re

Re: [PHP] PHP JAVA Error on linux

2004-07-14 Thread raditha dissanayake
Alawi albaity wrote: Java 2 SDK 1.4.2 PHP 4.3.3 linux fedora 1 the command is work fine from terminal but its not work fine from php & give me this msg when I use exec system passthru : Error occurred during initialization of VM Could not reserve enough space for object heap What exactly are you

[PHP] PHP JAVA Error on linux

2004-07-14 Thread Alawi albaity
Java 2 SDK 1.4.2 PHP 4.3.3 linux fedora 1 the command is work fine from terminal but its not work fine from php & give me this msg when I use exec system passthru : Error occurred during initialization of VM Could not reserve enough space for object heap

[PHP] php/java/mysql programmer needed

2003-11-28 Thread Paul Godard
Hi If any one on this list has good experience in php/java/mysql programming integrated with Adobe GoLive for both Mac & Window, please contact me directly as we have a couple of projects that need that expertise. -- Kind regards, Paul. Gondwana [EMAIL PROTECTED] http://www.gondwanastudio.com

[PHP] php/java/mysql programmer needed

2003-11-28 Thread Paul Godard
Hi If any one on this list has good experience in php/java/mysql programming integrated with Adobe GoLive for both Mac & Window, please contact me directly as we have a couple of projects that need that expertise. -- Kind regards, Paul. Gondwana [EMAIL PROTECTED] http://www.gondwanastudio.com

Re: [PHP] PHP Java extension--hopeless?

2003-11-27 Thread Ray Hunter
On Wed, 2003-11-26 at 20:17, Raditha Dissanayake wrote: > >Right, I agree this is a very bassakwards way of going about it.. In this > >instance, performance is not really an issue as much as politics.. but > >this comment is useful as we may be able to persuade them into providing > >information a

Re: [PHP] PHP Java extension--hopeless?

2003-11-26 Thread Raditha Dissanayake
Right, I agree this is a very bassakwards way of going about it.. In this instance, performance is not really an issue as much as politics.. but this comment is useful as we may be able to persuade them into providing information about the algorithm in use, to develop something more usable. We a

Re: [PHP] PHP Java extension--hopeless?

2003-11-26 Thread Kelly Hallman
On Wed, 26 Nov 2003, Rasmus Lerdorf wrote: > On Wed, 26 Nov 2003, Kelly Hallman wrote: > > I am aware that the PHP documentation says that the Java extension is > > experimental. I am also aware that people say the ISAPI version does not > > work well and that running PHP as a CGI should give bette

Re: [PHP] PHP Java extension--hopeless?

2003-11-26 Thread Rasmus Lerdorf
On Wed, 26 Nov 2003, Kelly Hallman wrote: > I am trying to find help or information on running the Java extension with > PHP under Apache on Redhat Linux using a Sun JVM. > > I am aware that the PHP documentation says that the Java extension is > experimental. I am also aware that people say the I

[PHP] PHP Java extension--hopeless?

2003-11-26 Thread Kelly Hallman
I am trying to find help or information on running the Java extension with PHP under Apache on Redhat Linux using a Sun JVM. I am aware that the PHP documentation says that the Java extension is experimental. I am also aware that people say the ISAPI version does not work well and that running PHP

[PHP] PHP, Java, & a strange number...

2003-11-11 Thread Dom S
Hi, I am having problems trying to get PHP to return a Java .jar file. Basically, the jar is reported as corrupted by Opera, or any browser and Java 1.3. I have tracked this down to a strange number at the start of the message body: If I access the jar file directly (no PHP), I get (viewed by p

[PHP] PHP & Java

2003-06-29 Thread Jan Bro
Hi I hope there is anybody out there familiar with PHP and Java. I've got the following Code: If I only use one of the two objects, which one doesn't matter, it works. IF I try to initiate them both PHP.exe is closing down on me. In Apache error log I get the folowing error: [Sun Jun 29 10:58:32

[PHP] php + java in winxp platform, reload dont work~

2003-05-31 Thread Jason Chan
Dear all, i installed java jdk 1.4 and php 4.3.2 i tried to use java in php i edited the php.ini as follows [Java] extension=php_java.dll java.class.path = c:\php\extensions\php_java.jar java.home = C:\j2sdk1.4.1_01 java.library = C:\j2sdk1.4.1_01\jre\bin\server\jvm.dll java.library.path = c:\ph

[PHP] PHP + Java (integration problem)

2003-03-07 Thread RDias
Somebody works with PHP + JAVA with some similar configuration to this Linux red-hat Java j2sdk1.4.1_01 PHP 4.3.1 Somebody already obtained to make to function this sh... has the sections: [Java] php.ini java.class.path = /usr/local/lib/php/php_java.jar :/usr/local/apache/htdocs :/usr/

Re: [PHP] php-java formatting

2002-12-23 Thread Krzysztof Dziekiewicz
> This all works fine except I want each empty field of the alert box to be on > it's own line. I try adding \n to the lines of the alert string but it > prints out the \n. How can I format this string so that it shows correctly > in the alert box? Just you use '\n' but you have to do something

Re: [PHP] php-java formatting

2002-12-23 Thread 1LT John W. Holmes
> I am using a javascript alert box in one of my php pages to tell the user > they didn't fill out all the required fields. As I check each field, if it > is blank I am adding to the alert string: > > $alertstring="Missing Mandatory Fields"; > if ($fname==''){ > $alertstring=$alertstring."F

[PHP] php-java formatting

2002-12-23 Thread Edward Peloke
Hello all, I am using a javascript alert box in one of my php pages to tell the user they didn't fill out all the required fields. As I check each field, if it is blank I am adding to the alert string: $alertstring="Missing Mandatory Fields"; if ($fname==''){ $alertstring=$alertstring."Fi

[PHP] PHP + Java

2002-12-02 Thread Ray Hunter
Does anyone have PHP 4.2.3 and Java running together? I need to see how you have the php.ini file set up... Here is mine and it just hangs... [Java] java.class.path=/usr/local/lib/php/php_java.jar java.home=/usr/local/java java.library=/usr/local/java/jre/lib/i386/hotspot/libjvm.so extensions_

Re: [PHP] php, java and ssl

2002-10-14 Thread Maxim Maletsky
You might want to submit it as a bug report in bugs.php.net. PLeasee add to it the more detailed instructions. -- Maxim Maletsky [EMAIL PROTECTED] www.PHPBeginner.com // where PHP Begins On Mon, 14 Oct 2002 11:11:23 +0300 "A3-Mail Proxy Handler" <[EMAIL PROTECTED]> wrote: > Hi, > I have

[PHP] php, java and ssl

2002-10-14 Thread A3-Mail Proxy Handler
Hi, I have a java class which uses ssl to perform some banking operations. As I have been instructed, I downloaded certificates, classes (both jar files and class files) and installed them. While testing from console, class established ssl connection to remote host and completed transaction.

[PHP] PHP/Java: Type Casting

2002-09-27 Thread Gardner Lloyd Bickford III
Hello, I am using php 4.2.3 with the jdk1.3.1_04 running on RedHat 7.2 and apache 1.3.22. The terms "Factory" and "Proxy" are similar to their respective design patterns. I have a java Factory that creates Proxy objects. The Factory returns a base interface that can be cast as the class that was

[PHP] PHP Java Extension

2002-08-16 Thread Girish Nath
Hi I wanted to learn some new stuff and experiment with the PHP Java extension, what are the possibilities, what's cool about it, what are you guys using it for and where can i find some tutorials for it ? Had a look at php.net but can't find much info suitable for a newbie to this particular ex

Re: [PHP] PHP, JAva history

2002-07-14 Thread Peter J. Schoenster
On 14 Jul 2002 at 13:42, Saci wrote: > I would like to see from where visitor come from mypage i need a > function who return the last visited page prior to mine. > > I didn't found any function on php for that purpose and I'm thinking > in mix Java and php for that purpose, using the browser hi

[PHP] PHP, JAva history

2002-07-14 Thread Saci
I would like to see from where visitor come from mypage i need a function who return the last visited page prior to mine. I didn't found any function on php for that purpose and I'm thinking in mix Java and php for that purpose, using the browser history, Can someone show-me how can I do that.

[PHP] PHP, Java integration failed: Red Hat 7.1, JDK 1.4, Apache 1.3x

2002-06-20 Thread William John Burns
All: None of the many online user posts in setting up Java connectivity from within PHP have worked. RPM or tarball. Do you know of anyone who has an RPM of PHP, with the standard MySQL, GD, Postgres, WDDX, etc...but also libphp_java.so correctly set-up? The Windows PHP has Java support right

[PHP] php+java on freebsd

2002-04-02 Thread Ivan Voras
Can anyone tell me how to get java support for php working? I compiled apache with -pthread option, I properly configured php.ini (phpinfo() agrees), but I cannot overcome this: (the message appears as a PHP error when trying to create any java objects) Fatal error: Unable to load Java Library /

[PHP] PHP, Java, and Apache

2002-02-26 Thread Richard Fox
I am trying to sort out several technologies and how they fit together. The basic problem I want to solve is to be able to use BrowserHawk, a JavaBean by CyScape, from a PHP script. In researching how to do this (and there are several relevant articles written) I have come across several different

Re: [PHP] PHP/Java/SOAP

2002-02-21 Thread Matt Drake
> Is there a webserver (Tomcat?) that supports both servlets/JSP and PHP? If so, is it >possible to have PHP and servlet/JSP code collaborating? I'm looking into using SOAP >(apache project's implementation) but I need some of PHP's functionality. You can use Tomcat and Apache together. There's

RE: [PHP] PHP/Java/SOAP

2002-02-21 Thread James Hallam
fore displaying them.. -Original Message- From: Thalis A. Kalfigopoulos [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 1:24 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP/Java/SOAP Is there a webserver (Tomcat?) that supports both servlets/JSP and PHP? If so, is it possible to

[PHP] PHP/Java/SOAP

2002-02-21 Thread Thalis A. Kalfigopoulos
Is there a webserver (Tomcat?) that supports both servlets/JSP and PHP? If so, is it possible to have PHP and servlet/JSP code collaborating? I'm looking into using SOAP (apache project's implementation) but I need some of PHP's functionality. thanks in advance, thalis -- PHP General Mailin

Re: [PHP] php java script

2001-09-14 Thread Sheridan Saint-Michel
cho's each element into a JavaScript Array Statement Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: "AJDIN BRANDIC" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 14, 2001 10:07 A

[PHP] php java script

2001-09-14 Thread AJDIN BRANDIC
Hi I am doing a scroll bar with javascript and info pulled from MySQL. So I execute query and create an array with php called messages. Then when my page is loaded I guess this array should be available to JavaScript under the same name except the $. Am I right here or not? The java script err

[PHP] PHP/Java, Receiving Error message.

2001-09-05 Thread Bill Koch
I have had PHP/Java running for a while and Haven't had any issues with the standard classes. I was recently given a jar file containing a bunch of classes to be used on a project. I get the following error on several of the methods when called: Warning: java.lang.NoSuchMethodException: initial

[PHP] PHP & JAVA: Odd Behavior

2001-08-06 Thread Marcos
Hi, I got something very odd while trying to run php with java. First, my system specs: My System: Windows NT4.0 SP6 (same happens on Windows XP) Apache 1.3.20 PHP 4.0.6 Sun Microsystems JDK 1.3.1 Java settings from php.ini: [Java] java.class.path="D:\php406\java\php_java.jar;D:\jdk\lib" java.h

[PHP] PHP & JAVA: Odd Behavior

2001-08-03 Thread Marcos
Hi, I got something very odd while trying to run php with java. First, my system specs: My System: Windows NT4.0 SP6 (same happens on Windows XP) Apache 1.3.20 PHP 4.0.6 Sun Microsystems JDK 1.3.1 Java settings from php.ini: [Java] java.class.path="D:\php406\java\php_java.jar;D:\jdk\lib" java.h

[PHP] PHP & Java: Apache processes

2001-06-20 Thread Jim Kirkpatrick
I have what appears to be a successful implementation of Java support compiled into PHP running on an Apache server. Specifics: PHP: 4.0.5 Java: 1.3.1 (Sun) Apache: 1.3.19 OS: Redhat 6.2 The problem I'm experiencing has to do with finding multiple Apache child processes spawned but never closed

[PHP] PHP & Java

2001-06-20 Thread Feroze Md. Arif
Hi, Can anyone point me to some tutorials on communicating with Java Applets using PHP? Hoping to hear from you. Best Regards Feroze === Jar Jar Binks will be Jedi!

RE: [PHP] PHP & Java ?

2001-05-04 Thread Brian Paulson
AM To: php Subject: Re: [PHP] PHP & Java ? I am echoing the javascript and other html, and at this point *not* putting values into the javascript. I take a string like so: $string=" JavaCode HTML "; I make sure that *everything* in the quotes has only sinlge quotes no double

Re: [PHP] PHP & Java ?

2001-05-04 Thread Jack Sasportas
I am echoing the javascript and other html, and at this point *not* putting values into the javascript. I take a string like so: $string=" JavaCode HTML "; I make sure that *everything* in the quotes has only sinlge quotes no double quotes so that PHP doesn't think its the end of the string,

Re: [PHP] PHP & Java ?

2001-05-04 Thread Peter Dudley
If it's javascript, then be careful about echoing PHP variables into Javascript strings. If you have something like (in Javascript) var myString = ''; and $phpString contains any apostrophes, then the javascript will break because Javascript thinks the string has ended prematurely. E.g, if $ph

Re: [PHP] PHP & Java ?

2001-05-04 Thread Michael Stearne
They are totally un-related. Make sure that the final HTML on the page (some of it generated by PHP) is corrent and doesn't break the Java/Javascript. Michael Jack Sasportas wrote: >While working on some web sites which contain mouse over java, and then >adding in some db stuff via php/mys

Re: [PHP] PHP & Java ?

2001-05-04 Thread Tom Carter
I assume by java you mean some permutation of javascript. PHP runs server-side which means all the PHP processing is done before it is sent to the client. What the client recieves has nothing to do with PHP, that is all effectively "removed" ie parsed by the PHP engine. The client just recieves H

[PHP] PHP & Java ?

2001-05-04 Thread Jack Sasportas
While working on some web sites which contain mouse over java, and then adding in some db stuff via php/mysql, the java seems to break. Is there something special I need to do to prevent that break? Is this a common problem? Does using templates get around that problem ? Thanks !

Re: [PHP] php & java problem

2001-03-12 Thread David Robley
On Tue, 13 Mar 2001 16:45, vvsalon wrote: > Normally, I am using php4.0.4 at apache 1.3.19 on windows98. > It works fine. > However, after i added the following lines to the php.ini, > none of my original php pages can be shown. > The browser just "loading".. > Can anyone help me to solve

[PHP] php & java problem

2001-03-12 Thread vvsalon
Normally, I am using php4.0.4 at apache 1.3.19 on windows98. It works fine. However, after i added the following lines to the php.ini, none of my original php pages can be shown. The browser just "loading".. Can anyone help me to solve this problem? The line I have added: java.class.path=