If you need to use a proxy server to access the internet, you will need to change some settings. In BELTS_HOME/server/default/deploy/belts-services.sar/META-INF/jboss-service.xml, find the lines describing the HttpClientPool service and adjust them to your settings.
The default settings are as follows:
<!-- HTTP Client Pool -->
<mbean
code="au.edu.educationau.belts.management.http.HttpClientPoolService"
name="belts:service=HttpClientPool">
<attribute name="JndiName">belts/httpclient-pool</attribute>
<attribute name="Configuration">
<! [ CDATA [
<client-pool pool-size="4">
<!-- proxy port="" host="" username="" password=""/ -->
</client-pool>
] ] >
</attribute>
</mbean> |
To change this for your environment, remove the comments around the line describing the proxy and replace it with your own settings. For example, at TLF, the following settings are required:
<proxy port="3128"
host="melbourne.cache.telstra.net" username="" password=""/> |