[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Any resource control in JBoss 5.1.0?

PeterJ do-not-reply at jboss.com
Fri Jul 17 10:38:51 EDT 2009


1) Not possible - the heap is shared by all deployed apps and yes one app can hog all of the space (if it has a memory leak, for example)

2) Not possible - all threads will have the same size. This is a JVM-wide setting

3) You can do this by defining different datasources for each app. Of course, if all of those datasource use the same database then you must ensure that no data is cached or you will run into issues. (For example, Hibernate/JPA cache data by default because they assume they are the only users of the database.)

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4244352#4244352

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4244352



More information about the jboss-user mailing list