I'm on Windows 2000 trying to get the JSR 223: Scripting Pages in Java^TM Web Applications working of which PHP is the initial concrete implementation. Zend has been working with Sun to support PHP (and other scripting languages) better within Tomcat basically. Things get running fine thou the test.php page errors.

<?php
   try
   {
       print "Creating Java.lang.Long <BR>\n";
       $obj = new java("java.lang.Long",4);
       $val = $obj->intValue();
       printf( "integer val = $val<BR>\n" );
   }
   catch ( Exception $e)
   {
           print "Exception message = " . $e->getMessage () . "<BR>\n";
           print "Stack Trace = " . $e->stacktrace . "<BR>\n";
   }
?>

Creating Java.lang.Long

*Fatal error*: java::java() [function.java <http://test-1:8080/jsr223samples/web/php/function.java>]: Unable to get jclass name for java.lang.Long in */jsr223samples/web/php/test.php* on line *40

*Another page that uses libraries that are part of the JSR223 examples JAR are working fine. Anyone have any thoughts? This might have been experienced in the previous experimental servlet support that was in PHP 4.

Thanks,
Steve

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

Reply via email to