Bug 923646

Summary: "Unexpected Netty Version was expecting..." warnings during start
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Miroslav Novak <mnovak>
Component: HornetQAssignee: Vladimir Dosoudil <dosoudil>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: ataylor, csuconic, jmesnil, myarboro
Target Milestone: ER5   
Target Release: EAP 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-23 18:37:55 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:

Description Miroslav Novak 2013-03-20 09:34:20 UTC
Description of problem:
When EAP 6.1.0.ER3 is started in "full" or "full-ha" profile then following warnings is thrown:
...
10:24:34,541 WARN  [org.hornetq.core.server] (MSC service thread 1-8) HQ222114: Unexpected Netty Version was expecting 3.6.2.Final-c0d783c using 3.6.2.Final-redhat-1-c0d783c Version.ID
10:24:34,542 INFO  [org.hornetq.core.server] (MSC service thread 1-8) HQ221024: Started Netty Acceptor version 3.6.2.Final-redhat-1-c0d783c 127.0.0.1:5445 for CORE protocol
10:24:34,544 WARN  [org.hornetq.core.server] (MSC service thread 1-8) HQ222114: Unexpected Netty Version was expecting 3.6.2.Final-c0d783c using 3.6.2.Final-redhat-1-c0d783c Version.ID
10:24:34,546 INFO  [org.hornetq.core.server] (MSC service thread 1-8) HQ221024: Started Netty Acceptor version 3.6.2.Final-redhat-1-c0d783c 127.0.0.1:5455 for CORE protocol
10:24:34,548 INFO  [org.hornetq.core.server] (MSC service thread 1-8) HQ221009: Server is now live

Netty version is correct in EAP 6.1.0.ER3. Warnings should not be thrown.

Comment 1 Andy Taylor 2013-04-03 08:04:18 UTC
This happens because the netty version has been changed. In the HornetQ root pom, we set this via a property:

<netty.version>3.6.2.Final</netty.version>
<netty.version.string>${netty.version}-c0d783c</netty.version.string>

This needs to be changed when eap is built.

Comment 2 Miroslav Novak 2013-04-04 11:02:04 UTC
Setting "blocker" flag to ?. To have clean start of EAP 6.1.0 server without warnings is important.

Comment 3 Vladimir Dosoudil 2013-04-04 11:23:03 UTC
The patch is prepared in dist-git with commit http://pkgs.devel.redhat.com/cgit/rpms/hornetq/commit/?id=e77ccf3975c5da51c11352598698e2b8e6fbe4d1
Waiting for the upstream base of the next release (.Final version of hornetq). The patch will be included in the build of hornetq for EAP 6.1.0 ER 5.

Comment 4 Vladimir Dosoudil 2013-04-15 11:55:45 UTC
MEAD build: https://brewweb.devel.redhat.com/buildinfo?buildID=266785
wrapperRPM: https://brewweb.devel.redhat.com/buildinfo?buildID=266786
Will be included in EAP 6.1.0 ER 5.

Comment 5 Miroslav Novak 2013-04-18 07:53:48 UTC
Nice work Vladimir! It's fixed. Verified in EAP 6.1.0.ER5.

Comment 8 Clebert Suconic 2013-08-07 21:23:06 UTC
this is a recurrent error.. it's the third time (I think) i have seen this...


I'm sending this PR to avoid further issues:

https://github.com/hornetq/hornetq/pull/1203