HTTP Status 500 in php java bridge!!

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
Forum Newbie
Posts: 2
Joined: Mon Jul 19, 2010 10:23 am

HTTP Status 500 in php java bridge!!

Post by pritam.insync »

I am using php-java bridge to access the methods of a java file from the comand prompt every thing works fine but when i try to run this script in an yweb browser I get
type Exception report


description The server encountered an internal error () that prevented it from fulfilling this request.


javax.servlet.ServletException: Servlet.init() for servlet PhpJavaServ in /java/ on line 520

The code---->

Code: Select all


$pipe = new Java("Payment");
//$amount = 100;
echo $status = $pipe->performPaymentInitialization();

$payID = $pipe->getPaymentId();
$payURL = $pipe->getPaymentPage();
$urlToRedirect = $payURL . '?PaymentID=' . $payID;
echo $urlToRedirect;
//header('Location: '. $urlToRedirect);
header('Location: '. $urlToRedirect);

I dont know why I am getting this error plz help

Code: Select all

Post Reply