That is really lame... why on earth didn't they use an XML parser...
sometimes the folks at Sun/JavaSoft really amaze me.

How about a pre-parser in the mean time, which reads a XML format, then
generates a broken jmx file to read?  We can't count on Sun to fix this
anytime soon.

--jason


On Fri, 1 Dec 2000, Aaron Mulder wrote:

>       Because it is read by a class in the JMX RI which we have no
> control over, and that class does not use a standard XML parser.  The
> result is as you've noted: it looks like an XML file, but a lot of things
> (like comments) don't work as they should for XML.  I would certainly hope
> they switch to JAXP or something in the future, but I guess we'll just
> have to sent suggestions to the list for that product.
>
> Aaron
>
> On Fri, 1 Dec 2000, Jason Dillon wrote:
> > Whys isn't jboss.conf XML?
> >
> > --jason
> >
> > On Fri, 1 Dec 2000, Bordet, Simone wrote:
> >
> > > Hey,
> > >
> > > > It doesn't look like jboss.conf likes XML comments very much.
> > >
> > > jboss.conf is not an XML file: it misses the root element, though MLETs
> > > looks like XML
> > >
> > > >  I changed the
> > > > AutoDeployer mlet to look like this:
> > > >
> > > > <!-- EJB auto-deployment support -->
> > > > <mlet code="org.jboss.ejb.AutoDeployer"
> > > >       archive="jboss.jar"
> > > >       codebase="../../lib/ext/">
> > > >   <!-- <arg type="java.lang.String" value="../deploy/"> -->
> > > >   <arg type="java.lang.String"
> > > > value="/home/jason/ws/does/output/lib/deploy">
> > > > </mlet>
> > >
> > > On how to do remarks in jboss.conf, see jboss.conf itself where the
> > > configuration of jetty or tomcat are: I think the main problem is the "<"
> > > before mlet and arg inside a remark.
> > >
> > > HTH,
> > >
> > > Regards,
> > >
> > > Simon
> > >
> > > >
> > > > and I get log messages that look like:
> > > >
> > > > [Auto deploy ../deploy/] Information Watching
> > > > /home/jason/ws/does/output/lib/deploy
> > > >
> > > > This sure looks like it is ignoring the <!-- --> that is
> > > > wrapped around
> > > > <arg>.
> > > >
> > > > Any ideas why this would happen?
> > > >
> > > > --jason
> > > >
> > > >
> > > >
> > > > --
> > > > --------------------------------------------------------------
> > > > To subscribe:        [EMAIL PROTECTED]
> > > > To unsubscribe:      [EMAIL PROTECTED]
> > > > Problems?:           [EMAIL PROTECTED]
> > > >
> > >
> > >
> > > --
> > > --------------------------------------------------------------
> > > To subscribe:        [EMAIL PROTECTED]
> > > To unsubscribe:      [EMAIL PROTECTED]
> > > Problems?:           [EMAIL PROTECTED]
> > >
> >
> >
> >
> > --
> > --------------------------------------------------------------
> > To subscribe:        [EMAIL PROTECTED]
> > To unsubscribe:      [EMAIL PROTECTED]
> > Problems?:           [EMAIL PROTECTED]
> >
>
>
>
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]
>



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to