Superseded: Session-Specific Classpaths (SSCPs) Before BBj 19.10
This page contains superseded information about Session-Specific Classpaths before BBj 19.10. For full information on SSCPs, including the ClassLoader updates of 19.10, see Session-Specific Classpath (SSCP).
Pre-19.10: SSCP and the BBjServices Classpath
Classes that are found in JARs on an SSCP will override classes that are found in the other JARs on the BBjServices classpath, including those indexed with ExtIndex.jar but not those indexed with BBjIndex.jar. This means that if a class found in a JAR on the SSCP has the same class name as a class found in a non-required JAR that is on the BBjServices classpath, then BBj will use the class from the SSCP.
NOTE:
Some third party JARs used by BBj cannot be overridden in a session-specific classpath. These jars are indexed with BBjIndex.jar.
Pre-19.10: Identifying JARs/Classes that are not overridable with SSCP
The classes in the JARs indexed by BBjIndex.jar are not overridable with SSCP. To see a list of these jars and the packages they contain, extract the META-INF/INDEX.LIST from the BBjIndex.jar. The following command can be used to extract this file:
> jar xf ${BBjHome}/lib/BBjIndex.jar META-INF/INDEX.LIST
After running the command, the extracted META-INF/INDEX.LIST has entries that look like this:
BasisCharsetProvider.jar
META-INF
META-INF/services
com
com/basis
com/basis/util
Each JAR listed is followed by the packages contained within that JAR. To see more details on the classes in the JAR, use the following command:
> jar tf ${BBjHome}/lib/BasisCharsetProvider.jar
META-INF/MANIFEST.MF
META-INF/
com/
com/basis/
com/basis/util/
com/basis/util/BasisCharsetProvider$BasisCharset.class
com/basis/util/BasisCharsetProvider$BasisCharsetDecoder.class
com/basis/util/BasisCharsetProvider$BasisCharsetEncoder.class
com/basis/util/BasisCharsetProvider.class
META-INF/services/
META-INF/services/java.nio.charset.spi.CharsetProvider
META-INF/BASIS.KEY
This command lists all the classes included in the JAR.