[JBoss JIRA] (WFLY-10718) Usage of static fields from java.lang classes as EL expressions in JSPs doesn't work for servlet 4.0
by Jan Stourac (JIRA)
Jan Stourac created WFLY-10718:
----------------------------------
Summary: Usage of static fields from java.lang classes as EL expressions in JSPs doesn't work for servlet 4.0
Key: WFLY-10718
URL: https://issues.jboss.org/browse/WFLY-10718
Project: WildFly
Issue Type: Bug
Components: Web (Undertow)
Affects Versions: 10.0.0.Final, 10.1.0.CR1
Reporter: Jan Stourac
Assignee: James Perkins
Fix For: 10.1.0.Final, 11.0.0.Alpha1
Java EE7 (which supports EL 3.0 spec) allows JSPs to use EL expressions like:
{code}
<html>
<body>
foo: --- ${Boolean.TRUE} ---<br>
bar: --- ${Integer.MAX_VALUE} ---<br>
</body>
</html>
{code}
However, the {code}${Boolean.TRUE}{code} and {code}${Integer.MAX_VALUE}{code} in the above example aren't evaluated correctly and instead a blank string is rendered for them.
More details in the linked forum thread https://developer.jboss.org/thread/271825
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 12 months
[JBoss JIRA] (SWSQE-338) Checker script needs replacement for --show-all flag as it will not be supported in future
by Sunil kondkar (JIRA)
[ https://issues.jboss.org/browse/SWSQE-338?page=com.atlassian.jira.plugin.... ]
Sunil kondkar commented on SWSQE-338:
-------------------------------------
Fixed the corner case where istio is not deployed. Also now script won't use -show-all=false flag, instead the 'Evicted' status is added in the filter.
> Checker script needs replacement for --show-all flag as it will not be supported in future
> ------------------------------------------------------------------------------------------
>
> Key: SWSQE-338
> URL: https://issues.jboss.org/browse/SWSQE-338
> Project: Kiali QE
> Issue Type: Task
> Reporter: Sunil kondkar
> Assignee: Sunil kondkar
> Priority: Minor
>
> 1. Checker script uses the flag -show-all=false to hide the terminated/evicted pods. In jenkins run, we get messages like:
> Flag --show-all has been deprecated, will be removed in an upcoming release
> Some replacement is needed for the flag in the script.
> 2. Fix a corner case where istio is not deployed successfuly and checker script shows istio pods deployed.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 12 months
[JBoss JIRA] (DROOLS-2764) Remove dead code in AuthoringPerspective, AdministrationPerspective and Social Home Page
by Klara Kufova (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2764?page=com.atlassian.jira.plugi... ]
Klara Kufova edited comment on DROOLS-2764 at 7/19/18 7:00 AM:
---------------------------------------------------------------
Klara's action item: check whether the standalone {{AuthoringPerspective}} is no longer there.
was (Author: kkufova):
Klara's action item: check whether the standalone {{AuthoringPerspective}} no longer works.
> Remove dead code in AuthoringPerspective, AdministrationPerspective and Social Home Page
> ----------------------------------------------------------------------------------------
>
> Key: DROOLS-2764
> URL: https://issues.jboss.org/browse/DROOLS-2764
> Project: Drools
> Issue Type: Task
> Affects Versions: 7.9.0.Final
> Reporter: Toni Rikkola
> Assignee: Toni Rikkola
>
> h3. Manual acceptance test
> - Deployment to app server doesn't throw error
> - Go through perspectives, check no runtime error occurs
> - Check if old documentation is not present
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 12 months
[JBoss JIRA] (WFLY-10717) Maven in JBDS reports checkstyle errors not reported by standalone Maven
by Sultan Zhantemirov (JIRA)
Sultan Zhantemirov created WFLY-10717:
-----------------------------------------
Summary: Maven in JBDS reports checkstyle errors not reported by standalone Maven
Key: WFLY-10717
URL: https://issues.jboss.org/browse/WFLY-10717
Project: WildFly
Issue Type: Bug
Components: Quickstarts
Reporter: Sultan Zhantemirov
Assignee: Eduardo Martins
JDBS version 12.0.0.GA build date 20180710-1916
After importing a quickstart, the following error appears in Problems section:
{{Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:checkstyle (execution: check-style, phase: compile)}}
It complains on <parent> element in pom.xml
Problematical quickstarts:
* greeter
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 12 months
[JBoss JIRA] (WFWIP-66) smallrye-config: Unable to deploy component using automatic converter on injected properties
by Michal Jurc (JIRA)
Michal Jurc created WFWIP-66:
--------------------------------
Summary: smallrye-config: Unable to deploy component using automatic converter on injected properties
Key: WFWIP-66
URL: https://issues.jboss.org/browse/WFWIP-66
Project: WildFly WIP
Issue Type: Bug
Components: MP Config
Reporter: Michal Jurc
Assignee: Jeff Mesnil
Priority: Blocker
MicroProfile Configuration specification states the following:
{quote}Automatic Converters
If no built-in nor custom Converter for a requested Type T, an implicit Converter is automatically
provided if the following conditions are met:
• The target type {@code T} has a {@code public static T of(String)} method, or
• The target type {@code T} has a {@code public static T valueOf(String)} method, or
• The target type {@code T} has a public Constructor with a String parameter, or
• The target type {@code T} has a {@code public static T parse(CharSequence)} method{quote}
Consider deploying an application with the following injected property:
{code} @Inject
@ConfigProperty(name = "convertedOne", defaultValue = "2007-12-03T10:15:30")
LocalDateTime localDateTimeProperty;{code}
Deployment of such application fails with the following:
{code:title=jboss-cli}[standalone@localhost:9990 /] deploy ~/testing/mock-artifacts/smallrye-config-playground/ejb-smallrye-config/server/target/server.jar
{"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"server.jar\".CdiValidatorFacto
ryService" => "Failed to start service
Caused by: org.jboss.weld.exceptions.IllegalStateException: WELD-001332: BeanManager method getReference() is not available during application initialization. Container state: DEPLOYED"}}}}
{code}
{code:title=server.log}12:46:19,263 ERROR [stderr] (MSC service thread 1-5) org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type LocalDateTime with qualifiers @ConfigProperty
12:46:19,263 ERROR [stderr] (MSC service thread 1-5) at injection point [BackedAnnotatedField] @Inject @ConfigProperty ejb.HelloBean.localDateTimeProperty
12:46:19,263 ERROR [stderr] (MSC service thread 1-5) at ejb.HelloBean.localDateTimeProperty(HelloBean.java:0)
12:46:19,263 ERROR [stderr] (MSC service thread 1-5)
12:46:19,264 ERROR [stderr] (MSC service thread 1-5) at org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:378)
12:46:19,264 ERROR [stderr] (MSC service thread 1-5) at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:290)
12:46:19,264 ERROR [stderr] (MSC service thread 1-5) at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:143)
12:46:19,264 ERROR [stderr] (MSC service thread 1-5) at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:164)
12:46:19,264 ERROR [stderr] (MSC service thread 1-5) at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:526)
12:46:19,264 ERROR [stderr] (MSC service thread 1-5) at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:64)
12:46:19,264 ERROR [stderr] (MSC service thread 1-5) at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:62)
12:46:19,265 ERROR [stderr] (MSC service thread 1-5) at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:62)
12:46:19,265 ERROR [stderr] (MSC service thread 1-5) at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:55)
12:46:19,265 ERROR [stderr] (MSC service thread 1-5) at java.util.concurrent.FutureTask.run(FutureTask.java:266)
12:46:19,265 ERROR [stderr] (MSC service thread 1-5) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
12:46:19,265 ERROR [stderr] (MSC service thread 1-5) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
12:46:19,265 ERROR [stderr] (MSC service thread 1-5) at java.lang.Thread.run(Thread.java:748)
12:46:19,265 ERROR [stderr] (MSC service thread 1-5) at org.jboss.threads.JBossThread.run(JBossThread.java:485)
12:46:19,270 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC000001: Failed to start service jboss.deployment.unit."server.jar".CdiValidatorFactoryService: org.jboss.msc.service.StartException in service jboss.deployment.unit."server.jar".CdiValidatorFactoryService: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1728)
at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1556)
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.jboss.weld.exceptions.IllegalStateException: WELD-001332: BeanManager method getReference() is not available during application initialization. Container state: DEPLOYED
at org.jboss.weld.bean.builtin.BeanManagerProxy.checkContainerState(BeanManagerProxy.java:234)
at org.jboss.weld.bean.builtin.BeanManagerProxy.getReference(BeanManagerProxy.java:85)
at org.jboss.as.weld.CdiValidatorFactoryService.getReference(CdiValidatorFactoryService.java:122)
at org.jboss.as.weld.CdiValidatorFactoryService.start(CdiValidatorFactoryService.java:83)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1736)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1698)
... 6 more
12:46:19,288 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("deploy") failed - address: ({"deployment" => "server.jar"}) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"server.jar\".CdiValidatorFactoryService" => "Failed to start service
Caused by: org.jboss.weld.exceptions.IllegalStateException: WELD-001332: BeanManager method getReference() is not available during application initialization. Container state: DEPLOYED"}}
12:46:19,289 ERROR [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0021: Deploy of deployment "server.jar" was rolled back with the following failure message:
{"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"server.jar\".CdiValidatorFactoryService" => "Failed to start service
Caused by: org.jboss.weld.exceptions.IllegalStateException: WELD-001332: BeanManager method getReference() is not available during application initialization. Container state: DEPLOYED"}}
{code}
This failure is not produced if the automatically converted property is optional.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 12 months