Re: [LIP] calling java routine from perl

Rohan Almeida <[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Organization Sify Ltd.
Message-ID <[email protected]>
vivek khurana wrote:
> 
> The script runs flawlessly from the
> comand line but i get timeout when i run the same
> script from browser.
> 

I'm sure you know that CGI/mod_perl scripts will run
as the httpd process owner - usually nobody or apache.
So check the PATH of nobody/apache.

But since you're passing the full path to the java binary,
check whether the java binary knows where to search for class
files, or more appropriately the CLASSPATH. A java expert could
probably help you out here.

Regarding the CGI script, it would be best, if you could post it here.
(the relevant part).

--
Rohan




-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.