[JBoss JIRA] (WFLY-3334) Event with qualifier @Initialized not raised if no webapp is deployed
by Kabir Khan (JIRA)
[ https://issues.jboss.org/browse/WFLY-3334?page=com.atlassian.jira.plugin.... ]
Kabir Khan closed WFLY-3334.
----------------------------
> Event with qualifier @Initialized not raised if no webapp is deployed
> ---------------------------------------------------------------------
>
> Key: WFLY-3334
> URL: https://issues.jboss.org/browse/WFLY-3334
> Project: WildFly
> Issue Type: Bug
> Components: CDI / Weld
> Affects Versions: 8.1.0.CR1
> Environment: Wildfly 8.0.0.Final, OpenJDK 1.7.0_45
> Reporter: Daniel Lechner
> Assignee: Jozef Hartinger
> Fix For: 10.0.0.Alpha5
>
>
> As stated in the CDI-specification (section 6.7.3. Application context lifecycle)
> {quote}
> An event with qualifier @Initialized(ApplicationScoped.class) is fired when the application context is initialized and an event with qualifier @Destroyed(ApplicationScoped.class) is fired when the application is destroyed.
> {quote}
> But in my environment this is only true, if the deployed application (packaged in an EAR) contains a webapplication (as WAR inside the EAR). If there is no webapplication, the event is not raised and observer-methods are not called at all.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (WFLY-4675) Wrong help message in wsconsume.bat
by Kabir Khan (JIRA)
[ https://issues.jboss.org/browse/WFLY-4675?page=com.atlassian.jira.plugin.... ]
Kabir Khan closed WFLY-4675.
----------------------------
> Wrong help message in wsconsume.bat
> -----------------------------------
>
> Key: WFLY-4675
> URL: https://issues.jboss.org/browse/WFLY-4675
> Project: WildFly
> Issue Type: Bug
> Components: Web Services
> Affects Versions: 10.0.0.Alpha1
> Reporter: Marek Kopecký
> Assignee: Marek Kopecký
> Priority: Minor
> Fix For: 10.0.0.Alpha5
>
>
> Description of problem:
> Help message in wsconsume.bat contains wrong "usage" section.
> How reproducible:
> Always on Windows
> Steps to Reproduce:
> 1. wsconsume.bat -h
> Actual results:
> ...
> usage: org.jboss.ws.tools.cmd.WSConsume [options] <wsdl-url>
> ...
> Expected results on Windows:
> ...
> usage: wsconsume.bat [options] <wsdl-url>
> ...
> Additional info:
> On linux:
> ./wsconsume.sh -h
> ...
> usage: wsconsume.sh [options] <wsdl-url>
> ...
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (WFLY-4198) NullPointerException in LogDiagnosticContextRecoveryInterceptor when calling an asynchronous EJB
by Kabir Khan (JIRA)
[ https://issues.jboss.org/browse/WFLY-4198?page=com.atlassian.jira.plugin.... ]
Kabir Khan closed WFLY-4198.
----------------------------
> NullPointerException in LogDiagnosticContextRecoveryInterceptor when calling an asynchronous EJB
> ------------------------------------------------------------------------------------------------
>
> Key: WFLY-4198
> URL: https://issues.jboss.org/browse/WFLY-4198
> Project: WildFly
> Issue Type: Bug
> Components: EJB
> Affects Versions: 8.2.0.Final
> Reporter: Sergiy Barlabanov
> Assignee: Bartosz Baranowski
> Fix For: 10.0.0.Alpha6
>
> Attachments: patch.diff
>
>
> When trying to call an asynchronous EJB in a Web application using slf4j (1.7.5+) & logback(1.0.13+) for logging the following NullPointerException occurs (see below).
> The problem is in the line 67 of LogDiagnosticContextRecoveryInterceptor class, when it tries to access MDC map, which is null. According to SLF4J API the copy of MDC map may be null: see the javadoc of org.slf4j.MDC#getCopyOfContextMap.
> So LogDiagnosticContextRecoveryInterceptor or org.jboss.logging.Slf4jLoggerProvider have to check the map for null.
> Currently there is no workaround for that :(.
> {noformat}
> Caused by: java.lang.NullPointerException
> at org.jboss.as.ejb3.component.interceptors.LogDiagnosticContextRecoveryInterceptor.processInvocation(LogDiagnosticContextRecoveryInterceptor.java:67)
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
> at org.jboss.as.ejb3.component.interceptors.AsyncFutureInterceptorFactory$1$2.runInvocation(AsyncFutureInterceptorFactory.java:97)
> at org.jboss.as.ejb3.component.interceptors.AsyncInvocationTask.run(AsyncInvocationTask.java:73)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:744)
> at org.jboss.threads.JBossThread.run(JBossThread.java:122)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month