Frage

I've been trying to get the following setup to work for the last few days:

  • Weblogic 12c application server
  • Microsoft SQL Server 2012 database
  • Java application

I keep running into the same problem:

java.sql.SQLException: [FMWGEN][SQLServer JDBC Driver]This driver is locked for use with embedded applications.

On the Oracle website, i found that Weblogic 12c supports SQL Server 2008 and up .. but I'm starting to have my doubts about this being true for SQL Server 2012 ..

Has anyone been able to get this configuration running and/or does anyone know if this is possible?

War es hilfreich?

Lösung

After 2 more days of searching, I found out that the correct amount of dependencies has to be added to the classpath:

    <dependency>
        <groupId>weblogic-server</groupId>
        <artifactId>wlsqlserver</artifactId>
        <version>12c</version>
    </dependency>

    <dependency>
        <groupId>weblogic-server</groupId>
        <artifactId>weblogic</artifactId>
        <version>12c</version>
    </dependency>

    <dependency>
        <groupId>weblogic-server</groupId>
        <artifactId>wlclient</artifactId>
        <version>12c</version>
    </dependency>
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top