Hey Guys,
I am writing unit test for my application extending MicrocontainerTest.
| public class EventFactoryTest extends MicrocontainerTest {
|
| public EventFactoryTest(String name) {
| super(name);
| }
|
| public void testAnnouncementPkgFactory(){
I was able to get this solved. There was an error in xml file
Here is right one
?xml version=1.0 encoding=UTF-8?
|
| deployment xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns=urn:jboss:bean-deployer:2.0
|
| bean name=Mobicents.JAINSLEE.TransactionManagerMBean
|
This is fixed. Look at forum entry
http://www.jboss.com/index.html?module=bbop=viewtopicp=4202056#4202056
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4202057#4202057
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4202057
Thanks :)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4201655#4201655
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4201655
___
jboss-user mailing list
Hi Guys,
I am trying to deploy the JBoss Cache 3.x as JMX in AS 5.0.GA as per the
instructions given in the doco
http://www.jboss.org/file-access/default/members/jbosscache/freezone/docs/3.0.1.GA/userguide_en/html_single/index.html#deployment.microcontainer
Here is my beans.xml
?xml
Initially I got an error Class not found for org.jboss.cache.CacheImpl, so I
replaced CacheImpl by Cache realizing that CacheImpl is not there any more.
After above change I am now getting
Caused by: java.lang.IllegalArgumentException: Constructor needs a
factoryMethod attribute when there is
I have already looked at
jboss-5.0.0.GA/server/all/deploy/cluster/jboss-cache-manager.sar/META-INF/jboss-cache-manager-jboss-beans.xml
but it uses JBoss AS specific class
org.jboss.ha.cachemanager.CacheManagerMBean.class
Can you please point to specific *-bean.xml that you are talking about?
This is in continuation to
http://www.jboss.com/index.html?module=bbop=viewtopict=148625
Since this question is related to MC I thought I should post here.
I can start the JBoss cache programmatically by using
Configuration config = new Configuration();
|
here is complete bean.xml
| ?xml version=1.0 encoding=UTF-8?
|
| deployment xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
| xmlns=urn:jboss:bean-deployer:2.0
|
| bean name=Mobicents.JAINSLEE.TransactionManagerMBean
|
Hi Guys,
I don't find the JBC 3.x in maven repo
http://repository.jboss.com/maven2/jboss/jboss-cache/
Am I looking at right repo?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4201591#4201591
Reply to the post :
10 matches
Mail list logo