Sorry I didn't remember if you were using apache, I thought you were, but
anyways it still might disrupt the server configs, etc... Usually you don't
need to set up any vars since they are set in server configurations.
Ilya Sterin
-----Original Message-----
From: roberto l [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 11:41 AM
Cc: [EMAIL PROTECTED]
Subject: Re: Total Environment allocation failure!
The scripts run perfect at the shell prompt. I can execute with no problem,
and query the database perfectly. Current cgi directory is /cgi-bin, the
user
running the webserver is nobody
>
> Have you tried to set the variables in the shell
> and run this script from there (and not as CGI)?
>
> As an off-topic, I always wonder why don't people
> spend a minute to make their code more readable:
>
> $ENV{THREADS_FLAG} = q|native|;
> $ENV{JAVA_HOME} = q|/usr/java|;
> $ENV{LANG} = q|en_US|;
>
> And why do you use "." and ".." here:
>
> > $ENV{CLASSPATH}=qq|.:..:/opt/WebSphere/CommerceSuite/AdvSvr/lib:/opt/
>
> What is the current directory for a CGI-scipt?
--
De duobus malis, minus est semper eligendum