[JBoss JIRA] (LOGTOOL-104) FQCN and an import improperly deconflicted - FQCN lost
by David Lloyd (JIRA)
[ https://issues.jboss.org/browse/LOGTOOL-104?page=com.atlassian.jira.plugi... ]
David Lloyd commented on LOGTOOL-104:
-------------------------------------
I think this is caused either by a bug in the import handling in JDeparser, or a bug in the tooling where the JType is being built from an unqualified String rather than the FQCN string which would in turn prevent the import logic from detecting the conflict.
> FQCN and an import improperly deconflicted - FQCN lost
> ------------------------------------------------------
>
> Key: LOGTOOL-104
> URL: https://issues.jboss.org/browse/LOGTOOL-104
> Project: Log Tool
> Issue Type: Bug
> Affects Versions: 2.0.1.Final
> Reporter: Arcadiy Ivanov
>
> Given:
> {code}
> import org.osgi.framework.hooks.service.EventHook;
> @MessageLogger(projectCode = "JBOSGI")
> public interface FrameworkLogger extends BasicLogger {
> @LogMessage(level = WARN)
> @Message(id = 11019, value = "Error while calling event hook: %s")
> void warnErrorWhileCallingEventHook(@Cause Throwable cause, EventHook hook);
> @LogMessage(level = WARN)
> @Message(id = 11040, value = "Error while calling bundle event hook: %s")
> void warnErrorWhileCallingBundleEventHook(@Cause Throwable cause, org.osgi.framework.hooks.bundle.EventHook hook);
> }
> {code}
> Compilation failure:
> {quote}
> ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /Users/arcivanov/Documents/src/jbosgi/jbosgi-framework/core/target/generated-sources/annotations/org/jboss/osgi/framework/FrameworkLogger_$logger.java:[26,8] org.jboss.osgi.framework.FrameworkLogger_$logger is not abstract and does not override abstract method warnErrorWhileCallingBundleEventHook(java.lang.Throwable,org.osgi.framework.hooks.bundle.EventHook) in org.jboss.osgi.framework.FrameworkLogger
> [ERROR] /Users/arcivanov/Documents/src/jbosgi/jbosgi-framework/core/target/generated-sources/annotations/org/jboss/osgi/framework/FrameworkLogger_$logger.java:[336,5] method does not override or implement a method from a supertype
> {quote}
> Cause:
> {code}
> import org.osgi.framework.hooks.service.EventHook;
> @Generated(value = "org.jboss.logging.processor.generator.model.MessageLoggerImplementor", date = "2016-04-18T04:40:24-0400")
> public class FrameworkLogger_$logger extends DelegatingBasicLogger implements FrameworkLogger,BasicLogger,Serializable {
> @Override
> public final void warnErrorWhileCallingEventHook(final Throwable cause, final EventHook hook) {
> super.log.logf(FQCN, org.jboss.logging.Logger.Level.WARN, cause, warnErrorWhileCallingEventHook$str(), hook);
> }
> @Override
> public final void warnErrorWhileCallingBundleEventHook(final Throwable cause, final EventHook hook) {
> super.log.logf(FQCN, org.jboss.logging.Logger.Level.WARN, cause, warnErrorWhileCallingBundleEventHook$str(), hook);
> }
> }
> {code}
> As you can see the cause of the failure is that {{EventHook}} argument FQCN is lost in the generated {{warnErrorWhileCallingBundleEventHook}}.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (WFLY-6531) 'unsupported' is not a valid jboss.api value upstream
by Kabir Khan (JIRA)
Kabir Khan created WFLY-6531:
--------------------------------
Summary: 'unsupported' is not a valid jboss.api value upstream
Key: WFLY-6531
URL: https://issues.jboss.org/browse/WFLY-6531
Project: WildFly
Issue Type: Component Upgrade
Components: Build System
Reporter: Kabir Khan
Assignee: Kabir Khan
{code}
$git grep unsupported -- feature-pack/src/main/resources/modules/system/layers/base/
feature-pack/src/main/resources/modules/system/layers/base/io/undertow/js/main/module.xml: <property name="jboss.api" value="unsupported"/>
feature-pack/src/main/resources/modules/system/layers/base/org/jgroups/azure/main/module.xml: <property name="jboss.api" value="unsupported"/>
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (WFLY-5050) JSP Cross-Context Include Not Working
by Srikanth Reddy Mudiganti (JIRA)
[ https://issues.jboss.org/browse/WFLY-5050?page=com.atlassian.jira.plugin.... ]
Srikanth Reddy Mudiganti commented on WFLY-5050:
------------------------------------------------
Hi Brett,
I am also facing the same issue on Wildfly 9.0.2. Could you please let me know how to apply(instructions) the fix to Undertow 2.0 ? Thanks
> JSP Cross-Context Include Not Working
> -------------------------------------
>
> Key: WFLY-5050
> URL: https://issues.jboss.org/browse/WFLY-5050
> Project: WildFly
> Issue Type: Bug
> Components: Web (Undertow)
> Affects Versions: 8.2.1.Final, 9.0.1.Final
> Environment: Java 8
> Reporter: Brett Prucha
> Assignee: Stuart Douglas
> Fix For: 10.0.0.Beta1
>
> Attachments: test.ear
>
>
> Including JSP files from a cross-context application results in various errors depending on how it's executed and which version of Wildfly (8 or 9) is being used.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (WFCORE-1159) Add a runtime operation which shows filesystem usage and availability for known server locations
by ehsavoie Hugonnet (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1159?page=com.atlassian.jira.plugi... ]
ehsavoie Hugonnet commented on WFCORE-1159:
-------------------------------------------
After some intense discussions on naming this operation will be called path-info. It should also display a bunch of filesystem metadata like : resolved path, creation date, last modified.
> Add a runtime operation which shows filesystem usage and availability for known server locations
> ------------------------------------------------------------------------------------------------
>
> Key: WFCORE-1159
> URL: https://issues.jboss.org/browse/WFCORE-1159
> Project: WildFly Core
> Issue Type: Feature Request
> Components: Domain Management, Server
> Affects Versions: 2.0.2.Final
> Reporter: Tristan Tarrant
> Assignee: ehsavoie Hugonnet
> Fix For: 3.0.0.Alpha1
>
>
> For management purposes it would be very useful to report runtime metrics for filesystem usage and availability for known server locations (data, tmp, logs, etc).
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years