Re: [LIP] calling java routine from perl
Gaurav Vaish <gvaish-dv/[email protected]>
| Newsgroups | gmane.user-groups.linux.india.programmers |
|---|---|
| Message-ID | <004401c4157e$6fa7ff80$560d280a@master> |
Do a /usr/bin/perl -w
and then see the logs.
Cheers,
Gaurav
http://gallery.mastergaurav.net/
----- Original Message -----
From: "vivek khurana" <khuranavivek_in-/[email protected]>
To: "Linux India Programmers"
<linux-india-programmers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Sent: Monday, March 29, 2004 16:19
Subject: [LIP] calling java routine from perl
> Hi!
>
> I have to call a java (which accepts two parameters
> from command line)utility from cgi. I am using perl to
> do it using following command
>
> system "/usr/java/j2sdk1.4.1_03/bin/java",
> "portm",$arg,$arg2;
>
> where portm is the name of the class file which has
> to be called.
>
> Now, if i run this script from command line it runs
> flawless but when i try to run it from browser, i get
> no result. Even the browser fails to call the script.
> (i receive opening .... on the status bar). I had
> checked all the logs and no entry is made in any log
> even access_log of apache shows no "POST" entry.
>
> Can anyone point me what is the problem???
>
> regards
> vivek
>
>
>
>
> =====
> Disclamer
> The facts expressed here belong to everybody, the opinions to me. The
distinction is yours to draw...
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Finance Tax Center - File online. File on time.
> http://taxes.yahoo.com/filing.html
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> linux-india-programmers mailing list
> linux-india-programmers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/linux-india-programmers
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click