-
1. Re: Single instance hosts several apps
peterj Aug 27, 2008 1:12 PM (in response to acastanheira2001)What kind of performance analysis have you done so far?
-
2. Re: Single instance hosts several apps
acastanheira2001 Aug 27, 2008 1:29 PM (in response to acastanheira2001)We have an external partner (siteseeing) that conects one especific app every minute, and reports the times to us.
-
3. Re: Single instance hosts several apps
peterj Aug 27, 2008 2:36 PM (in response to acastanheira2001)By "performance analysis" I mean what have you done so far to determine where the bottleneck exists in the system? What system statistics have you monitored (CPU usage, thread counts, and so on)? Have you monitored garbage collection statistics? What application statistics have you monitored (for every servlet, EJB, and so on JBossAS provides an MBean that provides information such as number of calls, total/min/max response time)? Do the apps use a database and if so what database tools have you employed to ascertain the performance of the database?
-
4. Re: Single instance hosts several apps
acastanheira2001 Aug 28, 2008 4:31 PM (in response to acastanheira2001)Peter,
You wrote: "...JBossAS provides an MBean that provides information such as number of calls, total/min/max response time)...."
How can I reach this MBean?
Thanks, -
5. Re: Single instance hosts several apps
peterj Aug 28, 2008 7:05 PM (in response to acastanheira2001)You can use the JMX Console to view all of the MBeans (http://localhost:8080/jmx-console).
For a servlet XXX in xxx.war, packaged in xxx.ear, look at the "stats" attribute for MBean:
jboss.management.local:J2EEApplication=xxx.ear,J2EEServer=Local,WebModule=xxx.war,j2eeType=Servlet,name=XXX
(if the WAR is not in an EAR, then "xxx.ear" will be "null")
For an EJB3 entity bean named YYY in xxx.jar, look for the invokeStats attribute of the MBean:
jboss.j2ee:jar=xxx.jar,name=YYY,service=EJB3