You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »





FARKLI BATCH SUNUCU AYARLANMASI














Batch işlem yükü fazla olan müşterileriniz için, farklı bir uygulama sunucusu (Tomcat/Jboss) kurarak ürün içerisinden çalışan batch işlemlerin bu sunucuda çalışmasını sağlayabilirsiniz. Böylece toplu işlem yükünü farklı bir sunucuya devretmiş ve kullanıcıların bulunduğu portları bu yükten arındırmış olursunuz.
Bunu yapmak için ServerConfig'de bazı alanların "true" değeri ile doldurulması ve IP:PORT alanlarının batch sunucusu olarak kullanılacak uygulama sunucusunun IP ve Port bilgileri ile değiştirilmesi gerekmektedir. Bu değişiklikler sonrasında uygulama sunucusunu restart ettiğiniz taktirde parametreler devreye girecektir.
<category description="Batch parameters" name="Batch" sadmin="true">
<parameter description="Parameter to hold Batch Server URI" enabled="true" name="BatchURI"
sadmin="true"
side="c
t="setter">
<property description="" name="class-name" t="s" value="com.lbs.util.JLbsConstants"/>
<property description="" name="value" t="s" value="http://IP:PORT/logo/"/>
<property description="" name="field-name" t="s" value="BatchURI"/>
</parameter>
<parameter description="Parameter to redirect batch uri to main node when batch node not available" enabled="true"
name="RedirectBatch"
sadmin="true"
side="c"
t="setter">
<property description="" name="class-name" t="s" value="com.lbs.util.JLbsConstants"/>
<property description="" name="value" t="b" value="true"/>
<property description="" name="field-name" t="s" value="REDIRECT_BATCH_TO_MAINNODE"/>
</parameter>
</category>