<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=vbose" rel="nofollow">Vigil Bose</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-2706?redirect=false" rel="nofollow">SPR-2706</a></strong> and commented</p>
<p dir="auto">We are currently working on an enterprise project for one of our biggest clients. We are using Spring 2.0 and Spring Web Flow 1.0 Rc4. While deploying the application to Oracle 9ias 10.1.2.0.2 in our development environment, we encountered the following error. We experienced the same error in Spring 2.0 RC2 and it was fixed in Spring 2.0 RC3 by Rick Evans. The ticket No is SPR - 2290. Kindly fix the bug. I will attach the XMLParser Oracle uses so you guys can test it. This is a critical error and we are unable to move forward.</p>
<p dir="auto">EXCEPTION FROM THE LOG FILE:</p>
<hr>
<p dir="auto">06/10/11 17:58:18 Started<br>
06/10/11 17:58:21 drlm: jsp: init<br>
06/10/11 17:58:21 drlm: context: init<br>
06/10/11 17:58:21 drlm: Loading Spring root WebApplicationContext<br>
06/10/11 17:58:52 drlm: Error initializing servlet<br>
org.springframework.beans.factory.BeanDefinitionStoreException: Line 8 in XML document from ServletContext resource [/WEB-INF/drlm-servlet.xml] is invalid; nested exception is oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'<br>
Caused by: oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'<br>
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:444)<br>
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:303)<br>
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:290)<br>
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:196)<br>
at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:151)<br>
at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:77)<br>
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:405)<br>
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:357)<br>
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)<br>
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)<br>
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)<br>
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:123)<br>
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:91)<br>
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:94)<br>
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:294)<br>
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)<br>
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)<br>
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)<br>
at org.springframework.web.context.ContextLoaderServlet.init(ContextLoaderServlet.java:83)<br>
at javax.servlet.GenericServlet.init(GenericServlet.java:258)<br>
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2354)<br>
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4795)<br>
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4889)<br>
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1015)<br>
at com.evermind.server.http.HttpApplication.&lt;init&gt;(HttpApplication.java:549)<br>
at com.evermind.server.Application.getHttpApplication(Application.java:890)<br>
at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:707)<br>
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:625)<br>
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:278)<br>
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:278)<br>
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:179)<br>
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2394)<br>
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1551)<br>
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:92)<br>
at java.lang.Thread.run(Thread.java:534)<br>
06/10/11 17:58:52 drlm: Error preloading servlet<br>
javax.servlet.ServletException: Error initializing servlet<br>
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4846)<br>
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4889)<br>
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1015)<br>
at com.evermind.server.http.HttpApplication.&lt;init&gt;(HttpApplication.java:549)<br>
at com.evermind.server.Application.getHttpApplication(Application.java:890)<br>
at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:707)<br>
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:625)<br>
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:278)<br>
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:278)<br>
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:179)<br>
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2394)<br>
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1551)<br>
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:92)<br>
at java.lang.Thread.run(Thread.java:534)<br>
06/10/11 17:58:52 drlm: drlm: init<br>
06/10/11 17:58:52 drlm: Loading WebApplicationContext for Spring FrameworkServlet 'drlm'<br>
06/10/11 17:58:52 drlm: Error initializing servlet<br>
org.springframework.beans.factory.BeanDefinitionStoreException: Line 8 in XML document from ServletContext resource [/WEB-INF/drlm-servlet.xml] is invalid; nested exception is oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'<br>
Caused by: oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'<br>
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:444)<br>
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:303)<br>
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:290)<br>
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:196)<br>
at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:151)<br>
at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:77)<br>
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:405)<br>
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:357)<br>
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)<br>
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)<br>
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)<br>
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:123)<br>
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:91)<br>
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:94)<br>
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:294)<br>
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)<br>
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)<br>
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)<br>
at org.springframework.web.context.ContextLoaderServlet.init(ContextLoaderServlet.java:83)<br>
at javax.servlet.GenericServlet.init(GenericServlet.java:258)<br>
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2354)<br>
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4795)<br>
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4889)<br>
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1015)<br>
at com.evermind.server.http.HttpApplication.&lt;init&gt;(HttpApplication.java:549)<br>
at com.evermind.server.Application.getHttpApplication(Application.java:890)<br>
at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:707)<br>
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:625)<br>
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:278)<br>
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:278)<br>
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:179)<br>
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2394)<br>
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1551)<br>
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:92)<br>
at java.lang.Thread.run(Thread.java:534)<br>
06/10/11 17:58:52 drlm: Error preloading servlet<br>
javax.servlet.ServletException: Error initializing servlet<br>
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4846)<br>
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4889)<br>
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1015)<br>
at com.evermind.server.http.HttpApplication.&lt;init&gt;(HttpApplication.java:549)<br>
at com.evermind.server.Application.getHttpApplication(Application.java:890)<br>
at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:707)<br>
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:625)<br>
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:278)<br>
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:278)<br>
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:179)<br>
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2394)<br>
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1551)<br>
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:92)<br>
at java.lang.Thread.run(Thread.java:534)<br>
06/10/11 17:58:52 drlm: dwr-invoker: init<br>
06/10/11 17:58:53 drlm: Started</p>
<p dir="auto">drlm-servlet.xml file:</p>
<hr>
<p dir="auto">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</p>
<p dir="auto">&lt;beans xmlns="<a href="http://www.springframework.org/schema/beans" rel="nofollow">http://www.springframework.org/schema/beans</a>"<br>
xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow">http://www.w3.org/2001/XMLSchema-instance</a>"<br>
xmlns:flow="<a href="http://www.springframework.org/schema/webflow-config" rel="nofollow">http://www.springframework.org/schema/webflow-config</a>"<br>
xsi:schemaLocation="<a href="http://www.springframework.org/schema/beans" rel="nofollow">http://www.springframework.org/schema/beans</a><br>
<a href="http://www.springframework.org/schema/beans/spring-beans-2.0.xsd" rel="nofollow">http://www.springframework.org/schema/beans/spring-beans-2.0.xsd</a><br>
<a href="http://www.springframework.org/schema/webflow-config" rel="nofollow">http://www.springframework.org/schema/webflow-config</a><br>
<a href="http://www.springframework.org/schema/webflow-config/spring-webflow-config-1.0.xsd%22%3E" rel="nofollow">http://www.springframework.org/schema/webflow-config/spring-webflow-config-1.0.xsd"&gt;</a></p>
<p dir="auto">&lt;!--</p>
<ul dir="auto">
<li>
<p dir="auto">DispatcherServlet application context for Device Registration and Listing Application web tier.<br>
--&gt;</p>
- Message source for this context, loaded from localized "messages_xx" files.
<ul dir="auto">
<li>Could also reside in the root application context, as it is generic,</li>
<li>but is currently just used within DRLM's web tier.<br>
--&gt;</li>
</ul>

	



