1 2 Previous Next 26 Replies Latest reply on Aug 12, 2007 2:05 PM by vickyk Go to original post
      • 15. Re: JCA AOP-MC Integration
        starksm64

        Yes, provided what your intercepting is a bean. What is the test your trying?

        • 16. Re: JCA AOP-MC Integration
          weston.price

          Damnit, I am a complete tool.

          I was trying to intercept non registered stuff (legacy JMX stuff) out of JCA. I was able to get it working. As a side note, the JMX introduction seems to work as well (simple case, simple bean).

          Thanks Scott.

          • 17. Re: JCA AOP-MC Integration
            vickyk

            I have been trying to run the jboss-jca test cases with the Jboss5 from the svn trunk . I did the following steps
            1) Copied the jboss-jca project from the cvs in the jboss5 trunk.
            2) I was able to build the project , but when I am running the test

            C:\svn\JbossTrunk\jboss-jca>ant -Dtest=org.jboss.test.jca.notx.test.NoTxUnitTest
            Case -buildfile build-test.xml one-test
            Buildfile: build-test.xml
            
            _buildmagic:init:
            Trying to override old definition of task property
            
            _buildmagic:init:buildlog:
            
            configure:
            Overriding previous definition of reference to jboss.test.classpath
            Overriding previous definition of reference to jboss.jca.classpath
            
            _default:task-init:
            
            init:
            
            one-test:
             [junit] Running org.jboss.test.jca.notx.test.NoTxUnitTestCase
             [junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.547 sec
             [junit] TEST org.jboss.test.jca.notx.test.NoTxUnitTestCase FAILED
            
            BUILD SUCCESSFUL
            Total time: 2 seconds
            C:\svn\JbossTrunk\jboss-jca>


            In the report folder I see the root cause of the error as
            Caused by: javax.xml.parsers.ParserConfigurationException: Feature 'http://apache.org/xml/features/xinclude' is not recognized.
             at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source)
             at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:92)
             ... 12 more


            • 18. Re: JCA AOP-MC Integration

              I don't know what crappy version of xerces you've got lying around, but I see a different error:

               <testcase classname="org.jboss.test.jca.inflow.test.InflowUnitTestCase" name="testInflow" time="0.012">
               <error type="java.lang.NullPointerException">java.lang.NullPointerException
               at org.jboss.aop.InstanceAdvisorDelegate.getPerInstanceAspect(InstanceAdvisorDelegate.java:168)
               at org.jboss.aop.proxy.container.InstanceProxyContainer.getPerInstanceAspect(InstanceProxyContainer.java:85)
               at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:106)
               at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
               at AOPContainerProxy$0.beforeDelivery(AOPContainerProxy$0.java)
               at org.jboss.test.jca.inflow.test.InflowUnitTestCase.testInflow(InflowUnitTestCase.java:59)
               at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
               at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
               at junit.extensions.TestSetup.run(TestSetup.java:25)
              


              Which only reminds me that Kabir still hasn't finished this:
              http://jira.jboss.com/jira/browse/JBAOP-237
              so none of the beans that this project uses to configure aspects
              (from the aop-mc-int project) is even officially supported, let alone tested for regressions. ;-)

              • 19. Re: JCA AOP-MC Integration

                P.S. If you look again, you'll notice that the error message you quote
                (WHICH YOU DON"T POST THE FULL STACKTRACE FOR GOD"S SAKE)
                is a TRACE message not an error.
                That test doesn't use XInclude (it's so old its still using the 1.0 version of the mc xml).

                • 20. Re: JCA AOP-MC Integration
                  kabirkhan

                  I've updated the aop snapshot in the old repository, and will do so to the maven repository once I figure out what is going wrong with my current attempts

                  • 21. Re: JCA AOP-MC Integration
                    vickyk

                    I finally get the same error what Adrian has been getting

                    testBadInflow(org.jboss.test.jca.inflow.test.InflowUnitTestCase) Time elapsed: 0.032 sec <<< ERROR!
                    java.lang.NullPointerException
                     at org.jboss.aop.InstanceAdvisorDelegate.getPerInstanceAspect(InstanceAdvisorDelegate.java:168)
                     at org.jboss.aop.proxy.container.InstanceProxyContainer.getPerInstanceAspect(InstanceProxyContainer.java:85)
                     at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:106)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at AOPContainerProxy$0.beforeDelivery(AOPContainerProxy$0.java)
                     at org.jboss.test.jca.inflow.test.InflowUnitTestCase.testBadInflow(InflowUnitTestCase.java:76)
                     at org.jboss.test.jca.inflow.test.InflowUnitTestCase.testBadInflow(InflowUnitTestCase.java:76)
                     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:585)
                     at junit.framework.TestCase.runTest(TestCase.java:154)
                     at junit.framework.TestCase.runBare(TestCase.java:127)
                     at junit.framework.TestResult$1.protect(TestResult.java:106)
                     at junit.framework.TestResult.runProtected(TestResult.java:124)
                     at junit.framework.TestResult.run(TestResult.java:109)
                     at junit.framework.TestCase.run(TestCase.java:118)
                     at junit.framework.TestSuite.runTest(TestSuite.java:208)
                     at junit.framework.TestSuite.run(TestSuite.java:203)
                     at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
                     at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
                     at junit.framework.TestResult.runProtected(TestResult.java:124)
                     at junit.extensions.TestSetup.run(TestSetup.java:23)
                     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:585)
                     at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
                     at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
                     at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
                     at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
                     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:585)
                     at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
                     at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
                    


                    This is from the Maven build now :(

                    • 22. Re: JCA AOP-MC Integration
                      kabirkhan

                      The aop snapshot in maven is not updated, and so does not contain the fix I added to solve this issue. This is due to this issue http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063655#4063655

                      As a temporary fix, try overwriting your local maven snapshot with the jar from the old thirdparty repository http://repository.jboss.org/jboss/aop/snapshot/lib/jboss-aop-jdk50.jar

                      • 23. Re: JCA AOP-MC Integration
                        vickyk

                         

                        "kabir.khan@jboss.com" wrote:

                        As a temporary fix, try overwriting your local maven snapshot with the jar from the old thirdparty repository http://repository.jboss.org/jboss/aop/snapshot/lib/jboss-aop-jdk50.jar

                        Yes it worked :)

                        Now the adapter tests are failing with
                        Test set: org.jboss.test.JBossMQUnitTestCase
                        -------------------------------------------------------------------------------
                        Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.015 sec <<< FAILURE!
                        testNoTx(org.jboss.test.JBossMQUnitTestCase) Time elapsed: 0 sec <<< ERROR!
                        java.lang.IllegalStateException: Incompletely deployed:
                        *** DEPLOYMENTS IN ERROR: Name -> Error
                        DestinationManager -> java.lang.ClassNotFoundException: org.jboss.mq.kernel.DestinationManager
                        PersistenceManager -> java.lang.ClassNotFoundException: org.jboss.mq.pm.none.PersistenceManager
                        MessageCache -> java.lang.ClassNotFoundException: org.jboss.mq.kernel.MessageCache
                        RealQueue -> java.lang.ClassNotFoundException: org.jboss.mq.server.JMSQueue
                        ServerIL -> java.lang.ClassNotFoundException: org.jboss.mq.il.jvm.JVMServerIL
                        StateManager -> java.lang.ClassNotFoundException: org.jboss.mq.sm.none.NullStateManager
                        ConnectionFactory -> java.lang.ClassNotFoundException: org.jboss.mq.SpyConnectionFactory
                        Queue -> java.lang.ClassNotFoundException: org.jboss.mq.SpyQueue
                        Invoker -> java.lang.ClassNotFoundException: org.jboss.mq.server.JMSServerInvoker
                        GCF -> java.lang.ClassNotFoundException: org.jboss.mq.GenericConnectionFactory
                        *** DEPLOYMENTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
                        JMSServer -> DestinationManager{Instantiated:**ERROR**}
                        
                         at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:260)
                         at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174)
                         at org.jboss.test.kernel.junit.MicrocontainerTestDelegate.validate(MicrocontainerTestDelegate.java:199)
                         at org.jboss.test.kernel.junit.MicrocontainerTest.setUp(MicrocontainerTest.java:68)
                         at junit.framework.TestCase.runBare(TestCase.java:125)
                         at junit.framework.TestResult$1.protect(TestResult.java:106)
                         at junit.framework.TestResult.runProtected(TestResult.java:124)
                         at junit.framework.TestResult.run(TestResult.java:109)
                         at junit.framework.TestCase.run(TestCase.java:118)
                         at junit.framework.TestSuite.runTest(TestSuite.java:208)
                         at junit.framework.TestSuite.run(TestSuite.java:203)
                         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
                         at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
                         at junit.framework.TestResult.runProtected(TestResult.java:124)
                         at junit.extensions.TestSetup.run(TestSetup.java:23)
                         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:585)
                         at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
                         at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
                         at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
                         at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
                         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:585)
                         at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
                         at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
                         at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
                        
                        


                        I want to know the Maven repository details for the jbossmq , I am not able to get it .

                        • 24. Re: JCA AOP-MC Integration
                          kabirkhan

                          The AOP snapshot has been uploaded to the maven repo

                          • 25. Re: JCA AOP-MC Integration
                            vickyk

                            Kabir
                            I get the folowing error when I am running the test cases

                            11377 DEBUG [NoTxUnitTestCase] ==== setUp org.jboss.test.jca.notx.test.NoTxUnitTestCase ====
                            11377 DEBUG [KernelFactory] Starting JBoss Kernel construction...
                            11380 DEBUG [KernelFactory] Completed JBoss Kernel construction. Duration: 3 milliseconds
                            11380 DEBUG [NoTxUnitTestCase] Deploying file:/home/vicky/workspace/JBOSS%20JCA/trunk/core/output/org/jboss/test/jca/notx/test/NoTxUnitTestCase.xml
                            11558 DEBUG [Aspect] Bound aspect TraceAspect; deployed:true
                            11597 DEBUG [Aspect] Bound aspect ExceptionAspect; deployed:true
                            11632 DEBUG [Aspect] Bound aspect SecurityAspect; deployed:true
                            11674 DEBUG [Aspect] Bound aspect PoolAspect; deployed:true
                            11713 DEBUG [Aspect] Bound aspect ListenerAspect; deployed:true
                            11873 DEBUG [GenericBeanAspectFactory] Creating advice 0000-ihb4eo-f4ma5t47-1-f4ma5t48-2
                            12287 DEBUG [ConnectionManagerFactory] Created connectionFactory=org.jboss.test.jca.rar.support.TestConnectionFactoryImpl@15f4a7f for MCF=org.jboss.test.jca.rar.support.TestManagedConnectionFactory@113e9fd
                            12288 DEBUG [NoTxUnitTestCase] ==== Starting testNoTx ====
                            12291 TRACE [TraceAdvice] BEFORE: [advisedMethod=public abstract java.lang.Object javax.resource.spi.ConnectionManager.allocateConnection(javax.resource.spi.ManagedConnectionFactory,javax.resource.spi.ConnectionRequestInfo) throws javax.resource.ResourceException, unadvisedMethod=public abstract java.lang.Object javax.resource.spi.ConnectionManager.allocateConnection(javax.resource.spi.ManagedConnectionFactory,javax.resource.spi.ConnectionRequestInfo) throws javax.resource.ResourceException, metadata=null, targetObject=java.lang.Object@12462b3, arguments=[Ljava.lang.Object;@1cbfa42]
                            12293 TRACE [TraceAdvice] AFTER: [advisedMethod=public abstract java.lang.Object javax.resource.spi.ConnectionManager.allocateConnection(javax.resource.spi.ManagedConnectionFactory,javax.resource.spi.ConnectionRequestInfo) throws javax.resource.ResourceException, unadvisedMethod=public abstract java.lang.Object javax.resource.spi.ConnectionManager.allocateConnection(javax.resource.spi.ManagedConnectionFactory,javax.resource.spi.ConnectionRequestInfo) throws javax.resource.ResourceException, metadata=null, targetObject=java.lang.Object@12462b3, arguments=[Ljava.lang.Object;@1cbfa42]
                            java.lang.IllegalArgumentException: Wrong target. class java.lang.Object for public abstract java.lang.Object javax.resource.spi.ConnectionManager.allocateConnection(javax.resource.spi.ManagedConnectionFactory,javax.resource.spi.ConnectionRequestInfo) throws javax.resource.ResourceException
                             at org.jboss.aop.joinpoint.MethodInvocation.handleErrors(MethodInvocation.java:150)
                             at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:125)
                             at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:110)
                             at org.jboss.jca.plugins.cm.TraceAdvice.invoke(TraceAdvice.java:42)
                             at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                             at AOPContainerProxy$0.allocateConnection(AOPContainerProxy$0.java)
                             at org.jboss.test.jca.rar.support.TestConnectionFactoryImpl.getConnection(TestConnectionFactoryImpl.java:57)
                             at org.jboss.test.jca.notx.test.NoTxUnitTestCase.testNoTx(NoTxUnitTestCase.java:47)
                             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:585)
                             at junit.framework.TestCase.runTest(TestCase.java:154)
                             at junit.framework.TestCase.runBare(TestCase.java:127)
                             at junit.framework.TestResult$1.protect(TestResult.java:106)
                             at junit.framework.TestResult.runProtected(TestResult.java:124)
                             at junit.framework.TestResult.run(TestResult.java:109)
                             at junit.framework.TestCase.run(TestCase.java:118)
                             at junit.framework.TestSuite.runTest(TestSuite.java:208)
                             at junit.framework.TestSuite.run(TestSuite.java:203)
                             at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
                             at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
                             at junit.framework.TestResult.runProtected(TestResult.java:124)
                             at junit.extensions.TestSetup.run(TestSetup.java:23)
                             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:585)
                             at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
                             at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
                             at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
                             at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
                             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:585)
                             at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
                             at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
                            12295 DEBUG [NoTxUnitTestCase] testNoTx took 7ms
                            12295 DEBUG [NoTxUnitTestCase] ==== Stopping testNoTx ====
                            12301 DEBUG [NoTxUnitTestCase] ==== tornDown org.jboss.test.jca.notx.test.NoTxUnitTestCase ====
                            12301 DEBUG [NoTxUnitTestCase] Undeploying [file:/home/vicky/workspace/JBOSS%20JCA/trunk/core/output/org/jboss/test/jca/notx/test/NoTxUnitTestCase.xml]
                            12306 DEBUG [Aspect] Unbinding aspect ListenerAspect
                            12309 DEBUG [Aspect] Unbinding aspect PoolAspect
                            12312 DEBUG [Aspect] Unbinding aspect SecurityAspect
                            12314 DEBUG [Aspect] Unbinding aspect ExceptionAspect
                            12316 DEBUG [Aspect] Unbinding aspect TraceAspect
                            

                            I have noticed that I don't get the error when I run this from the Windows Box , I have been getting the error when I am doing development on Fedora box :(
                            Any clue about what could be happening ?

                            • 26. Re: JCA AOP-MC Integration
                              vickyk

                              I am not sure what is going wrong now , I have noticed that the earlier dependencies which were present at http://repository.jboss.com/maven2/org/jboss/ are no longer available .
                              I used to have jboss-aop-mc-int and jboss-kernel from the above location .

                              I tried to modify the dependencies to
                              http://repository.jboss.com/maven2/jboss/jboss-kernel and
                              http://repository.jboss.com/maven2/jboss-aop-mc-int but have not been able to get it working .
                              I get land up on following exception

                              -------------------------------------------------------------------------------
                              Test set: org.jboss.test.jca.notx.test.NoTxUnitTestCase
                              -------------------------------------------------------------------------------
                              Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.201 sec <<< FAILURE!
                              org.jboss.test.jca.notx.test.NoTxUnitTestCase Time elapsed: 1,186,940,713.14 sec <<< ERROR!
                              java.lang.RuntimeException: Unable to create a KernelInitializer based on the specified KernelConfig
                               at org.jboss.kernel.KernelFactory.createKernelInitializer(KernelFactory.java:156)
                               at org.jboss.kernel.KernelFactory.assembleNewKernel(KernelFactory.java:99)
                               at org.jboss.kernel.KernelFactory.newInstance(KernelFactory.java:67)
                               at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.bootstrap(AbstractBootstrap.java:120)
                               at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
                               at org.jboss.test.kernel.junit.MicrocontainerTestDelegate.setUp(MicrocontainerTestDelegate.java:69)
                               at org.jboss.test.AbstractTestSetup.setUp(AbstractTestSetup.java:63)
                               at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
                               at junit.framework.TestResult.runProtected(TestResult.java:124)
                               at junit.extensions.TestSetup.run(TestSetup.java:23)
                               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:585)
                               at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
                               at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
                               at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
                               at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
                               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:585)
                               at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
                               at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
                              Caused by: java.lang.NoSuchMethodError: org.jboss.joinpoint.plugins.BasicJoinpointFactory.<init>(Lorg/jboss/reflect/spi/ClassInfo;Lorg/jboss/repository/spi/MetaDataContext;)V
                               at org.jboss.aop.microcontainer.integration.AOPJoinpointFactory.<init>(AOPJoinpointFactory.java:55)
                               at org.jboss.aop.microcontainer.integration.AOPJoinpointFactoryBuilder.createJoinpointFactory(AOPJoinpointFactoryBuilder.java:39)
                               at org.jboss.aop.microcontainer.integration.AOPJoinpointFactoryBuilder.createJoinpointFactory(AOPJoinpointFactoryBuilder.java:44)
                               at org.jboss.classadapter.plugins.BasicClassAdapter.getJoinpointFactory(BasicClassAdapter.java:69)
                               at org.jboss.beans.info.plugins.AbstractBeanInfo.getJoinpointFactory(AbstractBeanInfo.java:171)
                               at org.jboss.kernel.plugins.config.Configurator.findConstructor(Configurator.java:211)
                               at org.jboss.kernel.plugins.config.Configurator.getConstructorJoinPoint(Configurator.java:195)
                               at org.jboss.kernel.plugins.config.Configurator.instantiate(Configurator.java:93)
                               at org.jboss.kernel.plugins.config.Configurator.instantiateAndConfigure(Configurator.java:69)
                               at org.jboss.kernel.plugins.config.property.PropertyKernelConfig.getImplementation(PropertyKernelConfig.java:159)
                               at org.jboss.kernel.plugins.config.property.PropertyKernelConfig.createKernelInitializer(PropertyKernelConfig.java:118)
                               at org.jboss.kernel.KernelFactory.createKernelInitializer(KernelFactory.java:150)
                               ... 23 more
                               ... 23 more
                              
                              

                              Can anyone point this dependency ?

                              1 2 Previous Next