Re: Question about data-sources defined directly in tomee.xml

Richard Zowalla <[email protected]>
Newsgroups gmane.comp.java.openejb.user
Message-ID <[email protected]>
How does your tomee.xml look like?

Am Dienstag, dem 15.08.2023 um 10:35 +0200 schrieb Stefaan Somers:
> 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.ht
> ml> -->
> <!-- 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>*
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEM587L3ISmryoHZbakep5VqLa2c4FAmTbOh8ACgkQkep5VqLa
2c6FaxAApUHm8RsjahopTsyZUldiw8X0Tr1adjDFtlKiGkawKge/DVDB9ksiA9uk
OP+vEabKV4qP1AYSkA4q2YMuoz2BeRPFicHLXVJuCMkOFk2tp2O7Ekycoc8tUBbv
iPgAm2LJ0ctCpb7KhwaQAPDUTkrIwq4VNI7V2CF/RGB2RAfb5z6I6QDYm0EtTY2t
TU68uD2ZY2kWvfYlI6nnVx8Jqr/ornx+gK57ohS6Rb+C89iKMqH0BcTvKfkLdZ1T
guUOU8+q/r+vJmMbTZWMb+C43F+FuvQIZ0VFax9GbSER/NGuISjQdqnIqx3Y28CR
5Ssjf340lM51X6tWMn1y70qqWfcxTx6YLfjOij4XKk+ZV4la+wgumFamgfUsc/we
JcFN8cOW2GHR2fkGuGg2EkiVzH+0GkDw1XYVhwve830wCnvJz/Hf0Doke2G0GZJ6
a5aLZHGh0M+tCww59PFrb3uhSnJW7+byLp82QSJC55+7fRxzzuWS3Iniz7T/ISuz
NCipHJkTpU96QP4crqXGaBLNBiyNceJj6drPqZApOIt3NLsKVPeKWezTMjP7uOcl
RhEyKS9Q1paAzitlU984MvgJMn2FXd/uClKpRHBb+zwkiAm53IIPIVU8yxcJMakQ
1DETSmPSgKoBsp4M2Fr67KaQbxwTrUEbrLO1ygaKOp51FK1sWLY=
=PSdP
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.