[JBoss JIRA] (WFCORE-3818) Improved console color capability detection
by Lukas Vydra (Jira)
[ https://issues.redhat.com/browse/WFCORE-3818?page=com.atlassian.jira.plug... ]
Lukas Vydra reassigned WFCORE-3818:
-----------------------------------
Assignee: Lukas Vydra
> Improved console color capability detection
> -------------------------------------------
>
> Key: WFCORE-3818
> URL: https://issues.redhat.com/browse/WFCORE-3818
> Project: WildFly Core
> Issue Type: Enhancement
> Components: Logging, Scripts
> Affects Versions: 8.0.0.Beta5
> Reporter: David Lloyd
> Assignee: Lukas Vydra
> Priority: Major
>
> We should improve on our ability to correctly detect color capabilities on the console. Many times, build logs in CI environments and similar cases are hard to read due to ANSI codes being written to a console that did not have color capabilities, and this could have been detected.
> In the bash scripts, logic like the following can be used:
> * If the {{tput}} command does not exist, fall back to checking {{TERM}}.
> * If {{tput colors}} returns 8, 16, or 256, the terminal supports at least that many colors.
> * The {{TERM}} var: the terminal supports 256 colors if {{TERM}} contains values xterm-256color, screen-256color, or generally any value containing 256 probably indicates color support.
> * Check the value of the COLORTERM environment variable; if truecolor or 24bit, then you have 24-bit RGB capability (this should apply to Linux, Mac OS X, and Windows).
> On Windows, COLORTERM is also usually supported in terminals supporting 24-bit RGB; presence of this env var may be sufficient to enable color. The TERM environment variable is also often supported.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months
[JBoss JIRA] (WFLY-13620) jaxrs-jwt: The parameters 'mainClass' are missing or invalid
by Wolfgang Mayer (Jira)
[ https://issues.redhat.com/browse/WFLY-13620?page=com.atlassian.jira.plugi... ]
Wolfgang Mayer commented on WFLY-13620:
---------------------------------------
Thanks, this works!
> jaxrs-jwt: The parameters 'mainClass' are missing or invalid
> -------------------------------------------------------------
>
> Key: WFLY-13620
> URL: https://issues.redhat.com/browse/WFLY-13620
> Project: WildFly
> Issue Type: Bug
> Components: Quickstarts
> Affects Versions: 20.0.0.Final
> Reporter: Wolfgang Mayer
> Assignee: Ranabir Chakraborty
> Priority: Minor
>
> mvn exec:java fails
> [INFO] Reactor Summary for Quickstart: jaxrs-jwt 20.0.0.Final:
> [INFO]
> [INFO] Quickstart: jaxrs-jwt .............................. FAILURE [ 0.361 s]
> [INFO] Quickstart: jaxrs-jwt - client ..................... SKIPPED
> [INFO] Quickstart: jaxrs-jwt - service .................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.056 s
> [INFO] Finished at: 2020-06-27T13:39:17+02:00
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project jaxrs-jwt: The parameters 'mainClass' for goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java are missing or invalid -> [Help 1]
> [ERROR]
> mvn -v
> Apache Maven 3.6.3
> Maven home: /usr/share/maven
> Java version: 14.0.1, vendor: Private Build, runtime: /usr/lib/jvm/java-14-openjdk-amd64
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "linux", version: "5.4.0-39-generic", arch: "amd64", family: "unix"
> Executing the clent directly via:
> $JAVA_HOME/bin/java -classpath $CLASSPATH org.jboss.quickstarts.jaxrsjwt.client.JwtRestClient
> Euns successfully indeed. So this seems to be an issue with the pom.xml
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months
[JBoss JIRA] (WFLY-13515) Application does not fail when @Singleton @PostConstruct throws exception
by Bartosz Spyrko-Smietanko (Jira)
[ https://issues.redhat.com/browse/WFLY-13515?page=com.atlassian.jira.plugi... ]
Bartosz Spyrko-Smietanko commented on WFLY-13515:
-------------------------------------------------
Alternative fix in [https://github.com/wildfly/wildfly/pull/11711]
> Application does not fail when @Singleton @PostConstruct throws exception
> -------------------------------------------------------------------------
>
> Key: WFLY-13515
> URL: https://issues.redhat.com/browse/WFLY-13515
> Project: WildFly
> Issue Type: Bug
> Components: EJB
> Affects Versions: 19.0.0.Final, 20.0.0.Beta1
> Reporter: Cheng Fang
> Assignee: Cheng Fang
> Priority: Major
> Labels: Regression, downstream_dependency
> Attachments: helloWorld.ear
>
>
> In EAP 6.4 , sub deployments were accessible before all Singleton's PostConstruct were finished, this was fixed via [1]. After this fix if an exception was thrown from PostConstruct, then the whole deployment was in a failed state as well. EAP 7.0 works the same as EAP 6.4 after the fix.
> In EAP 7.3/7.2/7.1 when the Singleton throws an exception, the sub deployments are accessible.
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1310908
> EJB 3.1 spec, section 4.8.1:
> {quote}
> If the Startup annotation appears on the Singleton bean class or if the Singleton has been designated via the deployment descriptor as requiring eager initialization, the container must initialize the Singleton bean instance during the application startup sequence. The container must initialize all such startup-time Singletons before any external client requests (that is, client requests originating outside of the application) are delivered to any enterprise bean components in the application.
> {quote}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months
[JBoss JIRA] (WFLY-13620) jaxrs-jwt: The parameters 'mainClass' are missing or invalid
by Ranabir Chakraborty (Jira)
[ https://issues.redhat.com/browse/WFLY-13620?page=com.atlassian.jira.plugi... ]
Ranabir Chakraborty commented on WFLY-13620:
--------------------------------------------
Thanks [~emmartins] for the update! sure I'll do it
> jaxrs-jwt: The parameters 'mainClass' are missing or invalid
> -------------------------------------------------------------
>
> Key: WFLY-13620
> URL: https://issues.redhat.com/browse/WFLY-13620
> Project: WildFly
> Issue Type: Bug
> Components: Quickstarts
> Affects Versions: 20.0.0.Final
> Reporter: Wolfgang Mayer
> Assignee: Ranabir Chakraborty
> Priority: Minor
>
> mvn exec:java fails
> [INFO] Reactor Summary for Quickstart: jaxrs-jwt 20.0.0.Final:
> [INFO]
> [INFO] Quickstart: jaxrs-jwt .............................. FAILURE [ 0.361 s]
> [INFO] Quickstart: jaxrs-jwt - client ..................... SKIPPED
> [INFO] Quickstart: jaxrs-jwt - service .................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.056 s
> [INFO] Finished at: 2020-06-27T13:39:17+02:00
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project jaxrs-jwt: The parameters 'mainClass' for goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java are missing or invalid -> [Help 1]
> [ERROR]
> mvn -v
> Apache Maven 3.6.3
> Maven home: /usr/share/maven
> Java version: 14.0.1, vendor: Private Build, runtime: /usr/lib/jvm/java-14-openjdk-amd64
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "linux", version: "5.4.0-39-generic", arch: "amd64", family: "unix"
> Executing the clent directly via:
> $JAVA_HOME/bin/java -classpath $CLASSPATH org.jboss.quickstarts.jaxrsjwt.client.JwtRestClient
> Euns successfully indeed. So this seems to be an issue with the pom.xml
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months
[JBoss JIRA] (WFLY-13620) jaxrs-jwt: The parameters 'mainClass' are missing or invalid
by Eduardo Martins (Jira)
[ https://issues.redhat.com/browse/WFLY-13620?page=com.atlassian.jira.plugi... ]
Eduardo Martins commented on WFLY-13620:
----------------------------------------
[~mayerw01] [~emmartins] I just checked and this is due to wrong instructions in the README.html, the client command should be executed in the client dir. The README.adoc should be fixed regarding this, and also it mentions an Elytron system exceptions script which does not exist, thus such content should be removed too.
Now once you execute the command in the client dir there is an error due to missing commons logging classes, this should be corrected by adding the following dependency to the client/pom.xml:
{code:java}
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>commons-logging-jboss-logging</artifactId>
</dependency>
{code}
[~rchakrab] can you please prepare a PR fixing the 3 issues?
> jaxrs-jwt: The parameters 'mainClass' are missing or invalid
> -------------------------------------------------------------
>
> Key: WFLY-13620
> URL: https://issues.redhat.com/browse/WFLY-13620
> Project: WildFly
> Issue Type: Bug
> Components: Quickstarts
> Affects Versions: 20.0.0.Final
> Reporter: Wolfgang Mayer
> Assignee: Ranabir Chakraborty
> Priority: Minor
>
> mvn exec:java fails
> [INFO] Reactor Summary for Quickstart: jaxrs-jwt 20.0.0.Final:
> [INFO]
> [INFO] Quickstart: jaxrs-jwt .............................. FAILURE [ 0.361 s]
> [INFO] Quickstart: jaxrs-jwt - client ..................... SKIPPED
> [INFO] Quickstart: jaxrs-jwt - service .................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.056 s
> [INFO] Finished at: 2020-06-27T13:39:17+02:00
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project jaxrs-jwt: The parameters 'mainClass' for goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java are missing or invalid -> [Help 1]
> [ERROR]
> mvn -v
> Apache Maven 3.6.3
> Maven home: /usr/share/maven
> Java version: 14.0.1, vendor: Private Build, runtime: /usr/lib/jvm/java-14-openjdk-amd64
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "linux", version: "5.4.0-39-generic", arch: "amd64", family: "unix"
> Executing the clent directly via:
> $JAVA_HOME/bin/java -classpath $CLASSPATH org.jboss.quickstarts.jaxrsjwt.client.JwtRestClient
> Euns successfully indeed. So this seems to be an issue with the pom.xml
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months
[JBoss JIRA] (WFLY-13620) jaxrs-jwt: The parameters 'mainClass' are missing or invalid
by Eduardo Martins (Jira)
[ https://issues.redhat.com/browse/WFLY-13620?page=com.atlassian.jira.plugi... ]
Eduardo Martins edited comment on WFLY-13620 at 7/17/20 7:35 AM:
-----------------------------------------------------------------
[~mayerw01] [~rchakrab] I just checked and this is due to wrong instructions in the README.html, the client command should be executed in the client dir. The README.adoc should be fixed regarding this, and also it mentions an Elytron system exceptions script which does not exist, thus such content should be removed too.
Now once you execute the command in the client dir there is an error due to missing commons logging classes, this should be corrected by adding the following dependency to the client/pom.xml:
{code:java}
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>commons-logging-jboss-logging</artifactId>
</dependency>
{code}
[~rchakrab] can you please prepare a PR fixing the 3 issues?
was (Author: emmartins):
[~mayerw01] [~emmartins] I just checked and this is due to wrong instructions in the README.html, the client command should be executed in the client dir. The README.adoc should be fixed regarding this, and also it mentions an Elytron system exceptions script which does not exist, thus such content should be removed too.
Now once you execute the command in the client dir there is an error due to missing commons logging classes, this should be corrected by adding the following dependency to the client/pom.xml:
{code:java}
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>commons-logging-jboss-logging</artifactId>
</dependency>
{code}
[~rchakrab] can you please prepare a PR fixing the 3 issues?
> jaxrs-jwt: The parameters 'mainClass' are missing or invalid
> -------------------------------------------------------------
>
> Key: WFLY-13620
> URL: https://issues.redhat.com/browse/WFLY-13620
> Project: WildFly
> Issue Type: Bug
> Components: Quickstarts
> Affects Versions: 20.0.0.Final
> Reporter: Wolfgang Mayer
> Assignee: Ranabir Chakraborty
> Priority: Minor
>
> mvn exec:java fails
> [INFO] Reactor Summary for Quickstart: jaxrs-jwt 20.0.0.Final:
> [INFO]
> [INFO] Quickstart: jaxrs-jwt .............................. FAILURE [ 0.361 s]
> [INFO] Quickstart: jaxrs-jwt - client ..................... SKIPPED
> [INFO] Quickstart: jaxrs-jwt - service .................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.056 s
> [INFO] Finished at: 2020-06-27T13:39:17+02:00
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project jaxrs-jwt: The parameters 'mainClass' for goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java are missing or invalid -> [Help 1]
> [ERROR]
> mvn -v
> Apache Maven 3.6.3
> Maven home: /usr/share/maven
> Java version: 14.0.1, vendor: Private Build, runtime: /usr/lib/jvm/java-14-openjdk-amd64
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "linux", version: "5.4.0-39-generic", arch: "amd64", family: "unix"
> Executing the clent directly via:
> $JAVA_HOME/bin/java -classpath $CLASSPATH org.jboss.quickstarts.jaxrsjwt.client.JwtRestClient
> Euns successfully indeed. So this seems to be an issue with the pom.xml
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months
[JBoss JIRA] (WFLY-13620) jaxrs-jwt: The parameters 'mainClass' are missing or invalid
by Eduardo Martins (Jira)
[ https://issues.redhat.com/browse/WFLY-13620?page=com.atlassian.jira.plugi... ]
Eduardo Martins edited comment on WFLY-13620 at 7/17/20 7:35 AM:
-----------------------------------------------------------------
[~mayerw01] [~rchakrab] I just checked and this is due to wrong instructions in the README.adoc, the client command should be executed in the client dir. The README.adoc should be fixed regarding this, and also it mentions an Elytron system exceptions script which does not exist, thus such content should be removed too.
Now once you execute the command in the client dir there is an error due to missing commons logging classes, this should be corrected by adding the following dependency to the client/pom.xml:
{code:java}
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>commons-logging-jboss-logging</artifactId>
</dependency>
{code}
[~rchakrab] can you please prepare a PR fixing the 3 issues?
was (Author: emmartins):
[~mayerw01] [~rchakrab] I just checked and this is due to wrong instructions in the README.html, the client command should be executed in the client dir. The README.adoc should be fixed regarding this, and also it mentions an Elytron system exceptions script which does not exist, thus such content should be removed too.
Now once you execute the command in the client dir there is an error due to missing commons logging classes, this should be corrected by adding the following dependency to the client/pom.xml:
{code:java}
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>commons-logging-jboss-logging</artifactId>
</dependency>
{code}
[~rchakrab] can you please prepare a PR fixing the 3 issues?
> jaxrs-jwt: The parameters 'mainClass' are missing or invalid
> -------------------------------------------------------------
>
> Key: WFLY-13620
> URL: https://issues.redhat.com/browse/WFLY-13620
> Project: WildFly
> Issue Type: Bug
> Components: Quickstarts
> Affects Versions: 20.0.0.Final
> Reporter: Wolfgang Mayer
> Assignee: Ranabir Chakraborty
> Priority: Minor
>
> mvn exec:java fails
> [INFO] Reactor Summary for Quickstart: jaxrs-jwt 20.0.0.Final:
> [INFO]
> [INFO] Quickstart: jaxrs-jwt .............................. FAILURE [ 0.361 s]
> [INFO] Quickstart: jaxrs-jwt - client ..................... SKIPPED
> [INFO] Quickstart: jaxrs-jwt - service .................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.056 s
> [INFO] Finished at: 2020-06-27T13:39:17+02:00
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project jaxrs-jwt: The parameters 'mainClass' for goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java are missing or invalid -> [Help 1]
> [ERROR]
> mvn -v
> Apache Maven 3.6.3
> Maven home: /usr/share/maven
> Java version: 14.0.1, vendor: Private Build, runtime: /usr/lib/jvm/java-14-openjdk-amd64
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "linux", version: "5.4.0-39-generic", arch: "amd64", family: "unix"
> Executing the clent directly via:
> $JAVA_HOME/bin/java -classpath $CLASSPATH org.jboss.quickstarts.jaxrsjwt.client.JwtRestClient
> Euns successfully indeed. So this seems to be an issue with the pom.xml
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months
[JBoss JIRA] (WFLY-13620) jaxrs-jwt: The parameters 'mainClass' are missing or invalid
by Wolfgang Mayer (Jira)
[ https://issues.redhat.com/browse/WFLY-13620?page=com.atlassian.jira.plugi... ]
Wolfgang Mayer commented on WFLY-13620:
---------------------------------------
I've no 1.8.0_232 available and I am not sure how to download this version.
But I've tested this with 1.8.0_261 (actually Oracle strongly recommends that all Java SE 8 users upgrade to this release).
The result is the same.
ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project jaxrs-jwt: The parameters 'mainClass' for goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java are missing or invalid
mvn -v
Apache Maven 3.6.3
Maven home: /usr/share/maven
Java version: 1.8.0_261, vendor: Oracle Corporation, runtime: /usr/local/java/jdk1.8.0_261/jre
Default locale: de_DE, platform encoding: UTF-8
OS name: "linux", version: "5.4.0-40-generic", arch: "amd64", family: "unix"
> jaxrs-jwt: The parameters 'mainClass' are missing or invalid
> -------------------------------------------------------------
>
> Key: WFLY-13620
> URL: https://issues.redhat.com/browse/WFLY-13620
> Project: WildFly
> Issue Type: Bug
> Components: Quickstarts
> Affects Versions: 20.0.0.Final
> Reporter: Wolfgang Mayer
> Assignee: Ranabir Chakraborty
> Priority: Minor
>
> mvn exec:java fails
> [INFO] Reactor Summary for Quickstart: jaxrs-jwt 20.0.0.Final:
> [INFO]
> [INFO] Quickstart: jaxrs-jwt .............................. FAILURE [ 0.361 s]
> [INFO] Quickstart: jaxrs-jwt - client ..................... SKIPPED
> [INFO] Quickstart: jaxrs-jwt - service .................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.056 s
> [INFO] Finished at: 2020-06-27T13:39:17+02:00
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project jaxrs-jwt: The parameters 'mainClass' for goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java are missing or invalid -> [Help 1]
> [ERROR]
> mvn -v
> Apache Maven 3.6.3
> Maven home: /usr/share/maven
> Java version: 14.0.1, vendor: Private Build, runtime: /usr/lib/jvm/java-14-openjdk-amd64
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "linux", version: "5.4.0-39-generic", arch: "amd64", family: "unix"
> Executing the clent directly via:
> $JAVA_HOME/bin/java -classpath $CLASSPATH org.jboss.quickstarts.jaxrsjwt.client.JwtRestClient
> Euns successfully indeed. So this seems to be an issue with the pom.xml
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months
[JBoss JIRA] (WFLY-13676) Increase the test coverage of jpa and jpa-distribute galleon layers
by Yeray Borges Santana (Jira)
Yeray Borges Santana created WFLY-13676:
-------------------------------------------
Summary: Increase the test coverage of jpa and jpa-distribute galleon layers
Key: WFLY-13676
URL: https://issues.redhat.com/browse/WFLY-13676
Project: WildFly
Issue Type: Task
Components: Build System, JPA / Hibernate, Test Suite
Reporter: Yeray Borges Santana
Assignee: Yeray Borges Santana
These layers must be tested independently on testsuite/layers testsuite.
These layers should also be tested in aggregation with one or more base layers it is expected to decorate, running the test with each of one separately.
We have to add new Galleon provision execution to provision a server with a base layer provisioned with jpa or jpa-distributed and add a surefire execution to run suitable WildFly tests on them.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months