I've defined a data-source in the tomee.xml, and put the jar-file in the
lib folder of TomEE (see hereunder). Nevertheless I always get the
following message when starting the server :
14-Aug-2023 10:25:04.452 SEVERE [main]
org.apache.tomee.catalina.ServerListener.lifecycleEvent TomEE Listener
can't start OpenEJB
        org.apache.openejb.OpenEJBException:
org.apache.xbean.propertyeditor.PropertyEditorException: Unable to resolve
class "net.sourceforge.jtds.jdbc.Driver": Unable to resolve class
"net.sourceforge.jtds.jdbc.Driver"

Any idea what I am doing wrong?




















*<tomee>  <!--
see https://tomee.apache.org/latest/docs/admin/configuration/containers.html
<https://tomee.apache.org/latest/docs/admin/configuration/containers.html> -->
<!-- activate next line to be able to deploy applications in apps -->  <!--
<Deployments dir="apps" /> -->  <!-- jdbc_salesforceApp_base datasource
--><Resource id="jdbc_salesforceApp_base" type="DataSource">     JdbcDriver
= "net.sourceforge.jtds.jdbc.Driver"    JdbcUrl =
"jdbc:jtds:sqlserver://x.x.x./XXXXX;instanceName=MSSQLSERVER"    UserName =
"XXXX"    Password = "XXXXX"    JtaManaged = true    MaxActive = "100"
MinIdle = "10"    MaxWaitTime = "5"    ValidationQuery = "select
1"</Resource>*

Reply via email to