Discussion:
Embedded TomEE 7.0.4 and Arquillian and TLS
f***@rohde-schwarz.com
2018-06-18 12:54:56 UTC
Permalink
Hi,



I am migrating to TomEE 7.0.4 and our old TLS config in arquillian.xml is not
working any longer, the property



property name="keystoreFile"



seems to be ignored completely now, and ~/.keystore used instead. What is the
replacement? Where do I find documentation on arquillian.xml which is up to
date for the TomEE embedded driver?



Thanks in advance and best

Fabian
Romain Manni-Bucau
2018-06-18 13:29:56 UTC
Permalink
Hi Fabian,

there is a bug for keystorefile, the property name is empty (
https://github.com/apache/tomee/blob/fb_tomee8/tomee/tomee-embedded/src/main/java/org/apache/tomee/embedded/Container.java#L632),
feel free to submit a PR fixing that

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>
Post by f***@rohde-schwarz.com
Hi,
I am migrating to TomEE 7.0.4 and our old TLS config in arquillian.xml is
not working any longer, the property
property name="keystoreFile"
seems to be ignored completely now, and ~/.keystore used instead. What is
the replacement? Where do I find documentation on arquillian.xml which is
up to date for the TomEE embedded driver?
Thanks in advance and best
Fabian
Gurkan Erdogdu
2018-06-18 13:37:13 UTC
Permalink
Hello
I created the issue https://issues.apache.org/jira/browse/TOMEE-2196
Best
Gurkan
Post by Romain Manni-Bucau
Hi Fabian,
there is a bug for keystorefile, the property name is empty (
https://github.com/apache/tomee/blob/fb_tomee8/tomee/
tomee-embedded/src/main/java/org/apache/tomee/embedded/Container.java#L632
),
feel free to submit a PR fixing that
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/
rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-
ee-8-high-performance>
Post by f***@rohde-schwarz.com
Hi,
I am migrating to TomEE 7.0.4 and our old TLS config in arquillian.xml is
not working any longer, the property
property name="keystoreFile"
seems to be ignored completely now, and ~/.keystore used instead. What is
the replacement? Where do I find documentation on arquillian.xml which is
up to date for the TomEE embedded driver?
Thanks in advance and best
Fabian
Gurkan Erdogdu
2018-06-18 13:39:35 UTC
Permalink
Also added patch :)
Post by Gurkan Erdogdu
Hello
I created the issue https://issues.apache.org/jira/browse/TOMEE-2196
Best
Gurkan
Post by Romain Manni-Bucau
Hi Fabian,
there is a bug for keystorefile, the property name is empty (
https://github.com/apache/tomee/blob/fb_tomee8/tomee/tomee-
embedded/src/main/java/org/apache/tomee/embedded/Container.java#L632),
feel free to submit a PR fixing that
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <
https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-
high-performance>
Post by f***@rohde-schwarz.com
Hi,
I am migrating to TomEE 7.0.4 and our old TLS config in arquillian.xml
is
Post by f***@rohde-schwarz.com
not working any longer, the property
property name="keystoreFile"
seems to be ignored completely now, and ~/.keystore used instead. What
is
Post by f***@rohde-schwarz.com
the replacement? Where do I find documentation on arquillian.xml which
is
Post by f***@rohde-schwarz.com
up to date for the TomEE embedded driver?
Thanks in advance and best
Fabian
Romain Manni-Bucau
2018-06-18 13:45:40 UTC
Permalink
Misses a test (but looks good) and surely something to fix in
https://github.com/apache/tomee/blob/master/tomee/tomee-embedded/src/test/java/org/apache/tomee/embedded/SslTomEETest.java
since it should have tested it

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>
Post by Gurkan Erdogdu
Also added patch :)
Post by Gurkan Erdogdu
Hello
I created the issue https://issues.apache.org/jira/browse/TOMEE-2196
Best
Gurkan
On Mon, Jun 18, 2018 at 4:29 PM, Romain Manni-Bucau <
Post by Romain Manni-Bucau
Hi Fabian,
there is a bug for keystorefile, the property name is empty (
https://github.com/apache/tomee/blob/fb_tomee8/tomee/tomee-
embedded/src/main/java/org/apache/tomee/embedded/Container.java#L632),
feel free to submit a PR fixing that
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <
https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-
high-performance>
Post by f***@rohde-schwarz.com
Hi,
I am migrating to TomEE 7.0.4 and our old TLS config in arquillian.xml
is
Post by f***@rohde-schwarz.com
not working any longer, the property
property name="keystoreFile"
seems to be ignored completely now, and ~/.keystore used instead. What
is
Post by f***@rohde-schwarz.com
the replacement? Where do I find documentation on arquillian.xml which
is
Post by f***@rohde-schwarz.com
up to date for the TomEE embedded driver?
Thanks in advance and best
Fabian
Gurkan Erdogdu
2018-06-18 14:02:47 UTC
Permalink
Also added test patch.
Post by Romain Manni-Bucau
Misses a test (but looks good) and surely something to fix in
https://github.com/apache/tomee/blob/master/tomee/tomee-
embedded/src/test/java/org/apache/tomee/embedded/SslTomEETest.java
since it should have tested it
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/
rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-
ee-8-high-performance>
Post by Gurkan Erdogdu
Also added patch :)
Post by Gurkan Erdogdu
Hello
I created the issue https://issues.apache.org/jira/browse/TOMEE-2196
Best
Gurkan
On Mon, Jun 18, 2018 at 4:29 PM, Romain Manni-Bucau <
Post by Romain Manni-Bucau
Hi Fabian,
there is a bug for keystorefile, the property name is empty (
https://github.com/apache/tomee/blob/fb_tomee8/tomee/tomee-
embedded/src/main/java/org/apache/tomee/embedded/
Container.java#L632),
Post by Gurkan Erdogdu
Post by Gurkan Erdogdu
Post by Romain Manni-Bucau
feel free to submit a PR fixing that
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <
https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-
high-performance>
Post by f***@rohde-schwarz.com
Hi,
I am migrating to TomEE 7.0.4 and our old TLS config in
arquillian.xml
Post by Gurkan Erdogdu
Post by Gurkan Erdogdu
Post by Romain Manni-Bucau
is
Post by f***@rohde-schwarz.com
not working any longer, the property
property name="keystoreFile"
seems to be ignored completely now, and ~/.keystore used instead.
What
Post by Gurkan Erdogdu
Post by Gurkan Erdogdu
Post by Romain Manni-Bucau
is
Post by f***@rohde-schwarz.com
the replacement? Where do I find documentation on arquillian.xml
which
Post by Gurkan Erdogdu
Post by Gurkan Erdogdu
Post by Romain Manni-Bucau
is
Post by f***@rohde-schwarz.com
up to date for the TomEE embedded driver?
Thanks in advance and best
Fabian
Romain Manni-Bucau
2018-06-18 14:35:22 UTC
Permalink
Looks good to me (if anyone wants to apply it otherwise I'll do it end of
the week)

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>
Post by Gurkan Erdogdu
Also added test patch.
Post by Romain Manni-Bucau
Misses a test (but looks good) and surely something to fix in
https://github.com/apache/tomee/blob/master/tomee/tomee-
embedded/src/test/java/org/apache/tomee/embedded/SslTomEETest.java
since it should have tested it
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/
rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-
ee-8-high-performance>
Post by Gurkan Erdogdu
Also added patch :)
Post by Gurkan Erdogdu
Hello
I created the issue https://issues.apache.org/jira/browse/TOMEE-2196
Best
Gurkan
On Mon, Jun 18, 2018 at 4:29 PM, Romain Manni-Bucau <
Post by Romain Manni-Bucau
Hi Fabian,
there is a bug for keystorefile, the property name is empty (
https://github.com/apache/tomee/blob/fb_tomee8/tomee/tomee-
embedded/src/main/java/org/apache/tomee/embedded/
Container.java#L632),
Post by Gurkan Erdogdu
Post by Gurkan Erdogdu
Post by Romain Manni-Bucau
feel free to submit a PR fixing that
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <
https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-
high-performance>
a
Post by Romain Manni-Bucau
Post by Gurkan Erdogdu
Post by Gurkan Erdogdu
Post by Romain Manni-Bucau
Post by f***@rohde-schwarz.com
Hi,
I am migrating to TomEE 7.0.4 and our old TLS config in
arquillian.xml
Post by Gurkan Erdogdu
Post by Gurkan Erdogdu
Post by Romain Manni-Bucau
is
Post by f***@rohde-schwarz.com
not working any longer, the property
property name="keystoreFile"
seems to be ignored completely now, and ~/.keystore used instead.
What
Post by Gurkan Erdogdu
Post by Gurkan Erdogdu
Post by Romain Manni-Bucau
is
Post by f***@rohde-schwarz.com
the replacement? Where do I find documentation on arquillian.xml
which
Post by Gurkan Erdogdu
Post by Gurkan Erdogdu
Post by Romain Manni-Bucau
is
Post by f***@rohde-schwarz.com
up to date for the TomEE embedded driver?
Thanks in advance and best
Fabian
Mark Struberg
2018-06-18 14:38:51 UTC
Permalink
will apply.
LieGrue,strub

On Monday, 18 June 2018, 16:35:44 CEST, Romain Manni-Bucau <***@gmail.com> wrote:

Looks good to me (if anyone wants to apply it otherwise I'll do it end of
the week)

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>
Post by Gurkan Erdogdu
Also added test patch.
Post by Romain Manni-Bucau
Misses a test (but looks good) and surely something to fix in
https://github.com/apache/tomee/blob/master/tomee/tomee-
embedded/src/test/java/org/apache/tomee/embedded/SslTomEETest.java
since it should have tested it
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/
rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-
ee-8-high-performance>
Post by Gurkan Erdogdu
Also added patch :)
Post by Gurkan Erdogdu
Hello
I created the issue https://issues.apache.org/jira/browse/TOMEE-2196
Best
Gurkan
On Mon, Jun 18, 2018 at 4:29 PM, Romain Manni-Bucau <
Post by Romain Manni-Bucau
Hi Fabian,
there is a bug for keystorefile, the property name is empty (
https://github.com/apache/tomee/blob/fb_tomee8/tomee/tomee-
embedded/src/main/java/org/apache/tomee/embedded/
Container.java#L632),
Post by Gurkan Erdogdu
Post by Gurkan Erdogdu
Post by Romain Manni-Bucau
feel free to submit a PR fixing that
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <
https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-
high-performance>
a
Post by Romain Manni-Bucau
Post by Gurkan Erdogdu
Post by Gurkan Erdogdu
Post by Romain Manni-Bucau
Post by f***@rohde-schwarz.com
Hi,
I am migrating to TomEE 7.0.4 and our old TLS config in
arquillian.xml
Post by Gurkan Erdogdu
Post by Gurkan Erdogdu
Post by Romain Manni-Bucau
is
Post by f***@rohde-schwarz.com
not working any longer, the property
property name="keystoreFile"
seems to be ignored completely now, and ~/.keystore used instead.
What
Post by Gurkan Erdogdu
Post by Gurkan Erdogdu
Post by Romain Manni-Bucau
is
Post by f***@rohde-schwarz.com
the replacement? Where do I find documentation on arquillian.xml
which
Post by Gurkan Erdogdu
Post by Gurkan Erdogdu
Post by Romain Manni-Bucau
is
Post by f***@rohde-schwarz.com
up to date for the TomEE embedded driver?
Thanks in advance and best
Fabian
Loading...