ID:               19901
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Closed
 Bug Type:         Java related
 Operating System: Linux Redhat 7.1
 PHP Version:      4.2.3
 New Comment:

Problem solved easily...
It's a problem with configuration.

I removed the following line from php.ini

java.home = /usr/java/j2sdk1.4.0_02

Somewhere in php.net, someone says that line should be. Well, I think
this line makes java vm to search libraries only under this directory.
After deleting it, it used its setup defaults (I guess) and it worked
perfectly.

Thanx.


Previous Comments:
------------------------------------------------------------------------

[2002-10-14 09:45:12] [EMAIL PROTECTED]

Address of php.ini is updated as follows:

http://www.denizweb.net/php.ini.txt

------------------------------------------------------------------------

[2002-10-14 09:38:43] [EMAIL PROTECTED]

I have a class which make use of basic ssl functions under java. I am
running this class from console and everything works fine. Connection
with my bank is established and transaction is completed.

I do the same things under php. Create a java object and run the needed
functions. Everything runs until the connection phase. Whenever I want
to connect to my bank server with ssl, function returns following
error:

java.net.SocketException: Default SSL context init failed: Algorithm
SunX509 not available 

Running code and error can be seen at
http://www.denizweb.net/testjava.php
http://www.denizweb.net/testjava.phps

phpinfo can be seen at
http://www.denizweb.net/phpinfo.php

a copy of my ini file can be seen at
http://www.denizweb.net/php.ini

Apache 1.3.26 statically linked.

Note that, these links will remain until someone finds a solution.

P.S.: The source code of class is not public and my Bank refuses
revealing the source code. But they say that, the class is general and
should run perfectly on any tcp/ip and java enabled system. They are
also working on the problem and sent me many small classes to find the
problem. We are focused on connection part, because php & java
integration works without any problems.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=19901&edit=1

Reply via email to