making web application programming easier is possible

Administration console

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 and admin_password 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:
  1. view the classes under update and force an update
  2. view the status of the connection pools
  3. execute a sql command
  4. view the database structure
  5. monitor the classes in scheduling
  6. monitor the probes
  7. view the log messages in real time
  8. view the files on the disk

All the client files (jsps, images, javascript, ecc.) of the administration console are under the directory status 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

Note: there is a webapp example where the versions 1.x and 2.x of Struts co-exist. This webapp was necessary before the version 1.0.9 of the jfw-core since the administration console was only Struts 1.x compliant. From the version 1.0.9 there are separate jsps and actions for the two versions of Struts so this webapp exist only as an example.