Can you paste your full deployment output into a gist or similar? I'm happy
to have a go an example towards the end of the week.

Jon

On Wed, Dec 12, 2018 at 3:52 PM Matthew Broadhead
<[email protected]> wrote:

> i fixed the first error.  i had put
> <lib>unzip:org.keycloak:keycloak-tomcat8-adapter:${keycloak.version}:zip</lib>
>
>
> which should have been
> <lib>unzip:org.keycloak:keycloak-tomcat8-adapter-dist:${keycloak.version}:zip</lib>
>
>
>
> yes my project structure is the same as your outline
>
> now it seems there is a problem with ejb injection ?  there are loads of
> these.
>
> 12-Dec-2018 16:41:28.478 SEVERE [main]
> org.apache.openejb.assembler.classic.Assembler.destroyApplication
> undeployException original cause
>   java.lang.Exception: deployment not found: WebApp_ID.Comp1798685061
>      at
>
> org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:2327)
>      at
>
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:1092)
>      at
>
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:757)
>
> 12-Dec-2018 16:41:28.478 SEVERE [main]
> org.apache.openejb.assembler.classic.Assembler.destroyApplication
> undeployException original cause
>   java.lang.Exception: deployment not found: BillTimer
>      at
>
> org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:2327)
>      at
>
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:1092)
>      at
>
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:757)
>      at
>
> org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:635)
>
> if you don't know off the top of your head don't worry.  i will stick
> with war deployment for now.  not sure how long it would take to put an
> example together.  might be nice to have an example project
> demonstrating ear somewhere in git repo
>
> On 12/12/2018 11:49, Jonathan Gallimore wrote:
> > Let us know how you get on with the Maven plugin. If that doesn't work,
> > resolving any issues there would be amazing. The WTP code is here:
> >
> https://svn.apache.org/repos/asf/tomee/openejb-eclipse-plugin/trunk/plugins/org.apache.openejb.wtp.server/
> > - it is super old, but I'd love an excuse to revive it :)
> >
> > On Wed, Dec 12, 2018 at 10:42 AM Matthew Broadhead
> > <[email protected]>  wrote:
> >
> >> i am trying to get the EAR running using tomee-maven-plugin first so if
> >> i see some success with that i will come back to you.  out of interest
> >> is the extension available to look at somewhere?
> >>
> >> On 12/12/2018 11:19, Jonathan Gallimore wrote:
> >>> Are you trying to do it directly in Eclipse? We do have an extension to
> >> WTP
> >>> that does enable that, but it hasn't been updated for a while. I'd be
> >> happy
> >>> to try and contribute that to Eclipse itself if that's what you're
> >> looking
> >>> for.
> >>>
> >>> Jon
> >>>
> >>> On Wed, Dec 12, 2018 at 10:15 AM Matthew Broadhead
> >>> <[email protected]>  wrote:
> >>>
> >>>> i created a maven sub module of type ear and added my jar and war
> files
> >>>> successfully using
> >>>>
> >>
> https://maven.apache.org/plugins/maven-ear-plugin/examples/skinny-wars.html
> >>>> and
> >>>>
> >>>>
> >>
> https://maven.apache.org/plugins/maven-ear-plugin/examples/eclipse-and-maven-integration.html
> >> .
> >>>> but i cannot seem to deploy the ear to a TomEE server.  is any way to
> do
> >>>> this currently?
> >>>>
> >>>> i uncommented Deployments as in
> >>>>
> >>
> http://tomee-openejb.979440.n4.nabble.com/Ear-file-deploy-td4673119.html
>
>

Reply via email to