You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by jieryn <ji...@gmail.com> on 2013/10/26 15:25:31 UTC

Apache TomEE Maven Plugin - broken config parameter

Greetings, I'm using Apache TomEE 1.6.0-SNAPSHOT machinery. The
tomee-maven-plugin does not respect the configuration option named
'config'. If I write a custom server.xml and drop it into the
parameter directory, TomEE still uses its own internal server.xml and
ignores my overrides.

You can see an example of this here:
https://github.com/jieryn/multiple-contexts-example

Run mvn install from root module, then tomee:start from the tomee
module. If tomee/src/main/tomee/conf/server.xml is respected, TomEE
will run on 9xxx instead of 8xxx port number scheme. I can even break
the server.xml itself by putting junk in it and make it non-parseable
xml, but TomEE doesn't use it and startup erroneously works just fine.

Any work around?

Re: Apache TomEE Maven Plugin - broken config parameter

Posted by jieryn <ji...@gmail.com>.
Greetings,

On Sat, Oct 26, 2013 at 10:24 AM, Romain Manni-Bucau
<rm...@gmail.com> wrote:
> Looks keepServerXmlAsThis http://tomee.apache.org/tomee-maven-plugin.html

Looks like a camel-case typo, the property is keepServerXmlAsthis,
with a lower case t. When I set this property it behaves more as I
would expect.

Re: Apache TomEE Maven Plugin - broken config parameter

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi

Looks keepServerXmlAsThis http://tomee.apache.org/tomee-maven-plugin.html
Le 26 oct. 2013 15:26, "jieryn" <ji...@gmail.com> a écrit :

> Greetings, I'm using Apache TomEE 1.6.0-SNAPSHOT machinery. The
> tomee-maven-plugin does not respect the configuration option named
> 'config'. If I write a custom server.xml and drop it into the
> parameter directory, TomEE still uses its own internal server.xml and
> ignores my overrides.
>
> You can see an example of this here:
> https://github.com/jieryn/multiple-contexts-example
>
> Run mvn install from root module, then tomee:start from the tomee
> module. If tomee/src/main/tomee/conf/server.xml is respected, TomEE
> will run on 9xxx instead of 8xxx port number scheme. I can even break
> the server.xml itself by putting junk in it and make it non-parseable
> xml, but TomEE doesn't use it and startup erroneously works just fine.
>
> Any work around?
>