0 Replies Latest reply on May 12, 2005 10:36 PM by Frank Morton

    problem with 4.0.2 and standalone tomcat

    Frank Morton Newbie

      Previously happily running standalone tomcat 5.0.18 with jboss 3.2.3.

      Upgraded jboss to 4.0.2. That transition was smooth and easy (hats off to jboss developers).

      But, replaced the jbossall-client.jar in the standalone tomcat common/lib directory with the new version. Would not start up, complaining about a dependency on dom4j (org.dom4j.Element).

      Added that (which shouldn't be needed, right?) and got these complaints:

      SEVERE: Error registering Catalina:serviceName=Catalina,type=Service
      RuntimeOperationsException: null Cause: java.lang.IllegalArgumentException: Invalid role, for operation 'setContainer' expected 'setter' but got: operation
      at javax.management.modelmbean.ModelMBeanOperationInfo.isOperationDescriptorValid(ModelMBeanOperationInfo.java:217)
      at javax.management.modelmbean.ModelMBeanOperationInfo.setDescriptor(ModelMBeanOperationInfo.java:198)
      at org.apache.commons.modeler.OperationInfo.createOperationInfo(OperationInfo.java:267)
      at org.apache.commons.modeler.ManagedBean.createMBeanInfo(ManagedBean.java:480)
      at org.apache.commons.modeler.ManagedBean.createMBean(ManagedBean.java:424)
      at org.apache.commons.modeler.Registry.registerComponent(Registry.java:862)
      at org.apache.catalina.core.StandardService.initialize(StandardService.java:615)
      at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2415)
      at org.apache.catalina.startup.Catalina.load(Catalina.java:549)
      at org.apache.catalina.startup.Catalina.load(Catalina.java:570)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397)
      Caused by: java.lang.IllegalArgumentException: Invalid role, for operation 'setContainer' expected 'setter' but got: operation
      ... 16 more
      May 12, 2005 9:26:13 PM org.apache.catalina.core.StandardService initialize
      SEVERE: Error registering

      Started down the route of getting individual jar files, but ended up going in circles.

      Anyone know what jar files are needed to run tomcat standalone with jboss 4.0.2? Anyone done this with the new version? Appears to be a problem.

      Glad to try any suggestions.

      Running under MacOS X panther with java 1.4.2_05.