The administration console offers some tools for monitoring the application.
To start using
the console you have to call the action statusMenu.do in your web
application, for example you have to use an url like this: http://localhost:8084/jfw/statusMenu.do .
First you have to login:
The username and password to use are the values of the parameters admin_user
set in jfw.properties
On successful login, you will see the home page:
As you can see in the previous image, it is possible to:
- view the classes under update and force an update
- view the status of the connection pools
- execute a sql command
- view the database structure
- monitor the classes in scheduling
- monitor the probes
- view the log messages in real time
- view the files on the disk
in the webapp.
If you want to upgrade an installed webapp you have to substitute the status
directory with the
one found in a new webapp distribution
. Remember to update also the jar
file of the core and the config file of tiles. If you use Struts 1.x you have to also update the administration console sector of the struts-config.xml
: there is a webapp example where the versions 1.x and 2.x of Struts co-exist. This webapp was necessary before the version
of the jfw-core
since the administration console was only Struts 1.x compliant. From the version
there are separate jsps and actions for the two versions of Struts so this webapp exist only as an example.