IncompatibleClassChangeError when using jboss-remoting.jar on Tomcat 7 before 7.0.26

Solution Verified - Updated -

Issue

The client libraries from tomcat eap5.1.2 are not compatible with tomcat 7. I assume a much later release of EAP is available as I have been using 5.X for a very long time. I can not find how to download a version newer the 5.1.2 on the support/downloads site.

Please let me know if EAP has been renamed, or how I would upgrade to a newer version of EAP. If a newer version is not available please provide the release plans.

ok I finally got much more information.

If I start my web application on a tomcat 7 including a 3.0 web.xml
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">

I get the attached error.

If I simply change the web.xml to specify the app if 2.5 it runs flawlessly.
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">

This is the apache bug report referencing the error:
https://issues.apache.org/bugzilla/show_bug.cgi?id=52324

Environment

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.