Hi there,

I noticed that commas aren't allowed in the Scheduler MBean string arguments, 
because they're used to separate the arguments. This is a significant problem, 
because it's impossible, for example, to pass MBean names to the Schedulable 
objects! (the commas are used to separate the keys in the MBean names, 
according to the best practices)

I checked the Scheduler.java code, and it simply processes the arguments with a 
StringTokenizer(..., ",").

Is there any work scheduled (eheh) regarding this problem? A solution would be 
to escape commas and similar characters with an escape character. This also 
mantains backward compatibility... Should I open a feature request? Should I 
provide a fix for the problem on my own to the JBoss AS mantainers? It's easy 
to solve the problem by replacing the StringTokenizer with regular 
expressions...

Thanks!

Arménio Pinto

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884792#3884792

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884792


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to