The question is: how are you *starting* the processes? and what process are you seeing the error from? You should *not* need to make any changes to the configuration if you put the jar file in place before building.
Karl On Wed, Feb 20, 2019 at 9:47 AM Bisonti Mario <[email protected]> wrote: > Thanks, Karl but I didn’t download manually the .jar files. > > > > I compiled MCF 2.12 and I found the jar in the lib-proprietary folder. > > > > I added in properties.xml the : > > > > <libdir path="../lib-proprietary"/> > > > > I tried to : > > initialize.sh the db but I have the same error. > > > > > > > > > > *Da:* Karl Wright <[email protected]> > *Inviato:* mercoledì 20 febbraio 2019 15:15 > *A:* [email protected] > *Oggetto:* Re: Threw exception: 'Driver class not found: > net.sourceforge.jtds.jdbc.Driver' > > > > Hi Mario, > > > > You can't just plop down a jar in a directory and have this work, because > ManifoldCF requires all JDBC drivers to be in the root classpath. They are > therefore built into the classpath, which should happen if you use the > startup scripts. Please review the "how-to-build-and-deploy" page. > > > > Karl > > > > > > On Wed, Feb 20, 2019 at 9:09 AM Bisonti Mario <[email protected]> > wrote: > > > > Hallo, I would like to use MSSQL as repository. > > > > I use /opt/manifoldcf/multiprocess-zk-example-proprietary/ so I added in > properties.xml > > . > > . > > <libdir path="../lib-proprietary"/> > > . > > > > My MCF 2.12 was compiled by me. > > In the folder: > /opt/manifoldcf/lib-proprietary I ave the files: > > jtds-1.2.4.jar > > mariadb-java-client-1.1.7.jar > > mysql-connector-java-5.1.33.jar > > jtds-1.2.4.jar > > > > My tomcat startup script points to: > > Environment='CATALINA_OPTS=-Xms512M -Xmx1024M -server -XX:+UseParallelGC > -Dorg.apache.manifoldcf.configfile=/opt/manifoldcf/multiprocess-zk-example-proprietary/properties.xml' > > > > I restarted all, but when I try to use a MSSQL repository I obtain: > > Threw exception: 'Driver class not found: net.sourceforge.jtds.jdbc.Driver' > > > > What could I check? > > Thanks a lot > > > > Mario > > > >
