Ask yourself these questions:
a. Does the web-applications under Tomcat receive all HTTP(S) requests 
properly? Or are there any issue even for Tomcat's own sockets in 8080 and 
8443 (or whatever ports you have configured to) ports?

b. If yes (which I think is the case and which verifies that there is 
nothing wrong with your Tomcat server), can you write a simple Java-based 
application/service/process that uses your server socket creation code 
that is present within the web-application and let it run?  (If no then 
the Tomcat server itself having problems opening up or listening to 
sockets and you will need network analysis tools to find out what is 
happening on those well-known ports.)

c. Now do you observe the same problem? (I think you will)

d. Which ports are you using to listen to for your server sockets? If your 
server has multiple NICs are you making sure that the sockets are being 
created on the IP you want to?

e. Do you have any firewalls or network monitoring applications etc. 
blocking or controlling those  ports? 







Asha Nallana <[EMAIL PROTECTED]> 
09/08/2005 05:53 PM
Please respond to
"Tomcat Users List" <tomcat-user@jakarta.apache.org>


To
Tomcat Users List <tomcat-user@jakarta.apache.org>
cc

Subject
Re: Does Tomcat work on dual processor systems?






Yes, my web application is creating 4 server socket instances. Out of 
these 4 , some of them get created and some don't. The ones created each 
time differ and so the word random. My application does not use RMI. The 
server sockets are used to pass data (serialized ofcourse) between the 
client and our web server. Our webapplication displays real-time data of 
our servers.

Atanu Neogi wrote:

>So, essentially, your web application is creating server socket instances 

>and listening on them outside the context of Tomcat, right? That is, from 

>your servlet code you are doing something like (new 
>java.net.ServerSocket()).accept() ? Why do you call the ports are random? 

>Is it because your servlet is exporting and registering 
>UnicastRemoteObjects, i.e., also acting as an RMI server?
>
>If so, then any issue you are seeing has got nothing to do with Tomcat or 

>processor details but your network configuration? Is yours a multi-home 
>server?
>
>
>
>
>
>
>
>
>Asha Nallana <[EMAIL PROTECTED]> 
>09/08/2005 05:13 PM
>Please respond to
>"Tomcat Users List" <tomcat-user@jakarta.apache.org>
>
>
>To
>Tomcat Users List <tomcat-user@jakarta.apache.org>
>cc
>
>Subject
>Re: Does Tomcat work on dual processor systems?
>
>
>
>
>
>
>My problem is that the server sockets that are supposed to be created by 
>our servlet and wait for client connections are not being created. We 
>have a RedHat7.3 linux system.  When I do a netstat -a | grep "by socket 
>connections" only some of them show up.  Obviously, the client 
>connections for the server sockets that were not created fail with the 
>error message "connection refused".
>
>Asha
>
>Leon Rosenberg wrote:
>
> 
>
>>We have tomcat (5.0.x) on both intel xeon and amd two-processor systems, 

>> 
>>
>it
> 
>
>>works (under linux / jdk 1.4). 
>>Maybe you should provide more details, but it doesn't sounds like a
>>multiprocessor problem.
>>
>>Regards
>>Leon
>>
>>
>>
>> 
>>
>>>-----Ursprüngliche Nachricht-----
>>>Von: Asha Nallana [mailto:[EMAIL PROTECTED] 
>>>Gesendet: Donnerstag, 8. September 2005 23:00
>>>An: tomcat-user@jakarta.apache.org
>>>Betreff: Does Tomcat work on dual processor systems?
>>>
>>>I am having problem with Tomcat running on a dual processor 
>>>system? Has anyone tried this?
>>>Does it work?
>>>
>>>The server sockets from my application are not being created 
>>>or accepting connections. I don't know the exact cause. But 
>>>the symptom is that all client connections are not being 
>>>refused with the cause "Connection Refused".  The creation of 
>>>these server sockets is random. 
>>>It works 50% of the time. I have tried changing the start up 
>>>sequence of Tomcat, Apache and my software but still no luck.
>>>
>>>Thanks.
>>>
>>>--
>>>Asha Nallana
>>>Director - Austin R & D
>>>Interact Incorporated
>>>9390 Research Blvd. Kaleido II, Suite 100 Austin, TX 78759
>>>(512)502-9969 x 113
>>>[EMAIL PROTECTED]
>>>
>>>
>>>
>>>
>>> 
>>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>>
>> 
>>
>
> 
>

-- 
Asha Nallana
Director - Austin R & D
Interact Incorporated
9390 Research Blvd. Kaleido II, Suite 100
Austin, TX 78759
(512)502-9969 x 113
[EMAIL PROTECTED]


Reply via email to