[JBoss JIRA] (WFCORE-3194) Remarshaling the default configuration xml files shouldn't change the files
by ehsavoie Hugonnet (JIRA)
ehsavoie Hugonnet created WFCORE-3194:
-----------------------------------------
Summary: Remarshaling the default configuration xml files shouldn't change the files
Key: WFCORE-3194
URL: https://issues.jboss.org/browse/WFCORE-3194
Project: WildFly Core
Issue Type: Enhancement
Components: Domain Management
Affects Versions: 3.0.0.Beta31
Reporter: ehsavoie Hugonnet
Assignee: ehsavoie Hugonnet
Starting a server and provoking a marshaling of the model without any real change on the default configuration files shouldn't result in a different files (with empty lines).
Reproducer:
* start the server or domain
* add and remove a system property using the CLI
* diff the resulting configuration file with the initial one.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 9 months
[JBoss JIRA] (WFCORE-3193) Remarshaling the default configuration xml files shouldn't change the files
by ehsavoie Hugonnet (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3193?page=com.atlassian.jira.plugi... ]
ehsavoie Hugonnet updated WFCORE-3193:
--------------------------------------
Summary: Remarshaling the default configuration xml files shouldn't change the files (was: Remarshaling the default configuraiton xml files shouldn't change the files)
> Remarshaling the default configuration xml files shouldn't change the files
> ---------------------------------------------------------------------------
>
> Key: WFCORE-3193
> URL: https://issues.jboss.org/browse/WFCORE-3193
> Project: WildFly Core
> Issue Type: Enhancement
> Components: Domain Management
> Affects Versions: 7.1.0.ER3
> Reporter: ehsavoie Hugonnet
> Assignee: ehsavoie Hugonnet
>
> Starting a server and provoking a marshaling of the model without any real change on the default configuration files shouldn't result in a different files (with empty lines).
> Reproducer:
> * start the server or domain
> * add and remove a system property using the CLI
> * diff the resulting configuration file with the initial one.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 9 months
[JBoss JIRA] (WFCORE-3192) Remarshaling the default configuration xml files shouldn't change the files
by ehsavoie Hugonnet (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3192?page=com.atlassian.jira.plugi... ]
ehsavoie Hugonnet updated WFCORE-3192:
--------------------------------------
Summary: Remarshaling the default configuration xml files shouldn't change the files (was: Remarshaling the default configuraiton xml files shouldn't change the files)
> Remarshaling the default configuration xml files shouldn't change the files
> ---------------------------------------------------------------------------
>
> Key: WFCORE-3192
> URL: https://issues.jboss.org/browse/WFCORE-3192
> Project: WildFly Core
> Issue Type: Enhancement
> Components: Domain Management
> Affects Versions: 3.0.0.Beta31
> Reporter: ehsavoie Hugonnet
> Assignee: ehsavoie Hugonnet
>
> Starting a server and provoking a marshaling of the model without any real change on the default configuration files shouldn't result in a different files (with empty lines).
> Reproducer:
> * start the server or domain
> * add and remove a system property using the CLI
> * diff the resulting configuration file with the initial one.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 9 months
[JBoss JIRA] (WFLY-9235) @Resource injection does not fail in a servlet when the resource is missing
by Stephen Coy (JIRA)
[ https://issues.jboss.org/browse/WFLY-9235?page=com.atlassian.jira.plugin.... ]
Stephen Coy updated WFLY-9235:
------------------------------
Description:
The attached web application builds, deploys and runs perfectly.
However, if you remove one of the <env-entry> elements from the web.xml it will still deploy and run.
The associated injection point is left as null instead of having the deployment fail as required by the Java EE 7 Spec in "EE.5.2.5 Annotations and Injection", where it states:
{quote} If the container fails to find a resource needed for injection, initialization of the class must fail, and the class must not be put into service.{quote}
Also see StackOverflow question https://stackoverflow.com/questions/45716813/glassfish-wildfly-not-failin...
was:
The attached web application builds, deploys and runs perfectly.
However, if you remove one of the <env-entry> elements from the web.xml it will still deploy and run.
The associated injection point is left as null instead of having the deployment fail as required by the Java EE 7 Spec in "EE.5.2.5 Annotations and Injection", where it states:
{quote} If the container fails to find a resource needed for injection, initialization of the class must fail, and the class must not be put into service.{quote}
> @Resource injection does not fail in a servlet when the resource is missing
> ---------------------------------------------------------------------------
>
> Key: WFLY-9235
> URL: https://issues.jboss.org/browse/WFLY-9235
> Project: WildFly
> Issue Type: Bug
> Reporter: Stephen Coy
> Assignee: Jason Greene
> Attachments: web45709634.jira.zip
>
>
> The attached web application builds, deploys and runs perfectly.
> However, if you remove one of the <env-entry> elements from the web.xml it will still deploy and run.
> The associated injection point is left as null instead of having the deployment fail as required by the Java EE 7 Spec in "EE.5.2.5 Annotations and Injection", where it states:
> {quote} If the container fails to find a resource needed for injection, initialization of the class must fail, and the class must not be put into service.{quote}
> Also see StackOverflow question https://stackoverflow.com/questions/45716813/glassfish-wildfly-not-failin...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 9 months
[JBoss JIRA] (WFCORE-3192) Remarshaling the default configuraiton xml files shouldn't change the files
by ehsavoie Hugonnet (JIRA)
ehsavoie Hugonnet created WFCORE-3192:
-----------------------------------------
Summary: Remarshaling the default configuraiton xml files shouldn't change the files
Key: WFCORE-3192
URL: https://issues.jboss.org/browse/WFCORE-3192
Project: WildFly Core
Issue Type: Enhancement
Components: Domain Management
Affects Versions: 3.0.0.Beta31
Reporter: ehsavoie Hugonnet
Assignee: ehsavoie Hugonnet
Starting a server and provoking a marshaling of the model without any real change on the default configuration files shouldn't result in a different files (with empty lines).
Reproducer:
* start the server or domain
* add and remove a system property using the CLI
* diff the resulting configuration file with the initial one.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 9 months
[JBoss JIRA] (WFCORE-3193) Remarshaling the default configuraiton xml files shouldn't change the files
by ehsavoie Hugonnet (JIRA)
ehsavoie Hugonnet created WFCORE-3193:
-----------------------------------------
Summary: Remarshaling the default configuraiton xml files shouldn't change the files
Key: WFCORE-3193
URL: https://issues.jboss.org/browse/WFCORE-3193
Project: WildFly Core
Issue Type: Enhancement
Components: Domain Management
Affects Versions: 3.0.0.Beta31
Reporter: ehsavoie Hugonnet
Assignee: ehsavoie Hugonnet
Starting a server and provoking a marshaling of the model without any real change on the default configuration files shouldn't result in a different files (with empty lines).
Reproducer:
* start the server or domain
* add and remove a system property using the CLI
* diff the resulting configuration file with the initial one.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 9 months
[JBoss JIRA] (WFLY-9235) @Resource injection does not fail in a servlet when the resource is missing
by Stephen Coy (JIRA)
[ https://issues.jboss.org/browse/WFLY-9235?page=com.atlassian.jira.plugin.... ]
Stephen Coy updated WFLY-9235:
------------------------------
Description:
The attached web application builds, deploys and runs perfectly.
However, if you remove one of the <env-entry> elements from the web.xml it will still deploy and run.
The associated injection point is left as null instead of having the deployment fail as required by the Java EE 7 Spec in "EE.5.2.5 Annotations and Injection", where it states:
{quote} If the container fails to find a resource needed for injection, initialization of the class must fail, and the class must not be put into service.{quote}
> @Resource injection does not fail in a servlet when the resource is missing
> ---------------------------------------------------------------------------
>
> Key: WFLY-9235
> URL: https://issues.jboss.org/browse/WFLY-9235
> Project: WildFly
> Issue Type: Bug
> Reporter: Stephen Coy
> Assignee: Jason Greene
> Attachments: web45709634.jira.zip
>
>
> The attached web application builds, deploys and runs perfectly.
> However, if you remove one of the <env-entry> elements from the web.xml it will still deploy and run.
> The associated injection point is left as null instead of having the deployment fail as required by the Java EE 7 Spec in "EE.5.2.5 Annotations and Injection", where it states:
> {quote} If the container fails to find a resource needed for injection, initialization of the class must fail, and the class must not be put into service.{quote}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 9 months