Looks like this might have changed when Vinay made a fix to buffer the
jboss.jcml file so it could be read from a webserver.  His change strips
newlines from the file.

Any objections to modifying it to put the newlines back in (literally) when
we read the jboss.jcml file?  It seems to work fine in my environment, just
don't need to break the world if there is some reason not to do this.

Cheers

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 12:49 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-dev] [ jboss-Bugs-442479 ] Connector MBean Config seems
off


Bugs item #442479, was opened at 2001-07-18 09:48
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=442479&group_id=
22866

Category: JBossCX
Group: v2.5 Rabbit Hole (unstable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Jay Walters (jwalters)
Assigned to: Nobody/Anonymous (nobody)
Summary: Connector MBean Config seems off

Initial Comment:
I am playing around with the connector/jbosscx stuff 
in CVS main and I'm seeing that the properties aren't 
working right - carriage control appears to be removed 
from the attribute elements in the jboss.jcml file.  
This manifests itself where I'm setting the  principal 
stuff as in -

  <!-- Principal mapping configuration -->
  <attribute name="PrincipalMappingClass">
    
org.jboss.resource.security.ManyToOnePrincipalMapping
  </attribute>
  <attribute name="PrincipalMappingProperties">
    userName=jay
    password=jay
  </attribute>

When the principal mapping properties get sent into 
the MBean for the connector they are
"userName=jay   password=jay" 
with no carriage control in there anymore.  The 
connector mBean tries to load them into a properties 
object using Property.load() which requires carriage 
control between properties, so everything goes into 
the first value.

Another place to see this is in the jboss-auto.jcml 
file where all the attributes for connectors get 
jumbled onto a single line.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=442479&group_id=
22866

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to