All i keep getting the following errors when i try and connect to my remote EJB in jboss.
access denied (java.net.SocketPermission lon1234x.uk.com resolve)
I am creating the session like
try {
// Get an InitialContext
Context context = new InitialContext( );
// Look up the Account bean
TestHome userHome = (TestHome )context.lookup("Test");
Test ejb = userHome.create();
System.out.println(ejb.getEJBHome());
//this.user = userHome.findByUserDn(LDAPManager.getUserDN(username));
} catch (NamingException e) {
e.printStackTrace();
}