Hello,
I am trying to configure JNDI so that it supports both jndi lookups and also client using the old RMI Naming.lookup() and Naming.list() APIs.
If jboss-service.xml I added the RmiPort attribute, but I'm not sure if I'm doing the right thing. I couldn't find much documentation on this.
1099
1098
When I run a client which calls Naming.list("//server:1098/"),
it throws java.rmi.NoSuchObjectException: no such object in table.
I would appreciate any pointers on settings this up.
Thanks.
Here is the jboss-service.xml (got lost in first post because I didn't use code blocks)
<mbean code="org.jboss.naming.NamingService" name="jboss:service=Naming"> <attribute name="Port">1099</attribute> <attribute name="RmiPort">1098</attribute> </mbean>