uk.ltd.getahead.dwr.DWRServlet
dwr-invoker
 true







		
		 
 

flowController
				  drlmMainMenuController                                 


    

	



	
	


<p dir="auto">&lt;flow:executor id="flowExecutor" registry-ref="flowRegistry" repository-type="continuation"/&gt;</p>

<p dir="auto">&lt;flow:registry id="flowRegistry"&gt;<br>
&lt;flow:location path="file:html/WEB-INF/flows/**/*-flow.xml"/&gt;<br>
&lt;/flow:registry&gt;</p>




	
	
	



	
</li>
</ul>
<p dir="auto">&lt;/beans&gt;</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.0 final</p>
<p dir="auto"><strong>Attachments:</strong></p>
<ul dir="auto">
<li><a href="https://jira.spring.io/secure/attachment/12019/xmlparserv2.jar" rel="nofollow">xmlparserv2.jar</a> (<em>872.27 kB</em>)</li>
</ul>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398071034" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/7316" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/7316/hovercard" href="https://github.com/spring-projects/spring-framework/issues/7316">#7316</a> <a href="http://www.springframework.org/schema/jee" rel="nofollow">http://www.springframework.org/schema/jee</a> doesn't validate in XMLSpy (<em><strong>"is depended on by"</strong></em>)</li>
</ul>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=skaffman" rel="nofollow">Kenny MacLeod</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-7043?redirect=false" rel="nofollow">SPR-7043</a></strong> and commented</p>
<p dir="auto">I would like to see an attribute added to the <code class="notranslate">@Async</code> annotation, which allows the specification of the name of the executor bean to be used for invocations on that method. This would be an alternative to specifying the executor name in the <code class="notranslate">&lt;task:annotation-driven/&gt;</code> element.</p>
<p dir="auto">The use case is that sometimes you want multiple executors in a context, and different <code class="notranslate">@Async</code>-annotated beans need to use different executors. Currently, there is no way to do this - all <code class="notranslate">@Async</code>-annotated beans in a given context must use whichever executor is configured in the <code class="notranslate">&lt;task:annotation-driven/&gt;</code> element.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.0.1</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398102969" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11513" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11513/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11513">#11513</a> Enable Executor qualification with <code class="notranslate">@Async</code> (<em><strong>"duplicates"</strong></em>)</li>
</ul>
<p dir="auto">2 votes, 2 watchers</p>