8 sysinfo
Use the sysinfo utility to display information about your java environment and Cloudscape (including version information).
java COM.cloudscape.tools.sysinfo
Example
D:>java COM.cloudscape.tools.sysinfo
------------------ Java Information ------------------
Java Version: 1.2.2
Java Vendor: Sun Microsystems Inc.
Java home: C:\Program Files\JavaSoft\JRE\jdk122
Java classpath: d:\cloudscape\cloudscape.jar;d:\cloudscape\tools.jar
OS name: Windows NT
OS architecture: x86
OS version: 4.0
Java user name: judyb
Java user home: C:\WINNT40\Profiles\judyb.000
Java user dir: F:\main\tests
---------------- Cloudscape Information --------------
[d:\cloudscape\cloudscape.jar] version 3.6.0 #9424
[d:\cloudscape\tools.jar] version 3.6.0 #9424
Weblogic detected
WebLogic Build: 4.5.0 07/29/1999 01:25:14 #49037
[License Type] Development. Valid.
----------------------------------------------------
----------------- Locale Information ----------------
Found support for locale: [German/Germany [de_DE]]
version: 3.6.0; build: 8805
Found support for locale: [Spanish/International [es]]
version: 3.6.0; build: 8805
Found support for locale: [Japanese/Japan [ja_JP]]
version: 3.6.0; build: 8805
----------------------------------------------------
D:>
When requesting help from Cloudscape technical support, include a copy of the information provided by sysinfo.
Using sysinfo to Check the Classpath
sysinfo provides an argument (-cp) which can be used to test the classpath for various environments (embedded, RMI Server, and so on).
java COM.cloudscape.tools.sysinfo -cp [ [ embedded | CloudconnectorServer | CloudconnectorClient | RmiServer | RmiClient ][ tools] [ sampleApp] [ sync] [ anyClass.class ] ]
If your environment is set up correctly, the utility shows output indicating success.
The following example shows sample output using sysinfo with the -cp argument.
D:>java COM.cloudscape.tools.sysinfo -cp
Testing for presence of all Cloudscape-related libraries; typically, only some are needed.
FOUND IN CLASS PATH:
Cloudscape primary library (cloudscape.jar or cloudsync.jar)
Valid Cloudscape license (Cloudscape primary library, or for
evaluation copies of the software only, license.jar)
Cloudscape Client libraries (client.jar)
RmiJdbc server and client libraries (RmiJdbc.jar)
Main Cloudconnector libraries (/classes)
Cloudconnector auxiliary libraries (weblogicaux.jar)
Cloudconnector license library (/license)
Cloudscape tools library (tools.jar)
Swing library (needed only for Cloudview; part of JDK 1.2;
in JDK 1.1, a separate library, swingall.jar)
Sample application library (/tours)
Correct primary library for creating synchronization source
or target databases (cloudsync.jar instead of
cloudscape.jar)
SUCCESS: All Cloudscape-Related classes found in class path.
D:>
You can provide optional arguments with -cp to test different environments. Optional arguments to -cp are:
- embedded
- CloudconnectorServer
- CloudconnectorClient
- RmiServer
- RmiClient
- tools
- sampleApp
- sync
- classname.class
If something is missing from your class path, the utility indicates what is missing. For example, if you neglected to include the directory containing the class named CloudscapeSimpleApp to your class path, the utility would indicate this when the following command line was issued (type all on one line):
D:>java COM.cloudscape.tools.sysinfo -cp embedded CloudscapeSimpleApp.class
Testing for presence of Cloudscape-related libraries for embedded environment.
FOUND IN CLASS PATH:
Cloudscape primary library (cloudscape.jar or cloudsync.jar)
Valid Cloudscape license
NOT FOUND IN CLASS PATH:
user-specified class (CloudscapeSimpleApp)
(CloudscapeSimpleApp not found.)
|