[weld-issues] [JBoss JIRA] (WELD-2437) SecurityContext not injected

2017-10-19 Thread Martin Kouba (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Kouba resolved as Rejected  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Rejecting as this is not a Weld bug. Feel free to create a WildFly ticket for a version which implements Java EE 8.  
 

  
 
 
 
 

 
 Weld /  WELD-2437  
 
 
  SecurityContext not injected   
 

  
 
 
 
 

 
Change By: 
 Martin Kouba  
 
 
Status: 
 Open Resolved  
 
 
Resolution: 
 Rejected  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.0#75005-sha1:fd8c849)  
 
 

 
   
 

  
 

  
 

   

___
weld-issues mailing list
weld-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-issues

[weld-issues] [JBoss JIRA] (WELD-2437) SecurityContext not injected

2017-10-19 Thread Martin Kouba (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Kouba commented on  WELD-2437  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: SecurityContext not injected   
 

  
 
 
 
 

 
 Hm, it comes from Java EE Security API which is part EE 8. AFAIK WildFly 11 does implement Java EE 7.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.0#75005-sha1:fd8c849)  
 
 

 
   
 

  
 

  
 

   

___
weld-issues mailing list
weld-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-issues

[weld-issues] [JBoss JIRA] (WELD-2438) Raise a warning if javax.annotation.Priority cannot be found

2017-10-19 Thread Martin Kouba (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Kouba updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Weld /  WELD-2438  
 
 
  Raise a warning if javax.annotation.Priority cannot be found   
 

  
 
 
 
 

 
Change By: 
 Martin Kouba  
 
 
Labels: 
 java9 jdk9  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.0#75005-sha1:fd8c849)  
 
 

 
   
 

  
 

  
 

   

___
weld-issues mailing list
weld-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-issues

[weld-issues] [JBoss JIRA] (WELD-2437) SecurityContext not injected

2017-10-19 Thread Martin Kouba (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Kouba commented on  WELD-2437  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: SecurityContext not injected   
 

  
 
 
 
 

 
 Well, javax.security.enterprise.SecurityContext is not defined as a built-in bean in CDI spec, where does it come from?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.0#75005-sha1:fd8c849)  
 
 

 
   
 

  
 

  
 

   

___
weld-issues mailing list
weld-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-issues

[weld-issues] [JBoss JIRA] (WELD-2438) Raise a warning if javax.annotation.Priority cannot be found

2017-10-19 Thread Gunnar Morling (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Gunnar Morling created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Weld /  WELD-2438  
 
 
  Raise a warning if javax.annotation.Priority cannot be found   
 

  
 
 
 
 

 
Issue Type: 
  Task  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 19/Oct/17 5:37 AM  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Gunnar Morling  
 

  
 
 
 
 

 
 When using Weld on Java 9 and the java.xml.ws.annotation module is enabled, interceptors won't be registered. The reason being, that this module contains only a subset of the Commons Annotation API, in particular, @Priority isn't there. The code (AnnotationApiAbstraction) for retrieving inceptor priorities in Weld is very defensive, it just returns null if the annotation type isn't present, causing interceptors not being picked up. Having a warning about that annotation type (and potentially others) missing, would help users to understand that very subtle issue. Currently, interceptors just won't be applied without any error or warning whatsoever.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

 

[weld-issues] [JBoss JIRA] (WELD-2435) Java 9 jigsaw - weld-servlet-core WeldProvider not in module

2017-10-19 Thread Matej Novotny (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Matej Novotny updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Weld /  WELD-2435  
 
 
  Java 9 jigsaw - weld-servlet-core WeldProvider not in module
 

  
 
 
 
 

 
Change By: 
 Matej Novotny  
 
 
Labels: 
 java9 jdk9  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.0#75005-sha1:fd8c849)  
 
 

 
   
 

  
 

  
 

   

___
weld-issues mailing list
weld-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-issues

[weld-issues] [JBoss JIRA] (WELD-2437) SecurityContext not injected

2017-10-19 Thread Mike Kachalov (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mike Kachalov created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Weld /  WELD-2437  
 
 
  SecurityContext not injected   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 Built-in beans, Class Beans (Managed and Session)  
 
 
Created: 
 19/Oct/17 5:23 AM  
 
 
Environment: 
 WildFly 11.0.0.CR1  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Mike Kachalov  
 

  
 
 
 
 

 
 11:49:28,341 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC01: Failed to start service jboss.deployment.unit."foo-1.0.ear".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."foo-1.0.ear".WeldStartService: Failed to start service at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1978) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type SecurityContext with qualifiers @Default at injection point [BackedAnnotatedField] @Inject private com.foo.bar.facade.impl.UserRegisterFacadeImpl.securityContext  
 

  
 
 
 
 

 
 
 

 
   

[weld-issues] [JBoss JIRA] (WELD-2258) Allow to affect the ordering when iterating over javax.enterprise.inject.Instance

2017-10-19 Thread Martin Kouba (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Kouba commented on  WELD-2258  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Allow to affect the ordering when iterating over javax.enterprise.inject.Instance   
 

  
 
 
 
 

 
 API proposal (work in progress): https://github.com/weld/api/pull/68  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.0#75005-sha1:fd8c849)  
 
 

 
   
 

  
 

  
 

   

___
weld-issues mailing list
weld-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-issues

[weld-issues] [JBoss JIRA] (WELD-2435) Java 9 jigsaw - weld-servlet-core WeldProvider not in module

2017-10-19 Thread Klemen Ferjancic (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Klemen Ferjancic commented on  WELD-2435  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Java 9 jigsaw - weld-servlet-core WeldProvider not in module
 

  
 
 
 
 

 
 I believe the interface module declares `uses com.ServiceInterface;` while the implementor declares `provides com.ServiceInterface with com.impl.MyServiceImpl;` in module-info.java. So no, you don't need the implementation in the same jar. Anyway, i thought this would be some simple fix but the problems go much deeper and probably require full module implementation across weld so perhaps this issue can be closed.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.0#75005-sha1:fd8c849)  
 
 

 
   
 

  
 

  
 

   

___
weld-issues mailing list
weld-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-issues

[weld-issues] [JBoss JIRA] (WELD-2258) Allow to affect the ordering when iterating over javax.enterprise.inject.Instance

2017-10-19 Thread Martin Kouba (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Issue was automatically transitioned when Martin Kouba created pull request #68 in GitHub  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Weld /  WELD-2258  
 
 
  Allow to affect the ordering when iterating over javax.enterprise.inject.Instance   
 

  
 
 
 
 

 
Change By: 
 Martin Kouba  
 
 
Status: 
 Open Pull Request Sent  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.0#75005-sha1:fd8c849)  
 
 

 
   
 

  
 

  
 

   

___
weld-issues mailing list
weld-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-issues