1 Reply Latest reply on Feb 15, 2012 11:36 AM by Paul Ferraro

    Problem with run demo apps ( AS7.1 + mod_cluster 1.2.Final

    Maciej Lad Newbie

      HI,

       

      I uploaded and deploy demo aplication to AS 7.0.1 ok.

      I run demo client on windows machine.

       

      When I probe cpu test

       

      I have a java stack in jboss

       

      16:55:31,191 DEBUG [org.jboss.as.web.security.SecurityContextAssociationValve] (http-jboss_service-172.17.192.1-8080-1) Failed to determine servlet

      16:55:31,296 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/mod_cluster-demo-server-1.2.0.Final].[cpu]] (http-jboss_service-172.17.192.1-8080-1) Allocate exception for servlet cpu: javax.management.InstanceNotFoundException: Catalina:type=Engine

              at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1095) [:1.7.0_02]

              at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(DefaultMBeanServerInterceptor.java:1444) [:1.7.0_02]

              at com.sun.jmx.mbeanserver.JmxMBeanServer.getClassLoaderFor(JmxMBeanServer.java:1308) [:1.7.0_02]

              at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.pushClassLoader(PluggableMBeanServerImpl.java:579)

              at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.getAttribute(PluggableMBeanServerImpl.java:408)

              at org.jboss.as.jmx.PluggableMBeanServerImpl.getAttribute(PluggableMBeanServerImpl.java:151)

              at org.jboss.modcluster.demo.servlet.LoadServlet.init(LoadServlet.java:136) [classes:]

              at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202) [jbossweb-7.0.7.Final.jar:]

              at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:952) [jbossweb-7.0.7.Final.jar:]

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:188) [jbossweb-7.0.7.Final.jar:]

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.7.Final.jar:]

              at org.jboss.modcluster.container.jbossweb.JBossWebContext$RequestListenerValve.event(JBossWebContext.java:67)

              at org.jboss.modcluster.container.jbossweb.JBossWebContext$RequestListenerValve.invoke(JBossWebContext.java:48)

              at org.jboss.as.web.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:123) [jboss-as-web-7.1.0.CR1b.jar:7.1.0.CR1b]

              at org.jboss.as.web.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:89) [jboss-as-web-7.1.0.CR1b.jar:7.1.0.CR1b]

              at org.jboss.as.web.session.JvmRouteValve.invoke(JvmRouteValve.java:88) [jboss-as-web-7.1.0.CR1b.jar:7.1.0.CR1b]

              at org.jboss.as.web.session.LockingValve.invoke(LockingValve.java:56) [jboss-as-web-7.1.0.CR1b.jar:7.1.0.CR1b]

              at org.jboss.as.web.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:123) [jboss-as-web-7.1.0.CR1b.jar:7.1.0.CR1b]

              at org.jboss.as.web.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:89) [jboss-as-web-7.1.0.CR1b.jar:7.1.0.CR1b]

              at org.jboss.as.web.session.JvmRouteValve.invoke(JvmRouteValve.java:88) [jboss-as-web-7.1.0.CR1b.jar:7.1.0.CR1b]

              at org.jboss.as.web.session.LockingValve.invoke(LockingValve.java:56) [jboss-as-web-7.1.0.CR1b.jar:7.1.0.CR1b]

              at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:151) [jboss-as-web-7.1.0.CR1b.jar:7.1.0.CR1b]

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.7.Final.jar:]

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.7.Final.jar:]

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.7.Final.jar:]

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.7.Final.jar:]

              at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:897) [jbossweb-7.0.7.Final.jar:]

              at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:626) [jbossweb-7.0.7.Final.jar:]

              at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2033) [jbossweb-7.0.7.Final.jar:]

              at java.lang.Thread.run(Thread.java:722) [:1.7.0_02]

       

       

      pls how to run demo application from mod_cluster 1.2.0 Final on Jboss AS 7.1.

       

      I start jboss as: standalone-ha.xml