[ 
https://issues.apache.org/jira/browse/TOMEE-2099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16092961#comment-16092961
 ] 

TURPIN Michel edited comment on TOMEE-2099 at 7/19/17 11:41 AM:
----------------------------------------------------------------

Hi Jonathan,

I cannot access github from my working place so you will find a zip attached 
with a 6 classes maven project.

You may launch the project with {{mvn package tomee:run}} and then test the jax 
rs resource at {{http://localhost:8080/tomee2099/resources/foo/}}.

The expected behavior would be to find {{Hello world !}} but instead you will 
find {{Get off me world !}}.
This is expressed with the different MessageBodyWriter implementations chosen 
by the NameFormatFeature class.


was (Author: grimly):
Hi Jonathan,

I cannot access github from my working place so you will find a zip attached 
with a 5 classes maven project.

You may launch the project with {{mvn package tomee:run}} and then test the jax 
rs resource at {{http://localhost:8080/tomee2099/resources/foo/}}.

The expected behavior would be to find {{Hello world !}} but instead you will 
find {{Get off me world !}}.
This is expressed with the different MessageBodyWriter implementations chosen 
by the NameFormatFeature class.

> JAX-RS Application#getProperties is never called
> ------------------------------------------------
>
>                 Key: TOMEE-2099
>                 URL: https://issues.apache.org/jira/browse/TOMEE-2099
>             Project: TomEE
>          Issue Type: Bug
>          Components: TomEE Core Server
>    Affects Versions: 7.0.3
>         Environment: $ mvn -version
> Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 
> 2014-08-11T22:58:10+02:00)
> Maven home: D:\tools\apache-maven-3.2.3
> Java version: 1.8.0_111, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.8.0_111\jre
> Default locale: fr_FR, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"
> Running TomEE Plus through the tomee maven plugin
>            Reporter: TURPIN Michel
>            Assignee: Jonathan Gallimore
>              Labels: features
>         Attachments: tomee2099.zip
>
>
> The {{Application#getProperties()}} method is never called / used.
> As a consequence, it is impossible to configure a Feature or DynamicFeature 
> that would read properties from the context configuration from an Application 
> subclass.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to