Hi,
I too getting the same problem and dono what to do. Did you got any fixes?
Error Stack Trace:
javax.ejb.CreateException: org.jboss.util.NestedRuntimeException: Error
creating MBeanProxy: jboss.cache:service=testTreeCache; - nested throwable:
(javax.management.InstanceNotFoundException: jboss.cache:service=testTreeCache
is not registered.)
junit.framework.AssertionFailedError: javax.ejb.CreateException:
org.jboss.util.NestedRuntimeException: Error creating MBeanProxy:
jboss.cache:service=testTreeCache; - nested throwable:
(javax.management.InstanceNotFoundException: jboss.cache:service=testTreeCache
is not registered.)
at
org.jboss.test.cache.bean.MBeanUnitTestCase.testRollbackTx(MBeanUnitTestCase.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 junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.extensions.TestSetup.run(TestSetup.java:23)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.extensions.TestSetup.run(TestSetup.java:23)
My tree-service.xml
<server>
|
| <classpath codebase="./lib" archives="jboss-cache.jar, jgroups.jar"/>
|
|
| <!--
==================================================================== -->
| <!-- Defines TreeCache configuration
-->
| <!--
==================================================================== -->
|
| <mbean code="org.jboss.cache.TreeCache"
| name="jboss.cache:service=testTreeCache">
|
| <depends>jboss:service=Naming</depends>
| <depends>jboss:service=TransactionManager</depends>
|
| <!--
| Configure the TransactionManager
| -->
| <attribute
name="TransactionManagerLookupClass">org.jboss.cache.JBossTransactionManagerLookup</attribute>
|
|
| <!--
| Node locking level : SERIALIZABLE
| REPEATABLE_READ (default)
| READ_COMMITTED
| READ_UNCOMMITTED
| NONE
| -->
| <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
|
| <!--
| Valid modes are LOCAL
| REPL_ASYNC
| REPL_SYNC
| -->
| <attribute name="CacheMode">LOCAL</attribute>
|
| ...
| ...
| </server>
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905947#3905947
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3905947
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user