2 Replies Latest reply on Apr 13, 2004 4:11 PM by Carlos Evangelista

    error of deploy

    Carlos Evangelista Newbie

      It sees as this mine ejb-jar.xml:
      </enterprise-beans>
      <ejb-name>RelClientePessoaFisicaBean</ejb-name>
      <ejb-home>relatorio.relClientePessoaFisica.ejb.RelClientePessoaFisicaHome
      relatorio.relClientePessoaFisica.ejb.RelClientePessoaFisica
      <ejb-class>relatorio.relClientePessoaFisica.ejb.RelClientePessoaFisicaBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Bean</transaction-type>
      </enterprise-beans>
      <method-permission>
      <ejb-name>RelClientePessoaFisicaBean</ejb-name>
      <method-name>*</method-name>
      </method-permission>

      Now because of this error:
      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
      at org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMet
      aData.java:463)