1 2 Previous Next 24 Replies Latest reply on Oct 2, 2006 10:08 AM by kabirkhan Go to original post
      • 15. Re: What's the status of HEAD?
        starksm64

        Your running from the ant command line then, not eclipse. The problem is the previous aop NoClassDefFoundError. Try using eclipse or you will need to update the build-test.xml to get it to run.

        • 16. Re: What's the status of HEAD?
          vickyk

          Yes I am running it as an ant command. Here is the error what I am getting now

          Caused by: java.lang.NoSuchMethodError: org.jboss.aop.proxy.container.ContainerCache.initialise
          (Lorg/jboss/aop/AspectManager;Ljava/lang/Class;
          Lorg/jboss/repository/spi/MetaDataContext;)
          Lorg/jboss/aop/proxy/container/ContainerCache;
          

          This looks obvious the mismatch of the aop related class in the distribution.
          Although this is what I have reported earlier, let me just wait for some more time till all stuff gets in a synch and I can run some tests .....



          • 17. Re: What's the status of HEAD?
            vickyk

            Looks like MC2.0 needs to be updated in the trunk ...

            • 18. Re: What's the status of HEAD?
              kabirkhan

              Yes, I weakened the amount of MC stuff in AOP to be able to get an AOP alpha release out. I'll recompile the MC against that and update the snapshots in the repository

              • 19. Re: What's the status of HEAD?
                kabirkhan

                Where does MainWithSimpleHotDeployTestCase live?

                • 20. Re: What's the status of HEAD?
                  kabirkhan

                  Never mind I found it in TRUNK/system

                  • 21. Re: What's the status of HEAD?
                    kabirkhan

                    I've updated the thirdparty repository, so the aop problems have gone

                    I am however instead seeing some errors like this from the command-line

                    java.lang.IllegalArgumentException: URI is not hierarchical
                     at java.io.File.<init>(File.java:335)
                     at org.jboss.virtual.plugins.context.file.FileSystemContext.getFile(FileSystemContext.java:69)
                     at org.jboss.virtual.plugins.context.file.FileSystemContext.<init>(FileSystemContext.java:124)
                     at org.jboss.virtual.plugins.context.file.FileSystemContextFactory.getVFS(FileSystemContextFactory.java:65)
                     at org.jboss.virtual.VFS.getVFS(VFS.java:60)
                     at org.jboss.system.server.profileservice.VFSScanner.getVFforURI(VFSScanner.java:691)
                     at org.jboss.system.server.profileservice.VFSScanner.addURI(VFSScanner.java:275)
                     at org.jboss.system.server.profileservice.VFSScanner.setURIList(VFSScanner.java:176)
                     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.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:55)
                     at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:108)
                     at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
                     at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:71)
                     at org.jboss.kernel.plugins.dependency.ConfigureAction.setAttributes(ConfigureAction.java:97)
                     at org.jboss.kernel.plugins.dependency.ConfigureAction.installAction(ConfigureAction.java:53)
                     at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:96)
                     at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                     at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
                     at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709)
                     at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429)
                     at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538)
                     at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472)
                     at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:274)
                     at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:177)
                     at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:300)
                     at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:270)
                     at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:117)
                     at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:64)
                     at org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(BasicXMLDeployer.java:76)
                     at org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(BasicXMLDeployer.java:145)
                     at org.jboss.system.server.profileservice.ProfileServiceBootstrap.deploy(ProfileServiceBootstrap.java:290)
                     at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:206)
                     at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
                     at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:401)
                     at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:340)
                     at org.jboss.Main.boot(Main.java:210)
                     at org.jboss.test.server.profileservice.MainWithSimpleHotDeployTestCase.testDefaultStartup(MainWithSimpleHotDeployTestCase.java:105)
                     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 org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
                     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
                     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
                    1047 [main] DEBUG org.jboss.system.server.profileservice.ProfileServiceBootstrap - Scanning for bootstrap resources: META-INF/defaulthotdeploy/deploy
                    er-beans.xml
                    1063 [main] DEBUG org.jboss.system.server.profileservice.ServerImpl - Already in start, ignoring duplicate start
                    1063 [main] DEBUG org.jboss.system.server.profileservice.ServerImpl - Failed to start
                    java.lang.RuntimeException: Exception during Bootstrap
                     at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:99)
                     at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:401)
                     at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:340)
                     at org.jboss.Main.boot(Main.java:210)
                     at org.jboss.test.server.profileservice.MainWithSimpleHotDeployTestCase.testDefaultStartup(MainWithSimpleHotDeployTestCase.java:105)
                     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 org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
                     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
                     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
                    Caused by: org.jboss.deployers.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
                    
                    *** CONTEXTS IN ERROR: Name -> Error
                    
                    VFSDeploymentScanner -> java.lang.IllegalArgumentException: URI is not hierarchical
                    
                    
                     at org.jboss.system.server.profileservice.ProfileServiceBootstrap.checkIncomplete(ProfileServiceBootstrap.java:384)
                     at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:235)
                     at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
                     ... 19 more
                    
                    


                    From eclipse it runs fine

                    • 22. Re: What's the status of HEAD?

                      This test is broken.

                      Things like

                      File resourcesDir = new File("output/eclipse-resources");
                      deployPrefix = "tests/bootstrap/defaulthotdeploy/";
                      


                      should be replaced with something like:

                      URL rootOfMyTestResources = getResource("/tests/bootstrap");
                      


                      Also can we stop using the KernelRegistry.getEntry();
                      The correct api is KernelController.getInstalledContext();
                      (or getContext() if you are not sure it is fully installed).

                      KernelRegistry.getEntry() will not pick up mbeans.
                      They are only in the controller and the MBeanRegistry.

                      I've got a good mind to deprecate that method,
                      even though I've go intention of removing it. :-)

                      • 23. Re: What's the status of HEAD?
                        vickyk

                        >>Where does MainWithSimpleHotDeployTestCase live?
                        You mean the working one, or the location where is this available?
                        I am not able to understand what you are asking

                        • 24. Re: What's the status of HEAD?
                          kabirkhan

                           

                          "vickyk" wrote:
                          >>Where does MainWithSimpleHotDeployTestCase live?
                          You mean the working one, or the location where is this available?
                          I am not able to understand what you are asking


                          I meant where it was available, but I found it in TRUNK/system



                          1 2 Previous Next