[jboss-user] [JBoss Cache: Core Edition] - XML parse error of ...-aop.xml in JAS 5.1

bmc do-not-reply at jboss.com
Fri Mar 27 07:33:46 EDT 2009


Hi everybody, 
I`m trying to start JAS 5.1 with Jboss Cache (as in tutorial) and stuck on writing mycache-aop.xml file. 

JAS want`s me to specify namespace of aop.xml file. But whatever I specify - nothing work. For exemple if I specify 

  | <aop xmlns="urn:jboss:aop-beans:1.0">
  | 
I get an error:

  | Caused by: org.jboss.xb.binding.JBossXBRuntimeException: {urn:jboss:aop-beans:1.
  | 0}interceptor not found as a child of {urn:jboss:aop-beans:1.0}bind
  |         at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startE
  | lement(SundayContentHandler.java:400)
  |         at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHan
  | dler.startElement(SaxJBossXBParser.java:401)
  |         at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour
  | ce)
  |         at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unkn
  | own Source)
  |         at org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Sourc
  | e)
  |         at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn
  | own Source)
  |         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
  | Dispatcher.dispatch(Unknown Source)
  |         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
  | known Source)
  |         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  |         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  |         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  |         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
  |         at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Sour
  | ce)
  |         at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBPars
  | er.java:199)
  |         ... 30 more
  | 

What am I doing wrong?

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221516#4221516

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221516



More information about the jboss-user mailing list