As Tomcat is written in Java JSP and Servlet (with C code for native function calls to the underlying OS~this is at least for the majority on this list )This is the expertise we offer to you If its not written in Java such as fitting a CGI/CFM/PHP script or non Java class we're not saying its not possible but it will be more difficult and time consuming task to accomplish retrofitting an non Java package into a purely Java Framework..accordingly when speaking to your client you may want to consider a T&M approach to the task as making this situation operational may very well indeed 'take a while' No offence has been taken.. HTH, Martin -- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents ----- Original Message ----- From: "HALSTEAD SGT WARREN F" <[EMAIL PROTECTED]> To: <users@tomcat.apache.org> Sent: Tuesday, October 17, 2006 9:52 PM Subject: Re: CGI vs SMTP vs Tomcat
Sir, I in no way am implying that the members of this list have been derisive. I meant to state answers I found else where seemed dersive. I did find an example of a non-derisive "write it in Java". I sumbit to your attention: http://mail-archives.apache.org/mod_mbox/tomcat-users/200310.mbox/%3cLLE [EMAIL PROTECTED] As well as: http://www.experts-exchange.com/Programming/Programming_Languages/Perl/Q _21216234.html For the above you have to pay/register for the solution, and I am leery of it, but it is an excellent example of my problem. Thank you all again for your help. I may just have to take a self-taught crash course in Java....or socket programming in Perl. :P V/R ~Warren Halstead David Smith wrote: Really?! I've been on this list for a while and do not recall such derisive comments. Perhaps a more optimistic approach would help. As to the problem, I don't use the setup you are attempting, so you are going to have to help with some more info. Specifically a code example and logs for the moment when the connection is attempted. Further, some information regarding the environment would also be helpful -- security settings, etc., ... It may be that the CGI is relying on environment variables that aren't available to the tomcat service. --David HALSTEAD SGT WARREN F wrote: > Good Afternoon, > > I am running Tomcat 5 with CGI enabled. I am attempting to use > Net::SMTP to send e-mail, and it works fine from the command line, but > not running as a CGI script. I have scoured the internet and found other > people with this problem, but the derisive answer to their pleas for > help has been "Write it in Java dummy!" > > I do not have that option, and so I must ask if there is some > security function in Tomcat or a workaround, that allows perl CGI > scripts to make a socket connection to port 25 of another server. > > Thank you for your help in this matter. If you feel any other > details are required to troubleshoot my problem, please feel free to > contact me and ask. > > Very Respectfully, > > ~Sgt Halstead > 15th MEU > USMC > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]