Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-6143

HiloKeygenerator not registered in JNDI

    XMLWordPrintable

Details

    Description

      The HiLoKeygenerator from subsystem cmp is not registered in JNDI.
      Therefore it is not really usable.

      I managed to get the service successfully started up with the following subsystem confiuration in standalone.xml:

      <subsystem xmlns="urn:jboss:domain:cmp:1.0">
         <key-generators>
                      <hilo name="itemidgenerator">
                          <block-size>
                              10
                          </block-size>
                          <data-source>
                              java:jboss/datasources/MySqlDS
                          </data-source>
                          <id-column>
                              highvalue
                          </id-column>
                          <sequence-column>
                              sequencename
                          </sequence-column>
                          <sequence-name>
                              itemid
                          </sequence-name>
                          <table-name>
                              HiLoSequences
                          </table-name>
                      </hilo>
                  </key-generators>
              </subsystem>
      

      But I do not find any JNDI registration related to this HiLoKeygenerator.
      From JBOSS 5.x times I know that the generator was bound as "KeyGeneratorFactory" or something.

      Attachments

        Activity

          People

            tomazcerar Tomaž Cerar (Inactive)
            crimson_jira Manuel Fehlhammer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: