Overriding a parameter

[email protected]
Newsgroups gmane.comp.jakarta.avalon.user
Message-ID <8538F0205935D411A7D100508BAC128901983D83@DIANA>
Hi,
I'm trying to override the rmi parameter for the
MX4JComponentRegistrationManager in the jmx facility. In the embedded
block.xml it is referred to as registry, so I tried
<targets>
	<target path="/TopContainer/mx4j/jmx-mx4j-manager">
		<parameters>
			<parameter name="enable-rmi-adaptor" value="true"/>
		</parameters>
	</target>
</targets>

And a <include name="mx4j" id="avalon-jmx:avalon-jmx-mx4j"
version="SNAPSHOT"> in my own block.xml

However, it doesn't seem to work.
When I hardcode the parameter to true, it works, so it sounds like a
configuration problem. The embedded block.xml seems to work since I can
change the parameters in the build.xml file.

How can I override the parameters?


Another issues is that setting the merlin.repository to $user.home/.merlin
on Windows ("Documents and settings")etc. does not work with the RMI Adapter
since it gives an error saying
'unknown protocol "and"'.


Thanks

/peter

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.