tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Driver location in an EAR file
Date Tue, 09 May 2017 07:02:35 GMT
Hi Violeta,

yes for ears intent was to put the descriptor in META-INF and the driver in
ear/lib. That said you can add Lazy=true to support wars.


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2017-05-08 23:04 GMT+02:00 Violeta Georgieva <violetagg@apache.org>:

> Hi,
>
> I have WAR archive that contains a driver, located in WEB-INF/lib and
> resources.xml, located in WEB-INF. The WAR file is packaged in an EAR file.
> When I deploy the EAR file I receive an exception that the driver cannot be
> located (ClassNotFoundException).
> Isn't it possible to provide a driver with my WAR archive?
> I'm using TomEE WebProfile 7.0.3.
>
> Thanks a lot,
> Violeta
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.
> n4.nabble.com/Driver-location-in-an-EAR-file-tp4681675.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message