Hi

basically in tomee.xml (conf folder) check you have a line
like <Deployments dir="apps" />

then create a apps/ folder (same level as webapps)

you can put the jar inside normally.

Note: if the sample has dependencies you need to add them in common.loader.
You can also create a war from it simply creating a webapps/foo/WEB-INF/lib
and putting the jar and its dependencies in this lib folder.

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/10/23 Supun Malinga <[email protected]>

> Hi,
>
> I'm trying to test out the Tomee samples to learn. I built the samples and
> saw they have junit test case that runs the sample then and there at the
> test case. But I'm trying to deploy the samples in standalone
> Tomee(/Tomee++).
>
> When I built the samples most of them give .jar files. What's the way I can
> deploy these?. Appreciate if someone can help with the steps. I did check
> the documentation and mail archives but couldn't find anything useful..
>
> thanks,
> Supun Malinga
>

Reply via email to