Unable to load mbeans-descriptors.xml [message #57420] |
Mon, 16 February 2009 10:25  |
Eclipse User |
|
|
|
Hello,
I am try to load an mbeans-descriptors.xml using the follow:
<c:load
url=" {$org.eclipse.jet.resource.project.name}/mbeans-descriptors. xml "
var="file" urlContext="workspace" type="xml"/>
The loader/parser does not like the the DOCTYPE declaration(see example
below).
Once it is removed. It can be loaded.
Any suggestion on how to load this file without alter it content?
Thanks!
Edward
<?xml version="1.0"?>
<!DOCTYPE mbeans-descriptors PUBLIC
"-//Apache Software Foundation//DTD Model MBeans Configuration File"
" http://jakarta.apache.org/commons/dtds/mbeans-descriptors.dt d ">
<!-- Descriptions of JMX MBeans -->
<mbeans-descriptors>
<mbean name="ManagedBean" description="Example Managed Bean"
type="ManagedBean">
<attribute name="name" description="Simple Name"
type="java.lang.String" />
<constructor name="ManagedBean"/>
</mbean>
</mbeans-descriptors>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03823 seconds