Monitoring Jboss

iam currently undergone a project titled as "Monitoring Jboss Application server", i had already devoloped a web application to monitor jboss in remote systems.my application deploy a war file in remote systems and
monitor dynamically changing values in jboss such as FreeMemory,ActiveThreads and Classes Loaded. and Display in the form of graphs and charts. here iam using jfreechart to create graphs. now i hav some issues. They are