I tried to start with the minimal 4.0.2 configuration and just add what I need to run a Java web app (no EJB's). So I copied the jbossweb-tomcat55.sar from default into minimal. When JBoss starts I get this error:
16:44:22,703 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-4.0.2/server/minimal/deploy/jbossweb-tomcat55.sar/ org.jboss.deployment.DeploymentException: Unexpected error during load of: org.jboss.web.tomcat.tc5.Tomcat5, msg=org/jbo ss/web/tomcat/tc5/Tomcat5MBean; - nested throwable: (java.lang.ClassNotFoundException: Unexpected error during load of: org.jboss.web.tomcat.tc5.Tomcat5, msg=org/jboss/web/tomcat/tc5/Tomcat5MBean) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:143) at org.jboss.system.ServiceController.install(ServiceController.java:202) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
org.jboss.deployment.DeploymentInfo@ca8c2d47 { url=file:/C:/jboss-4.0.2/server/minimal/deploy/jbossweb-tomcat55.sar/ROOT .war/ } deployer: null status: null state: CREATE_SUBDEPLOYMENTS watch: file:/C:/jboss-4.0.2/server/minimal/deploy/jbossweb-tomcat55.sar/ROOT.war/ altDD: null lastDeployed: 1125693862683 lastModified: 1125692582802 mbeans: