September 2011
Intermediate to advanced
528 pages
19h 57m
English
WebLogic Server allows you to use class caching to reduce the search time for classes and thus reduce the server startup time. You can use this only in development mode, however. The server uses an invisible file to store all class definitions and loads these definitions from the cache file each time you restart the server. The server invalidates the cache once you make any changes to the system class path.
In order to enable class caching, first set the CLASS_CACHE environment variable to true in the startWebLogic.cmd script:
set CLASS_CACHE=true if "%CLASS_CACHE%"=="true" ( echo Class caching enabled... set JAVA_OPTIONS=%JAVA_OPTIONS% -Dlaunch.main.class=%SERVER_CLASS% -Dlaunch.class.path="%CLASSPATH%" -Dlaunch.complete=weblogic.store.internal.LockManagerImpl ...
Read now
Unlock full access