IntelliJ open source
[Logo] JavaRanch » JavaRanch Saloon
  Search | FAQ | Recent Topics | Hot Topics
Register / Login


Reply Bookmark it! Watch this topic JavaRanch » Forums » Products » JBoss
 
RSS feed
 
New topic
Author

Garbage collection by the JBoss AS 5.1.0.GA

Mark E Hansen
Ranch Hand

Joined: Apr 01, 2009
Messages: 516

Welcome to Java Ranch Francesco!

With regard to your new book, do you cover any configuration of the garbage collection used by JBoss AS? I have problems, especially during testing, where multiple re-deployments of an application cause the application server to crash, requiring that I restart the server.

I've read that this is due to the fact that some web application component classes are placed in a special cache area that is not normally garbage collected.

Thanks,
Francesco Marchioni
author
Ranch Hand

Joined: Sep 22, 2003
Messages: 171

Mark E Hansen wrote:Welcome to Java Ranch Francesco!

With regard to your new book, do you cover any configuration of the garbage collection used by JBoss AS? I have problems, especially during testing, where multiple re-deployments of an application cause the application server to crash, requiring that I restart the server.

I've read that this is due to the fact that some web application component classes are placed in a special cache area that is not normally garbage collected.

Thanks,

Hi Mark. Well honestly the garbage collection is not covered in the book since it's a matter of JVM configuration. The book focuses on developing Java EE applications on JBoss. There are plenty of administration hints but still related to JBoss AS.
Not sure what you are talking about, maybe the Perm Gen space ? this typically increases in classes that load/unload classes dynamically. Hope I can help you in some other areas....
regards,
Francesco

JBoss AS 5 Development
MyJBossSite
Peter Johnson
author
Bartender

Joined: May 14, 2008
Messages: 2374

Not to steal Francesco's thunder (it's his book promotion week, after all), but JBoss in Action has an entire chapter on performance tuning, including heap tuning and sizing.

JBoss In Action
Francesco Marchioni
author
Ranch Hand

Joined: Sep 22, 2003
Messages: 171

Peter Johnson wrote:Not to steal Francesco's thunder (it's his book promotion week, after all), but JBoss in Action has an entire chapter on performance tuning, including heap tuning and sizing.

Yes it's true and it is a very well written chapter too. Just in case somebody would raise the question which book I can suggest for him/her, I'd say, using Amazon figures, they are "Frequentely bought together items"
regards
Francesco

This message was edited 1 time. Last update was at by Francesco Marchioni


JBoss AS 5 Development
MyJBossSite
Peter Johnson
author
Bartender

Joined: May 14, 2008
Messages: 2374

Yes, the two books are very complementary. Francesco's focuses on application development while JBoss in Action focuses on configuration. While there is some overlap, there are many unique things in each book.

JBoss In Action
Mark E Hansen
Ranch Hand

Joined: Apr 01, 2009
Messages: 516

Thanks to both of you. I love reading multiple books on a topic, as you get information from different perspectives, making it much more valuable. I already have Peter's book. Looks like I'll need to get Francesco's next!
 
 
 
Reply Bookmark it! Watch this topic JavaRanch » Forums » Products » JBoss
 
RSS feed
 
New topic
MyEclipse Enterprise Workbench

.