disable ejb monitoring

ZeroTurnaround Homepage Forums JRebel Support disable ejb monitoring

Tagged: 

This topic contains 5 replies, has 3 voices, and was last updated by  ristoparnapuu 2 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #66822

    guy mesika
    Participant

    hi

    i want to disable jrebel from monitoring my ejb

    [12/21/17 12:24:41:518 IST] 00000114 SystemOut O 2017-12-21 12:24:41 JRebel: Watching EJB ‘xxxx’ for changes

    how can i do that ?

    #66824

    Valerie Avramenko
    Rebel Staff

    Hello!

    To achieve that just remove rebel.xml file from your EJB module and JRebel won’t touch it then.

    Kind regards,
    Valerie

    #66825

    guy mesika
    Participant

    thank you for replying

    I have only 1 jar with rebel-remote.xml – the jar is not of specific ejb – it contains classes of several

    removing the file , i will lose ability to update the code for other classes – besides the ejb

    isn’t there any flag to “just disable ejb monitoring” ?

    #66827

    guy mesika
    Participant

    hi

    any idea for anyway to disable the ejb monitoring ?
    i just want jrebel to load the new classes

    #66829

    Valerie Avramenko
    Rebel Staff

    There is no such flag, unfortunately. But could you please tell us more about your project structure, so maybe we can suggest a workaround?

    Kind regards,
    Valerie

    #66869

    ristoparnapuu
    Rebel Staff

    Hi,

    I’m Risto from JRebel support team.

    You could try using exclude tag in your rebel.xml file to exclude the package that contains the EJBs. E.g.:

    <classpath>
      <dir name="[path/to]/target/classes">
        <exclude name="com/yourapp/package1/ejbs/**"/>
      </dir>
    </classpath>

    However, typically such exclude is not needed. Could you give me a brief description of why would you want to disable ejb monitoring?

    Best regards,
    Risto

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.