|P is for Practical|
Error running CGI on tomcatby sdeshpan (Initiate)
|on Sep 10, 2007 at 22:27 UTC||Need Help??|
sdeshpan has asked for the
wisdom of the Perl Monks concerning the following question:
I have been trying to run a CGI script on the tomcat app server by enabling CGI support through the configuration files in tomcat (on windows xp). I have been able to set up this configuration successfully and a sample "hello world" program works ok.
However, now I am trying to run my actual code, which connects to a DB using DBI, but it fails and gives me the following error:
As per WW's suggestion, here is the "connect" code that I am using:
I checked the TNSNAMES file and I am able to successfully ping and tnsping to the <hostname>. I wonder what might still be missing! Can anyone point me in the right direction?