Thanks, I have resolved my problem. Documentation of JbossCache is wrong
anonymous wrote : 5.2. Via JBoss Microcontainer (JBoss AS 5.x)
|
| Beginning with AS 5, JBoss AS supports deployment of POJO services via
deployment of a file whose name ends with -beans.xml. A POJO service is one
anonymous wrote :
| JBoss Cache folks are bad guys :)
|
You bet we are! ;-) Fixed the docs in JBC trunk.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4225336#4225336
Reply to the post :
Stupid question, how to acces cache beans from MBean?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4224848#4224848
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224848
___
mariuszs wrote : Stupid question, how to acces cache beans from MBean?
Check the API of cache's MBean.
Or the javadocs should explain it - if it's not trivial to see it from the
method names.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4224890#4224890
Reply
Ales, I couldn't find it either. :-)
Amit, FYI, the nested beans inside the MobicentsCacheConfig bean no longer
need to have names (unless you want to access them somehow). Ales added that
for me a while back. So, you could do this:
| bean name=MobicentsCacheConfig
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
|
amit.bhay...@jboss.com wrote : I was able to get this solved. There was an
error in xml file
What was the error?
It's just too much xml code to look at. :-)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4202064#4202064
Reply to the post :
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
|