Hello,
I am having the following problem on a Linux Red Hat system with kernel 2.4.21-9 and
JVM 1.4.2_03.
My application is hanging for no particular reason, and JBoss is not returning any
message back to the client. The server does not freeze and accept further requests
normally.
When I do a thread dump on my JVM when the application hangs, this is what I get:
| at java.io.FileInputStream.readBytes(Native Method)
| at java.io.FileInputStream.read(FileInputStream.java:194)
| at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
| at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
| at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
| - locked <0x9335e248> (a java.io.BufferedInputStream)
| at
sun.security.provider.SeedGenerator$URLSeedGenerator.getSeedByte(SeedGenerator.java:467)
| at sun.security.provider.SeedGenerator.getSeedBytes(SeedGenerator.java:137)
| at sun.security.provider.SeedGenerator.generateSeed(SeedGenerator.java:132)
| at
sun.security.provider.SecureRandom.engineGenerateSeed(SecureRandom.java:112)
| at
sun.security.provider.SecureRandom.engineNextBytes(SecureRandom.java:169)
| - locked <0x9335e048> (a sun.security.provider.SecureRandom)
| at java.security.SecureRandom.nextBytes(SecureRandom.java:381)
| - locked <0x9335e000> (a java.security.SecureRandom)
| at java.security.SecureRandom.next(SecureRandom.java:403)
| at java.util.Random.nextInt(Random.java:191)
| at
my.custom_application.common.util.UUIDGenerator.<init>(UUIDGenerator.java:54)
The locked file is /dev/random. I checked the permission on this dev file and
everything looks ok. The weird part is that my application is working perfectly ok on
another server, so I don't think that the source code is involved here.
What could be wrong with this device?
When I try to shutdown JBoss while the application hang, the JBoss server correctly
receives the shutdown message and this is what I get in the log:
INFO [org.jboss.system.server.Server] Shutting down
| INFO [org.jboss.system.server.Server] Shutting down the JVM now!
I dont have the usual LifeThread.run exits! and nothing happens after that. Packages
are not undeployed etc...
Do you have any idea what might be happening on my server?
Thanks for your feedback,
Laurent
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842805#3842805
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842805
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user