Hi Thilo,

and how in this case you configure your executable JAR?

Are you using maven profiles & that war file contains all configuration,
or you create "universal" binary and provide configuration at runtime via
system properties or external .properties file?

I know this should be pretty easy to code, just wondering if there's
anything ready that may be reused without reinventing the wheel.

On Tue, Jul 28, 2015 at 12:30 PM, Thilo Tanner <thilo.tan...@reprisk.com>
wrote:

> Hi Dmitry,
>
> Yes, we are running T5.4 apps in production by embedding Undertow (Servlet
> container from Wildfly). With Tapestry, such a setup is relatively easy to
> achieve:
>
> You create an application class that bootstraps the Tapestry filter in
> Undertow:
> http://undertow.io/undertow-docs/undertow-docs-1.2.0/index.html#creating-a-servlet-deployment
>
> Such a class will allow you to start your T5 app directly from a main
> method (great for development).
>
> For a deployment, you can use the two following Maven plugins to generate
> „executable WAR files“:
>
> maven-war-plugin
> Define the main class in the manifest file (pointing to your bootstrap
> class above)
>
> spring-boot-maven-plugin
> The plugin will repackage your WAR file to make it executable (by using
> java -jar myapp.war); WAR files per-se are not directly executable.
>
>
> If you’re interested in such a solution, I can post more details here.
>
> Best regards,
> Thilo
>
>
>
>
>
>
> Am 28.07.15 11:09 schrieb "Dmitry Gusev" unter <dmitry.gu...@gmail.com>:
>
> >Hello,
> >
> >Do you run tapestry apps in embedded container in production?
> >
> >If yes, how do you configure embedded container (ports, SSL, valves,
> etc.)?
> >
> >Maybe there's some tapestry integration that configures tomcat instance
> >using tapestry-ioc and symbols?
> >
> >--
> >Dmitry Gusev
> >
> >AnjLab Team
> >http://anjlab.com
>



-- 
Dmitry Gusev

AnjLab Team
http://anjlab.com

Reply via email to