Bug 1478611

Summary: Configuring Netty Servlet instructions
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Pete Royle <howardmoon>
Component: DocumentationAssignee: Andrea Hoffer <ahoffer>
Status: CLOSED EOL QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.4.0CC: ccopello, eap-docs, tom.ross
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Mac OS   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Build Name: 23087, Administration and Configuration Guide-6.4 Build Date: 15-02-2017 12:17:16 Topic ID: 38767-745579 [Latest]
Last Closed: 2019-08-02 07:33:44 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 Pete Royle 2017-08-05 02:55:02 UTC
Title: Configuring Netty Servlet

Describe the issue:
In that section of the documentation, for the *acceptor* config you use the parameter "use-servlet". According to the HornetQ documentation it should be "use-invm" instead. I tried both and only the latter worked for me.


Suggestions for improvement:
Change "use-servlet" to "use-imvm" for the Nets Servlet Connector -> acceptor configuration example code.


Additional information:
The code for "TransportConstants.java" confirms that "use-servlet" is not a valid option for acceptors.

The exact configuration that worked for me was:

<acceptor name="netty-servlet">
  <factory-class>
    org.hornetq.core.remoting.impl.netty.NettyAcceptorFactory
  </factory-class>
  <param key="use-invm" value="true"/>
  <param key="host" value="org.hornetq"/>
</acceptor>