Yes, I have added debug code to the Perl program, and where it stalls seems to be the following
line:
$myDatabase = new Win32::ODBC($data_source);
It just keeps hanging at that line. If I go to Windows Task Manager, I see perl.exe running,
but at a fixed memory space (no changes). Also, forcing perl.exe off the Task Manager unstalls
the CGI program and it just prints all the debug comments up to the code I wrote above.
Someone suggested that I switch to another JDK but our workplace uses only Sun JDK for production
servers...any insights to resolving this other than writing a whole new module in Java?
-----Original Message-----
> Date: Sun Oct 14 18:29:57 EDT 2007
> From: "Mark Thomas" <markt@apache.org>
> Subject: Re: Perl Permissions on Tomcat
> To: "Tomcat Users List" <users@tomcat.apache.org>
>
> Li Ye Chen wrote:
> > Script A (the problem script) continues to run after 2 minutes (with partial output
some of the time). But script A ran under the command line (as opposed to the browser/Tomcat)
is very fast -- under a second and gives full output. Script B runs under less than a second
and gives full output.
>
> Sounds like you need to add some debugging to your script to figure
> out where the problem is.
>
> Mark
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
|