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

Craig Skinner craig.skinner at kepax.co.uk
Tue Jul 31 06:17:21 PDT 2007


On Mon, Jul 30, 2007 at 10:50:53AM -0400, Joe Phillips wrote:
> 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
> features.
>
> I think the JMX support is broken in Kaffe.  I've seen posts on the
> 'net consistent
> with this conclusion.  For example:
> http://activemq.apache.org/how-do-i-run-activemq-under-the-kaffe-jvm.html
>
> 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?
>

Thanks for the help Joe.

Did not work in this case.

The best I got was by using the server-noexamples.xml.config with a
disabled connectionTimeout:

2007 7 30 21:17:43 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Starting service Tomcat-Apache
Apache Tomcat/4.1.31
StandardServer.await: accept: java.net.SocketTimeoutException: Accept
timed out
java.net.SocketTimeoutException: Accept timed out
   at gnu.java.net.PlainSocketImpl.socketAccept (PlainSocketImpl.java)
   at gnu.java.net.PlainSocketImpl.accept (PlainSocketImpl.java:87)
   at java.net.ServerSocket.implAccept (ServerSocket.java:369)
   at java.net.ServerSocket.accept (ServerSocket.java:321)
   at org.apache.catalina.core.StandardServer.await (StandardServer.java:480)
   at org.apache.catalina.startup.Catalina.start (Catalina.java:472)
   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)
   at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:156)
Stopping service Tomcat-Standalone
2007 7 30 21:17:47 org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Stopping service Tomcat-Apache




More information about the kaffe mailing list