Samples server database notes

JRun 4 ships with a restricted version of the PointBase Server DBMS, which is used in support of JRun sample applications. PointBase is installed into the jrun_root/pointbase directory, including documentation and other instructions on using both PointBase Server and PointBase Embedded. The version of PointBase that ships with JRun is intended for use with the samples server only and the size of each database is limited to 5MB. For complete information on PointBase, go to http://www.pointbase.com

The following table lists the PointBase databases and JRun data sources used by the samples JRun server:

Database JRun data source Usage
sample samples Programming techniques. Uses port 9192 by default.
compass compass Compass travel sample application. Uses port 9292 by default.
smarticket smarticket Smart Ticket J2ME blueprints application. Uses port 9392 by default.
worldmusic worldmusic WorldMusic application. Note that this application uses native JDBC access. Uses port 9692 by default.

JRun also includes the jms_private database, which illustrates how to use a DBMS as the data store for the JRun default JMS provider.

Starting the databases

The databases run using PointBase Server, each in its own JVM. (The samples JRun server does not use the PointBase Embedded version.) You can start the databases either automatically or manually, as follows:

Administering the databases

Once the databases are started, you can administer them through the PointBase Console, which you start using the console.bat batch file (Windows) or the console shell script (UNIX). The jrun_root/pointbase/docs directory contains documentation that explains how to use the PointBase Console. JRun also ships the commander.bat batch file (Windows) and the commander shell script for administering PointBase in text-only mode.

Troubleshooting

Copyright 2002 Macromedia, Inc.
All rights reserved. Macromedia, the Macromedia 
logo and JRun are trademarks or registered 
trademarks of Macromedia, Inc.