[kaffe] tomcat-4.1 & kaffe; IllegalArgumentException: Attribute must be readable or writable

Joe Phillips jaiger at gmail.com
Mon Jul 30 07:50:53 PDT 2007


Sorry about the formatting as I'm copy/pasting from the mail list
archives into my
mailer.  I just subscribed.

Based on the exception stack it looks like the problem is with some
JMX functionality
either in Tomcat proper or one of your webapps.  Note the mention of "MBean"
in the stack trace.

I run Tomcat 5.0.30 on a SPARC with Kaffe 1.1.7 and Debian etch.  It works.
I've seen similar exceptions in the past when I attempted to use
webapps with JMX

I think the JMX support is broken in Kaffe.  I've seen posts on the
'net consistent
with this conclusion.  For example:

For me, I could get my application working with kaffe by removing any
jmx jar files from tomcat's
path.  Perhaps this will work for you?


> Any help here would be great, as the tomcat list suggested binning kaffe
> in favour of Sun's JDK.

> Otherwise, see below:

On Tue, Jul 24, 2007 at 09:12:53PM +0100, Craig Skinner wrote:
>*  I have a bog standard tomcat-4.1 & kaffe install on OpenBSD 4.0 i386.
*>* dmesg head shows that the box has little memory, JAVA_OPTS tuned to
*>* suit.
*>* Getting this exception (no search engine hits) as below, then tomcat
*>* bails out, any pointers? (I fiddled about in catalina.policy with
*>* attributes, but no joy):
*>* $ more catalina.out
*>* 2007 7 21 12:56:20 org.apache.coyote.http11.Http11Protocol init
*>* INFO: Initializing Coyote HTTP/1.1 on http-8080
*>* ServerLifecycleListener: createMBeans: Throwable
*>* javax.management.RuntimeOperationsException: nested exception is
java.lang.IllegalArgumentException: Attribute must be readable or
*>* java.lang.IllegalArgumentException: Attribute must be readable or writable
*>*    at javax.management.MBeanAttributeInfo.<init>
*>*    at javax.management.modelmbean.ModelMBeanAttributeInfo.<init>
*>*    at javax.management.modelmbean.ModelMBeanAttributeInfo.<init>
*>*    at org.apache.commons.modeler.AttributeInfo.createAttributeInfo
*>*    at org.apache.commons.modeler.ManagedBean.createMBeanInfo
*>*    at org.apache.commons.modeler.ManagedBean.createMBean
*>*    at org.apache.catalina.mbeans.MBeanUtils.createMBean
*>*    at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans
*>*    at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans
*>*    at org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent
*>*    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
*>*    at org.apache.catalina.core.StandardServer.start
*>*    at org.apache.catalina.startup.Catalina.start (Catalina.java:463)
*>*    at org.apache.catalina.startup.Catalina.execute (Catalina.java:350)
*>*    at org.apache.catalina.startup.Catalina.process (Catalina.java:129)
*>*    at java.lang.reflect.Method.invoke0 (Method.java)
*>*    at java.lang.reflect.Method.invoke (Method.java:255)*

Innovation Software Group, LLC - http://www.innovationsw.com
       Custom Internet and Technology Solutions
               Linux, UNIX, Java Training
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://kaffe.org/pipermail/kaffe/attachments/20070730/61c8e47b/attachment-0004.htm 

More information about the kaffe mailing list