Did you try providing an exploded war to warFile parameter of mvn plugin?

Using ROOT as final name can help too.

And to avoid copy create a pom project and provide a custom server.xml with
your context, it should do the trick.

About eclipse you got mvn issues i guess more than wtp ones, maybe m2e
extra was not installed?

- Romain
Le 8 juin 2012 07:33, "zeeman" <[email protected]> a écrit :

> Hi David,
>
> I simply followed different guides, ones from Tomee docs and stackoverflow.
> These guides tend to leave out some details and that's where I got stuck.
> For example, by default Eclipse Tomcat adapter works with a WebContent
> folder, but Maven expects web pages to be at src/main/webapp. It's a long
> story to find the exact cause and then do it in Eclipse. Also, my project
> runs in root context (/), but Tomcat Eclipse adapter does not seem to work
> well with this.
>
> Also, Tomcat Eclipse adapter does not copy web-inf/lib. It has to be
> configured manually.
>
> The part that took me the longest was to figure out how to get Hibernate to
> work with Tomee. With trial and error I got it to work. It'll be a good
> idea
> to release builds with Hibernate profile or have a guide on using that.
> Tomee docs is outdated (Hibernate 3.6 is old) and confuses more than it
> helps in this regard :)
>
> However, one part that made my work a little easier is the Tomee Maven
> plugin. One great addition would be to support exploded wars so there is no
> need to create a war.
>
> I have posted my migration issues to Tomee here
>
> http://openejb.979440.n4.nabble.com/JSF2-project-migrated-from-Jboss-AS7-to-Tomee-not-working-td4655453.html
>
> The quick and dirty fix was to remove some of the navigation rules that
> used
> to work on AS7. I got few things to work. But the app remains unusable for
> other issues mentioned in above link.
>
> I'm willing to work with you and Myfaces community to get issues resolved.
> I
> love Apache products and don't mind giving back to the community. There is
> a
> big project that needs to be released in a month. So far testing has been
> on
> AS7 and it's fine. However, management is a fan of open source and is open
> to release on Tomee.
>
> The backend (EJBs, JPA, CDI, etc...) works like a charm. So only UI issues
> remaining. I'm the architect on the project and if I show a working project
> most likely management will bless Tomee and you guys can put the company in
> "who uses Tomee" section. We can use my thread link above for details so we
> don't hijack this thread. I appreciate all the help.
>
> Zee
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Feedback-on-TomEE-1-0-0-tp4655483p4655502.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Reply via email to