Recently I started with developing a JBoss SEAM web application (auction site). So far I've come along great, but recently i ran into long loading times ( especially on the resources like javascripts/css files, but also the pages itself are slow ).
Is there a profiler for JBoss SEAM/AS where i can see what classes are in memory , etc?
What could be the reason the loading times are high on the CSS/JS/images files? Due developing reasons I haven't enabled the web-cache filters offered by seam yet. This are my VM arguments
-Drebel.log=true -noverify -javaagent:"C:\Program Files\ZeroTurnaround\JRebel\jrebel.jar" -Drebel.hibernate_plugin=true -Drebel.seam_plugin=true -Drebel.jboss_plugin=true -Drebel.allow_bytecode_proxy=true -Dprogram.name="JBoss 5.1 Runtime" -Djava.endorsed.dirs="C:\Java\jboss\as5.0\lib\endorsed" -Dproject.home="C:\Java\jboss\as5.0\server\default\deploy\botenveiling.war" -Xms1024m -Xmx1024m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=512m -Xverify:none
I did some tweaks (removed some of the default applications): http://www.jaysonjc.com/programming/how-to-configure-jboss-as-production-settings-and-tuning-tips.html
I am using WAR-explode to deploy my files to the server.
Setup:
- JBoss Application Server 5.1
- JBoss SEAM 2.2.2CR1
- JRebel
- PrimeFaces 1.1
System
- Intel Core 2 Duo E6550
- 4 GB of memory