Member_2_7965723
asked on
To run CGI/perl on tomcat and connect to oracle database.
Hi,
My requirement is to run CGI/perl on tomcat and connect to oracle database.
I have managed to run the scripts and have installed few perl module, but cant find a way forward while connecting to oracle database.
I have a oracle client installed and can connect to database if I run the script from command line (Redhat).
But the moment I try to run it browser it does not work.
I am new to perl and not sure how could I see whats wrong with it, I can print all ENV variables which it would need.
is there a way to capture the errors?
-AM
test-db-cgi1
My requirement is to run CGI/perl on tomcat and connect to oracle database.
I have managed to run the scripts and have installed few perl module, but cant find a way forward while connecting to oracle database.
I have a oracle client installed and can connect to database if I run the script from command line (Redhat).
But the moment I try to run it browser it does not work.
I am new to perl and not sure how could I see whats wrong with it, I can print all ENV variables which it would need.
is there a way to capture the errors?
-AM
test-db-cgi1
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks a lot everytone,
Below commands solved all of my problem, because I could see what was wrong and then fix it
use CGI::Carp qw(fatalsToBrowser);
I have managed to achieve what I wanted.
Below commands solved all of my problem, because I could see what was wrong and then fix it
use CGI::Carp qw(fatalsToBrowser);
I have managed to achieve what I wanted.
Hi,
If the command you used solved your problem then you should select Best Solution as the answer, and any other comments from Experts if they helped you along the way as Assisted Solutions.
If the command you used solved your problem then you should select Best Solution as the answer, and any other comments from Experts if they helped you along the way as Assisted Solutions.
http://search.cpan.org/~timb/DBI-1.636/
http://search.cpan.org/~pythian/DBD-Oracle-1.74/