I'm in the midst of migrating a J2EE + Hibernate application from Weblogic to JBoss3.2.1
It's a MDB + Session Bean opriented app. It only has 2-3 web users and there's a periodic batch process. During the batch process, we discourage users from logging in. The batch process consumes about 100MB of delimited text file and consume each line and placed in a JMS queues, etc.
Once migrated to production, it will run on a good CPU + 2 GB RAM. I'll set memory to -Xms512m -Xmx1024m. However, I was wondering can any one suggest some changes to my default settings of JBoss which are the following: -
Note: I use the default ConnectionFactory and defaulted to persist via Hypersonic. I intended to keep this setting.
...The above config works on my limited PC (1 GB RAM), but for production, if any of you could suggest some changes Or other than the above, would be great.
First of all, you should be using the latest production distribution ie 3.2.6
2) Don't use HSQL on production. It is by no mean a robust database. Use mainstream database servers such as MSSQL, Oracle or MySQL.
Otherwise your configuration looks good. At first glance, pretty overkill for the load expected but I don't know your app enough to have a definitive opinion.