[JBoss JIRA] (WFLY-8942) Request Scope is not active during Batchlet
by Cody Lerum (JIRA)
[ https://issues.jboss.org/browse/WFLY-8942?page=com.atlassian.jira.plugin.... ]
Cody Lerum commented on WFLY-8942:
----------------------------------
Also see: https://twitter.com/codylerum/status/875450481170030592
> Request Scope is not active during Batchlet
> -------------------------------------------
>
> Key: WFLY-8942
> URL: https://issues.jboss.org/browse/WFLY-8942
> Project: WildFly
> Issue Type: Bug
> Components: Batch
> Affects Versions: 10.1.0.Final
> Environment: Wildfly 10.1.0 Final
> Reporter: Cody Lerum
> Assignee: Cheng Fang
>
> When executing a Java EE 7 batchlet if an injection of an @RequestScoped bean is attempted.
> Example
> {noformat}
> 20:57:13,995 WARN [org.jberet] (Batch Thread - 13) JBERET000001: Failed to run batchlet org.jberet.job.model.RefArtifact@b5b6a97: org.jboss.weld.context.ContextNotActiveException: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped
> at org.jboss.weld.manager.BeanManagerImpl.getContext(BeanManagerImpl.java:689)
> at org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.getIfExists(ContextualInstanceStrategy.java:90)
> at org.jboss.weld.bean.ContextualInstanceStrategy$CachingContextualInstanceStrategy.getIfExists(ContextualInstanceStrategy.java:165)
> at org.jboss.weld.bean.ContextualInstance.getIfExists(ContextualInstance.java:63)
> at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:83)
> at org.jboss.weld.bean.proxy.ProxyMethodHandler.getInstance(ProxyMethodHandler.java:125)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (WFLY-8942) Request Scope is not active during Batchlet
by Cody Lerum (JIRA)
Cody Lerum created WFLY-8942:
--------------------------------
Summary: Request Scope is not active during Batchlet
Key: WFLY-8942
URL: https://issues.jboss.org/browse/WFLY-8942
Project: WildFly
Issue Type: Bug
Components: Batch
Affects Versions: 10.1.0.Final
Environment: Wildfly 10.1.0 Final
Reporter: Cody Lerum
Assignee: Cheng Fang
When executing a Java EE 7 batchlet if an injection of an @RequestScoped bean is attempted.
Example
{noformat}
20:57:13,995 WARN [org.jberet] (Batch Thread - 13) JBERET000001: Failed to run batchlet org.jberet.job.model.RefArtifact@b5b6a97: org.jboss.weld.context.ContextNotActiveException: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped
at org.jboss.weld.manager.BeanManagerImpl.getContext(BeanManagerImpl.java:689)
at org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.getIfExists(ContextualInstanceStrategy.java:90)
at org.jboss.weld.bean.ContextualInstanceStrategy$CachingContextualInstanceStrategy.getIfExists(ContextualInstanceStrategy.java:165)
at org.jboss.weld.bean.ContextualInstance.getIfExists(ContextualInstance.java:63)
at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:83)
at org.jboss.weld.bean.proxy.ProxyMethodHandler.getInstance(ProxyMethodHandler.java:125)
{noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (WFCORE-2965) Building server boot commands in the HC may use the incorrect logging.properties on initial boot
by Martin Simka (JIRA)
Martin Simka created WFCORE-2965:
------------------------------------
Summary: Building server boot commands in the HC may use the incorrect logging.properties on initial boot
Key: WFCORE-2965
URL: https://issues.jboss.org/browse/WFCORE-2965
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Reporter: Martin Simka
Assignee: James Perkins
When the HC builds the boot commands for a server on initial boot there is no {{logging.properties}} file in the servers data directory. There's an attempt to discover which configuration file would be used. On some OS's the paths may be the same, but the string representation may be different due to different file separators. When attempting to decide which logging configuration file to use the match may fail which will lead to an incorrect configuration file being used on initial boot only.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (WFCORE-2964) Building server boot commands in the HC may use the incorrect logging.properties on initial boot
by James Perkins (JIRA)
James Perkins created WFCORE-2964:
-------------------------------------
Summary: Building server boot commands in the HC may use the incorrect logging.properties on initial boot
Key: WFCORE-2964
URL: https://issues.jboss.org/browse/WFCORE-2964
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Reporter: James Perkins
Assignee: James Perkins
When the HC builds the boot commands for a server on initial boot there is no {{logging.properties}} file in the servers data directory. There's an attempt to discover which configuration file would be used. On some OS's the paths may be the same, but the string representation may be different due to different file separators. When attempting to decide which logging configuration file to use the match may fail which will lead to an incorrect configuration file being used on initial boot only.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (ELY-1246) The elytron-1_0.xsd has elements the parser does not accept
by James Perkins (JIRA)
[ https://issues.jboss.org/browse/ELY-1246?page=com.atlassian.jira.plugin.s... ]
James Perkins moved JBEAP-11587 to ELY-1246:
--------------------------------------------
Project: WildFly Elytron (was: JBoss Enterprise Application Platform)
Key: ELY-1246 (was: JBEAP-11587)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Target Release: (was: 7.1.0.GA)
> The elytron-1_0.xsd has elements the parser does not accept
> -----------------------------------------------------------
>
> Key: ELY-1246
> URL: https://issues.jboss.org/browse/ELY-1246
> Project: WildFly Elytron
> Issue Type: Bug
> Reporter: James Perkins
>
> There are elements in the {{elytron-1_0.xsd}} that the parser does not accept. While I didn't check them all here are at least a few that are in the XSD that the parser will reject:
> * {{allow-sasl-mechanisms}}
> * {{allow-all-sasl-mechanisms}}
> * {{forbid-sasl-mechanisms}}
> This may be all of them, but it should likely be validated that those are the only ones.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months