rmi « jndi « Java Enterprise Q&A





1. Mbeans with JBoss    stackoverflow.com

I'm trying to call a MBean deployed in JBoss, but i'm having this exception:

java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: 
    java.io.InvalidClassException: org.jboss.security.auth.callback.SecurityAssociationHandler; org.jboss.security.auth.callback.SecurityAssociationHandler; class invalid for deserialization
 ...

2. Port and RmiPort on JBoss NamingService    stackoverflow.com

On JBoss 5, there is the NamingService, which lets you specify the properties Port (1099 by default) and RmiPort (1098 by default). I've never needed to know how this works before ...

3. java RMI and/or JNDI: binding for objects that are not singletons    stackoverflow.com

OK, I get how to use RMI to bind a singleton server object with a well-known name so that other JVMs can find it. Let's say I have a number of processes, ...

4. Java (and JBoss) JNDI and RMI ports    stackoverflow.com

I have JBoss running on a couple of Linux machines. If I want to send a JMS message from box 1 to a queue on box2, I may do something like ...

5. Multiple RMI & JNDI    coderanch.com

Hi, i have an RMI server that works like a treat. In the main method of the server im registring my object with the server. I then use a JNDI lookup to retrieve an object and can then run the remote methods on it. However if i write a seperate client app i can access the JNDI and get the object, ...

6. RMI Naming vs. JNDI    coderanch.com

7. RMI Naming vs. JNDI    coderanch.com

JNDI = Java Naming and Directory Interface. it gives you a common access to several naming and directory services. JNDI is built uppon a provider architecture -> you can access every naming service as long as there is a provider for it. There is a wide range available from sun, i think. (RMI registry, LDAP... check the sun page) there are ...