Bug 1025430 - Log filled with warnings about wrong property option source expressions
Summary: Log filled with warnings about wrong property option source expressions
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Core Server
Version: JON 3.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER07
: JON 3.2.0
Assignee: Thomas Segismont
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: 1012435
TreeView+ depends on / blocked
 
Reported: 2013-10-31 16:38 UTC by Lukas Krejci
Modified: 2014-01-02 20:43 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-02 20:43:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lukas Krejci 2013-10-31 16:38:28 UTC
Description of problem:

When running JON EAP testsuite, the logs get flooded with the following two warnings:
"Option source expression for property outbound-socket-binding-ref and target configuration not found"

"Option source expression for property socket-binding-ref and target configuration not found"

coming from the ConfigurationManagerBean logger.

Version-Release number of selected component (if applicable):
JON 3.2.0.ER3

How reproducible:
always, just run JON EAP testsuite

Steps to Reproduce:
1. Get in touch with Radim Hatlapatka

Actual results:
In a day worth of logs that capture running the testsuite, there's over 26000 of those messages.

Expected results:
no such warnings in the logs

Additional info:

Comment 1 Lukas Krejci 2013-10-31 16:43:16 UTC
There's a 3rd one similar to these:
"Option source expression for property socket-binding and target configuration not found"

Comment 2 Thomas Segismont 2013-11-04 16:59:48 UTC
"Option source expression for property outbound-socket-binding-ref and target configuration not found"

That would be logged when you navigate to the configuration page of an IMAP/POP3 service resource and the value of "outbound-socket-binding-ref" is something which does not exist in the "standard-sockets" service configuration under "Remote outbound sockets" list property.

I could simply turn off these logs but I'd like to know more about your use case first. Can you point me at a running JON server?

Comment 8 Radim Hatlapatka 2013-11-05 16:35:32 UTC
My bad, now I have reproduced the issue with single instance of EAP6 JON plugin testsuite run.

It happens during creation and configuration of Mail server (POP3/IMAP/SMTP).

First is created mail session and in the mail session is created mail server with only the mandatory parameters filled.

Even when I tried to manually add smtp server it caused the WARN messages.

Comment 9 Thomas Segismont 2013-11-06 10:00:13 UTC
Fixed in master

commit de1da8c171b7bc453ba882ff25d081b1123d2075
Author: Thomas Segismont <tsegismo>
Date:   Wed Nov 6 10:58:37 2013 +0100

AS7 plugin descriptor: removed option source element from readonly properties of some "Managed Server" service types.

ConfigurationManager: set log level down to DEBUG (the missing configuration property is something that can happen) and added details to all log messages

Comment 10 Thomas Segismont 2013-11-06 10:03:23 UTC
Cherry-picked to release/jon3.2.x

commit 5a19be8f3762f3391d1dfa450e79ba3b208c4989
Author: Thomas Segismont <tsegismo>
Date:   Wed Nov 6 10:58:37 2013 +0100

Comment 11 Simeon Pinder 2013-11-19 15:49:16 UTC
Moving to ON_QA as available for testing with new brew build.

Comment 12 Simeon Pinder 2013-11-22 05:14:30 UTC
Mass moving all of these from ER6 to target milestone ER07 since the ER6 build was bad and QE was halted for the same reason.


Note You need to log in before you can comment on or make changes to this bug.