Tomcat + tc-spring
------------------
Key: CDV-557
URL: https://jira.terracotta.org/jira//browse/CDV-557
Project: Community Development
Issue Type: Bug
Components: X-SpringRuntime
Affects Versions: 2.4.3
Reporter: Stanley Hope
Assignee: Issue Review Board
Attachments: Tomcat+Spring+Clustering.xls
Tc spring does not pick up spring contexts as distributed when:
1. tc-config.xml is set as normal like:
<paths>
<path>resources/applicationContext-business-core.xml</path>
<path>resources/applicationContext-resources-core.xml</path>
<path>resources/applicationContext-cdsweb-client.xml</path>
<path>resources/applicationContext-services-core.xml</path>
<path>resources/applicationContext-python.xml</path>
<path>resources/applicationContext-grid.xml</path>
</paths>
2. web.xml spring contexts are set in valid format. notice that there is an *
after classpath
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
classpath*:/resources/applicationContext-business-core.xml
classpath*:/resources/applicationContext-resources-core.xml
classpath*:/resources/applicationContext-cdsweb-client.xml
classpath*:/resources/applicationContext-services-core.xml
classpath*:/resources/applicationContext-python.xml
classpath*:/resources/applicationContext-grid.xml
</param-value>
</context-param>
3. what happens is BeanDefinitionProtocol.captureIdentity(xxx) cannot handle a
URLResource. As such the context never becoems distributable
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.terracotta.org/jira//secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev