THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
This is necessary to allow the SPECjAppServer2004 Driver to remotely access the EJBs deployed in Geronimo.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<module name="geronimo/openejb/1.1/car"> <gbean name="EJBNetworkService"> <attribute name="host">0.0.0.0</attribute> <attribute name="port">4201</attribute> <attribute name="allowHosts">0.0.0.0</attribute> </gbean> </module> |
If your geronimo.host
and your driver.host
are the same machine, you have to adjust the port number of the Geronimo RMI Registry (to e. g. 1199), otherwise it would conflict with the SPECjAppServer2004 Driver that uses the default port of 1099:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<module name="geronimo/rmi-naming/1.1/car"> <gbean name="RMIRegistry"> <attribute name="port">1199</attribute> </gbean> <gbean name="NamingProperties"> <attribute name="namingProviderUrl">rmi://0.0.0.0:1199</attribute> </gbean> ... <gbean name="JMXService"> <attribute name="protocol">rmi</attribute> <attribute name="host">0.0.0.0</attribute> <attribute name="port">9999</attribute> <attribute name="urlPath">/jndi/rmi://0.0.0.0:1199/JMXConnector</attribute> </gbean> </module> |
...