[KULRICE-12596] Simplify Client Spring Bean configuration Created: 28/Apr/14  Updated: 16/Jan/15

Status: Open
Project: Kuali Rice Development
Component/s: Configuration, Development
Affects Version/s: None
Fix Version/s: 2.6
Security Level: Public (Public: Anyone can view)

Type: Improvement Priority: Major
Reporter: Daniel Seibert (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: Old
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: XML File KradSampleAppBeans.xml     XML File RiceClientDataSourceSpringBeans.xml     XML File RiceClientServiceRegistrySpringBeans.xml     XML File RiceClientSpringBeans.xml     XML File _KradSampleAppJpaSpringBeans.xml     XML File web.xml    
Issue Links:
Relate
relates to KULRICE-13305 KRAD SampleAppJpaSpringBean config error Open
is related to KULRICE-12814 Clean up datasource configuration Open
Application Requirement:
Rice
KAI Review Status: Not Required
KTI Review Status: Not Required
Code Review Status: Not Required
Include in Release Notes?:
Yes

 Description   

Currently, out of the box configuration is for bundled mode.

Setting up the deployment in a client / server environment requires manually changing/overriding the web.xml file and a handful of spring bean definitions:

  • defining client and server datasources (override DataSourceSpringBeans.xml)
  • wiring in the above datasources to the riceConfigurure bean (RiceServiceRegistrySpringBeans.xml)
  • setting a db alias in _KRADSampleAppSpringBeans.xml) to tell JPA to use the client datasource instead of the rice server datasource
  • overriding RiceSpringBeans.xml (to get down a level to be able to override RiceServiceRegistrySpringBeans mentioned above)
  • overriding the top level app Spring bean file to use the client versions mentioned above

-web.xml - hand editing of the web.xml file to remove ken , kcb servlet related entries.

Try to resolve these issues to be able to auto-deploy client configurations without manual intervention



 Comments   
Comment by Daniel Seibert (Inactive) [ 17/Sep/14 ]

Added files showing the manual modifications to deployed war file.
These are the changes I made testing the 2.4 release.
It includes a modified web.xml and SpringBean definitions.

Generated at Mon Nov 30 20:23:36 CST 2020 using JIRA 7.0.11#70121-sha1:19d24976997c1d95f06f3e327e087be0b71f28d4.