This content has been marked as final.
Show 1 reply
-
1. Re: javax.management.ObjectName InstantiationException in SO
newmand Nov 26, 2002 3:00 PM (in response to newmand)It took me awhile, the solution is that you have to deploy a mapping file that contains a map:factory constructor, on both client and server sides.
<?xml version='1.0' encoding='UTF-8'?>
<!--generated by EXML+/java2schema on Tue Nov 26 09:39:36 PST 2002-->
<map:mappings xmlns:map='http://www.themindelectric.com/schema/'>
<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema' targetNamespace='http://www.themindelectric.com/package/javax.management/'>
<xsd:complexType name='ObjectName' map:class='javax.management.ObjectName'
map:factory='javax.management.ObjectName.ObjectName(name)'>
<xsd:sequence>
<xsd:element name='name' map:get='toString' type='xsd:string'/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
</map:mappings>