2 Replies Latest reply on Mar 27, 2009 7:57 AM by bmc

    XML parse error of ...-aop.xml in JAS 5.1

    bmc

      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?