Setting the CLASSPATH environment variable  Memory requirements for running the Java-based XQL processor inside Adaptive Server

Appendix D: The Java-Based XQL Processor

Installing the Java-based XQL processor in Adaptive Server

This section assumes you have already enabled Java in Adaptive Server. For information on enabling Java, see Java in Adaptive Server® Enterprise.

installjava copies a JAR file into Adaptive Server and makes the Java classes in that JAR file available for use in the current database. The syntax is:

installjava 
 -f file_name
 [-new | -update ]
 ...

Where:

For more information about installjava, see the Utility Guide.

To add support for XML in Adaptive Server, you must install the xml.zip and xerces.jar files. These files are located in the directories $SYBASE/_SYBASE_ASE/lib/xml.zip and $SYBASE/_SYBASE_ASE./lib/xerxes.jar

For example, to install xml.zip, enter:

installjava -Usa -P -Sserver_name -f $SYBASE/_SYBASE_ASE/lib/xml.zip

To install xerces.jar, enter:

installjava -Usa -P -Sserver_name -f $SYBASE/_SYBASE_ASE/lib/xerces.jar

NoteTo install xerces.jar in a database, you must increase the size of tempdb by 10MB.





Copyright © 2005. Sybase Inc. All rights reserved. Memory requirements for running the Java-based XQL processor inside Adaptive Server

View this book as PDF