<pre>Craig,<br><br>Sorry about the formatting as I'm copy/pasting from the mail list archives into my<br>mailer. I just subscribed.<br><br>Based on the exception stack it looks like the problem is with some JMX functionality
<br>either in Tomcat proper or one of your webapps. Note the mention of "MBean"<br>in the stack trace.<br><br>I run Tomcat 5.0.30 on a SPARC with Kaffe 1.1.7 and Debian etch. It works.<br>I've seen similar exceptions in the past when I attempted to use webapps with JMX
<br>features.<br><br>I think the JMX support is broken in Kaffe. I've seen posts on the 'net consistent<br>with this conclusion. For example:<br><a href="http://activemq.apache.org/how-do-i-run-activemq-under-the-kaffe-jvm.html">
http://activemq.apache.org/how-do-i-run-activemq-under-the-kaffe-jvm.html</a><br><br>For me, I could get my application working with kaffe by removing any jmx jar files from tomcat's<br>path. Perhaps this will work for you?
<br><br>-Joe<br><br>> Any help here would be great, as the tomcat list suggested binning kaffe<br>> in favour of Sun's JDK.<br><br>> Otherwise, see below:<br><br>On Tue, Jul 24, 2007 at 09:12:53PM +0100, Craig Skinner wrote:
<br>><i> I have a bog standard tomcat-4.1 & kaffe install on OpenBSD 4.0 i386.<br></i>><i> <br></i>><i> dmesg head shows that the box has little memory, JAVA_OPTS tuned to<br></i>><i> suit.<br></i>><i>
<br></i>><i> Getting this exception (no search engine hits) as below, then tomcat<br></i>><i> bails out, any pointers? (I fiddled about in catalina.policy with<br></i>><i> attributes, but no joy):<br></i>><i>
<br></i>><i> $ more catalina.out<br></i>><i> <br></i>><i> 2007 7 21 12:56:20 org.apache.coyote.http11.Http11Protocol init<br></i>><i> INFO: Initializing Coyote HTTP/1.1 on http-8080<br></i>><i> ServerLifecycleListener: createMBeans: Throwable
<br></i>><i> javax.management.RuntimeOperationsException: nested exception is java.lang.IllegalArgumentException: Attribute must be readable or writable<br></i>><i> java.lang.IllegalArgumentException: Attribute must be readable or writable
<br></i>><i> at javax.management.MBeanAttributeInfo.<init> (MBeanAttributeInfo.java:60)<br></i>><i> at javax.management.modelmbean.ModelMBeanAttributeInfo.<init> (ModelMBeanAttributeInfo.java:50)<br>
</i>><i> at javax.management.modelmbean.ModelMBeanAttributeInfo.<init> (ModelMBeanAttributeInfo.java:45)<br></i>><i> at org.apache.commons.modeler.AttributeInfo.createAttributeInfo (AttributeInfo.java:283)
<br></i>><i> at org.apache.commons.modeler.ManagedBean.createMBeanInfo (ManagedBean.java:464)<br></i>><i> at org.apache.commons.modeler.ManagedBean.createMBean (ManagedBean.java:424)<br></i>><i> at org.apache.catalina.mbeans.MBeanUtils.createMBean
(MBeanUtils.java:657)<br></i>><i> at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans (ServerLifecycleListener.java:759)<br></i>><i> at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans
(ServerLifecycleListener.java:325)<br></i>><i> at org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent (ServerLifecycleListener.java:179)<br></i>><i> at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:119)<br></i>><i> at org.apache.catalina.core.StandardServer.start (StandardServer.java:2136)<br></i>><i> at org.apache.catalina.startup.Catalina.start (Catalina.java:463)<br></i>><i>
at org.apache.catalina.startup.Catalina.execute (Catalina.java:350)<br></i>><i> at org.apache.catalina.startup.Catalina.process (Catalina.java:129)<br></i>><i> at java.lang.reflect.Method.invoke0 (Method.java
)<br></i>><i> at java.lang.reflect.Method.invoke (Method.java:255)</i></pre><br clear="all"><br>-- <br>Innovation Software Group, LLC - <a href="http://www.innovationsw.com">http://www.innovationsw.com</a><br> Custom Internet and Technology Solutions
<br> Linux, UNIX, Java Training<br>