<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    XML Schéma probléme with drools-spring integration in jbpm
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/soyeur">Houssem Salah</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/752159#752159">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>I had a web application running in Tomcat server and I want to add jbpm engine and human task to this application (spring +hibernate+jsf)</p><p>I had to make a spring configuration like the one mentioned in the JBPM documentation but I'm facing a probl&eacute;me with xml sch&eacute;ma </p><p><span>"</span><a class="jive-link-external-small" href="http://drools.org/schema/drools-spring" target="_blank">http://drools.org/schema/drools-spring</a><span> </span><a class="jive-link-external-small" href="http://drools.org/schema/drools-spring-1.3.0.xsd" target="_blank">http://drools.org/schema/drools-spring-1.3.0.xsd</a><span>"</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 12 in XML document from class path resource [applicationContext-jbpm.xml] is invalid; nested exception is org.xml.sax.SAXParseException; systemId: </span><a class="jive-link-external-small" href="http://drools.org/schema/drools-spring-1.3.0.xsd;" target="_blank">http://drools.org/schema/drools-spring-1.3.0.xsd;</a><span> lineNumber: 12; columnNumber: 22; cos-all-limited.1.2: An ''all'' model group must appear in a particle with '{'min occurs'}'='{'max occurs'}'=1, and that particle must be part of a pair which constitutes the '{'content type'}' of a complex type definition.</span></p><p><span>javax.faces.event.AbortProcessingException: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 12 in XML document from class path resource [applicationContext-jbpm.xml] is invalid; nested exception is org.xml.sax.SAXParseException; systemId: </span><a class="jive-link-external-small" href="http://drools.org/schema/drools-spring-1.3.0.xsd;" target="_blank">http://drools.org/schema/drools-spring-1.3.0.xsd;</a><span> lineNumber: 12; columnNumber: 22; cos-all-limited.1.2: An ''all'' model group must appear in a particle with '{'min occurs'}'='{'max occurs'}'=1, and that particle must be part of a pair which constitutes the '{'content type'}' of a complex type definition.</span></p><p>&#160;&#160;&#160; at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:178)</p><p>&#160;&#160;&#160; at javax.faces.event.ActionEvent.processListener(ActionEvent.java:84)</p><p>&#160;&#160;&#160; at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:773)</p><p>&#160;&#160;&#160; at javax.faces.component.UICommand.broadcast(UICommand.java:296)</p><p>&#160;&#160;&#160; at javax.faces.component.UIData.broadcast(UIData.java:911)</p><p>&#160;&#160;&#160; at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:790)</p><p>&#160;&#160;&#160; at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1255)</p><p>&#160;&#160;&#160; at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:77)</p><p>&#160;&#160;&#160; at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)</p><p>&#160;&#160;&#160; at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)</p><p>&#160;&#160;&#160; at javax.faces.webapp.FacesServlet.service(FacesServlet.java:334)</p><p>&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)</p><p>&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</p><p>&#160;&#160;&#160; at org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:79)</p><p>&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)</p><p>&#160;&#160;&#160; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</p><p>&#160;&#160;&#160; at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)</p><p>&#160;&#160;&#160; at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)</p><p>&#160;&#160;&#160; at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)</p><p>&#160;&#160;&#160; at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)</p><p>&#160;&#160;&#160; at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)</p><p>&#160;&#160;&#160; at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)</p><p>&#160;&#160;&#160; at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)</p><p>&#160;&#160;&#160; at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)</p><p>&#160;&#160;&#160; at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)</p><p>&#160;&#160;&#160; at java.lang.Thread.run(Thread.java:722)</p><p><span>Caused by: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 12 in XML document from class path resource [applicationContext-jbpm.xml] is invalid; nested exception is org.xml.sax.SAXParseException; systemId: </span><a class="jive-link-external-small" href="http://drools.org/schema/drools-spring-1.3.0.xsd;" target="_blank">http://drools.org/schema/drools-spring-1.3.0.xsd;</a><span> lineNumber: 12; columnNumber: 22; cos-all-limited.1.2: An ''all'' model group must appear in a particle with '{'min occurs'}'='{'max occurs'}'=1, and that particle must be part of a pair which constitutes the '{'content type'}' of a complex type definition.</span></p><p>&#160;&#160;&#160; at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)</p><p>&#160;&#160;&#160; at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)</p><p>&#160;&#160;&#160; at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)</p><p>&#160;&#160;&#160; at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)</p><p>&#160;&#160;&#160; at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)</p><p>&#160;&#160;&#160; at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)</p><p>&#160;&#160;&#160; at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:243)</p><p>&#160;&#160;&#160; at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:127)</p><p>&#160;&#160;&#160; at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:93)</p><p>&#160;&#160;&#160; at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:131)</p><p>&#160;&#160;&#160; at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:522)</p><p>&#160;&#160;&#160; at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:436)</p><p>&#160;&#160;&#160; at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:139)</p><p>&#160;&#160;&#160; at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:83)</p><p>&#160;&#160;&#160; at com.whitecape.web.java.AbsenceBean.startSession(AbsenceBean.java:287)</p><p>&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</p><p>&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)</p><p>&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</p><p>&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:601)</p><p>&#160;&#160;&#160; at org.apache.el.parser.AstValue.invoke(AstValue.java:191)</p><p>&#160;&#160;&#160; at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)</p><p>&#160;&#160;&#160; at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:149)</p><p>&#160;&#160;&#160; ... 25 more</p><p><span>Caused by: org.xml.sax.SAXParseException; systemId: </span><a class="jive-link-external-small" href="http://drools.org/schema/drools-spring-1.3.0.xsd;" target="_blank">http://drools.org/schema/drools-spring-1.3.0.xsd;</a><span> lineNumber: 12; columnNumber: 22; cos-all-limited.1.2: An ''all'' model group must appear in a particle with '{'min occurs'}'='{'max occurs'}'=1, and that particle must be part of a pair which constitutes the '{'content type'}' of a complex type definition.</span></p><p>&#160;&#160;&#160; at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:267)</p><p>&#160;&#160;&#160; at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:201)</p><p>&#160;&#160;&#160; at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)</p><p>&#160;&#160;&#160; at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Any help will be great.!</p><p>Thanx</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/752159#752159">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>