Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 85319 invoked from network); 23 Nov 2007 09:43:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Nov 2007 09:43:21 -0000 Received: (qmail 95918 invoked by uid 500); 23 Nov 2007 09:43:08 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 95752 invoked by uid 500); 23 Nov 2007 09:43:08 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 95743 invoked by uid 99); 23 Nov 2007 09:43:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Nov 2007 01:43:08 -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; Fri, 23 Nov 2007 09:43:09 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IvV3g-0003YU-80 for dev@activemq.apache.org; Fri, 23 Nov 2007 01:42:48 -0800 Message-ID: <13909304.post@talk.nabble.com> Date: Fri, 23 Nov 2007 01:42:48 -0800 (PST) From: Ali Ozan CIL To: dev@activemq.apache.org Subject: Failed to read schema document 'http://activemq.apache.org/schema/activemq-core.xsd' MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: javaturk@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Please help!!!!!:confused: i am so sad about noting to do :,( What can i try ?:working: Ali Ozan CIL wrote: > > i have done as you said. I mean this is application context.xml ; > > 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/core/activemq-core-4.1.1.xsd"> > > 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-tf4860556s2354.html#a13909304 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.