Hi Faisal, That message is basically just a generic error and doesn't tell us much. It happens because your script has an error before sending a valid HTTP header. Try putting use CGI::Carp qw(fatalsToBrowser); near the top of your code, which is an easy way to make sure you're seeing the real error message. -Ken
-----Original Message----- From: Faizal, Abdul Razack (Cognizant) [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 6:11 AM To: [EMAIL PROTECTED] Subject: Getting Security exception when using Java in Perl Importance: High Hi - We have written a java code which connects to an Oracle database to query it to get the results. We implemented this code in Perl using Inline 0.44 version. When we invoke it with Perl in command prompt it is fine we got the results. But where as when we convert the perl code to .cgi and invoke it from browser we are getting some erro like given below. the CGI program html/cgi-bin/raj.cgi did not produce a valid header (name without value: got line " at java.security.accesscontroller.doprivileged(native method)") We wanted to know how to over come this issue. Regards, FAIZAL Cognizant - Bangalore Phone: 2273100 Ext: 7747 VNET - 57747