> From: millerKiller [mailto:smille8...@hotmail.com]
> Subject: Re: Socket Error in tomcat, white screen in browser

Sorry if you feel offended at anything said - it certainly wasn't intended.

> I know what connections and sockets are and infact, a 
> socket is a connection!

Not quite; a socket is not necessarily a TCP or UDP connection - there are many 
other network and internal protocols that use sockets as endpoints.  In the 
particular case of the sockets created for the ports specified on the Tomcat 
<Connector> elements, these are passive opens, so there's no actual connection 
until a client attempts an active open.

> I have programmed large concurrent/multithreading programming 
> projects including torents and servers that deal with all kinds
> of sockets in many different contexts in many different languages.

Good experience.  I started writing multithreaded assembler language on 
multiprocessor systems in 1969, including communications.

> As far as the other replies then you say there is a problem since
> my windows machine (windows 7 ultimate) isn't showing the other
> ports being listened on (bound).

Correct - that is a problem.  Unless Tomcat has a listen established on the 
configured ports (they are ServerSocket instances, in Java terminology), 
connections cannot be established.  If you're not seeing entries like this in 
your netstat -ano output, something is preventing Tomcat from functioning:

  Proto  Local Address          Foreign Address        State           PID
  TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       6104
  TCP    0.0.0.0:8009           0.0.0.0:0              LISTENING       6104
  TCP    [::]:80                [::]:0                 LISTENING       6104
  TCP    [::]:8009              [::]:0                 LISTENING       6104

The Foreign Address will always be 0.0.0.0 for passive open (LISTENING) ports.

> Since they are redirect connections

Not sure what you mean by that terminology, but I'll presume you mean they are 
passive opens.

> then I wouldn't be surprised if a socket (connection), only opens 
> up when a page is redirecting so I don't believe that is the problem.

??? This has nothing to do with HTTP redirection, which the above statement 
appears to refer to.  We're talking about the means of establishing an HTTP 
connection.

> And then as far as Root and ROOT, then come on, you know what I am
> talking about.

No, I don't.  We get many, many Windows-centric people on this mailing list 
that often get the casing wrong, and then wonder why things aren't working.

> Were not talking about case sensitive environmental operating
> system features / registry files.

Yes, we are.  Tomcat is extremely case-sensitive, so the casing of file and 
directory names must be exact.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to