[Design of POJO Server] - Re: What's the status of HEAD?
by vickyk
Na I am not yet able to get it .....
Here is the error
| Testsuite: org.jboss.test.server.profileservice.MainWithSimpleHotDeployTestCase
| Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.641 sec
| ------------- Standard Output ---------------
| 0 [main] DEBUG org.jboss.test.server.profileservice.MainWithSimpleHotDeployTestCase - ==== Starting testDefaultStartup ====
| 32 [main] INFO org.jboss.system.server.profileservice.ServerImpl - Starting JBoss (Microcontainer)...
| 32 [main] INFO org.jboss.system.server.profileservice.ServerImpl - Release ID: null null
| 32 [main] DEBUG org.jboss.system.server.profileservice.ServerImpl - Using config: org.jboss.system.server.BaseServerConfig@5d173
| 32 [main] DEBUG org.jboss.system.server.profileservice.ServerImpl - Server type: class org.jboss.system.server.profileservice.ServerImpl
| 32 [main] INFO org.jboss.system.server.profileservice.ServerImpl - Home Dir: C:\svn\trunk\system
| 32 [main] INFO org.jboss.system.server.profileservice.ServerImpl - Home URL: file:/C:/svn/trunk/system/
| 47 [main] INFO org.jboss.system.server.profileservice.ServerImpl - Library URL: file:/C:/svn/trunk/system/lib/
| 47 [main] INFO org.jboss.system.server.profileservice.ServerImpl - Patch URL: null
| 47 [main] INFO org.jboss.system.server.profileservice.ServerImpl - Server Name: defaulthotdeploy
| 47 [main] INFO org.jboss.system.server.profileservice.ServerImpl - Server Home Dir: C:\svn\trunk\system\server\defaulthotdeploy
| 47 [main] INFO org.jboss.system.server.profileservice.ServerImpl - Server Home URL: file:/C:/svn/trunk/system/server/defaulthotdeploy/
| 47 [main] INFO org.jboss.system.server.profileservice.ServerImpl - Server Data Dir: C:\svn\trunk\system\server\defaulthotdeploy\data
| 47 [main] INFO org.jboss.system.server.profileservice.ServerImpl - Server Temp Dir: C:\svn\trunk\system\server\defaulthotdeploy\tmp
| 47 [main] INFO org.jboss.system.server.profileservice.ServerImpl - Server Config URL: file:/C:/svn/trunk/system/server/defaulthotdeploy/conf/
| 47 [main] INFO org.jboss.system.server.profileservice.ServerImpl - Server Library URL: file:/C:/svn/trunk/system/server/defaulthotdeploy/lib/
| 47 [main] INFO org.jboss.system.server.profileservice.ServerImpl - Root Deployment Filename: jboss-service.xml
| 63 [main] INFO org.jboss.system.server.profileservice.ServerImpl - Starting Microcontainer, deployerBeansPrefix=
| 78 [main] DEBUG org.jboss.system.server.profileservice.ServerImpl - Shutdown hook added
| 78 [main] DEBUG org.jboss.kernel.KernelFactory - Starting JBoss Kernel construction...
| 141 [main] DEBUG org.jboss.system.server.profileservice.ServerImpl - Failed to start
| 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.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:186)
| 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)
| Caused by: java.lang.NoClassDefFoundError: org/jboss/aop/proxy/container/AOPProxyFactory
| at org.jboss.aop.microcontainer.integration.AOPJoinpointFactory.getConstructorJoinpoint(AOPJoinpointFactory.java:45)
| at org.jboss.kernel.plugins.config.Configurator.findConstructor(Configurator.java:211)
| at org.jboss.kernel.plugins.config.Configurator.getConstructorJoinPoint(Configurator.java:194)
| at org.jboss.kernel.plugins.config.Configurator.instantiate(Configurator.java:92)
| at org.jboss.kernel.plugins.config.Configurator.instantiateAndConfigure(Configurator.java:68)
| 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)
| ... 24 more
| 141 [main] DEBUG org.jboss.test.server.profileservice.MainWithSimpleHotDeployTestCase - testDefaultStartup took 141ms
| 141 [main] DEBUG org.jboss.test.server.profileservice.MainWithSimpleHotDeployTestCase - ==== Stopping testDefaultStartup ====
| ------------- ---------------- ---------------
|
| Testcase: testDefaultStartup took 0.297 sec
| Caused an ERROR
| Unable to create a KernelInitializer based on the specified KernelConfig
| 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.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:186)
| 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)
| Caused by: java.lang.NoClassDefFoundError: org/jboss/aop/proxy/container/AOPProxyFactory
| at org.jboss.aop.microcontainer.integration.AOPJoinpointFactory.getConstructorJoinpoint(AOPJoinpointFactory.java:45)
| at org.jboss.kernel.plugins.config.Configurator.findConstructor(Configurator.java:211)
| at org.jboss.kernel.plugins.config.Configurator.getConstructorJoinPoint(Configurator.java:194)
| at org.jboss.kernel.plugins.config.Configurator.instantiate(Configurator.java:92)
| at org.jboss.kernel.plugins.config.Configurator.instantiateAndConfigure(Configurator.java:68)
| 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)
| ... 24 more
|
|
I tried to make the changes in the system\build-test.xml by modifying the classpath to contain the org/jboss/aop/proxy/container/AOPProxyFactory , but then it gave me the method not found error . Looks some changes in the AOPProxyFactory is not updated in the trunk .
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975340#3975340
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975340
18 years, 3 months
[Design of JBossCache] - CacheListener notifications during data gravitation
by bstansberry@jboss.com
Found an issue with BR and the AS web clustering code that's really a general problem with BR.
Issue is that both the http session repl code and clustered sso use cache listeners that interpret nodeRemoved calls as indicating a session/sso has been invalidated on another node. They respond by invalidating on their own node.
Problem is the _dataGravitationCleanup call that's part of data gravitation also generates nodeRemoved calls. But in that case, it's not appropriate for the cache listener to do anything. This causes a less than ideal behavior with session repl and breaks clustered sso.
Right now there's no way for a cache listener to discriminate between the two cases. One solution I thought of was to have TreeCache set a boolean value in a ThreadLocal in _clusteredGet and _dataGravitationCleanup. A cache listener could then check for the ThreadLocal and ignore events that arise from data gravitation.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975314#3975314
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975314
18 years, 3 months
[Design of POJO Server] - Re: What's the status of HEAD?
by scott.stark@jboss.org
I guess that was not merged to trunk when the MC_VDF_WORK branch was merged. It was broken anyway with the recent changes. I now have the MainWithSimpleHotDeployTestCase running for me within eclipse on trunk:
| 19:42:35,015 INFO [ServerImpl] Starting JBoss (Microcontainer)...
| 19:42:35,015 INFO [ServerImpl] Release ID: null null
| 19:42:35,015 INFO [ServerImpl] Home Dir: C:\svn\JBossHead\jboss-head\system
| 19:42:35,015 INFO [ServerImpl] Home URL: file:/C:/svn/JBossHead/jboss-head/system/
| 19:42:35,015 INFO [ServerImpl] Library URL: file:/C:/svn/JBossHead/jboss-head/system/lib/
| 19:42:35,015 INFO [ServerImpl] Patch URL: null
| 19:42:35,015 INFO [ServerImpl] Server Name: defaulthotdeploy
| 19:42:35,015 INFO [ServerImpl] Server Home Dir: C:\svn\JBossHead\jboss-head\system\server\defaulthotdeploy
| 19:42:35,015 INFO [ServerImpl] Server Home URL: file:/C:/svn/JBossHead/jboss-head/system/server/defaulthotdeploy/
| 19:42:35,031 INFO [ServerImpl] Server Data Dir: C:\svn\JBossHead\jboss-head\system\server\defaulthotdeploy\data
| 19:42:35,031 INFO [ServerImpl] Server Temp Dir: C:\svn\JBossHead\jboss-head\system\server\defaulthotdeploy\tmp
| 19:42:35,031 INFO [ServerImpl] Server Config URL: file:/C:/svn/JBossHead/jboss-head/system/server/defaulthotdeploy/conf/
| 19:42:35,031 INFO [ServerImpl] Server Library URL: file:/C:/svn/JBossHead/jboss-head/system/server/defaulthotdeploy/lib/
| 19:42:35,031 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml
| 19:42:35,109 INFO [ServerImpl] Starting Microcontainer, deployerBeansPrefix=tests/bootstrap/defaulthotdeploy/
| 19:42:36,140 INFO [ProfileImpl] Using profile root:C:\svn\JBossHead\jboss-head\system\file:\C:\svn\JBossHead\jboss-head\system\output\eclipse-resources
| 19:42:36,453 INFO [ServerImpl] JBoss (Microcontainer) [null] Started in 1s:422ms
| 19:42:36,453 INFO [MainWithSimpleHotDeployTestCase] TestBean.CS: (file:/C:/svn/JBossHead/jboss-head/system/output/eclipse-test-classes/ <no signer certificates>)
| 19:42:36,453 INFO [MainWithSimpleHotDeployTestCase] TestBean.ClassLoader: sun.misc.Launcher$AppClassLoader@133056f
| 19:42:36,468 INFO [ServerImpl] LifeThread.run exits!
| 19:42:36,468 INFO [ServerImpl] Shutting down the JVM now!
| 19:42:36,468 INFO [ServerImpl] JBoss SHUTDOWN
| 19:42:36,468 INFO [ServerImpl] Undeploying all packages
| Shutting down Microcontainer
| 19:42:36,515 INFO [ServerImpl] Shutdown complete
| Shutdown complete
| Halting VM
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975312#3975312
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975312
18 years, 3 months