Bug 1478611 - Configuring Netty Servlet instructions
Summary: Configuring Netty Servlet instructions
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Documentation
Version: 6.4.0
Hardware: Unspecified
OS: Mac OS
unspecified
low
Target Milestone: ---
: ---
Assignee: Andrea Hoffer
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-05 02:55 UTC by Pete Royle
Modified: 2019-08-02 07:33 UTC (History)
3 users (show)

Fixed In Version:
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
Embargoed:


Attachments (Terms of Use)

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>


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