0 Replies Latest reply on Feb 14, 2011 5:09 AM by bhanu prakash yadav

    no permission store available

    bhanu prakash yadav Newbie
      Hi all,
          iam facing problem regarding permission store . Can anyone guide me regarding this problm ...

      In console it is printing as follows:

      _15:33:35,015 WARN *[PermissionManager] no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if permission management is required.*
      15:33:35,015 INFO  [STDOUT] *****************************null
      15:33:35,015 INFO  [STDOUT] *****************************0


      In action this is my method >>


           public void confirmAttachment() {

              Resource oldResource = new Resource();
                if (this.employeeAttachment.getAttachment() != null) {
                     oldResource = this.employeeAttachment.getAttachment();
                }
                if (oldResource != null) {
                     if (this.resource == null || this.resource.getId() != oldResource.getId()) {
                          em.remove(oldResource);
                     }
                }

                if (this.resource != null) {
                     em.persist(this.resource);
                }

                if (selectedInstance instanceof IcBusiness) {
                     this.employeeAttachment.setInstance(((IcBusiness) selectedInstance)
                               .getMmsInstance());
                } else if (selectedInstance instanceof Provider) {
                     this.employeeAttachment.setInstance(((Provider) selectedInstance)
                               .getAffiliation().getMmsInstance());
                }

                employeeAttachment.setAttachment(attachment);
           
               employeeAttachment.setDescription(employeeAttachment.getDescription());
               System.out.println("*****************************"+employeeAttachment.getDescription());
               System.out.println("*****************************"+employeeAttachment.getId());
                em.persist(employeeAttachment);
                em.flush();
           }


      iam not able to store the values ....can any one plz guide me.