2 Replies Latest reply on Nov 15, 2004 4:05 AM by cdmein

    JBoss 3.2.5 - Exception deploying Web module (working on 3.2

    cdmein Newbie


      We have an EAR (containing an EJB module and a Web module) that deploys on JBoss 3.2.3.

      When I try and deploy the same file on JBoss 3.2.5 I get the following exception:

      13:28:21,674 INFO [Server] JBoss (MX MicroKernel) [3.2.5 (build: CVSTag=JBoss_3_2_5 date=200406251954)]
      13:28:21,674 INFO [Tomcat5] Saw org.jboss.system.server.started notification, starting connectors
      13:28:21,783 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-
      13:28:21,830 WARN [MapperListener] Error registering contexts
      ReflectionException: Cannot find method findMappingObject with this signature
      Cause: java.lang.NoSuchMethodException: org.apache.commons.modeler.BaseModelMBean.findMappingObject()
      at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:490)

      It appears that JBoss 3.2.5 uses Tomcat 5.0.26 (which never got out of beta?). Anyway when I looked at the source for the MapperListener class I found the following line:

      Object context =
      mBeanServer.invoke(objectName, "findMappingObject", null, null);

      If however you check the org.apache.commons.modeler.BaseModelMBean code this method isn not declared.

      My question is whether this is a known bug, whether there is a work around or whether I should deploy the next JBoss release (and when that might come).

      Thanks (great product too!)

      Chris Mein