Bugs item #753058, was opened at 2003-06-12 06:56
Message generated for change (Comment added) made by vardaru
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=753058&group_id=22866

Category: JBossWeb
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Umit VARDAR (vardaru)
Assigned to: Nobody/Anonymous (nobody)
Summary: No getter or setters found for idleThreads

Initial Comment:
I am trying to run JBoss-3.2.1 on my machine (winxp 
pro, jdk1.4.1_02 + turkish locale). I got the following 
error.
When I change the locale to english It just disapears.


Umit VARDAR

ps. there are some case conversions in the code (in the 
file org.mortbay.util.jmx.ModelMBeanImpl.java). Usually 
this leads to such problems when the developer meant 
to make case conversion in Locale.US but didn't mention 
it in the methods like String.toUpperCase() etc.


ps. In turkish locale "i".toUpperCase is different than 
the "I" . 

...
2003-06-07 15:46:12,076 WARN [org.jboss.jbossweb] 
WARNING: 
java.lang.IllegalArgumentException: No getter or setters 
found for idleThreads
at org.mortbay.util.jmx.ModelMBeanImpl.defineAttribute
(ModelMBeanImpl.java:398)
at org.mortbay.util.jmx.ModelMBeanImpl.defineAttribute
(ModelMBeanImpl.java:310)
at 
org.mortbay.util.jmx.ThreadPoolMBean.defineManagedRes
ource(ThreadPoolMBean.java:42)
at 
org.mortbay.util.jmx.ThreadedServerMBean.defineManage
dResource(ThreadedServerMBean.java:36)
at 
org.mortbay.http.jmx.HttpListenerMBean.defineManagedR
esource(HttpListenerMBean.java:31)
at 
org.mortbay.http.jmx.SocketListenerMBean.defineManage
dResource(SocketListenerMBean.java:32)
at 
org.mortbay.util.jmx.ModelMBeanImpl.setManagedResourc
e(ModelMBeanImpl.java:273)
at org.mortbay.util.jmx.ModelMBeanImpl.mbeanFor
(ModelMBeanImpl.java:155)
at org.mortbay.http.jmx.HttpServerMBean.addComponent
(HttpServerMBean.java:125)
at org.mortbay.http.HttpServer.addComponent
(HttpServer.java:1248)
at org.mortbay.http.HttpServer.addListener
(HttpServer.java:250)
... 

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

>Comment By: Umit VARDAR (vardaru)
Date: 2003-06-19 13:37

Message:
Logged In: YES 
user_id=799400

I have modified "buggy" file to run under yurkish locale.
Note: I have changed .toUpperCase() with .toUpperCase
(Locale.US) in lines 334 and 432. I tested and runs without 
any errors.

Could someone checkin this file pls.

Regards,
Umit VARDAR   

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to