Home | Previous Page | Next Page   Preparing for Java Support > Configuring Java Support >

Creating an sbspace

The database server stores Java JAR files as smart large objects in the system default sbspace. If you do not already have a default sbspace, you must create one. For example, the following command creates an sbspace called mysbspace:

onspaces -c -S mysbspace -g 5 -p /dev/raw_dev1 -o 500 -s 20000 -m /dev/raw_dev2 500 

For information about the onspaces command, refer to the IBM Informix: Administrator's Reference.

After you create the sbspace, set the SBSPACENAME configuration parameter in the ONCONFIG file to the name that you gave to the sbspace (mysbspace in the preceding example).

JAR files coexist in the system default sbspace with other smart large objects that you store in that space. When you choose the size for your default sbspace, you need to consider how much space those objects require, as well as the number and size of the JAR files that you plan to install.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]