9 Replies Latest reply on Mar 17, 2011 5:40 PM by charly hurtado

    Rewrite mod Jboss 4.2

    Eduard Demerchyan Newbie

      I use mod rewrite(<Valve className="org.jboss.web.rewrite.RewriteValve" />) in  JBoss 4.2, and it works well, but I can't use RewriteMap. In jboss documentation (http://www.jboss.org/jbossweb/modules/rewrite.html) there is short description about it. I've implemented RewriteMap interface but when I deploy application, i have exception "Invalid map className: RewriteMap  listLinks utils.LinkListMap"  when I must put Class, Now it's in one of my project jar?

        • 1. Rewrite mod Jboss 4.2
          Eduard Demerchyan Newbie

          Does anyboby know how to use it?

          • 2. Rewrite mod Jboss 4.2
            Nicklas Karlsson Master

            Never used it but my guess it that since the configuration is server-wide, so must all classes referenced be.

            • 3. Rewrite mod Jboss 4.2
              Nicklas Karlsson Master

              Could you post the full stack trace, also?

              • 4. Rewrite mod Jboss 4.2
                Eduard Demerchyan Newbie

                this is the full stack trace

                15:17:10,896 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../tmp/deploy/tmp32792testJSP_war_exploded-exp.war/

                15:17:11,005 ERROR [BaseModelMBean] Exception invoking method addChild

                java.lang.IllegalArgumentException: Invalid map className: RewriteMap  listLinks ru.test.LinkListMap

                          at org.jboss.web.rewrite.RewriteValve.parse(RewriteValve.java:565)

                          at org.jboss.web.rewrite.RewriteValve.parse(RewriteValve.java:204)

                          at org.jboss.web.rewrite.RewriteValve.start(RewriteValve.java:159)

                          at org.apache.catalina.core.StandardPipeline.start(StandardPipeline.java:232)

                          at org.apache.catalina.core.StandardContext.start(StandardContext.java:4255)

                          at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)

                          at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)

                          at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)

                          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:597)

                          at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)

                          at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)

                          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:597)

                          at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)

                          at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)

                          at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)

                          at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)

                          at org.jboss.web.WebModule.startModule(WebModule.java:83)

                          at org.jboss.web.WebModule.startService(WebModule.java:61)

                          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)

                          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)

                          at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)

                          at $Proxy0.start(Unknown Source)

                          at org.jboss.system.ServiceController.start(ServiceController.java:417)

                          at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

                          at $Proxy44.start(Unknown Source)

                          at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)

                          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:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)

                          at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)

                          at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)

                          at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)

                          at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)

                          at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

                          at $Proxy45.start(Unknown Source)

                          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)

                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)

                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)

                          at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          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:597)

                          at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:266)

                          at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)

                          at org.jboss.jmx.connector.invoker.SerializableInterceptor.invoke(SerializableInterceptor.java:74)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:179)

                          at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:818)

                          at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:419)

                          at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)

                          at sun.rmi.transport.Transport$1.run(Transport.java:159)

                          at java.security.AccessController.doPrivileged(Native Method)

                          at sun.rmi.transport.Transport.serviceCall(Transport.java:155)

                          at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)

                          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)

                          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)

                          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)

                          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)

                          at java.lang.Thread.run(Thread.java:619)

                15:17:11,068 ERROR [BaseModelMBean] Exception invoking method init

                javax.management.RuntimeOperationsException: Exception invoking method addChild

                          at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:304)

                          at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)

                          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:597)

                          at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)

                          at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)

                          at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)

                          at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)

                          at org.jboss.web.WebModule.startModule(WebModule.java:83)

                          at org.jboss.web.WebModule.startService(WebModule.java:61)

                          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)

                          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)

                          at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)

                          at $Proxy0.start(Unknown Source)

                          at org.jboss.system.ServiceController.start(ServiceController.java:417)

                          at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

                          at $Proxy44.start(Unknown Source)

                          at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)

                          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:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)

                          at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)

                          at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)

                          at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)

                          at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)

                          at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

                          at $Proxy45.start(Unknown Source)

                          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)

                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)

                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)

                          at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          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:597)

                          at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:266)

                          at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)

                          at org.jboss.jmx.connector.invoker.SerializableInterceptor.invoke(SerializableInterceptor.java:74)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:179)

                          at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:818)

                          at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:419)

                          at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)

                          at sun.rmi.transport.Transport$1.run(Transport.java:159)

                          at java.security.AccessController.doPrivileged(Native Method)

                          at sun.rmi.transport.Transport.serviceCall(Transport.java:155)

                          at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)

                          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)

                          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)

                          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)

                          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)

                          at java.lang.Thread.run(Thread.java:619)

                Caused by: java.lang.IllegalArgumentException: Invalid map className: RewriteMap  listLinks ru.test.LinkListMap

                          at org.jboss.web.rewrite.RewriteValve.parse(RewriteValve.java:565)

                          at org.jboss.web.rewrite.RewriteValve.parse(RewriteValve.java:204)

                          at org.jboss.web.rewrite.RewriteValve.start(RewriteValve.java:159)

                          at org.apache.catalina.core.StandardPipeline.start(StandardPipeline.java:232)

                          at org.apache.catalina.core.StandardContext.start(StandardContext.java:4255)

                          at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)

                          at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)

                          at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)

                          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:597)

                          at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)

                          ... 113 more

                15:17:11,083 WARN  [ServiceController] Problem starting service jboss.web.deployment:war=testJSP_war_exploded.war,id=-2060303066

                org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.management.RuntimeOperationsException: Exception invoking method init)

                          at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:384)

                          at org.jboss.web.WebModule.startModule(WebModule.java:83)

                          at org.jboss.web.WebModule.startService(WebModule.java:61)

                          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)

                          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)

                          at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)

                          at $Proxy0.start(Unknown Source)

                          at org.jboss.system.ServiceController.start(ServiceController.java:417)

                          at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

                          at $Proxy44.start(Unknown Source)

                          at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)

                          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:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)

                          at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)

                          at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)

                          at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)

                          at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)

                          at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

                          at $Proxy45.start(Unknown Source)

                          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)

                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)

                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)

                          at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          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:597)

                          at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:266)

                          at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)

                          at org.jboss.jmx.connector.invoker.SerializableInterceptor.invoke(SerializableInterceptor.java:74)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:179)

                          at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:818)

                          at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:419)

                          at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)

                          at sun.rmi.transport.Transport$1.run(Transport.java:159)

                          at java.security.AccessController.doPrivileged(Native Method)

                          at sun.rmi.transport.Transport.serviceCall(Transport.java:155)

                          at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)

                          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)

                          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)

                          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)

                          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)

                          at java.lang.Thread.run(Thread.java:619)

                Caused by: javax.management.RuntimeOperationsException: Exception invoking method init

                          at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:304)

                          at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)

                          at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)

                          at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)

                          ... 100 more

                Caused by: javax.management.RuntimeOperationsException: Exception invoking method addChild

                          at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:304)

                          at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)

                          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:597)

                          at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)

                          ... 105 more

                Caused by: java.lang.IllegalArgumentException: Invalid map className: RewriteMap  listLinks ru.test.LinkListMap

                          at org.jboss.web.rewrite.RewriteValve.parse(RewriteValve.java:565)

                          at org.jboss.web.rewrite.RewriteValve.parse(RewriteValve.java:204)

                          at org.jboss.web.rewrite.RewriteValve.start(RewriteValve.java:159)

                          at org.apache.catalina.core.StandardPipeline.start(StandardPipeline.java:232)

                          at org.apache.catalina.core.StandardContext.start(StandardContext.java:4255)

                          at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)

                          at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)

                          at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)

                          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:597)

                          at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)

                          ... 113 more

                15:17:11,099 ERROR [MainDeployer] Could not start deployment: file:/C:/work/testJSP/out/artifacts/testJSP_war_exploded/testJSP_war_exploded.war

                org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.management.RuntimeOperationsException: Exception invoking method init)

                          at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:384)

                          at org.jboss.web.WebModule.startModule(WebModule.java:83)

                          at org.jboss.web.WebModule.startService(WebModule.java:61)

                          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)

                          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)

                          at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)

                          at $Proxy0.start(Unknown Source)

                          at org.jboss.system.ServiceController.start(ServiceController.java:417)

                          at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

                          at $Proxy44.start(Unknown Source)

                          at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)

                          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:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)

                          at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)

                          at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)

                          at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)

                          at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)

                          at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

                          at $Proxy45.start(Unknown Source)

                          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)

                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)

                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)

                          at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          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:597)

                          at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:266)

                          at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)

                          at org.jboss.jmx.connector.invoker.SerializableInterceptor.invoke(SerializableInterceptor.java:74)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:179)

                          at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:818)

                          at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:419)

                          at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)

                          at sun.rmi.transport.Transport$1.run(Transport.java:159)

                          at java.security.AccessController.doPrivileged(Native Method)

                          at sun.rmi.transport.Transport.serviceCall(Transport.java:155)

                          at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)

                          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)

                          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)

                          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)

                          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)

                          at java.lang.Thread.run(Thread.java:619)

                Caused by: javax.management.RuntimeOperationsException: Exception invoking method init

                          at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:304)

                          at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)

                          at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)

                          at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)

                          ... 100 more

                Caused by: javax.management.RuntimeOperationsException: Exception invoking method addChild

                          at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:304)

                          at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)

                          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:597)

                          at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)

                          ... 105 more

                Caused by: java.lang.IllegalArgumentException: Invalid map className: RewriteMap  listLinks ru.test.LinkListMap

                          at org.jboss.web.rewrite.RewriteValve.parse(RewriteValve.java:565)

                          at org.jboss.web.rewrite.RewriteValve.parse(RewriteValve.java:204)

                          at org.jboss.web.rewrite.RewriteValve.start(RewriteValve.java:159)

                          at org.apache.catalina.core.StandardPipeline.start(StandardPipeline.java:232)

                          at org.apache.catalina.core.StandardContext.start(StandardContext.java:4255)

                          at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)

                          at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)

                          at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)

                          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:597)

                          at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)

                          ... 113 more

                org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.management.RuntimeOperationsException: Exception invoking method init)

                          at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:384)

                          at org.jboss.web.WebModule.startModule(WebModule.java:83)

                          at org.jboss.web.WebModule.startService(WebModule.java:61)

                          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)

                          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)

                          at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)

                          at $Proxy0.start(Unknown Source)

                          at org.jboss.system.ServiceController.start(ServiceController.java:417)

                          at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

                          at $Proxy44.start(Unknown Source)

                          at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)

                          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:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)

                          at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)

                          at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)

                          at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)

                          at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)

                          at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)

                          at $Proxy45.start(Unknown Source)

                          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)

                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)

                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)

                          at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          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:597)

                          at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:266)

                          at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)

                          at org.jboss.jmx.connector.invoker.SerializableInterceptor.invoke(SerializableInterceptor.java:74)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:179)

                          at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:818)

                          at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:419)

                          at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                          at java.lang.reflect.Method.invoke(Method.java:597)

                          at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)

                          at sun.rmi.transport.Transport$1.run(Transport.java:159)

                          at java.security.AccessController.doPrivileged(Native Method)

                          at sun.rmi.transport.Transport.serviceCall(Transport.java:155)

                          at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)

                          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)

                          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)

                          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)

                          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)

                          at java.lang.Thread.run(Thread.java:619)

                Caused by: javax.management.RuntimeOperationsException: Exception invoking method init

                          at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:304)

                          at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)

                          at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)

                          at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)

                          ... 100 more

                Caused by: javax.management.RuntimeOperationsException: Exception invoking method addChild

                          at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:304)

                          at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)

                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

                          at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)

                          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:597)

                          at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)

                          ... 105 more

                Caused by: java.lang.IllegalArgumentException: Invalid map className: RewriteMap  listLinks ru.test.LinkListMap

                          at org.jboss.web.rewrite.RewriteValve.parse(RewriteValve.java:565)

                          at org.jboss.web.rewrite.RewriteValve.parse(RewriteValve.java:204)

                          at org.jboss.web.rewrite.RewriteValve.start(RewriteValve.java:159)

                          at org.apache.catalina.core.StandardPipeline.start(StandardPipeline.java:232)

                          at org.apache.catalina.core.StandardContext.start(StandardContext.java:4255)

                          at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)

                          at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)

                          at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)

                          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:597)

                          at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)

                          ... 113 more

                • 5. Rewrite mod Jboss 4.2
                  Nicklas Karlsson Master

                  Show complete rule set. It appears to parse the entire rule as a class name(?)

                  • 6. Rewrite mod Jboss 4.2
                    Eduard Demerchyan Newbie

                    RewriteMap  listLinks ru.test.LinkListMap

                     

                    RewriteCond %{REQUEST_URI}  ^/list/(.*)\.html$

                    RewriteRule ^/list/(.*)\.html$ /filter.xhtml?g_tov_manufacture=(${listLinks:$1|'0000000000000000000000'}) [R=301]

                    • 7. Rewrite mod Jboss 4.2
                      Eduard Demerchyan Newbie

                      Where I should place class which implement RewriteMap?

                      • 8. Rewrite mod Jboss 4.2
                        Eduard Demerchyan Newbie

                        ок, i've solved this problem. It must be place in conf/lib folder as jar package of current profile. 

                        • 9. Rewrite mod Jboss 4.2
                          charly hurtado Newbie

                          Rewrite is Workin on my jboss 4.0.5 Ga.. but when i try on jboss 6 dont work.. some change ??

                           

                          ERROR [AbstractKernelController] Error installing to Start: name=WebServer state=Create: java.lang.NoSuchMethodError: org.apache.catalina.Container.getLogger()Lorg/apache/commons/logging/Log;

                                    at org.jboss.web.rewrite.RewriteValve.start(RewriteValve.java:142) [:5.0.0.Beta2 (build: SVNTag=JBoss_5_0_0_Beta2 date=200704060017)]