Re: RedHat 9 tomcat
Hello, Hello All, Today I tired to port my application which was running fine on Redhat 8 to redhat 9. My Application spawns multiple threads. What I found interesting was thread were not behaving as they were supposed to. I am not sure do I have to do anything special about RedHat 9? Please let me know if some one have any clue. santos RedHat9 is not considered that thread is process. But RedHat8 and RedHat7.x is thread is process. If you perform ps -m ,Your problem will be solved. This issue(Redhat7-8) http://www.onlamp.com/pub/a/onlamp/2002/11/07/linux_threads.html * Diasuke Sato http://www.opentone.co.jp -- satou hotmail [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RedHat 9 tomcat
What were you expecting to happen? What JDK versions were in 8 and 9 (java -version)? -Original Message- From: Santos Jha [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 4:33 PM To: Tomcat Users List Subject: RedHat 9 tomcat Hello All, Today I tired to port my application which was running fine on Redhat 8 to redhat 9. My Application spawns multiple threads. What I found interesting was thread were not behaving as they were supposed to. I am not sure do I have to do anything special about RedHat 9? Please let me know if some one have any clue. santos - 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: RedHat 9 tomcat
http://marc.theaimsgroup.com/?t=10650119334r=1w=2 might help. -Tim Santos Jha wrote: Hello All, Today I tired to port my application which was running fine on Redhat 8 to redhat 9. My Application spawns multiple threads. What I found interesting was thread were not behaving as they were supposed to. I am not sure do I have to do anything special about RedHat 9? Please let me know if some one have any clue. santos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RedHat 9 tomcat
basically I have a singleton which has a synchronized method. I was expecting that each thread that access this method will be able to complete it without getting pre emptied. From my log I can see such thing does not exist. I tried to use sun's jdk 1.4.2 and I also used IBM jdk 1.4 when I could not get the desired result. santos Darian Shimy wrote: What were you expecting to happen? What JDK versions were in 8 and 9 (java -version)? -Original Message- From: Santos Jha [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 4:33 PM To: Tomcat Users List Subject: RedHat 9 tomcat Hello All, Today I tired to port my application which was running fine on Redhat 8 to redhat 9. My Application spawns multiple threads. What I found interesting was thread were not behaving as they were supposed to. I am not sure do I have to do anything special about RedHat 9? Please let me know if some one have any clue. santos - 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: RedHat 9 tomcat
Red Hat 9 uses the New Posix Thread Library (NPTL), and has been known to even break some Java SDK's (for example, if you're using IBM's Java 2 SDK 1.3.1, you'll need to put in an environment variable LD_ASSUME_KERNEL=2.2.5 or you'll get a segmentation fault). I know I'll probably get flamed for this, but, if there is no compelling reason to upgrade to RH9, you really shouldn't. pascal chong Santos Jha wrote: basically I have a singleton which has a synchronized method. I was expecting that each thread that access this method will be able to complete it without getting pre emptied. From my log I can see such thing does not exist. I tried to use sun's jdk 1.4.2 and I also used IBM jdk 1.4 when I could not get the desired result. santos Darian Shimy wrote: What were you expecting to happen? What JDK versions were in 8 and 9 (java -version)? -Original Message- From: Santos Jha [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 4:33 PM To: Tomcat Users List Subject: RedHat 9 tomcat Hello All, Today I tired to port my application which was running fine on Redhat 8 to redhat 9. My Application spawns multiple threads. What I found interesting was thread were not behaving as they were supposed to. I am not sure do I have to do anything special about RedHat 9? Please let me know if some one have any clue. santos - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RedHat 9 tomcat
Santos, basically I have a singleton which has a synchronized method. I was expecting that each thread that access this method will be able to complete it without getting pre emptied. From my log I can see such thing does not exist. So, are you saying that you can observe two threads in the same synchronized block at the same time? How can you see that? Can you post some code? -chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RedHat 9 tomcat
RedHat9 is not considered that thread is process. But RedHat8 and RedHat7.x is thread is process. If you perform ps -m ,Your problem will be solved. This issue(Redhat7-8) http://www.onlamp.com/pub/a/onlamp/2002/11/07/linux_threads.html On Mon, 17 Nov 2003 22:36:32 -0500 Christopher Schultz [EMAIL PROTECTED] wrote: Santos, basically I have a singleton which has a synchronized method. I was expecting that each thread that access this method will be able to complete it without getting pre emptied. From my log I can see such thing does not exist. So, are you saying that you can observe two threads in the same synchronized block at the same time? How can you see that? Can you post some code? -chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- satou hotmail [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]