Bug 1478611 - Configuring Netty Servlet instructions
Configuring Netty Servlet instructions
Status: NEW
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Documentation (Show other bugs)
6.4.0
Unspecified Mac OS
unspecified Severity low
: ---
: ---
Assigned To: Andrea Hoffer
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-04 22:55 EDT by Pete Royle
Modified: 2017-08-07 09:34 EDT (History)
3 users (show)

See Also:
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:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Pete Royle 2017-08-04 22:55:02 EDT
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>

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