[weld-issues] [JBoss JIRA] (WELD-2188) Embedded Tomcat 8.5 not picked up as Tomcat environment
Title: Message Title Martin Kouba resolved as Incomplete Description Feel free to reopen if necessary. Weld / WELD-2188 Embedded Tomcat 8.5 not picked up as Tomcat environment Change By: Martin Kouba Status: Open Resolved Resolution: Incomplete Description Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) ___ weld-issues mailing list weld-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/weld-issues
[weld-issues] [JBoss JIRA] (WELD-2188) Embedded Tomcat 8.5 not picked up as Tomcat environment
Title: Message Title Martin Kouba commented on WELD-2188 Re: Embedded Tomcat 8.5 not picked up as Tomcat environment John Ament Is this still a problem? Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) ___ weld-issues mailing list weld-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/weld-issues
[weld-issues] [JBoss JIRA] (WELD-2188) Embedded Tomcat 8.5 not picked up as Tomcat environment
Title: Message Title Martin Kouba commented on WELD-2188 Re: Embedded Tomcat 8.5 not picked up as Tomcat environment How does the TomcatWebServer class look like? A simple reproducer would help. Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) ___ weld-issues mailing list weld-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/weld-issues
[weld-issues] [JBoss JIRA] (WELD-2188) Embedded Tomcat 8.5 not picked up as Tomcat environment
Title: Message Title Martin Kouba commented on WELD-2188 Re: Embedded Tomcat 8.5 not picked up as Tomcat environment Hm, that's odd. A log file/console output (ideally with debug level enabled) would be helpful. Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) ___ weld-issues mailing list weld-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/weld-issues
[weld-issues] [JBoss JIRA] (WELD-2188) Embedded Tomcat 8.5 not picked up as Tomcat environment
Title: Message Title John Ament commented on WELD-2188 Re: Embedded Tomcat 8.5 not picked up as Tomcat environment Nope, I have a beans.xml, It's a plain annotated based one xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/beans_1_1.xsd" bean-discovery-mode="annotated"> Add Comment
[weld-issues] [JBoss JIRA] (WELD-2188) Embedded Tomcat 8.5 not picked up as Tomcat environment
Title: Message Title Martin Kouba edited a comment on WELD-2188 Re: Embedded Tomcat 8.5 not picked up as Tomcat environment Thanks for the report. Weld SE and Servlet can cooperate (i.e. share the container initialized by SE). However, you have to bind the {{BeanManager}} (from SE) in the ServletContext before you start the servlet container. The log file attribute name should be {{org.jboss.weld.environment.servlet.javax.enterprise.inject.spi.BeanManager}}. See also [the test|https: / console output or a simple reproducer ( /github.com/mkouba/core/blob/WELD-1665/environments/servlet/tests/jetty/src/ test case / app weld-se-coop/org/jboss/weld/environment/servlet/test/se/coop/BootstrapNotNeededTest.java#L38] which indicates how this should work. AFAIK this feature is not documented yet (I will create an issue to fix this ) would be helpful . In your example, Weld Servlet does not pick up Tomcat as there is probably no beans.xml in your shaded jar, is it? Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) ___ weld-issues mailing list weld-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/weld-issues
[weld-issues] [JBoss JIRA] (WELD-2188) Embedded Tomcat 8.5 not picked up as Tomcat environment
Title: Message Title Martin Kouba edited a comment on WELD-2188 Re: Embedded Tomcat 8.5 not picked up as Tomcat environment Thanks for the report. The log file/console output or a simple reproducer (test case/app) would be helpful. Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) ___ weld-issues mailing list weld-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/weld-issues
[weld-issues] [JBoss JIRA] (WELD-2188) Embedded Tomcat 8.5 not picked up as Tomcat environment
Title: Message Title Martin Kouba commented on WELD-2188 Re: Embedded Tomcat 8.5 not picked up as Tomcat environment Thanks for the report. The log file/console output or a simple reproducer would be helpful. Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) ___ weld-issues mailing list weld-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/weld-issues
[weld-issues] [JBoss JIRA] (WELD-2188) Embedded Tomcat 8.5 not picked up as Tomcat environment
Title: Message Title John Ament created an issue Weld / WELD-2188 Embedded Tomcat 8.5 not picked up as Tomcat environment Issue Type: Bug Affects Versions: 2.3.5.Final Assignee: Unassigned Components: Servlet Container Support Created: 02/Jul/16 9:26 PM Priority: Major Reporter: John Ament Assuming the following dependencies in a project: org.jboss.weld.se