[JBoss JIRA] (WFLY-7356) WELD-001303 error when executing thread-racing quickstart
by Tomaz Cerar (JIRA)
[ https://issues.jboss.org/browse/WFLY-7356?page=com.atlassian.jira.plugin.... ]
Tomaz Cerar updated WFLY-7356:
------------------------------
Component/s: Quickstarts
> WELD-001303 error when executing thread-racing quickstart
> ---------------------------------------------------------
>
> Key: WFLY-7356
> URL: https://issues.jboss.org/browse/WFLY-7356
> Project: WildFly
> Issue Type: Bug
> Components: Quickstarts
> Affects Versions: 11.0.0.Alpha1
> Reporter: Sande Gilda
> Assignee: Jeff Mesnil
> Labels: NEED_ASSISTANCE
> Fix For: 11.0.0.Alpha1
>
>
> After pressing the {{INSERT COIN}} button in {{thread-racing}} quickstart, the following error is produced by EAP:
> {code}09:00:25,763 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) org.jboss.weld.context.ContextNotActiveException: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped
> 09:00:25,764 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.manager.BeanManagerImpl.getContext(BeanManagerImpl.java:689)
> 09:00:25,765 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.getIfExists(ContextualInstanceStrategy.java:90)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.bean.ContextualInstanceStrategy$CachingContextualInstanceStrategy.getIfExists(ContextualInstanceStrategy.java:165)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.bean.ContextualInstance.getIfExists(ContextualInstance.java:63)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:83)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:99)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.wildfly.extension.messaging.activemq.deployment.injection.RequestedJMSContext$Proxy$_$$_WeldClientProxy.getContext(Unknown Source)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.wildfly.extension.messaging.activemq.deployment.injection.InjectedJMSContext.getDelegate(InjectedJMSContext.java:91)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.wildfly.extension.messaging.activemq.deployment.injection.JMSContextWrapper.createTemporaryQueue(JMSContextWrapper.java:252)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.as.quickstarts.threadracing.stage.jms.JMSRaceStage.run(JMSRaceStage.java:52)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.as.quickstarts.threadracing.Racer.runRaceStages(Racer.java:152)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.as.quickstarts.threadracing.Racer.access$100(Racer.java:39)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.as.quickstarts.threadracing.Racer$1.run(Racer.java:130)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at java.lang.Thread.run(Thread.java:745)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:250)
> {code}
> The application itself then shows the following output:
> {quote}
> Ready... Set... Go!
> Sebastien Throeb completed the Batch 1.0 stage.
> Michael Thrumacher completed the Batch 1.0 stage.
> Valentino Throssi completed the Batch 1.0 stage.
> Jimmie Thronson completed the Batch 1.0 stage.
> Sebastien Throeb completed the EE Concurrency 1.0 stage.
> Michael Thrumacher completed the EE Concurrency 1.0 stage.
> Valentino Throssi completed the EE Concurrency 1.0 stage.
> Jimmie Thronson completed the EE Concurrency 1.0 stage.
> Sebastien Throeb PIT STOP in 96ms
> Jimmie Thronson PIT STOP in 96ms
> Valentino Throssi PIT STOP in 96ms
> Michael Thrumacher PIT STOP in 96ms
> Sebastien Throeb completed the JAX-RS 2.0 stage.
> Jimmie Thronson completed the JAX-RS 2.0 stage.
> Valentino Throssi completed the JAX-RS 2.0 stage.
> Michael Thrumacher completed the JAX-RS 2.0 stage.
> Michael Thrumacher aborted the race... such a looser! Reason: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped
> Valentino Throssi aborted the race... such a looser! Reason: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped
> Jimmie Thronson aborted the race... such a looser! Reason: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped
> Sebastien Throeb aborted the race... such a looser! Reason: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped{quote}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 6 months
[JBoss JIRA] (WFLY-7304) Compensations subsystem
by Tomaz Cerar (JIRA)
[ https://issues.jboss.org/browse/WFLY-7304?page=com.atlassian.jira.plugin.... ]
Tomaz Cerar commented on WFLY-7304:
-----------------------------------
Having it an optional functionality is just fine. That is an idea of sub resources.
stuff is only enabled if they are added.
transaction subsystem already uses sub resources such as log store.
just look at usages of ResourceDefinition
> Compensations subsystem
> -----------------------
>
> Key: WFLY-7304
> URL: https://issues.jboss.org/browse/WFLY-7304
> Project: WildFly
> Issue Type: Task
> Components: Transactions
> Reporter: Gytis Trikleris
> Assignee: Gytis Trikleris
> Priority: Minor
> Fix For: 11.0.0.Alpha1
>
>
> Currently compensations bootstrap happens in the transactions subsystem. It registers deployment processor to scan the annotations and add the dependencies if necessary. This is not expensive and doesn't cause any issues other than adding the dependencies to the transactions subsystem. However, I'm currently finishing off the recovery implementation and more bootstrap logic will be needed. In addition, two more recovery modules will have to be registered: one for the participant (a new one) and one for the coordinator (from XTS). This will require to add XTS dependency too.
> The whole compensations bootstrapping will not need a lot of code. However, I'm thinking maybe it would be good to pull it out to the separate subsystem in order to maintain the separation of concerns.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 6 months
[JBoss JIRA] (WFLY-7356) WELD-001303 error when executing thread-racing quickstart
by Sande Gilda (JIRA)
[ https://issues.jboss.org/browse/WFLY-7356?page=com.atlassian.jira.plugin.... ]
Sande Gilda commented on WFLY-7356:
-----------------------------------
See original JIRA for details: https://issues.jboss.org/browse/JBEAP-6058
> WELD-001303 error when executing thread-racing quickstart
> ---------------------------------------------------------
>
> Key: WFLY-7356
> URL: https://issues.jboss.org/browse/WFLY-7356
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 11.0.0.Alpha1
> Reporter: Sande Gilda
> Assignee: Jeff Mesnil
> Labels: NEED_ASSISTANCE
> Fix For: 11.0.0.Alpha1
>
>
> After pressing the {{INSERT COIN}} button in {{thread-racing}} quickstart, the following error is produced by EAP:
> {code}09:00:25,763 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) org.jboss.weld.context.ContextNotActiveException: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped
> 09:00:25,764 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.manager.BeanManagerImpl.getContext(BeanManagerImpl.java:689)
> 09:00:25,765 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.getIfExists(ContextualInstanceStrategy.java:90)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.bean.ContextualInstanceStrategy$CachingContextualInstanceStrategy.getIfExists(ContextualInstanceStrategy.java:165)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.bean.ContextualInstance.getIfExists(ContextualInstance.java:63)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:83)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:99)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.wildfly.extension.messaging.activemq.deployment.injection.RequestedJMSContext$Proxy$_$$_WeldClientProxy.getContext(Unknown Source)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.wildfly.extension.messaging.activemq.deployment.injection.InjectedJMSContext.getDelegate(InjectedJMSContext.java:91)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.wildfly.extension.messaging.activemq.deployment.injection.JMSContextWrapper.createTemporaryQueue(JMSContextWrapper.java:252)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.as.quickstarts.threadracing.stage.jms.JMSRaceStage.run(JMSRaceStage.java:52)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.as.quickstarts.threadracing.Racer.runRaceStages(Racer.java:152)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.as.quickstarts.threadracing.Racer.access$100(Racer.java:39)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.as.quickstarts.threadracing.Racer$1.run(Racer.java:130)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at java.lang.Thread.run(Thread.java:745)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:250)
> {code}
> The application itself then shows the following output:
> {quote}
> Ready... Set... Go!
> Sebastien Throeb completed the Batch 1.0 stage.
> Michael Thrumacher completed the Batch 1.0 stage.
> Valentino Throssi completed the Batch 1.0 stage.
> Jimmie Thronson completed the Batch 1.0 stage.
> Sebastien Throeb completed the EE Concurrency 1.0 stage.
> Michael Thrumacher completed the EE Concurrency 1.0 stage.
> Valentino Throssi completed the EE Concurrency 1.0 stage.
> Jimmie Thronson completed the EE Concurrency 1.0 stage.
> Sebastien Throeb PIT STOP in 96ms
> Jimmie Thronson PIT STOP in 96ms
> Valentino Throssi PIT STOP in 96ms
> Michael Thrumacher PIT STOP in 96ms
> Sebastien Throeb completed the JAX-RS 2.0 stage.
> Jimmie Thronson completed the JAX-RS 2.0 stage.
> Valentino Throssi completed the JAX-RS 2.0 stage.
> Michael Thrumacher completed the JAX-RS 2.0 stage.
> Michael Thrumacher aborted the race... such a looser! Reason: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped
> Valentino Throssi aborted the race... such a looser! Reason: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped
> Jimmie Thronson aborted the race... such a looser! Reason: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped
> Sebastien Throeb aborted the race... such a looser! Reason: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped{quote}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 6 months
[JBoss JIRA] (WFLY-7356) WELD-001303 error when executing thread-racing quickstart
by Sande Gilda (JIRA)
[ https://issues.jboss.org/browse/WFLY-7356?page=com.atlassian.jira.plugin.... ]
Sande Gilda resolved WFLY-7356.
-------------------------------
Fix Version/s: 11.0.0.Alpha1
Resolution: Done
Pull request: https://github.com/wildfly/quickstart/pull/113
Fixed with this commit: https://github.com/wildfly/quickstart/commit/f969520f90789216b51afb943804...
> WELD-001303 error when executing thread-racing quickstart
> ---------------------------------------------------------
>
> Key: WFLY-7356
> URL: https://issues.jboss.org/browse/WFLY-7356
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 11.0.0.Alpha1
> Reporter: Sande Gilda
> Assignee: Jeff Mesnil
> Labels: NEED_ASSISTANCE
> Fix For: 11.0.0.Alpha1
>
>
> After pressing the {{INSERT COIN}} button in {{thread-racing}} quickstart, the following error is produced by EAP:
> {code}09:00:25,763 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) org.jboss.weld.context.ContextNotActiveException: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped
> 09:00:25,764 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.manager.BeanManagerImpl.getContext(BeanManagerImpl.java:689)
> 09:00:25,765 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.getIfExists(ContextualInstanceStrategy.java:90)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.bean.ContextualInstanceStrategy$CachingContextualInstanceStrategy.getIfExists(ContextualInstanceStrategy.java:165)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.bean.ContextualInstance.getIfExists(ContextualInstance.java:63)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:83)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:99)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.wildfly.extension.messaging.activemq.deployment.injection.RequestedJMSContext$Proxy$_$$_WeldClientProxy.getContext(Unknown Source)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.wildfly.extension.messaging.activemq.deployment.injection.InjectedJMSContext.getDelegate(InjectedJMSContext.java:91)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.wildfly.extension.messaging.activemq.deployment.injection.JMSContextWrapper.createTemporaryQueue(JMSContextWrapper.java:252)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.as.quickstarts.threadracing.stage.jms.JMSRaceStage.run(JMSRaceStage.java:52)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.as.quickstarts.threadracing.Racer.runRaceStages(Racer.java:152)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.as.quickstarts.threadracing.Racer.access$100(Racer.java:39)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.as.quickstarts.threadracing.Racer$1.run(Racer.java:130)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at java.lang.Thread.run(Thread.java:745)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:250)
> {code}
> The application itself then shows the following output:
> {quote}
> Ready... Set... Go!
> Sebastien Throeb completed the Batch 1.0 stage.
> Michael Thrumacher completed the Batch 1.0 stage.
> Valentino Throssi completed the Batch 1.0 stage.
> Jimmie Thronson completed the Batch 1.0 stage.
> Sebastien Throeb completed the EE Concurrency 1.0 stage.
> Michael Thrumacher completed the EE Concurrency 1.0 stage.
> Valentino Throssi completed the EE Concurrency 1.0 stage.
> Jimmie Thronson completed the EE Concurrency 1.0 stage.
> Sebastien Throeb PIT STOP in 96ms
> Jimmie Thronson PIT STOP in 96ms
> Valentino Throssi PIT STOP in 96ms
> Michael Thrumacher PIT STOP in 96ms
> Sebastien Throeb completed the JAX-RS 2.0 stage.
> Jimmie Thronson completed the JAX-RS 2.0 stage.
> Valentino Throssi completed the JAX-RS 2.0 stage.
> Michael Thrumacher completed the JAX-RS 2.0 stage.
> Michael Thrumacher aborted the race... such a looser! Reason: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped
> Valentino Throssi aborted the race... such a looser! Reason: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped
> Jimmie Thronson aborted the race... such a looser! Reason: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped
> Sebastien Throeb aborted the race... such a looser! Reason: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped{quote}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 6 months
[JBoss JIRA] (WFLY-7356) WELD-001303 error when executing thread-racing quickstart
by Sande Gilda (JIRA)
[ https://issues.jboss.org/browse/WFLY-7356?page=com.atlassian.jira.plugin.... ]
Sande Gilda moved JBEAP-6526 to WFLY-7356:
------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-7356 (was: JBEAP-6526)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: (was: Quickstarts)
Affects Version/s: 11.0.0.Alpha1
(was: 7.1.0.DR1)
(was: 7.1.0.DR2)
(was: 7.1.0.DR3)
(was: 7.1.0.DR4)
(was: 7.1.0.DR5)
(was: 7.1.0.DR6)
Fix Version/s: (was: 7.1.0.DR7)
> WELD-001303 error when executing thread-racing quickstart
> ---------------------------------------------------------
>
> Key: WFLY-7356
> URL: https://issues.jboss.org/browse/WFLY-7356
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 11.0.0.Alpha1
> Reporter: Sande Gilda
> Assignee: Jeff Mesnil
> Labels: NEED_ASSISTANCE
>
> After pressing the {{INSERT COIN}} button in {{thread-racing}} quickstart, the following error is produced by EAP:
> {code}09:00:25,763 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) org.jboss.weld.context.ContextNotActiveException: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped
> 09:00:25,764 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.manager.BeanManagerImpl.getContext(BeanManagerImpl.java:689)
> 09:00:25,765 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.getIfExists(ContextualInstanceStrategy.java:90)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.bean.ContextualInstanceStrategy$CachingContextualInstanceStrategy.getIfExists(ContextualInstanceStrategy.java:165)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.bean.ContextualInstance.getIfExists(ContextualInstance.java:63)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:83)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:99)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.wildfly.extension.messaging.activemq.deployment.injection.RequestedJMSContext$Proxy$_$$_WeldClientProxy.getContext(Unknown Source)
> 09:00:25,766 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.wildfly.extension.messaging.activemq.deployment.injection.InjectedJMSContext.getDelegate(InjectedJMSContext.java:91)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.wildfly.extension.messaging.activemq.deployment.injection.JMSContextWrapper.createTemporaryQueue(JMSContextWrapper.java:252)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.as.quickstarts.threadracing.stage.jms.JMSRaceStage.run(JMSRaceStage.java:52)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.as.quickstarts.threadracing.Racer.runRaceStages(Racer.java:152)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.as.quickstarts.threadracing.Racer.access$100(Racer.java:39)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.jboss.as.quickstarts.threadracing.Racer$1.run(Racer.java:130)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at java.lang.Thread.run(Thread.java:745)
> 09:00:25,767 ERROR [stderr] (EE-ManagedThreadFactory-default-Thread-2) at org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:250)
> {code}
> The application itself then shows the following output:
> {quote}
> Ready... Set... Go!
> Sebastien Throeb completed the Batch 1.0 stage.
> Michael Thrumacher completed the Batch 1.0 stage.
> Valentino Throssi completed the Batch 1.0 stage.
> Jimmie Thronson completed the Batch 1.0 stage.
> Sebastien Throeb completed the EE Concurrency 1.0 stage.
> Michael Thrumacher completed the EE Concurrency 1.0 stage.
> Valentino Throssi completed the EE Concurrency 1.0 stage.
> Jimmie Thronson completed the EE Concurrency 1.0 stage.
> Sebastien Throeb PIT STOP in 96ms
> Jimmie Thronson PIT STOP in 96ms
> Valentino Throssi PIT STOP in 96ms
> Michael Thrumacher PIT STOP in 96ms
> Sebastien Throeb completed the JAX-RS 2.0 stage.
> Jimmie Thronson completed the JAX-RS 2.0 stage.
> Valentino Throssi completed the JAX-RS 2.0 stage.
> Michael Thrumacher completed the JAX-RS 2.0 stage.
> Michael Thrumacher aborted the race... such a looser! Reason: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped
> Valentino Throssi aborted the race... such a looser! Reason: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped
> Jimmie Thronson aborted the race... such a looser! Reason: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped
> Sebastien Throeb aborted the race... such a looser! Reason: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped{quote}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 6 months
[JBoss JIRA] (WFLY-7347) No log messages comming from Elytron - kerberos
by Jan Kalina (JIRA)
[ https://issues.jboss.org/browse/WFLY-7347?page=com.atlassian.jira.plugin.... ]
Jan Kalina reassigned WFLY-7347:
--------------------------------
Assignee: Jan Kalina
> No log messages comming from Elytron - kerberos
> -----------------------------------------------
>
> Key: WFLY-7347
> URL: https://issues.jboss.org/browse/WFLY-7347
> Project: WildFly
> Issue Type: Bug
> Components: Security
> Affects Versions: 11.0.0.Alpha1
> Reporter: Martin Choma
> Assignee: Jan Kalina
> Priority: Critical
>
> Elytron is missing log messages related to kerberos authentication. These log messages should be added. See JBEAP-6041 for more details.
> I consider to be useful to have TRACE log messages at least in:
> - SpnegoAuthenticationMechanism
> - GSSCredentialSecurityFactory
> If there are more classes involved in kerberos authnetication include them as well.
> Kerberos issues are very specific. So it is very important to have as much trace information as possible. Therefore raising priority to Critical.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 6 months
[JBoss JIRA] (WFLY-7334) Elytron kerberos implementation ignore java.security.krb5.* system properties
by Martin Choma (JIRA)
[ https://issues.jboss.org/browse/WFLY-7334?page=com.atlassian.jira.plugin.... ]
Martin Choma commented on WFLY-7334:
------------------------------------
I have attached {{standalone-elytron.xml}}, for which I don't see java kerberos debug messages, even if I start wildfly with {code}./standalone.sh -Djava.security.krb5.debug=true{code} .
Only way I can get debug messages in log:
{code}
12:34:22,641 INFO [stdout] (default task-1) Debug is true storeKey true useTicketCache false useKeyTab true doNotPrompt false ticketCache is null isInitiator false KeyTab is /home/mchoma/tasks/20161017_elytron_kerberos/jboss_server_base_dir_eap7/configuration/http.keytab refreshKrb5Config is false principal is HTTP/localhost.localdomain(a)JBOSS.ORG tryFirstPass is false useFirstPass is false storePass is false clearPass is false
12:34:22,643 INFO [stdout] (default task-1) principal is HTTP/localhost.localdomain(a)JBOSS.ORG
12:34:22,643 INFO [stdout] (default task-1) Will use keytab
12:34:22,644 INFO [stdout] (default task-1) Commit Succeeded
12:34:22,644 INFO [stdout] (default task-1)
{code}
is to set {{debug}} attribute of {{kerberos-security-factory}} to true
> Elytron kerberos implementation ignore java.security.krb5.* system properties
> -----------------------------------------------------------------------------
>
> Key: WFLY-7334
> URL: https://issues.jboss.org/browse/WFLY-7334
> Project: WildFly
> Issue Type: Bug
> Components: Security
> Affects Versions: 11.0.0.Alpha1
> Reporter: Martin Choma
> Assignee: Jan Kalina
> Priority: Critical
> Attachments: standalone-elytron.xml
>
>
> I don't see any behavior change, when I set standard java.security.krb5.* system properties. Trying to set properties in both ways:
> * command line
> {code}
> -Djava.security.krb5.conf=/unreal/path -Djava.security.krb5.debug=true -Djava.security.krb5.kdc=wrong.kdc -Djava.security.krb5.realm=REDHAT.COM
> {code}
> * standalone.xml
> {code}
> <property name="java.security.krb5.conf" value="/etc/krb5.confBUG"/>
> <property name="java.security.krb5.kdc" value="localhost.localhostBUG"/>
> <property name="java.security.krb5.realm" value="JBOSS.ORGBUG"/>
> <property name="java.security.krb5.debug" value="true"/>
> {code}
> Biggest problem as I see is user is unable to change {{krb5.conf}} location. In legacy security solution it was possible.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 6 months