Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 38900 invoked from network); 22 Nov 2007 11:28:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Nov 2007 11:28:45 -0000 Received: (qmail 56847 invoked by uid 500); 22 Nov 2007 11:28:32 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 56825 invoked by uid 500); 22 Nov 2007 11:28:32 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 56816 invoked by uid 99); 22 Nov 2007 11:28:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Nov 2007 03:28:32 -0800 X-ASF-Spam-Status: No, hits=3.9 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,URI_HEX,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Nov 2007 11:28:34 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IvAE9-0002QJ-Cu for users@activemq.apache.org; Thu, 22 Nov 2007 03:28:13 -0800 Message-ID: <13895088.post@talk.nabble.com> Date: Thu, 22 Nov 2007 03:28:13 -0800 (PST) From: Ali Ozan CIL To: users@activemq.apache.org Subject: Re: Failed to read schema document 'http://activemq.apache.org/schema/activemq-core.xsd' In-Reply-To: <13893336.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: javaturk@gmail.com References: <13893336.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org i have done as you said. I mean this is application context.xml ; But it doesn't work stillll,:,( and i wrote location before, as the the page link is below said http://activemq.apache.org/xml-reference.html Ali Ozan CIL wrote: > > Hi, > i have investigated everything which i found on the web , but i still cant > solve my problem. > i am using Active MQ 4.1.1 , xbean-spring-2.7 and Spring 2.0. > > > My applicationCentext.xml is here ; > > xmlns="http://www.springframework.org/schema/beans" > xmlns:amq="http://activemq.org/config/1.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://www.springframework.org/schema/beans > http://www.springframework.org/schema/beans/spring-beans-2.0.xsd > http://activemq.org/config/1.0 > http://activemq.apache.org/schema/activemq-core.xsd"> > > > > > > > > brokerURL="vm://localhost" /> > > > > But i am getting the error ; > > [java] org.xml.sax.SAXParseException: schema_reference.4: Failed to > read schema document > 'http://activemq.apache.org/schema/activemq-core.xsd', because 1) could > not find the document; 2) the document could not be read; 3) the root > element of the document is not . > [java] at > com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown > Source) > [java] at > com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.warning(Unknown > Source) > [java] at > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown > Source) > [java] at > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown > Source) > [java] at > com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaWarning(Unknown > Source) > [java] at > com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSchemaDocument(Unknown > Source) > [java] at > com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.parseSchema(Unknown > Source) > [java] at > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchema(Unknown > Source) > [java] at > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.findSchemaGrammar(Unknown > Source) > [java] at > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(Unknown > Source) > [java] at > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(Unknown > Source) > [java] at > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown > Source) > [java] at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown > Source) > [java] at > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown > Source) > [java] at > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown > Source) > [java] at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown > Source) > [java] at > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown > Source) > [java] at > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown > Source) > [java] at > com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) > [java] at > com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) > [java] at > com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown > Source) > [java] at > org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:76) > > > Schema is inside activemq-4.1.1.jar but Spring parser couldn't find > :confused: > -- View this message in context: http://www.nabble.com/Failed-to-read-schema-document-%27http%3A--activemq.apache.org-schema-activemq-core.xsd%27-tf4855195s2354.html#a13895088 Sent from the ActiveMQ - User mailing list archive at Nabble.com.