In our company we are developing a new Java Framework based on J2EE. We're presencing a small development productivity when leading with Jboss 4.2, cause the server is to slow to startup ou to publish the web site.
Is there any basic configurations that we have to make in Jboss server to change this situation?
Thanks a lot.
Joined: Jul 01, 2008
Try to change the memory arguments in run.bat(Windows) or run.sh(Unix).
set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m
Xms is for Minimum and Xms is for maximum RAM usage by JBoss. you can change Minimum memory requirement from 128 MB to as supported by your system.
You do not have to restart the server when you make a change - you could instead just redeploy the app. Also, if you deploy the app using an exploded directory, then you could easily update only the changed files.
Originally posted by Javid Jamae: I've found that stripping out a lot of services that you might not use will really help with startup time. If you don't use things such as JMS, just remove the services and you'll see a big impact.
Or it's enough to use Tomcat + openJMS + other frameworks as required. am I correct?
I don't know much about JBoss. Does it have build in "spring/injection" framework inside?