-
1. Re: Redployment with new paramater from SystemPropertiesServ
garuda Oct 8, 2009 4:04 AM (in response to garuda)Hello again,
no idea about that theme ?
Br,
Dennis -
2. Re: Redployment with new paramater from SystemPropertiesServ
beve Oct 8, 2009 4:17 AM (in response to garuda)Hi,
<?xml version="1.0" encoding="UTF-8"?> <server> <mbean code="org.jboss.varia.property.SystemPropertiesService" name="ach.properties:type=Service,name=TestProperties"> <attribute name="Properties"> test_parameter=/incoming_test </attribute> <attribute name="Properties"> </mbean> </server>
That xml should not be valid as the second attribute element does not have a closing tag. Was that perhaps just an error when pasting the example in your post?
Regards,
/Daniel -
3. Re: Redployment with new paramater from SystemPropertiesServ
beve Oct 8, 2009 6:04 AM (in response to garuda)Hi Dennis,
I've tried this locally and this works for me. Let me know how you get along with this issue. I can send you the modified quickstart that I'm using in case that would help you.
I wonder if this is something that a lot of users need. Perhaps we should add this to one of the quickstarts. What do you think?
Regards,
/Daniel -
4. Re: Redployment with new paramater from SystemPropertiesServ
garuda Oct 8, 2009 6:32 AM (in response to garuda)Hi Daniel.
Sorry, it was just an error when pasting the example.
What do you mean by "I've tried this locally and this works for me" ?
If you only change parameter "test_parameter" in test-properties-service.xml, this will lead to redeployment of test.esb with new parameter settings ?
Br,
Dennis -
5. Re: Redployment with new paramater from SystemPropertiesServ
kconner Oct 8, 2009 7:12 AM (in response to garuda)This is a consequence of the way in which the deployer currently works and is arguably a bug. I'll create an issue to address this but it may take some time to fix.
Kev -
6. Re: Redployment with new paramater from SystemPropertiesServ
garuda Oct 8, 2009 7:15 AM (in response to garuda)
Hello Kevin.
Thank you very much for your help.
Br,
Dennis -
7. Re: Redployment with new paramater from SystemPropertiesServ
kconner Oct 8, 2009 7:16 AM (in response to garuda)I have created https://jira.jboss.org/jira/browse/JBESB-2874 but there should be a simple workaround, touching the .esb (or jboss-esb.xml file) should force a redeploy with the new properties.
Kev