> -----Urspr�ngliche Nachricht-----
> Von: Shroff, Aatish Anupam [mailto:[EMAIL PROTECTED]
> Betreff: RE: Perl with Tomcat Problem!!!
>
> Now I seem to have another problem. I somehow managed to get
> the system
> call to work. But in the perl script I am calling through the system
> call, I get the following error.
>
> This is where the following error occurs:
>
> $ftp = Net::FTP->new($ftp_addr) or die "Could not create FTP
> connection:
> $@";
>
> Could not create FTP connection: Net::FTP: Bad protocol 'tcp'
>
>
> This did not happen on the IIS server. Nor does this happen when I run
> the perl script through command prompt.
>
> Any ideas as to what this is. I searched the web, but nothing there to
> fix this problem. I don't have the liberty to use Apache as a web
> server.
>
> Thanks for all the help.
Please have a look at the system path (i.e. ENV{'PATH'}) und both environments and
compare. I had a similar error and I missed some PATH entries.
HTH Dietmar
____________________________________________________________
Hamburger Berater Team GmbH
Dr. Dietmar Fiehn Telefon: 040/369779-0
Stadthausbr�cke 3 (Fleethof) Telefax: 040/369779-99
20355 Hamburg eMail : [EMAIL PROTECTED]
____________________________________________________________
> Aatish
>
>
> -----Original Message-----
> From: Thomas, Mark - BLS CTR [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 29, 2004 8:44 PM
> To: Shroff, Aatish Anupam; [EMAIL PROTECTED]
> Subject: RE: Perl with Tomcat Problem!!!
>
> Why not use apache?
>
> Exerpt from the Tomcat FAQ:
>
> Q: Why should I use Tomcat with Apache?
>
> A: Adding on CGI, perl, PHP is very natural to Apache.
> Its slower and more of a kludge for Tomcat. Apache
> also has hundreds of modules that can be plugged in
> at will. Tomcat can have this ability, but the code
> hasn't been written yet.
>
> If you insist on using only Tomcat, refer to the Tomcat/CGI Howto:
> http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cgi-howto.html
>
> (A few seconds worth of Googling brought up the above references)
>
> --
>
> Mark Thomas
> Internet Systems Architect
> DigitalNet, Inc.
> Washington DC
> [EMAIL PROTECTED]
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On
> > Behalf Of Shroff, Aatish Anupam
> > Sent: Tuesday, June 29, 2004 5:19 AM
> > To: [EMAIL PROTECTED]
> > Subject: Perl with Tomcat Problem!!!
> >
> >
> > Hi All,
> >
> > I have a web form in (CGI/Perl) which has to call another
> > perl script with the system call:
> >
> > system("perl tester.pl file.xml");
> >
> > Now, this works fine when I run my CGI on the IIS server. But
> > when I run it under Tomcat, it never shows me the results of
> > the tester.pl execution.
> >
> > Not sure whether the perl script is being executed at all. It
> > gives me the output when run on IIS.
> >
> > Thanks for the help.
> >
> > Aatish
> >
> >
> >
> > _______________________________________________
> > Perl-Win32-Users mailing list
> > [EMAIL PROTECTED]
> > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> >
>
>
>
>
> _______________________________________________
> Perl-Win32-Users mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs