RE: Driver class not found: net.sourceforge.jtds.jdbc.Driver

2018-08-17 Thread Farrenkopf, Sven
It works! Awesome! Thank you! A LOT!

Sven

From: Karl Wright [mailto:daddy...@gmail.com]
Sent: Thursday, August 16, 2018 7:39 PM
To: user@manifoldcf.apache.org
Subject: Re: Driver class not found: net.sourceforge.jtds.jdbc.Driver

Hi Sven,

When MCF is built, two entirely distinct versions of the examples are created 
-- a standard version, and a "proprietary" version.  The proprietary version 
does not in general include any proprietary jars and leaves connectors that 
depend on them disabled in the connectors.xml file.  The proprietary version is 
not included in the shipping binary.  If you want everything to automatically 
be put together for you and you rely on proprietary jars you will need to build 
yourself.

However, it's easy to add root-level proprietary jars to the non-proprietary 
binary.  The start options in the examples directories all include references 
to  root-level proprietary jars; you just have to add your JDBC driver to those 
options files and you should be good to go.

Karl




On Thu, Aug 16, 2018 at 11:36 AM Farrenkopf, Sven 
mailto:sven.farrenk...@dreso.com>> wrote:
Hi there,

I'm trying to get the JDBC-Connector to work with the provided example. Target 
database is MSSQL. The JDBC-Connector seems to be registered successfully.

But every time I configure the JDBC-Connector via web-interface, the 
connection-status shows "Threw exception: 'Driver class not found: 
net.sourceforge.jtds.jdbc.Driver'"

While several sources (including Manifold-Website) state that third party 
libraries are required to BUILD the connectors, I have downloaded the binary 
version and I thought there was no need to build anything there. (Am I wrong?)

So do I have to put a required jar-file within the folders somewhere? I tried 
several jtds-jars in several folders with no luck. I simply want to test an 
sql-connection with manifold within the example.

Sven


Re: Driver class not found: net.sourceforge.jtds.jdbc.Driver

2018-08-16 Thread Karl Wright
Hi Sven,

When MCF is built, two entirely distinct versions of the examples are
created -- a standard version, and a "proprietary" version.  The
proprietary version does not in general include any proprietary jars and
leaves connectors that depend on them disabled in the connectors.xml file.
The proprietary version is not included in the shipping binary.  If you
want everything to automatically be put together for you and you rely on
proprietary jars you will need to build yourself.

However, it's easy to add root-level proprietary jars to the
non-proprietary binary.  The start options in the examples directories all
include references to  root-level proprietary jars; you just have to add
your JDBC driver to those options files and you should be good to go.

Karl




On Thu, Aug 16, 2018 at 11:36 AM Farrenkopf, Sven 
wrote:

> Hi there,
>
>
>
> I'm trying to get the JDBC-Connector to work with the provided example.
> Target database is MSSQL. The JDBC-Connector seems to be registered
> successfully.
>
>
>
> But every time I configure the JDBC-Connector via web-interface, the
> connection-status shows "Threw exception: 'Driver class not found:
> net.sourceforge.jtds.jdbc.Driver'"
>
>
>
> While several sources (including Manifold-Website) state that third party
> libraries are required to BUILD the connectors, I have downloaded the
> binary version and I thought there was no need to build anything there. (Am
> I wrong?)
>
>
>
> So do I have to put a required jar-file within the folders somewhere? I
> tried several jtds-jars in several folders with no luck. I simply want to
> test an sql-connection with manifold within the example.
>
>
>
> Sven
>