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

    Can't get ProfileService Jboss AS 5.1 GA

    rlanhellas

      I'm trying to get ProfileService using the following:

      Context ctx = server.getNamingContext();
      contextInst.set(ctx);
      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.