PHP + JAVA Extension problem



hi,
I am facing this weird java extension problem ....
When I try to run any script with java code in it throws a page DNS
server error.

<?php
$system = new Java("java.util.System"); // here's the error
print "Java version: " . $system->getProperty("java.version")
.. "<br>\n";
?>

My php.ini Java section looks like this
java.class.path =
/usr/local/lib/php/php_java.jar:/usr/local/lib/php/extensions/no-debug-non-zts-20020429/sfa.jar:/usr/local/lib/php/extensions/no-debug-non-zts-20020429/servlet.jar:/usr/local/lib/php/extensions/no-debug-non-zts-20020429/jnet.jar:/usr/local/lib/php/extensions/no-debug-non-zts-20020429/jcert.jar:/usr/local/lib/php/extensions/no-debug-non-zts-20020429/jsse.jar:/usr/local/lib/php/extensions/no-debug-non-zts-20020429/cryptix32.jar
java.home = /usr/java/j2sdk1.4.2_08
java.library = /usr/java/j2sdk1.4.2_08/jre/lib/i386/server/libjvm.so
java.library.path =
/usr/java/j2sdk1.4.2_08/jre/lib:/usr/local/lib/php:/usr/local/lib/php/extensions/no-debug-non-zts-20020429


Platform Details
PHP 4.2.2
Apache 2.0.40

Could any one lead me int oa solution ... this one seems to be a
toughie?
Theris no error thrown on the browser too.

regards
Amey

.



Relevant Pages

  • RE: Calling a Web Service hosted on a Web Logic server from a C# SOAP
    ... > XXXServices) hosted on a Web Logic server from a C# SOAP client. ... > causes the client to crash. ... a Java client that accesses the same web service succeeds. ... Deploy the Java code as some kind of intermediate "translator" ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Microsoft Losing Interest in C#?
    ... > write tests in Java, translate them, and ensure that both versions act ... I think array covariance of primative types(or atleast ... and I wouldn't think that java code would be ... For me, personally, architectural conventions can go along way towards ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Converting a JAVA SHA1 Encryption Scheme
    ... functionality of the java code. ... >> piece of a Java encryption scheme that uses SHA1. ... >> trying to reproduce this code in .Net so that I can ... >> specifically how to reproduce this functionality using ...
    (microsoft.public.dotnet.security)
  • Re: Road to Clojure Survey
    ... native immutable collections are just one ... Aren't Clojure's collection classes just a library and the Clojure ... a reason why those classes could not be used in normal Java programs? ... Existing Java code will not just automagically work with them in the ...
    (comp.lang.lisp)
  • Re: [SLE] Postfix setting
    ... >> a host name that is legitimate in MY system. ... You'd probably notice if your DNS didn't work for more than ... SmtpUnit is a smtp server written in java to be used for unit testing ... best to test your interpretation before commiting to it. ...
    (SuSE)