I assume it's a permission problem since: 1) I'm trying to run script A (the script with the problem), and 2) script B ran with no problems at all, but 3) script A also ran with no problems if executed from the command line directly instead of in the browser via Tomcat server...
both scripts A and B are in the WEB-INF/cgi folder of a webapp in the Tomcat server. There are no error messages. Apparently, it may also be a speed issue, since there was once when I ran script A and after a while, I stopped the transmission -- there was actually a partial output from the script. -----Original Message----- > Date: Tue Oct 09 16:54:50 EDT 2007 > From: "Christopher Schultz" <[EMAIL PROTECTED]> > Subject: Re: Perl Permissions on Tomcat > To: "Tomcat Users List" <users@tomcat.apache.org> > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Li, > > Li Ye Chen wrote: > > Hi, I'm trying to run a Perl script on Tomcat 5.5.8 -- I've managed > > to successfully run read-only Perl script, but the script I'm trying > > to run connects to the database and needs to write to the local hard > > drive. Whenever I try to execute the script, it creates a Perl.exe > > thread on my Windows server and just never return the HTML code (so > > the browser keeps loading) -- it seems there is a permission problem. > > Why do you believe there is a permissions problem? If perl.exe is > running, then you have permission to run perl.exe. If you don't have > permission to read the script file, then you should be getting some kind > of error message somewhere. > > Can you see any error messages anywhere? > > How are you trying to execute this perl script? Be specific. > > - -chris > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFHC+qa9CaO5/Lv0PARApzZAJsGg5LMZXycPyWTHUpbJ8cyk7mWrgCcDRPo > Q+HJ78JMBbf3cDZsnbveV08= > =IZrk > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]