is there a way to add a jar to the cf class path, ...
# docker-commandbox
c
is there a way to add a jar to the cf class path, not just the java one? trying to use the mssql jdbc driver and its not liking it in the java class path.
b
Not sure what you mean by "cf classspath" and "java classpath". Are you using a CommandBox-based docker image?
If so,
app.libDirs
in the
server.json
will add the jars into the same classloader that loads the CF engine.
Otherwise, you'd likely need to find the tomcat lib folder
c
it seems almost like some of it isn't quite right. i get this because i'm trying to use kerberos to auth. java.lang.NoClassDefFoundError: Could not initialize class com.microsoft.sqlserver.jdbc.KerbAuthentication.
i see the jar in the java class path, and the jar does have that class in it.
i think most of the jar is loading though. its just that one part