4 Replies Latest reply on Mar 21, 2005 3:10 PM by jhecking

    Setting up multiple Tomcat SARs & WARDeployers in 1 JBoss in

    jhecking Newbie

      Hi,

      we're developing a complex J2EE application which consists of multiple web applications, some of which should be accessible to our users while others are just for internal monitoring and administration and to provide HTTP based APIs to other system components. We'd like to deploy all of these web apps in a single JBoss instance but have them running on different ports so that we can limit external access through the firewall into the DMZ.

      Is there a way to deploy two separate Tomcat SARs in one JBoss instance and configure two WARDeployers for different directories to deploy WARs into each of these Tomcat services? Has anyone ever tried this before?

      As a first step I tried creating a copy of the jbossweb-tomcat50-ext.sar directory and editing the server.xml renaming all references to the jboss.web service name to jboss.web-ext. However this does not seem to be sufficient. When starting the server it throws lots of exceptions when deploying the standard JBoss web apps like the jmx-console, etc. and neither of the Tomcat services is responding on its configured listen port.

      What's even more unclear to me at this point is how to configure the JBoss deployer chain. I looked at the configuration of the LocalJBossServerDomain mbean in jboss-service.xml but there doesn't seem to be any documentation on how this configuration works.

      Any hints including "Forget about it, it can't be done!" would be much appreciated! :-)

      Jan

      --
      Jan Hecking - Software Engineer, Java Development
      VerdiSoft Software Entwicklungs GmbH
      Süderstraße 77, 20097 Hamburg, Germany
      Email: jan.hecking@verdisoft.com

        • 1. Re: Setting up multiple Tomcat SARs & WARDeployers in 1 JBos
          jhecking Newbie

          After some experimentation it seems "It can't be done!" is indeed the correct answer to my question. :-(

          I tried deploying a second instance of the Tomcat service as a copy of the default jbossweb-tomcat50.sar but I'm running into two problems. I literally copied the jbossweb-tomcat50.sar directory that comes with JBoss and edited the server.xml and META-INF/jboss-service.xml files chaning all references to the jboss.web service name to jboss.web-ext. I also changed the two ports used by Tomcat that are specified in the server.xml file. However when starting up the JBoss server I always get an exception that the port for the HTTP connector is already in use. I verified that the port is not used by any other service in JBoss or any external process and in fact it does not matter what port number I choose at all - I always get the same exception (I'll attach the full logs below).

          The second error I see is that some org.jboss.web.tomcat.security.HttpServletRequestPolicyContextHandler is trying to be registered twice which throws an IllegalArgument exception.

          Has anyone else ever looked at this problem before?


          Here are the debug logs from starting up the JBoss server:

          11:54:00,439 INFO [Server] Starting JBoss (MX MicroKernel)...
          11:54:00,439 INFO [Server] Release ID: JBoss [Zion] 4.0.1sp1 (build: CVSTag=JBoss_4_0_1_SP1 date=200502160314)
          11:54:00,439 INFO [Server] Home Dir: C:\cvs\vcls-server\jboss-4.0.1sp1
          11:54:00,439 INFO [Server] Home URL: file:/C:/cvs/vcls-server/jboss-4.0.1sp1/
          11:54:00,439 INFO [Server] Library URL: file:/C:/cvs/vcls-server/jboss-4.0.1sp1/lib/
          11:54:00,439 INFO [Server] Patch URL: null
          11:54:00,439 INFO [Server] Server Name: default
          11:54:00,439 INFO [Server] Server Home Dir: C:\cvs\vcls-server\jboss-4.0.1sp1\server\default
          11:54:00,439 INFO [Server] Server Home URL: file:/C:/cvs/vcls-server/jboss-4.0.1sp1/server/default/
          11:54:00,454 INFO [Server] Server Data Dir: C:\cvs\vcls-server\jboss-4.0.1sp1\server\default\data
          11:54:00,454 INFO [Server] Server Temp Dir: C:\cvs\vcls-server\jboss-4.0.1sp1\server\default\tmp
          11:54:00,454 INFO [Server] Server Config URL: file:/C:/cvs/vcls-server/jboss-4.0.1sp1/server/default/conf/
          11:54:00,454 INFO [Server] Server Library URL: file:/C:/cvs/vcls-server/jboss-4.0.1sp1/server/default/lib/
          11:54:00,470 INFO [Server] Root Deployment Filename: jboss-service.xml
          11:54:00,470 INFO [Server] Starting General Purpose Architecture (GPA)...
          11:54:01,095 INFO [ServerInfo] Java version: 1.4.2_07,Sun Microsystems Inc.
          11:54:01,095 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_07-b05,Sun Microsystems Inc.
          11:54:01,095 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
          11:54:01,579 INFO [Server] Core system initialized
          11:54:03,173 INFO [ServiceBindingManager] Initializing store
          11:54:03,173 INFO [ServiceBindingManager] Using StoreURL: file:/C:/cvs/vcls-server/jboss-4.0.1sp1/server/default/conf/jboss-bindings.xml
          11:54:04,236 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
          11:54:04,423 INFO [WebService] Using RMI server codebase: http://ham31:8083/
          11:54:04,673 INFO [NamingService] Started jndi bootstrap jnpPort=7001, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
          11:54:10,579 INFO [Embedded] Catalina naming disabled
          11:54:11,626 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8181
          11:54:11,689 INFO [Catalina] Initialization processed in 985 ms
          11:54:11,689 INFO [StandardService] Starting service jboss.web-ext
          11:54:11,704 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.0.28
          11:54:11,751 INFO [StandardHost] XML validation disabled
          11:54:11,782 INFO [Catalina] Server startup in 93 ms
          11:54:12,032 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/C:/cvs/vcls-server/jboss-4.0.1sp1/server/default/deploy/http-invoker.sar/invoker.war/
          11:54:12,282 DEBUG [Context] Starting tomcat.localhost./invoker.Context
          11:54:12,282 DEBUG [Context] Configuring default Resources
          11:54:12,517 DEBUG [Context] Processing standard container startup
          11:54:12,673 DEBUG [Context] Setting deployment descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN'
          11:54:12,814 DEBUG [Context] Setting deployment descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN'
          11:54:13,079 DEBUG [Context] Posting standard context attributes
          11:54:13,079 DEBUG [Context] Configuring application event listeners
          11:54:13,079 DEBUG [Context] Sending application start events
          11:54:13,095 DEBUG [Context] Starting filters
          11:54:13,095 DEBUG [Context] Starting filter 'CommonHeadersFilter'
          11:54:13,095 DEBUG [Context] Starting filter 'ReadOnlyAccessFilter'
          11:54:13,454 DEBUG [Context] Starting completed
          11:54:13,470 DEBUG [Context] Checking for jboss.web-ext:J2EEApplication=none,J2EEServer=none,j2eeType=WebModule,name=//localhost/invoker
          11:54:13,595 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/C:/cvs/vcls-server/jboss-4.0.1sp1/server/default/tmp/deploy/tmp27310jboss-ws4ee-exp.war/
          11:54:13,642 DEBUG [Context] Starting tomcat.localhost./ws4ee.Context
          11:54:13,642 DEBUG [Context] Configuring default Resources
          11:54:13,642 DEBUG [Context] Processing standard container startup
          11:54:13,720 DEBUG [Context] Setting deployment descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN'
          12:54:13,751 DEBUG [Context] Setting deployment descriptor public ID to 'null'
          11:54:13,767 DEBUG [Context] Posting standard context attributes
          11:54:13,767 DEBUG [Context] Configuring application event listeners
          11:54:13,767 DEBUG [Context] Sending application start events
          11:54:13,767 DEBUG [Context] Starting filters
          11:54:13,767 DEBUG [Context] Starting filter 'CommonHeadersFilter'
          11:54:13,767 DEBUG [Context] Starting completed
          11:54:13,767 DEBUG [Context] Checking for jboss.web-ext:J2EEApplication=none,J2EEServer=none,j2eeType=WebModule,name=//localhost/ws4ee
          11:54:13,814 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/C:/cvs/vcls-server/jboss-4.0.1sp1/server/default/deploy/jbossweb-tomcat50-ext.sar/ROOT.war/
          11:54:13,860 DEBUG [Context] Starting tomcat.localhost.ROOT.Context
          11:54:13,860 DEBUG [Context] Configuring default Resources
          11:54:13,860 DEBUG [Context] No realm for this host null
          11:54:13,860 DEBUG [Context] Processing standard container startup
          11:54:13,907 DEBUG [Context] Setting deployment descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN'
          11:54:13,939 DEBUG [Context] Setting deployment descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN'
          11:54:13,954 DEBUG [Context] Posting standard context attributes
          11:54:13,954 DEBUG [Context] Configuring application event listeners
          11:54:13,954 DEBUG [Context] Sending application start events
          11:54:13,954 DEBUG [Context] Starting filters
          11:54:13,954 DEBUG [Context] Starting filter 'CommonHeadersFilter'
          11:54:13,954 DEBUG [Context] Starting completed
          11:54:13,954 DEBUG [Context] Checking for jboss.web-ext:J2EEApplication=none,J2EEServer=none,j2eeType=WebModule,name=//localhost/
          11:54:15,126 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/C:/cvs/vcls-server/jboss-4.0.1sp1/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/
          11:54:15,157 DEBUG [Context] Stopping
          11:54:15,157 DEBUG [Context] Stopping filters
          11:54:15,157 DEBUG [Context] Stopping filter 'CommonHeadersFilter'
          11:54:15,173 DEBUG [Context] Processing standard container shutdown
          11:54:15,173 DEBUG [Context] Sending application stop events
          11:54:15,173 DEBUG [Context] resetContext jboss.web-ext:J2EEApplication=none,J2EEServer=none,j2eeType=WebModule,name=//localhost/ org.jboss.mx.server.MBeanServerImpl@9ced8e
          11:54:15,173 DEBUG [Context] Stopping complete
          11:54:15,220 DEBUG [Context] Starting tomcat.localhost.ROOT.Context
          11:54:15,220 DEBUG [Context] Configuring default Resources
          11:54:15,220 DEBUG [Context] No realm for this host null
          11:54:15,220 DEBUG [Context] Processing standard container startup
          11:54:15,251 DEBUG [Context] Setting deployment descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN'
          11:54:15,298 DEBUG [Context] Setting deployment descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN'
          11:54:15,298 DEBUG [Context] Posting standard context attributes
          11:54:15,298 DEBUG [Context] Configuring application event listeners
          11:54:15,298 DEBUG [Context] Sending application start events
          11:54:15,298 DEBUG [Context] Starting filters
          11:54:15,298 DEBUG [Context] Starting filter 'CommonHeadersFilter'
          11:54:15,298 DEBUG [Context] Starting completed
          11:54:15,298 DEBUG [Context] Checking for jboss.web-ext:J2EEApplication=none,J2EEServer=none,j2eeType=WebModule,name=//localhost/
          11:54:15,314 INFO [Embedded] Catalina naming disabled
          11:54:15,376 ERROR [Http11Protocol] Error initializing endpoint
          java.net.BindException: Address already in use: JVM_Bind:8181
          at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:264)
          at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:137)
          at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1429)
          at org.jboss.web.tomcat.tc5.StandardService.initialize(StandardService.java:688)
          at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2384)
          at org.apache.catalina.startup.Catalina.load(Catalina.java:507)
          at org.apache.catalina.startup.Catalina.start(Catalina.java:548)
          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.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
          at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.web.tomcat.tc5.Tomcat5.startService(Tomcat5.java:345)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
          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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
          at $Proxy0.start(Unknown Source)
          at org.jboss.system.ServiceController.start(ServiceController.java:416)
          at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:324)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy4.start(Unknown Source)
          at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
          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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy8.deploy(Unknown Source)
          at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
          at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
          at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:324)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
          at $Proxy0.start(Unknown Source)
          at org.jboss.system.ServiceController.start(ServiceController.java:416)
          at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:324)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy4.start(Unknown Source)
          at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
          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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy5.deploy(Unknown Source)
          at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
          at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
          at org.jboss.Main.boot(Main.java:162)
          at org.jboss.Main$1.run(Main.java:423)
          at java.lang.Thread.run(Thread.java:534)
          11:54:15,657 ERROR [Catalina] Catalina.start
          LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:8181
          at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1431)
          at org.jboss.web.tomcat.tc5.StandardService.initialize(StandardService.java:688)
          at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2384)
          at org.apache.catalina.startup.Catalina.load(Catalina.java:507)
          at org.apache.catalina.startup.Catalina.start(Catalina.java:548)
          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.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
          at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.web.tomcat.tc5.Tomcat5.startService(Tomcat5.java:345)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
          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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
          at $Proxy0.start(Unknown Source)
          at org.jboss.system.ServiceController.start(ServiceController.java:416)
          at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:324)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy4.start(Unknown Source)
          at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
          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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy8.deploy(Unknown Source)
          at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
          at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
          at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:324)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
          at $Proxy0.start(Unknown Source)
          at org.jboss.system.ServiceController.start(ServiceController.java:416)
          at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:324)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy4.start(Unknown Source)
          at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
          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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy5.deploy(Unknown Source)
          at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
          at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
          at org.jboss.Main.boot(Main.java:162)
          at org.jboss.Main$1.run(Main.java:423)
          at java.lang.Thread.run(Thread.java:534)
          11:54:16,017 INFO [Catalina] Initialization processed in 688 ms
          11:54:16,017 INFO [StandardService] Starting service jboss.web-ext
          11:54:16,032 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.0.28
          11:54:16,032 INFO [StandardHost] XML validation disabled
          11:54:16,032 INFO [Catalina] Server startup in 15 ms
          11:54:16,032 ERROR [Tomcat5] Starting failed jboss.web:service=WebServer
          java.lang.IllegalArgumentException: Handler for key=javax.servlet.http.HttpServletRequest, exists, handler: org.jboss.web.tomcat.security.HttpServletRequestPolicyContextHandler@13af084
          at javax.security.jacc.PolicyContext.registerHandler(PolicyContext.java:170)
          at org.jboss.web.tomcat.tc5.Tomcat5.startService(Tomcat5.java:392)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
          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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
          at $Proxy0.start(Unknown Source)
          at org.jboss.system.ServiceController.start(ServiceController.java:416)
          at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:324)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy4.start(Unknown Source)
          at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
          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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy8.deploy(Unknown Source)
          at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
          at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
          at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:324)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
          at $Proxy0.start(Unknown Source)
          at org.jboss.system.ServiceController.start(ServiceController.java:416)
          at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:324)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy4.start(Unknown Source)
          at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
          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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy5.deploy(Unknown Source)
          at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
          at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
          at org.jboss.Main.boot(Main.java:162)
          at org.jboss.Main$1.run(Main.java:423)
          at java.lang.Thread.run(Thread.java:534)
          11:54:16,407 WARN [ServiceController] Problem starting service jboss.web:service=WebServer
          java.lang.IllegalArgumentException: Handler for key=javax.servlet.http.HttpServletRequest, exists, handler: org.jboss.web.tomcat.security.HttpServletRequestPolicyContextHandler@13af084
          at javax.security.jacc.PolicyContext.registerHandler(PolicyContext.java:170)
          at org.jboss.web.tomcat.tc5.Tomcat5.startService(Tomcat5.java:392)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
          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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
          at $Proxy0.start(Unknown Source)
          at org.jboss.system.ServiceController.start(ServiceController.java:416)
          at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:324)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy4.start(Unknown Source)
          at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
          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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy8.deploy(Unknown Source)
          at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
          at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
          at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:324)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
          at $Proxy0.start(Unknown Source)
          at org.jboss.system.ServiceController.start(ServiceController.java:416)
          at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:324)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy4.start(Unknown Source)
          at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
          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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy5.deploy(Unknown Source)
          at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
          at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
          at org.jboss.Main.boot(Main.java:162)
          at org.jboss.Main$1.run(Main.java:423)
          at java.lang.Thread.run(Thread.java:534)
          11:54:16,892 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file:/C:/cvs/vcls-server/jboss-4.0.1sp1/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
          11:54:16,954 DEBUG [Context] Starting tomcat.localhost./jbossmq-httpil.Context
          11:54:16,954 DEBUG [Context] Configuring default Resources
          11:54:16,970 DEBUG [Context] Processing standard container startup
          11:54:17,017 DEBUG [Context] Setting deployment descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN'
          11:54:17,079 DEBUG [Context] Setting deployment descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN'
          11:54:17,079 DEBUG [Context] Posting standard context attributes
          11:54:17,079 DEBUG [Context] Configuring application event listeners
          11:54:17,079 DEBUG [Context] Sending application start events
          11:54:17,079 DEBUG [Context] Starting filters
          11:54:17,079 DEBUG [Context] Starting filter 'CommonHeadersFilter'
          11:54:17,079 DEBUG [Context] Starting completed
          11:54:17,079 DEBUG [Context] Checking for jboss.web-ext:J2EEApplication=none,J2EEServer=none,j2eeType=WebModule,name=//localhost/jbossmq-httpil
          11:54:21,235 INFO [MailService] Mail Service bound to java:/Mail
          11:54:22,360 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/cvs/vcls-server/jboss-4.0.1sp1/server/default/deploy/jboss-local-jdbc.rar
          11:54:22,642 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/cvs/vcls-server/jboss-4.0.1sp1/server/default/deploy/jboss-xa-jdbc.rar
          11:54:22,876 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/cvs/vcls-server/jboss-4.0.1sp1/server/default/deploy/jms/jms-ra.rar
          11:54:23,079 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/cvs/vcls-server/jboss-4.0.1sp1/server/default/deploy/mail-ra.rar
          11:54:24,329 INFO [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:name=DefaultDS,service=DataSourceBinding to JNDI name 'java:DefaultDS'
          11:54:24,720 WARN [ConfiguredIdentityLoginModule] Creating LoginModule with no configured password!
          11:54:25,579 INFO [ConnectionFactoryBindingService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:name=JmsXA,service=ConnectionFactoryBinding to JNDI name 'java:JmsXA'
          11:54:25,892 INFO [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:name=VclsDS,service=DataSourceBinding to JNDI name 'java:VclsDS'
          11:54:27,063 INFO [testQueue] Bound to JNDI name: queue/testQueue
          11:54:27,079 INFO [com/verdisoft/cpa/dp/Queue] Bound to JNDI name: queue/com/verdisoft/cpa/dp/Queue
          11:54:27,095 INFO [com/verdisoft/cpa/bd/Queue] Bound to JNDI name: queue/com/verdisoft/cpa/bd/Queue
          11:54:27,095 INFO [com/verdisoft/cpa/gb/Queue] Bound to JNDI name: queue/com/verdisoft/cpa/gb/Queue
          11:54:27,110 INFO [com/verdisoft/polling/engine/PollDispatchQueue] Bound to JNDI name: queue/com/verdisoft/polling/engine/PollDispatchQueue
          11:54:27,126 INFO [dd2/admin/DynamicFilterDeamonQueue] Bound to JNDI name: queue/dd2/admin/DynamicFilterDeamonQueue
          11:54:27,126 INFO [dd2/manager/Queue] Bound to JNDI name: queue/dd2/manager/Queue
          11:54:27,141 INFO [dd2/configchanged/Queue] Bound to JNDI name: queue/dd2/configchanged/Queue
          11:54:27,173 INFO [notification2/WorkerQueue] Bound to JNDI name: queue/notification2/WorkerQueue
          11:54:27,173 INFO [notification2/SchedulerQueue] Bound to JNDI name: queue/notification2/SchedulerQueue
          11:54:27,188 INFO [com/verdisoft/monitoring/MonitoringQueue] Bound to JNDI name: queue/com/verdisoft/monitoring/MonitoringQueue
          11:54:27,204 INFO [com/verdisoft/tasksystem/TaskSystemQueue] Bound to JNDI name: queue/com/verdisoft/tasksystem/TaskSystemQueue
          11:54:27,220 INFO [com/verdisoft/rescheduler/test/Queue] Bound to JNDI name: queue/com/verdisoft/rescheduler/test/Queue
          11:54:27,220 INFO [dd2/CDMEventQueue] Bound to JNDI name: queue/dd2/CDMEventQueue
          11:54:27,235 INFO [com/verdisoft/cdmi/UserConfigChangedQueue] Bound to JNDI name: queue/com/verdisoft/cdmi/UserConfigChangedQueue
          11:54:27,235 INFO [dd2/YahooImportQueue] Bound to JNDI name: queue/dd2/YahooImportQueue
          11:54:27,251 INFO [com/verdisoft/blademanager/BladeUpdateLoaderQueue] Bound to JNDI name: queue/com/verdisoft/blademanager/BladeUpdateLoaderQueue
          11:54:27,282 INFO [com/verdisoft/cpa/getbinary/Topic] Bound to JNDI name: topic/com/verdisoft/cpa/getbinary/Topic
          11:54:27,313 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
          11:54:27,516 INFO [DLQ] Bound to JNDI name: queue/DLQ
          11:54:27,595 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/C:/cvs/vcls-server/jboss-4.0.1sp1/server/default/deploy/jmx-console.war/
          11:54:27,688 DEBUG [Context] Starting tomcat.localhost./jmx-console.Context
          11:54:27,688 DEBUG [Context] Configuring default Resources
          11:54:27,704 DEBUG [Context] Processing standard container startup
          11:54:27,751 DEBUG [Context] Setting deployment descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN'
          11:54:27,798 DEBUG [Context] Setting deployment descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN'
          11:54:27,798 DEBUG [Context] Posting standard context attributes
          11:54:27,798 DEBUG [Context] Configuring application event listeners
          11:54:27,798 DEBUG [Context] Sending application start events
          11:54:27,798 DEBUG [Context] Starting filters
          11:54:27,798 DEBUG [Context] Starting filter 'CommonHeadersFilter'
          11:54:27,798 DEBUG [Context] Starting completed
          11:54:27,813 DEBUG [Context] Checking for jboss.web-ext:J2EEApplication=none,J2EEServer=none,j2eeType=WebModule,name=//localhost/jmx-console
          11:54:27,907 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/C:/cvs/vcls-server/jboss-4.0.1sp1/server/default/deploy/management/web-console.war/
          11:54:27,985 DEBUG [Context] Starting tomcat.localhost./web-console.Context
          11:54:27,985 DEBUG [Context] Configuring default Resources
          11:54:27,985 DEBUG [Context] Processing standard container startup
          11:54:28,063 DEBUG [Context] Setting deployment descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN'
          11:54:28,110 DEBUG [Context] Setting deployment descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN'
          11:54:28,141 DEBUG [Context] Posting standard context attributes
          11:54:28,141 DEBUG [Context] Configuring application event listeners
          11:54:28,141 DEBUG [Context] Sending application start events
          11:54:28,141 DEBUG [Context] Starting filters
          11:54:28,141 DEBUG [Context] Starting filter 'CommonHeadersFilter'
          11:54:28,813 DEBUG [Context] Starting completed
          11:54:28,813 DEBUG [Context] Checking for jboss.web-ext:J2EEApplication=none,J2EEServer=none,j2eeType=WebModule,name=//localhost/web-console
          11:54:28,876 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
          MBeans waiting for other MBeans:
          ObjectName: jboss.ws4ee:service=ServiceDeployerJSE
          state: CREATED
          I Depend On: jboss.web:service=WebServer

          Depends On Me:
          ObjectName: jboss.web:service=WebServer
          state: FAILED
          I Depend On: jboss.security:service=JaasSecurityManager
          jboss:service=TransactionManager

          Depends On Me: jboss.ws4ee:service=ServiceDeployerJSE
          jboss.mq:service=InvocationLayer,type=HTTP
          java.lang.IllegalArgumentException: Handler for key=javax.servlet.http.HttpServletRequest, exists, handler: org.jboss.web.tomcat.security.HttpServletRequestPolicyContextHandler@13af084
          ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
          state: CONFIGURED
          I Depend On: jboss.mq:service=Invoker
          jboss.web:service=WebServer

          Depends On Me:

          MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
          ObjectName: jboss.web:service=WebServer
          state: FAILED
          I Depend On: jboss.security:service=JaasSecurityManager
          jboss:service=TransactionManager

          Depends On Me: jboss.ws4ee:service=ServiceDeployerJSE
          jboss.mq:service=InvocationLayer,type=HTTP
          java.lang.IllegalArgumentException: Handler for key=javax.servlet.http.HttpServletRequest, exists, handler: org.jboss.web.tomcat.security.HttpServletRequestPolicyContextHandler@13af084

          11:54:29,173 WARN [Tomcat5] Failed to startConnectors
          javax.management.InstanceNotFoundException: jboss.web-ext:serviceName=jboss.web,type=Service is not registered.
          at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:509)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:636)
          at org.jboss.web.tomcat.tc5.Tomcat5.startConnectors(Tomcat5.java:457)
          at org.jboss.web.tomcat.tc5.Tomcat5.handleNotification(Tomcat5.java:488)
          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.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:138)
          at $Proxy27.handleNotification(Unknown Source)
          at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:112)
          at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:93)
          at org.jboss.system.server.ServerImpl.sendNotification(ServerImpl.java:838)
          at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:427)
          at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
          at org.jboss.Main.boot(Main.java:162)
          at org.jboss.Main$1.run(Main.java:423)
          at java.lang.Thread.run(Thread.java:534)
          1


          Jan

          --
          Jan Hecking - Software Engineer, Java Development
          VerdiSoft Software Entwicklungs GmbH
          Süderstraße 77, 20097 Hamburg, Germany
          Email: jan.hecking@verdisoft.com

          • 2. Re: Setting up multiple Tomcat SARs & WARDeployers in 1 JBos
            Scott Stark Master

            Multiple deployers for the same deployment type are not supported. Create a feature request for mapping Connectors to different vhost settings in jira to see if we can support this with a single deployer in the future.

            http://jira.jboss.com

            • 3. Re: Setting up multiple Tomcat SARs & WARDeployers in 1 JBos
              jhecking Newbie

              Thanks, good to get a definitive answer. Unfortunately we don't have time to wait for a new JBoss release but I'll add the feature request nonetheless because I think this feature would be really useful to have.

              Jan