If Adaptive Server is running and you have initialized the JVM, the configuration parameters are in memory, and you can change the PCA/JVM plug-in configuration parameters.
The steps you follow for changing the JVM configuration values depend on whether Adaptive Server is configured for threaded or process mode.
Threaded mode –
Use sp_jreconfig to change configuration values.
Restart Adaptive Server.
After Adaptive Server restarts, the JVM is in an uninitiated state until it receives its first Java request.
Process mode –
Use sp_jreconfig to change configuration values.
Bring the engine running the JVM offline (in this example, engine number three):
sp_engine "offline", 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, the JVM is again in the uninitiated state until it receives the first Java request.