I have converted an application that was originally deployed to Oracle's J2EE AS. This 
application used evermind's RoleManager (included in the AS in oc4j.jar)

The code to utilize the RoleManager is:
com.evermind.security.RoleManager 
  | manager = (com.evermind.security.RoleManager)new 
InitialContext().lookup("java:comp/RoleManager"); 
  | 

In running the application in Jboss this yields the following error:
<<<< Root Cause Exception >>>>> javax.naming.NameNotFoundException: RoleManager not 
bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:495) 


What I thought was necessary to solve this problem was to add the jar file containg 
the RoleManager class to the <jboss_home>/server/lib directory. After rebooting the 
machine, this did not solve the problem. I received the same error as above.

Then I tried:
... InitialContext().lookup("java:comp/env/RoleManager"); 

This too did not solve the problem. I recieved the same error as above.

I would like to see this appliation work under Jboss before I consider investing the 
time in overhauling the security to JAAS.

Can anyone help me with this?
 



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842080#3842080

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842080


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to