Changing configuration values after the JVM is initialized

If the server is running and the JVM has been initialized, the configuration parameters are in memory. You can, in this situation, change the PCA/JVM plug-in configuration parameters without restarting Adaptive Server, however:

Otherwise, you must restart Adaptive Server.

Follow these steps:

  1. Use sp_jreconfig to change configuration values.

  2. Bring the engine running the JVM offline (in this example, engine number three):

    sp_engine "offline", 3
    
  3. Bring the engine running the JVM back online:

    sp_engine "online", 3 
    

Adaptive Server continues to run during this procedure, but Java is not available until you bring the engine running the JVM online. After you bring the engine online in step 3, the JVM is again in the uninitiated state—until it receives the first Java request.