[opencms-dev] URGENT - Facing problem while installing OpenCms 9.0.1 with MS SQL Server 2014

Andreas Ernst ae at ae-online.de
Mon Oct 27 09:05:48 CET 2014


Am 27.10.14 um 05:14 schrieb Sharad Jain:
> Hi,
>
>
>
> I’ve got a problem with OpenCms and the MS SQL JDBC driver. I changed the
> opencms.properties file to use the Microsoft JDBC driver, but I still get
> an exception:
>
>
>
> Error while loading driver: [com.microsoft.jdbc.sqlserver.SQLServerDriver,
> com.microsoft.jdbc.sqlserver.SQLServerDriver]
>
>
>
> java.lang.ClassNotFoundException:
> [com/microsoft/jdbc/sqlserver/SQLServerDriver,
> com/microsoft/jdbc/sqlserver/SQLServerDriver]
>
> -------------------------------------------
>
> java.lang.NullPointerException
>
> -------------------------------------------
>
>
>
>
>
> I've tried a couple of different ways to get OpenCMS to find the Microsoft
> driver, e.g. placed the jar files in JAVA_HOME/jre/lib/ext/ directory and
> altered the environment variable CLASSPATH to include the jar files. I
> modified the Tomcat shortcut to include the classpath (-Djava.class.path),
> but nothing worked.
>
>
>
>
>
> Any suggestions?

The AppServer lib Path? i.e. /opt/glassfish4/glassfish/lib or Tomcat...

-- 
ae | Andreas Ernst | IT Spektrum
Postfach 5, 65612 Beselich
Schupbacher Str. 32, 65614 Beselich, Germany
Tel: +49-6484-91002 Fax: +49-6484-91003
ae at ae-online.de | www.ae-online.de
www.tachyon-online.de



More information about the opencms-dev mailing list