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
Hmm. Which user is Tomcat being run as? Are you running Tomcat as the same user as your are running the script? Wondering if maybe there is not some type of a port blocker installed on your system outside of the servers. Maybe when you ran your script or one previously maybe quite some time ago

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
Ok, Here goes 1) I can from my server ping the mail server. 2) I can from the Windows command line, telnet to port 25 (SMTP) of the mail server. It works. 3) Using a packet sniffer I see #2 happening. 4) Using a packet sniffer I see nothing happening network wise fro

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