1 Reply Latest reply on Aug 12, 2005 11:48 PM by starksm64

    mbean consistency for changing hosts for different services

    dhartford

      I'm concerned about how configurations are handled in Jboss - mail-service.xml is a managed resource, but so is hsqldb-ds.xml -- so why are they so different file-wise and mbean-wise?

      I'm looking to create an additional MBean on top of the existing CMP persistance layer so that it could be more consistent and allow for changing the items that are originally configured in the *-ds.xml configuration files.

      *connectionUrl
      *driver-class
      *username
      *password
      *metadata/type-mapping

      future also:
      *xa-datasource-class
      *xa-datasource Servername
      *xa-datasource DatabaseName
      ...etc.

      Does this seem feasible? I think hibernate you can do this already, but I'm looking for the CMP persistance layer.

      -D

        • 1. Re: mbean consistency for changing hosts for different servi
          starksm64

          An *-ds.xml is not a mbean. You can go through the xsl deployer's xslt and figure out the 3 means that are generated and deal with those if you want a consistent syntax. However, now you are also dealing with implementation details that are subject to change.

          We stopped exposing the mbeans and introduced the simpler syntax because having to deal with settings that were implementation details of the jca layer.