[
https://issues.jboss.org/browse/AS7-2802?page=com.atlassian.jira.plugin.s...
]
jaikiran pai commented on AS7-2802:
-----------------------------------
That documentation
https://docs.jboss.org/author/display/AS71/EJB+invocations+from+a+remote+...
already has this note:
{quote}
By default AS7 uses 4447 as the remoting port. The EJB client API uses the remoting port
for communicating with the server for remote invocations, so that's the port we use in
our client programs (unless the server is configured for some other remoting port)
{quote}
and
{quote}
Here we are listing 2 connections named "one" and "two". Ultimately,
each of the connections will map to a EJB receiver. So if you have 2 connections, that
will setup 2 EJB receivers that will be added to the EJB client context. Each of these
connections will be configured with the connection specific properties as follows:
{code}
remote.connection.default.host=10.20.30.40
remote.connection.default.port = 4447
remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false
{code}
As you can see we are using the "remote.connection.<connection-name>."
prefix for specifying the connection specific property. The connection name here is
"default" and we are setting the "host" property of that connection to
point to 10.20.30.40. Similarly we set the "port" for that connection to 4447.
{quote}
More documentation for the EJB client API will be coming, but for the specific issue about
hostname and port, that you mention in this JIRA, it's already documented. So I'm
closing this JIRA. If you think that the documentation still doesn't address the
host/port issue, then please reopen it and tell us what you would like to see in the
documentation.
Documentation for remote EJB incomplete
---------------------------------------
Key: AS7-2802
URL:
https://issues.jboss.org/browse/AS7-2802
Project: Application Server 7
Issue Type: Bug
Components: Documentation, EJB
Affects Versions: 7.1.0.Beta1
Reporter: Savas Ali Tokmen
Assignee: jaikiran pai
Fix For: 7.1.0.CR1
As stated in AS7-423 remote EJB support has been implemented and documented on
https://docs.jboss.org/author/display/AS71/EJB+invocations+from+a+remote+...
The mentioned documentation is incomplete as it does not tell which port to use for
remote EJB lookups and how the remote hostname is configured.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira