[jboss-user] [EJB/JBoss] - How do i disable the securityManager
minixman
do-not-reply at jboss.com
Thu Nov 30 12:26:24 EST 2006
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();
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990159#3990159
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990159
More information about the jboss-user
mailing list