1

As I know multiple war is deployed on a server, so every time restarting server is not a good option.so I just do deploy that particular war which have any version updates. but after some days it throws heap space issues. and if I didn't do dodeploy and restart server while updating version. it does not throw heap space issue.

so I have doubt with it.

1)what does it do internally while do deploy war in jboss7?

2) is it not do garbage collection for all objects of previous war?

3) is there any extra settings required to work perfect while do deploying?

this question may be very silly..but It is very serious issue for me on production server.

Thanks In Advance.

NFE
  • 1,147
  • 1
  • 9
  • 22

1 Answers1

1

OOME's triggered by redeploying WAR files is a classic symptom of a classloader leak:

  • There are apparently classloader leaks in JBoss 7.

  • There are things that your code is doing that could result in a classloader leak.

Unfortunately, these leaks can be difficult to track down and cure, and it is often more practical to shutdown and restart the container.

References:

Community
  • 1
  • 1
Stephen C
  • 698,415
  • 94
  • 811
  • 1,216
  • thanks this links help me a lot :) and also I found jboss stopped in between execution of queries of program..so I have to do `ctrl+c` once and the application will execute further queries..do you have any idea about it? I am using mostly criteria of hibernate in business logic. – NFE Apr 22 '13 at 12:56
  • Sorry. No idea about that. Ask it as a new Question ... and make sure you provide all relevant details. – Stephen C Apr 22 '13 at 13:05