Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-459

Add JMX support to register a JCR RMI Server into Jboss

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0, 1.0.1
    • 1.1
    • jackrabbit-jcr-rmi
    • None

    Description

      I added two classes and one descriptor file to the jcr-rmi project. These files provide support to make the generated jar deployable into a Jboss server.

      The deployment descriptor contains two parameters, the address of the local repository instance, and the target address where the rmi server should be registered.

      e.g.

      <server>
      <mbean code="org.apache.jackrabbit.rmi.server.jmx.JCRServer"
      name="Jackrabbit.services:RMIServer = JCR RMI Server">
      <attribute name="Local">java:jcr/local</attribute>
      <attribute name="Target">jnp://localhost:1099/jcrServer</attribute>
      <depends>jboss.jca:service=ManagedConnectionFactory,name=jcr/local</depends>
      </mbean>
      </server>

      this configuration registers an RMI server at /jcrServer that wraps the local repository at java:jcr/local.

      br,
      Edgar

      Attachments

        1. 20060616-jcr-rmi-jmx.diff
          11 kB
          Edgar Ruben Poce
        2. jcr-rmi-jmx.diff
          6 kB
          Edgar Ruben Poce

        Activity

          People

            Unassigned Unassigned
            edgarpoce Edgar Ruben Poce
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: