Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1087463

Summary: Deprecation warnings in logging-tools quickstart
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Nikoleta Hlavickova <nziakova>
Component: QuickstartsAssignee: sgilda
Status: CLOSED CURRENTRELEASE QA Contact: Nikoleta Hlavickova <nziakova>
Severity: high Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.3.0CC: bsutter, david.lloyd, jkudrnac, jperkins, pmuir
Target Milestone: ER4   
Target Release: EAP 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-28 15:42:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
List of warnings for logging-tools quickstart. none

Description Nikoleta Hlavickova 2014-04-14 11:31:41 UTC
Created attachment 886101 [details]
List of warnings for logging-tools quickstart.

When deploying logging-tools quickstart, 123 warnings are logged, e.g.:

[WARNING] logging-tools/src/main/java/org/jboss/as/quickstarts/loggingToolsQS/exceptions/DateExceptionsBundle.java:[21,25] warning: [deprecation] org.jboss.logging.Message in org.jboss.logging has been deprecated

For full list of warnings see the attachment.

Comment 2 sgilda 2014-04-14 18:06:59 UTC
James Perkins fixed this with this commit: https://github.com/jboss-developer/jboss-eap-quickstarts/commit/39a7925234551d6a42390cabd114b13ae00f93c5

Comment 3 Nikoleta Hlavickova 2014-04-24 07:29:08 UTC
There are no deprecation warnings in the log, only these remain:

[WARNING] logging-tools/src/main/java/org/jboss/as/quickstarts/loggingToolsQS/exceptions/GreeterExceptionBundle.java:[25,8] Generating translation class.
[WARNING] logging-tools/src/main/java/org/jboss/as/quickstarts/loggingToolsQS/messages/GreetingMessagesBundle.java:[24,8] Generating translation class.
[WARNING] logging-tools/src/main/java/org/jboss/as/quickstarts/loggingToolsQS/exceptions/DateExceptionsBundle.java:[27,8] Generating translation class.
[WARNING] logging-tools/src/main/java/org/jboss/as/quickstarts/loggingToolsQS/loggers/DateLogger.java:[30,8] Generating translation class.
[WARNING] logging-tools/src/main/java/org/jboss/as/quickstarts/loggingToolsQS/loggers/GreeterLogger.java:[26,8] Generating translation class.

Comment 4 sgilda 2014-05-01 15:36:18 UTC
I spoke with James and he said he believed this is a bug in the Maven compiler plug-in where it is printing debugging messages as warnings. He also said he thought David might have a patch for this. Will send email and investigate.

Comment 5 sgilda 2014-05-05 17:42:33 UTC
This is a Maven plug-in bug: http://jira.codehaus.org/browse/MCOMPILER-224

"Maven compiler plugin does not properly read the output from the plexus compiler. All CompilerMessages are logged at warning or error level, even if they are not warnings or errors."

David has submitted a patch to fix this.

In the meantime, I will add info to the README file.

Comment 6 sgilda 2014-05-05 17:44:17 UTC
Added the details about the Maven plug-in compiler bug warning.
Reworked the "Access the Application' section as it was not clear to follow.
Fixed typos in localisation. Changed them to localization.

Comment 7 sgilda 2014-05-09 12:40:14 UTC
This can be verified in the ER4 build.

Comment 8 Nikoleta Hlavickova 2014-05-20 07:36:42 UTC
Verified with EAP 6.3.0.ER4.