public interface AdminConsole
To use the Admin Console, make sure you have followed the
full installation instructions
- double check that
you have the
correct GWT <inherits> as shown in those instructions. Then, launch your GWT project
from your IDE, and open a web browser to moduleBaseURL/tools/adminConsole.jsp. For
example, if you load your application by going to a URL that ends in
builtinds/builtinds.html, the correct URL for the Admin Console is
builtinds/tools/adminConsole.jsp.
If it's not clear what URL to use, you can add the following code to your onModuleLoad() method to create a button that opens the Admin Console:
IButton adminButton = new IButton("Admin Console"); adminButton.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { com.smartgwtee.tools.client.SCEE.openDataSourceConsole(); } }); adminButton.draw();NOTE: if you are using Pro Edition, the method to call is com.smartgwtpro.tools.client.SCPRO.openDataSourceConsole(), and for Power Edition, com.smartgwtpower.tools.client.SCPower.openDataSourceConsole().
The Admin Console UI comes with a number of tabs at the top, each representing a different tool, below you will find a description of what each tab/tool offers.
Database Configuration
On this tab you will be able to see any available JNDI connections. If you aren't using JNDI, you can use the GUI to enter and test JDBC settings. Both ConnectionManager and JDBC DataSource settings are supported. Once you've got a working connection, set it as the default connection using the "Set as Default" button.
Import DataSources
The database configuration tool allows you to configure database access for DataSources that
use Smart GWT's built-in SQL engine
.
See database configuration tool
for a more in
depth explaination
of this tool.
Server Logs
Just like in the Developer Console
this will allow
you to see the 500
most recent server side log entries.
SQL Browser
On this tab you will be able to browse your SQL databases and see the data in their tables.
Scheduler
With the scheduler tool you can view, trigger and paus any of your Quartz jobs.
Other Tools
Here you will find links to other useful tools which are not appropriate to put into a tab in the Admin Console.
ToolsDeployment