I restarted my webserver (running WIMP) and suddenly I'm getting protocol errors when running an extremely simple java program:
<?php
session_start();
require_once("http://localhost:8080/JavaBridge/java/Java.inc");
$systemInfo = new Java("java.lang.System");
echo "Total seconds since January 1, 1970: ".$systemInfo->currentTimeMillis();
?>
This worked before I restarted my webserver so I know it's not an error in the code.
I get the following php error:
[12-Jul-2007 11:55:35] PHP Warning: fread() [<a href='function.fread'>function.fread</a>]: Length parameter must be greater than 0 in http://localhost:8080/JavaBridge/java/Java.inc on line 1313
and on-screen (in Firefox) the following:
protocol error: , Invalid document end at col 1
I'm using a Java EE Platform with javabridge.war deployed.
Any help would be appreciated.
--Nathan Shaskin
Compliance Publishing.
---------------------------------
Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
|