Re: [PHP] Re: php java intregration

2006-06-08 Thread Vedanta Barooah

hi,
i have not tried it in linux, but the stuff worked for me in windows,
here are my notes:

* PHP 5.1.4
* PECL 5.1.4 (use php_java.dll and php_java.jar from the zip file,
this is an extra download)

here is my php.ini

; configuration to enable php_java.dll
[Java]
extension=php_java.dll
java.class.path = C:\PHP\ext\php_java.jar
java.home = C:\Java\jdk1.5.0_06
java.library = C:\Java\jdk1.5.0_06\jre\bin\server\jvm.dll
java.library.path = C:\PHP\ext

you will need to append more paths to java.class.path directive if you
use any extra jars in you application. the extension works fine except
its kinda slow on my server - i am yet to find out why... let me know
if its any better for you.

thanks,
vedanta




On 6/8/06, Lalit Khairnar [EMAIL PROTECTED] wrote:

Hi Vedanta

We re also trying to use Bridge for the same.
but we are stucked while configuring the .jar file on WINDOWS
could u please send us the procedure to do in perfect way

We are using Xampp installer and php 5.1.1 ,apache , and jdk 1.5

please reply soon

--
Lalit P.Khairnar
V2Solutions
A New Vision to Solution
Cell:09969131384
India:+91-22-56733201 Ext:642 / 643
US:1-408-253-2838
http://www.v2solutions.com






--
*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*
Vedanta Barooah
YM! - vedanta2006
Skype - vedanta2006

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: php java intregration

2006-06-03 Thread Vedanta Barooah

So i tried to install the java support using the info available at
php.net/java but things here are still upset:

here is my configure:

'./configure' '--with-apxs2=/home/vedanta/srv/httpd2/bin/apxs'
'--with-config-file-path=/home/vedanta/srv/php5'
'--prefix=/home/vedanta/srv/php5' '--with-java=/opt/sun-jdk-1.4.2.10'
'--enable-java'

the build and install is a success, there is nothing created, which is
related to java, not even a directory named ext/java in the source
tree exists. the pecl.php.net site has no package named java...
finally i search the php-src cvs tree and  whoa! - the
php-src/ext/java/ java tree is empty - are the extns removed?? -
http://cvs.php.net/viewcvs.cgi/php-src/ext/java/

after giving up the build yesterday on windows, i am not giving up
today on linux.
i am still kinda lost - and its getting frustrating.

thanks,
vedanta

PHP - 5.1.4
ABI : Gentoo 2006.0




On 6/3/06, Vedanta Barooah [EMAIL PROTECTED] wrote:

if i am not wrong the bridge is better if you are trying to put in php
into a java app server. i do know to create the jar in linux i
will try some other combinations and keep things posted.
i am not able to find the jar, anywhere yet though :(
- vedanta

On 6/3/06, Jon Anderson [EMAIL PROTECTED] wrote:
 You could try something like PHP-Java bridge:
 http://php-java-bridge.sourceforge.net/

 I've set it up for our server farm at work, but never used it myself.
 The developer who requested it seems quite fond of the extension, and
 performance seems to be excellent.

 jon

 Vedanta Barooah wrote:
  really no one?
 
  On 6/2/06, Vedanta Barooah [EMAIL PROTECTED] wrote:
  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? ... let me know,... thanks
 
  - regards, vedanta
 
 
 




--
*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*
Vedanta Barooah




--
*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*
Vedanta Barooah

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: php java intregration

2006-06-02 Thread Vedanta Barooah

really no one?

On 6/2/06, Vedanta Barooah [EMAIL PROTECTED] wrote:

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? ... let me know,... thanks

- regards, vedanta




--
*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*
Vedanta Barooah
YM! - vedanta2006
Skype - vedanta2006

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: php java intregration

2006-06-02 Thread Vedanta Barooah

it was not about windows! :)
it was about php getting into IIS instead of  than .net or java
- vedanta


On 6/3/06, tedd [EMAIL PROTECTED] wrote:

really no one?

On 6/2/06, Vedanta Barooah [EMAIL PROTECTED] wrote:
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? ... let me know,... thanks

- regards, vedanta


sorry, no windows here.

tedd
--

http://sperling.com  http://ancientstones.com  http://earthstones.com




--
*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: php java intregration

2006-06-02 Thread Vedanta Barooah

if i am not wrong the bridge is better if you are trying to put in php
into a java app server. i do know to create the jar in linux i
will try some other combinations and keep things posted.
i am not able to find the jar, anywhere yet though :(
- vedanta

On 6/3/06, Jon Anderson [EMAIL PROTECTED] wrote:

You could try something like PHP-Java bridge:
http://php-java-bridge.sourceforge.net/

I've set it up for our server farm at work, but never used it myself.
The developer who requested it seems quite fond of the extension, and
performance seems to be excellent.

jon

Vedanta Barooah wrote:
 really no one?

 On 6/2/06, Vedanta Barooah [EMAIL PROTECTED] wrote:
 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? ... let me know,... thanks

 - regards, vedanta








--
*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*
Vedanta Barooah

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php