[weld-issues] [JBoss JIRA] (WELD-2564) Make documentation buildable with up-to-date tooling

2019-03-05 Thread Matej Novotny (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Issue was automatically transitioned when Matej Novotny created pull request #1909 in GitHub  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Weld /  WELD-2564  
 
 
  Make documentation buildable with up-to-date tooling   
 

  
 
 
 
 

 
Change By: 
 Matej Novotny  
 
 
Status: 
 Open Pull Request Sent  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.12.1#712002-sha1:609a505)  
 
 

 
   
 

  
 

  
 

   

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

[weld-issues] [JBoss JIRA] (WELD-2564) Make documentation buildable with up-to-date tooling

2019-03-05 Thread Matej Novotny (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Matej Novotny assigned an issue to Matej Novotny  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Weld /  WELD-2564  
 
 
  Make documentation buildable with up-to-date tooling   
 

  
 
 
 
 

 
Change By: 
 Matej Novotny  
 
 
Assignee: 
 Matej Novotny  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.12.1#712002-sha1:609a505)  
 
 

 
   
 

  
 

  
 

   

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

[weld-issues] [JBoss JIRA] (WELD-2564) Make documentation buildable with up-to-date tooling

2019-03-05 Thread Matej Novotny (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Matej Novotny updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Weld /  WELD-2564  
 
 
  Make documentation buildable with up-to-date tooling   
 

  
 
 
 
 

 
Change By: 
 Matej Novotny  
 
 
Git Pull Request: 
 https://github.com/weld/core/pull/1909  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.12.1#712002-sha1:609a505)  
 
 

 
   
 

  
 

  
 

   

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

[weld-issues] [JBoss JIRA] (WELD-2566) WeldAlterableContext clearAndSet() needs to clear caches

2019-03-05 Thread Matej Novotny (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Issue was automatically transitioned when Matej Novotny created pull request #1908 in GitHub  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Weld /  WELD-2566  
 
 
  WeldAlterableContext clearAndSet() needs to clear caches
 

  
 
 
 
 

 
Change By: 
 Matej Novotny  
 
 
Status: 
 Open Pull Request Sent  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.12.1#712002-sha1:609a505)  
 
 

 
   
 

  
 

  
 

   

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

[weld-issues] [JBoss JIRA] (WELD-2566) WeldAlterableContext clearAndSet() needs to clear caches

2019-03-05 Thread Matej Novotny (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Matej Novotny updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Weld /  WELD-2566  
 
 
  WeldAlterableContext clearAndSet() needs to clear caches
 

  
 
 
 
 

 
Change By: 
 Matej Novotny  
 
 
Git Pull Request: 
 https://github.com/weld/core/pull/1908  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.12.1#712002-sha1:609a505)  
 
 

 
   
 

  
 

  
 

   

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

[weld-issues] [JBoss JIRA] (WELD-2570) WELD-ENV-000033 error using Tomcat 8+ in Eclipse

2019-03-05 Thread Matej Novotny (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Matej Novotny edited a comment on  WELD-2570  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: WELD-ENV-33 error using Tomcat 8+ in Eclipse
 

  
 
 
 
 

 
 Looking at docs for older version (Weld 1), I can see following:bq. That means each archive that contains beans must include a file named beans.xml in the META-INF directory of the classpath or WEB-INF directory of the web root (for war archives). So I am quite surprised that it worked for you before on Tomcat 7 with Weld 1 under {{META-INF}}.When you are deploying via IDE, what does the deployment look like? It is an actual WAR at all?  If it's not, then Weld might be going a different way in discovering {{beans.xml}} perhaps.Also noteworthy is that you are comparing Weld 1 and Weld 3 in this regards and there are likely some differences in this, especially given that servlet support isn't rooted in CDI spec at all.   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.12.1#712002-sha1:609a505)  
 
 

 
   
 

  
 

  
 

   

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

[weld-issues] [JBoss JIRA] (WELD-2570) WELD-ENV-000033 error using Tomcat 8+ in Eclipse

2019-03-05 Thread Matej Novotny (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Matej Novotny updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Weld /  WELD-2570  
 
 
  WELD-ENV-33 error using Tomcat 8+ in Eclipse
 

  
 
 
 
 

 
Change By: 
 Matej Novotny  
 
 
Fix Version/s: 
 3.1.x  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.12.1#712002-sha1:609a505)  
 
 

 
   
 

  
 

  
 

   

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

[weld-issues] [JBoss JIRA] (WELD-2570) WELD-ENV-000033 error using Tomcat 8+ in Eclipse

2019-03-05 Thread Matej Novotny (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Matej Novotny commented on  WELD-2570  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: WELD-ENV-33 error using Tomcat 8+ in Eclipse
 

  
 
 
 
 

 
 Looking at docs for older version (Weld 1), I can see following: 

That means each archive that contains beans must include a file named beans.xml in the META-INF directory of the classpath or WEB-INF directory of the web root (for war archives). 
 So I am quite surprised that it worked for you before on Tomcat 7 with Weld 1 under META-INF. When you are deploying via IDE, what does the deployment look like? It is an actual WAR at all?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.12.1#712002-sha1:609a505)  
 
 

 
   
 

  
 

  
 

   

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

[weld-issues] [JBoss JIRA] (WELD-2570) WELD-ENV-000033 error using Tomcat 8+ in Eclipse

2019-03-05 Thread Carlos Aristu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Carlos Aristu commented on  WELD-2570  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: WELD-ENV-33 error using Tomcat 8+ in Eclipse
 

  
 
 
 
 

 
 Hello Matej,  thank you for the response. Yes, when directly deploying my application into Tomcat I have no problem because I place the beans.xml file into WEB-INF folder as stated in the docs. This works fine.  This problem happens in my "local" web application, when I start Tomcat using Eclipse IDE (for example when I need to debug my application). My application has the folder structure of a standard Eclipse dynamic web application. Having said that, I have found two different alternatives but both are failing depending on the Tomcat version I use:  a) Deploy beans.xml into build/classes/META-INF/beans.xml --> With this approach I'm able to start my application with Tomcat 7. But using Tomcat 8 (or higher) results in the WELD-ENV-33 error.  b) Deploy beans.xml into WebContent/WEB_INF/beans.xml --> With this approach I'm able to start my application with Tomcat 8 (or higher). But using Tomcat 7, the beans.xml file is not found.  Note that option a) was working fine for me both in Tomcat 7 and 8 using weld 1.1.24   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.12.1#712002-sha1:609a505)  
 
 

 
   
 

  
 

  
 

   

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