Home » Category » BEA/Weblogic

BEA/Weblogic: Xml Cache

302| Thu, 17 Jul 2008 18:35:00 GMT| thillaisakthi| Comments (0)
Hi all,
Here is my problem:I want to update/modify/add xmls attached to xml cache. I tried this:
code:
XMLCacheMBean xmlCacheMBean = (XMLCacheMBean) home.getMBean(XMLCacheMBean.SINGLETON_MBEAN_NAME,XMLCacheMBean.MBEAN_TYPE);
System.out.println("All Keys : "+xmlCacheMBean.getAllKeys());
XmlObject xmlO = xmlCacheMBean.get("statusrequest");


but it is throwing the following exception in Line 1 above:
code:
javax.management.InstanceNotFoundException: integration:Name=SingletonXMLCache,T
ype=XMLCache (admin server:true)
.
.
.
.
An exception occured while obtaining mbean server.integration:Name=SingletonXMLC
ache,Type=XMLCache (admin server:true)



Can any one please help me what am I missing here?

Thanks in advance,
Shakthi

Keywords & Tags: xml, cache, bea, weblogic

URL: http://software.itags.org/bea-weblogic/288280/
 
«« Prev - Next »» 0 helpful answers below.

BEA/Weblogic Hot Answers

BEA/Weblogic New questions

BEA/Weblogic Related Categories