tags:

views:

144

answers:

2

Hi All,

I'm having an issue with jboss server. when i run jboss server, it stops responding( no fixed time, so cannot predict when will it stop responding after start) after that it doesn't writes anything in log file. my problem is similar to the problem described on jboss community, link given below but it doesn't have the answer. please help. http://community.jboss.org/message/526193

--Ravi

+1  A: 

It sounds like your jboss server is running out of threads to allocate and is waiting for a new one to become available. Try triggering a thread dump (ctrl-\) and see if you find any threads suspiciously locked and waiting in some of your code. Quite possibly you have a deadlock or memory leak somewhere in your code which is causing old threads to lock up and never be released.

Alternatively try what the guy you linked to did, i.e. increasing the amount of threads available.

edit: For some more basic advice, this post might be of use to you.

wds
Hi wds, thanks for reply, after server hang , we did saw IO dump, memory dump, network stats, server logs but everything was normal, and server was not logging anything to log file and also there were no exception in log, so we have no clue why server was hung. we are trying to create same kind of load on server and replicate the issue. thanks again for reference doc.
Ravi
A: 

I too facing the similar issue...

our application is deployed on jboos As 4.0x, we face some issues in jboss logging.. whenever the server is

restarted,

jboss stops logging , and there is no update in server.log. After that it is not updating the log file.

then we do touch cmd on log4j.xml, so that it creates the log files again.

Please help me in fixing the issue we cant do touch everytine.

we face this issue in both the nodes.

thanks, balaji

Balaji