0 Replies Latest reply on Nov 30, 2006 12:26 PM by Benjamin Cuthbert

    How do i disable the securityManager

    Benjamin Cuthbert Newbie

      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();
       }