0 Replies Latest reply on Sep 14, 2017 6:03 PM by Ronaldo Lanhellas

    Can't get ProfileService Jboss AS 5.1 GA

    Ronaldo Lanhellas Newbie

      I'm trying to get ProfileService using the following:

      Context ctx = server.getNamingContext();
      profileService = (ProfileService) ctx.lookup("ProfileService");
      But got the following error:

      javax.naming.NameNotFoundException: ProfileService not bound

      I'm using JBoss AS 5.1 GA, in web profile.