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