[weld-issues] [JBoss JIRA] (WELD-2502) Make Weld-SE StartMain more compatible with container execution
Title: Message Title Matej Novotny updated WELD-2502 Weld / WELD-2502 Make Weld-SE StartMain more compatible with container execution Change By: Matej Novotny Status: Pull Request Sent Resolved Resolution: Done 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-2502) Make Weld-SE StartMain more compatible with container execution
Title: Message Title Issue was automatically transitioned when Matej Novotny created pull request #1860 in GitHub Weld / WELD-2502 Make Weld-SE StartMain more compatible with container execution Change By: Matej Novotny Status: Reopened 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
[weld-issues] [JBoss JIRA] (WELD-2502) Make Weld-SE StartMain more compatible with container execution
Title: Message Title Matej Novotny reopened an issue Weld / WELD-2502 Make Weld-SE StartMain more compatible with container execution Change By: Matej Novotny Resolution: Done Status: Resolved Reopened Assignee: Matej Novotny 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-2502) Make Weld-SE StartMain more compatible with container execution
Title: Message Title Martin Kouba updated an issue Weld / WELD-2502 Make Weld-SE StartMain more compatible with container execution Change By: Martin Kouba Fix Version/s: 3.0.5.Final 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-2502) Make Weld-SE StartMain more compatible with container execution
Title: Message Title Martin Kouba updated WELD-2502 Weld / WELD-2502 Make Weld-SE StartMain more compatible with container execution Change By: Martin Kouba Status: Pull Request Sent Resolved Resolution: Done 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-2502) Make Weld-SE StartMain more compatible with container execution
Title: Message Title Issue was automatically transitioned when Steve Moyer created pull request #1838 in GitHub Weld / WELD-2502 Make Weld-SE StartMain more compatible with container execution Change By: Steve Moyer 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
[weld-issues] [JBoss JIRA] (WELD-2502) Make Weld-SE StartMain more compatible with container execution
Title: Message Title Steve Moyer commented on WELD-2502 Re: Make Weld-SE StartMain more compatible with container execution PR submitted - see: https://github.com/weld/core/pull/1837 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-2502) Make Weld-SE StartMain more compatible with container execution
Title: Message Title Steve Moyer created an issue Weld / WELD-2502 Make Weld-SE StartMain more compatible with container execution Issue Type: Feature Request Affects Versions: 3.0.4.Final Assignee: Unassigned Components: Java SE Support Created: 06/Jun/18 8:41 AM Environment: All SE environments Priority: Minor Reporter: Steve Moyer When exceptions are thrown in programs that are run using Weld-SE's StartMain class, the JRE outputs the resulting message and stack-trace to System.err. In a containerized environment, it's common to use an external log processing system (e.g. ELK or Splunk) which will commonly fail to parse this output as it's not formatted as a log entry. A second problem occurs when certain exceptions are thrown as the exit code can be variable. Properly handling stray Throwables in StartMain's main() method solves this problem, allowing the JBoss logging system to output the application's final message and stack-trace, formatted to match the configuration of the system.