Hi,

"it" meant the connector api

Hi level you have mainly 2 cases for rars (i ignore the webapp nested war
support here):

1. self contained and not used in another modules (ejb or web) -> you
register it in tomee.xml (in <Deployments> + config if needed) and that's it
2. you use it as a connector for another part of the app -> you have to
ensure the API is shared so you put the api in tomee/lib for instance
(shared between the connector and the other module at least) and deploy both

In the case of an ear, the connector libs should be shared by ejbmodules
and webmodules (
https://github.com/apache/tomee/blob/master/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/Assembler.java#L2666).
means in the 2 case you dont have to use tomee/lib. In other words, it
should work smoothly out of the box. The webapps are started after the
connectors and the ejb are started (for the @Startup ones) after the
connector resources are created too so it should be fine. Are you able to
push a reproducer on github with the tomee-maven-plugin configured?

In terms of logs, you should see that some resources related to the rar are
created.

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>


Le mar. 31 juil. 2018 à 13:25, ChrisOwens <[email protected]> a écrit :

>
> Let me ask what I hope is a simpler question, but 2 days of searching
> online
> lead me to believe that lots of people have this problem and there is no
> documented solution.
>
> 1) I have a RAR file that describes a JCA connector.
>
> 2) I would like to use it with TomEE.
>
> 3) What should I do?
>
>
>
>
>
> --
> Sent from:
> http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html
>

Reply via email to