Need Confirmation On Adding Third Party Jars In JLIB Directory
Last updated on JUNE 16, 2017
Applies to:Oracle Communications ASAP - Version 7.2.0 and later
Information in this document applies to any platform.
Some of our ASAP code relies on third party libraries. With one of our cartridges, we found that dom4j and jaxen were not being found, thus causing ASAP to abort with an exception. This has been fixed by copying both libraries into ASAP’s JLIB directory where they are correctly utilized as this directory is in ASAP’s CLASSPATH.
Is this the correct way to go as a permanent solution, or is there a better way. Such as a customizable CLASSPATH , where we can store these libraries and add that path to the CLASSPATH?
Otherwise, we still feel a little uneasy about just dropping in third party libraries into the main ASAP Java library directory. We are wondering if we should create another directory just for these third party libraries and modifying the CLASSPATH to include this directory too, purely to avoid corrupting the default library.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms