7 Replies Latest reply on Oct 8, 2009 7:16 AM by Kevin Conner

    Redployment with new paramater from SystemPropertiesService

    Anonymous User Newbie

      Hello experts,

      I defined the following test-properties-service.xml, injecting an mbean for "org.jboss.varia.property.SystemPropertiesService"

      <?xml version="1.0" encoding="UTF-8"?>
       <mbean code="org.jboss.varia.property.SystemPropertiesService"
       <attribute name="Properties">
       <attribute name="Properties">

      I use "test_parameter" in a service located in test.esb as filesystem lister value. See jboss.esb:
       error-suffix=".err" input-suffix=".txt" post-delete="true"
       post-suffix=".done" work-suffix=".work"/>

      My main service test.esb has a deployment dependency on "ach.properties:type=Service,name=TestProperties".
      My deployment.xml:

      When I now change the value of parameter "test_parameter" to "/incoming_live" e.g. in my test-properties-service.xml, I would expect that
      1) Re - deployment of test-properties-service.xml
      2) Re - deployment of test.esb with new parameter test_parameter = "incoming_live"

      Re - deployment of test-properties-service.xml succeeds. I checked these properties in JMX. Test.esb re - deploys aswell, but not with the new parameter settings, but the old one. I checked the service in JMX MBEan View in JMX-Console I can only see the old configuration.

      Can you please help ? Why doesn't test.esb redeploy with new parameters?

      Best regards,