Hi, I'm french too ;) Anyways, the process is the same for french, American and canadian people ;)
The problem you are facing is that ServiceMix defines a new syntax to ease the wiring of spring components. However, it looks like it's not cleanly integrated to Spring yet, so in the meanwhile, there are two choices : - revert to using a plain Spring syntax. the process is described at the end of this page : http://servicemix.org/Spring+support - use the spring version bundled with ServiceMix (spring-dev-2). Good luck, Sami Dalouche Selon digitalz <[EMAIL PROTECTED]>: > Hello > Im French (sorry for my English ), and I would use ServiceMix on French > insurance company. > > I initialze with a simple servicemix.xml and Spring. > The schema must be present on xml file and the dtd is on error. > How to resolve this problem ? : > > org.xml.sax.SAXParseException: Document is invalid: no grammar found. > at > org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown > Source) > at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) > at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) > at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) > at > org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown > Source) > at > org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRoot > ElementHook(Unknown Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc > her.dispatch(Unknown Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown > 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.DOMParser.parse(Unknown Source) > at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) > at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) > at > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefini > tions(XmlBeanDefinitionReader.java:161) > at > org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadB > eanDefinitions(AbstractBeanDefinitionReader.java:99) > at > org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDef > initions(XmlWebApplicationContext.java:115) > at > org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDef > initions(XmlWebApplicationContext.java:83) > at > org.springframework.context.support.AbstractRefreshableApplicationContext.re > freshBeanFactory(AbstractRefreshableApplicationContext.java:87) > at > org.springframework.context.support.AbstractApplicationContext.refresh(Abstr > actApplicationContext.java:262) > at > org.springframework.web.context.support.AbstractRefreshableWebApplicationCon > text.refresh(AbstractRefreshableWebApplicationContext.java:134) > at > org.springframework.web.context.ContextLoader.createWebApplicationContext(Co > ntextLoader.java:230) > at > org.springframework.web.context.ContextLoader.initWebApplicationContext(Cont > extLoader.java:156) > at > org.springframework.web.context.ContextLoaderListener.contextInitialized(Con > textLoaderListener.java:48) > at > org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java: > 3692) > at > org.apache.catalina.core.StandardContext.start(StandardContext.java:4127) > at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) > at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) > at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) > at > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) > at > org.apache.catalina.core.StandardService.start(StandardService.java:450) > at > org.apache.catalina.core.StandardServer.start(StandardServer.java:680) > at org.apache.catalina.startup.Catalina.start(Catalina.java:540) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409) > > > > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
