The Administrative Console

The Administrative Console

The Administrative Console provides control, monitoring and diagnostic functions for a running Weaver application.

The console presents both static and dynamic information.

The static information includes details of:

  • The version of the Weaver platform running
  • The Java version used to build Weaver
  • The applications running in the Weaver instance
  • Details of the Jar files being used by the application
  • Configuration information

The dynamic information includes details of:

  • Errors raised by the running applications
  • Statistics
  • The running JVM

In addition the console allows logging settings to be modified, and provides a file browser to locate and retrieve any of the files deployed in your application e.g. log files.

Accessing the Weaver Console

For an application that appears at the url:

http://www.myhost.com/myapp/

Its administrative console may be accessed at:

http://www.myhost.com/myapp/admin/

By default the administrative user has the following credentials:

Usernameadmin
Passwordadmin
The view component of the Weaver Console is built using JSPs. The first time you visit any given page after deployment will be significantly slower than subsequent access; as the first visit will cause the page to be compiled.

Console Functions

This section describes each of the functions of the console in turn.

System Info

Provides access to various pieces of system information.

Weaver

Lists details of the version of Weaver running and of the Java platform and operation system on which it was built.

Stats and Errors

Shows statistics collected from the running application and details of any errors that have occurred.

Statistics include:

  • Date and time the application was started.
  • Number of requests processed since startup.
  • Maximum number of concurrent sessions that have existed.
  • Details of each currently active session (remote host, start time etc.)

Any errors detected are classified as follows:

  • Client Errors - WeaverClientExceptions thrown from Weaver Beans.
  • Weaver Errors - WeaverExceptions thrown by the Weaver kernel itself.
  • System Errors - Other exceptions.

For each of the above the number of errors are listed as are details of the most recent occurrences including the error message and the associated stack trace.

JVM

Shows information concerning the running application including the amount of free memory, the memory currently in use and the upper bound of memory that is available.

Java finalizers may be fired and garbage collection may be triggered by hand from this page.

Properties of the running JVM are listed.

Jars

Provides details of the Jar files being used by the application.

Settings

Provides access to application settings and in some cases allows their dynamic modification.

Application Config

Configuration read from the application configuration file WEB-INF/application/conf/application.properties.

Per-Servlet Config

Configuration read from the per-servlet configuration file WEB-INF/[servlet-name]/conf/servlet.properties.

Password

Allows the administrative username and password to be modified.

Logging

Shows the current logging settings and allows their modification.

File Browser

Allows the browsing and retrieval of all files under the servlet context. This is particularly useful for inspecting log files.

Log Out

Logs out the administrative user.

Help

Provides access to help information.