1 Reply Latest reply on Sep 11, 2004 10:04 PM by Scott Stark

    define the groups

    Carlos Evangelista Newbie

      Where I can define the groups that it can have access my EJBs, therefore when I to declare in ejb-jar.xml.

       <assembly-descriptor>
       <security-role>
       <role-name>Sibnc</role-name>
       </security-role>
       <method-permission>
       <method>
       <role-name>Sibnc</role-name>
       <ejb-name>RelClientePessoaFisicaBean</ejb-name>
       <method-name>*</method-name>
       </method>
       </method-permission>
      </assembly-descriptor>
      


      I am using jboss-3.2.3, and for some reason when I make deploy of ejb it appears the following error:

      18:38:41,759 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-3.2.3/server/default/tmp/deploy/tmp29281sibnc.ear-contents/sibnc.jar
      org.jboss.deployment.DeploymentException: Error in ejb-jar.xml, in method-permission: An unchecked element or one or more role-name elements must be specified in method-permission