Re: Does Tomcat work on dual processor systems?
a. Yes, the web application under Tomcat receives all Http requests properly. b. Yes, can do. Will try and write one. c. Will let you know what happens. d. We are using port numbers above 5 (the ones that are set aside by IANA for private use). Yes, my test system has multiple NICs. I am using the basic/default ServerSocket(port) constructor. e. All systems are on the same subnet, so firewall and port blocking is not an issue. Thanks for your help. Asha Atanu Neogi wrote: 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" To Tomcat Users List 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" To Tomcat Users List 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]
Re: Does Tomcat work on dual processor systems?
Hello, Im running Tomcat 4.01, 4.03, 4.131, 5.5.4 and 5.5.9 on Solaris 8/9 and also in AIX 4.3 with no problems at all. The OS takes care of passing the processing to a particular CPU. Regards, Luis Andrew Miehs wrote: Hi Asha, Asha Nallana wrote: We are using Tomcat4.1.18, JDK1.4.2, Apache1.3 and mod_jk2. And somewhere you mentioned Redhat 7.3. Isn't that VERY old? can you provide the output of uname -a ps auxw netstat -anp and probably server.xml Does this setup work? Did it ever work? or are you trying to get it to work for the first time? I would seriously suggest though, that you get someone in to help you look at this problem, as it sounds like you may require quite a bit of help to get it up and running - (probably about 3 weeks of using this mailing list) Regards Andrew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Does Tomcat work on dual processor systems?
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" To Tomcat Users List 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" > > >To >Tomcat Users List >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]
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" To Tomcat Users List 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]
Re: Does Tomcat work on dual processor systems?
Hi Asha, Asha Nallana wrote: We are using Tomcat4.1.18, JDK1.4.2, Apache1.3 and mod_jk2. And somewhere you mentioned Redhat 7.3. Isn't that VERY old? can you provide the output of uname -a ps auxw netstat -anp and probably server.xml Does this setup work? Did it ever work? or are you trying to get it to work for the first time? I would seriously suggest though, that you get someone in to help you look at this problem, as it sounds like you may require quite a bit of help to get it up and running - (probably about 3 weeks of using this mailing list) Regards Andrew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Does Tomcat work on dual processor systems?
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" To Tomcat Users List 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]
Re: Does Tomcat work on dual processor systems?
Asha, We are using Tomcat v5.5 running under OS X v10.4 (dual processor). No problems whatsoever. Stephen Caine CommonGround Softworks, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Does Tomcat work on dual processor systems?
We are using Tomcat4.1.18, JDK1.4.2, Apache1.3 and mod_jk2. 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]
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]
re: Does Tomcat work on dual processor systems?
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]
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]