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:
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
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
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
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
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
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
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
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
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
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
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
--- 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
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
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
15 matches
Mail list logo