the problem is with the security manager is not loaded . add the following code in the beginning of ur client :
if (System.getSecurityManager() == null)
Also create a security policy file with below configurations :
Now run ur client with the following syntax:
java -Djava.security.policy=(security policy file name) client file.
we have solved the above communication exception and able to get the LocalHome object reference but we are stuck with a null pointer exception when we call the create method on the localhome 's object. if u get the solution than post it as a reply to this suggestion.
Sorry but aren't you way out no??? Expecting to have a local home on a clien app? Do read the spec regarding Local and Remote interfaces first and then see what's wrong!
You have to use remote interfaces when using remote clients, locals are only for the JBoss JVM!