Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-7330

JMXInvokerTestCase and secureJMXInvokerTestCase fails on all Windows platform

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • EAP_EWP 5.1.2 ER2
    • EAP_EWP 5.1.2 ER1
    • System
    • None
    • Windows 2008 and Windows 2008R2

    • Not Required
    • NEW

      Failure of following testcases on Windows platform:

      1) org.jboss.test.deployment.JBPAPP6716UnitTestCase

      Stacktrace:

      junit.framework.AssertionFailedError: Failed to remove: W:\workspace\eap5-as-win64-sun6\jboss-eap-5.1\jboss-as\server\all\deploy\dummy.war test deployment from: W:\workspace\eap5-as-win64-sun6\jboss-eap-5.1\jboss-as\server\all\deploy
      at org.jboss.test.deployment.JBPAPP6716UnitTestCase.testDeploymentsInDeployDirectory(JBPAPP6716UnitTestCase.java:276)

      2) org.jboss.test.jmx.test.JMXInvokerUnitTestCase
      3) org.jboss.test.jmx.test.SecureJMXInvokerUnitTestCase

      Stacktrace:

      javax.management.InstanceNotFoundException: jboss.test:service=InvokerTest,secured=true is not registered.
      at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:526)
      at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:559)
      at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:266)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
      at org.jboss.jmx.connector.invoker.SerializableInterceptor.invoke(SerializableInterceptor.java:74)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

      These tests seem to fail due to java.lang.IllegalStateException: jboss.web.deployment:war=/dummy is already installed.
      OR javax.management.InstanceAlreadyExistsException: jboss.management.local:j2eeType=WebModule,J2EEServer=Local,J2EEApplication=null,name=dummy.war already registered.
      Attaching detailed output log from server .

        1. JBPAPP6716UnitTestCasefailures.log
          54 kB
          Madhumita Sadhukhan
        2. JMXInvokerTestCasefailures.log
          28 kB
          Madhumita Sadhukhan

              rhn-support-jawilson Jimmy Wilson
              madhumita12_jira Madhumita Sadhukhan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: