This is related to several other cases I've posted on EE about trying to run a Perl program in Apache Tomcat server that connects to a database. The essence of the problem is: I can run the Perl program just fine from command line, but when I try to run it in Tomcat, it just doesn't finish processing. Apparently, after inserting many debugging lines, the reason why it stalls is the following code:
$myDB = new Win32::ODBC($data_services) // this line runs fine if i execute Perl from command line, but stalls in Tomcat
is there any way to resolve this issue? Any help will be greatly appreciated. Thanks!