2 Replies Latest reply on Oct 29, 2003 5:29 AM by shorero

    Attribute description?

    shorero

      I'm trying to replace the embedded tomcat service mbean. My first shot at this is to

      (1) Create my own class that is an exact copy of the existing EmbeddedTomcatService.java and

      (2) Change the code attribute in Tomcat's jboss-service.xml to specify my class.

      Note that I've got to put my class in the same package as EmbeddedTomcatService (org.jboss.web.tomcat.tc4) since some of the referenced classes have protected constructors.

      When I try to run with this config, I get a deployment error:

      08:24:12,748 INFO [ServiceConfigurator] Problem configuring service jboss.web:service=WebServer
      org.jboss.deployment.DeploymentException: No Attribute found with name: UseJBossWebLoader
      at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:338)
      ...

      I'm pretty sure that I need an XML description file someplace that indicates what the legal attributes are for my replacement class, but I'll be darned if I can figure out where to put it or what to call it. I can't see anyplace where the original EmbeddedTomcatService is so configured.

      Any suggestions?