In BELTS_HOME/server/default/deploy/belts-services.sar/META-INF/jboss-service.xml, find the configuration lines describing the belts:service=Provider,name=belts, remove the lines containing “<!--” and “-->” and set your server URL, username and password. The default values for these are set to “http://upstream.example.com/belts/provide/” for the host name and “changeme” for the username and password. Note that the URL for the BELTS provider is the BELTS server name, plus the string “/provide”. For example, if your upstream BELTS is accessed as “http://belts.myorganisation.edu”, then your BELTS provider should be set to “http://belts.myorganisation.edu/provide/”. If you upstream BELTS is accessed as “http://www.myorganisation.edu/belts”, then your BELTS provider should be set to “http://www.myorganisation.edu/belts/provide/”.
<!--
<mbean code="au.edu.educationau.belts.management.provider.ProviderService"
name="belts:service=Provider,name=belts">
<depends>belts:service=ContentStore</depends>
<depends>belts:service=HttpClientPool</depends>
<attribute name="JndiName">belts/content/provider/belts</attribute>
<attribute
name="ProviderClass">au.edu.educationau.belts.content.BeltsProvider</attribute>
<attribute name="Configuration">
<! [ CDATA[<belts id="belts"
url="http://upstream.example.com/belts/provide/"
username="changeme" password="changeme"
autoload="false" autopublish="false"/> ] ]>
</attribute>
</mbean>
--> |