RE: CGI vs SMTP vs Tomcat

2006-10-18 Thread Wade Chandler
a file > to a .class file. I find myself downloading all the > dependencies for > Tomcat so it will all compile and I can extract a > single class file.) > > ~Warren Halstead > > -Original Message- > From: Wade Chandler > [mailto:[EMAIL PROTECTED] > Sent:

RE: CGI vs SMTP vs Tomcat

2006-10-18 Thread HALSTEAD SGT WARREN F
TED] Sent: Wednesday, October 18, 2006 7:23 To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: CGI vs SMTP vs Tomcat The JVM security policy couldn't just block TCP/IP access for the Perl process. The reason being the child process...perl in this case will not be run in the JVM like a class which

Re: CGI vs SMTP vs Tomcat

2006-10-18 Thread Wade Chandler
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 > > con

Re: CGI vs SMTP vs Tomcat

2006-10-18 Thread Pid
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: > Sent: Tuesday, October 17, 2006 9:52 PM > Subject: Re: CGI v

Re: CGI vs SMTP vs Tomcat

2006-10-17 Thread Wade Chandler
t; attempting to use > >>> Net::SMTP to send e-mail, and it works fine from > the command line, but > >>> not running as a CGI script. > > > > Can you describe the failure in any more detail? > > > >>> I do not have that option

Re: CGI vs SMTP vs Tomcat

2006-10-17 Thread Mark Thomas
Mike Klein wrote: > Perhaps tomcat has security policy preventing certain socket > connections. JRE/JDK has a root/default policy...but tomcat may extend this. Not by default. > I think most servlet engines use mail.jar/activation.jar...perhaps > tomcat is restricting certain sockets to these libr

Re: CGI vs SMTP vs Tomcat

2006-10-17 Thread Warren Halstead
e. > > Do you get an exception? Anything in your log files? Are you sure that > your perl script is actually being invoked? If so, is there any error > from the Perl interpreter? If so, what? > > -chris > > > > -- View this message in context: http://www.nabbl

Re: CGI vs SMTP vs Tomcat

2006-10-17 Thread Mike Klein
Perhaps tomcat has security policy preventing certain socket connections. JRE/JDK has a root/default policy...but tomcat may extend this. I think most servlet engines use mail.jar/activation.jar...perhaps tomcat is restricting certain sockets to these libraries. mike HALSTEAD SGT WARREN F wrote

Re: CGI vs SMTP vs Tomcat

2006-10-17 Thread Martin Gainty
t 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: Sent: Tuesday, October 17, 2006 9:52 PM Subject: Re: CGI vs

Re: CGI vs SMTP vs Tomcat

2006-10-17 Thread Christopher Schultz
Warren, >> 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. Can you describe the failure in any more detail? >> I do not have that option, and so I must ask if there is some

Re: CGI vs SMTP vs Tomcat

2006-10-17 Thread HALSTEAD SGT WARREN F
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.m

Re: CGI vs SMTP vs Tomcat

2006-10-05 Thread Martin Gainty
sers List" Sent: Thursday, October 05, 2006 5:08 AM Subject: Re: CGI vs SMTP vs Tomcat > 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 yo

Re: CGI vs SMTP vs Tomcat

2006-10-05 Thread Wade Chandler
--- HALSTEAD SGT WARREN F <[EMAIL PROTECTED]> 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

Re: CGI vs SMTP vs Tomcat

2006-10-05 Thread Tim Funk
A CGI run from tomcat is just like any other exe. It runs outside the JVM sandbox so it may do as much evil (or good) as it wants. If Tomcat is being run as a service. It could be your PATH and other environment variables may not be configured correctly. (Or at all) -Tim HALSTEAD SGT WARREN

Re: CGI vs SMTP vs Tomcat

2006-10-05 Thread David Smith
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 th

CGI vs SMTP vs Tomcat

2006-10-04 Thread HALSTEAD SGT WARREN F
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 fo