Setting the NOTES.INI parameter JavaUserClasses allows for a class to be loaded via the Java Virtual Machine (JVM) system loader. Classes loaded in this fashion achieve three purposes:
- They allow you to load servlets when the JVM starts
- They allow classes to be shared amongst different agents and applets
- They allow you to get around a security restriction in the agent class loader that prevents classes with native methods and some resource files (i.e., *.afm files) from loading
Paths that contain spaces are not accepted, for example, instead of JavaUserClasses=C:\program files\..., use JavaUserClasses=C:\progra~1\...
This parameter is limited to 255 characters in certain Domino releases.
The location of a servlet can also be specify in the Server document under Internet Protocols / Domino Web Engine / Java Servlets
Path values for the JavaUserClasses parameter cannot contain spaces. You should put the JAR files in a path that can be referenced without a space. Use JavaUserClasses sparingly, and use smaller path names when possible.
Use the Server document, when possible, to specify the location of servlets. References:
JavaUserClasses NOTES.INI Parameter Does Not Accept Paths with Spaces
Technote 1159321JavaUserClasses line in Notes.ini is limited to 255 characters in certain Domino releases
http://www.ibm.com/support/docview.wss?uid=swg21159321 Domino Configuration Tuner:
This setting is included in the DCT
catalog of best practices.