# Problem with Dynamic Load Balancer

**URL:** <https://community.wowza.com/t/problem-with-dynamic-load-balancer/45972>\
**Category:** Wowza Developer Dojo\
**Tags:** wowza-streaming-server-java-api\
**Created:** [September 21, 2015, 6:51am UTC](https://community.wowza.com/t/problem-with-dynamic-load-balancer/45972 "2015-09-21T06:51:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ruslan\_Koptev](https://avatars.discourse-cdn.com/v4/letter/r/d2c977/32.png) [@Ruslan\_Koptev](https://community.wowza.com/u/Ruslan_Koptev)\
**Post date:** [September 21, 2015, 6:51am UTC](https://community.wowza.com/t/problem-with-dynamic-load-balancer/45972/1 "2015-09-21T06:51:25Z")

</div>

Hi, I’m configuring Dynamic Load Balancer module for Wowza. But after all installation instructions I have an error:

```auto
LoadBalancerServer.processMessage: Invalid start string

```

This error repeat with interval 2500ms - load balancer sender message interval.

Note, that i installed listener and sender on a single PC. I do not exclude that the problem could be here.

loadbalancertargets.txt:

```auto
localhost,1934,023D4FB4IS83

```

HTTPProvider in VHost.xml:

```auto
<HTTPProvider>
	<BaseClass>com.wowza.wms.plugin.loadbalancer.HTTPLoadBalancerRedirector</BaseClass>
	<RequestFilters>*loadbalancer</RequestFilters>
	<AuthenticationMethod>none</AuthenticationMethod>
	<Properties>
		<Property>
			<Name>enableServerInfoXML</Name>
			<Value>true</Value>
			<Type>Boolean</Type>
		</Property>
	</Properties>
</HTTPProvider>

```

and, lastly - Server.xml

```auto
...
<Properties>
<Property>
	<Name>loadBalancerListenerKey</Name>
	<Value>023D4FB4IS83</Value>
</Property>
<Property>
	<Name>loadBalancerListenerIpAddress</Name>
	<Value>localhost</Value>
</Property>
<Property>
	<Name>loadBalancerListenerPort</Name>
	<Value>1934</Value>
	<Type>Integer</Type>
</Property>
<Property>
	<Name>loadBalancerListenerRedirectorClass</Name>
	<Value>com.wowza.wms.plugin.loadbalancer.LoadBalancerRedirectorConcurrentConnects</Value>
</Property>
<Property>
	<Name>loadBalancerListenerMessageTimeout</Name>
	<Value>5000</Value>
	<Type>Integer</Type>
</Property>
<Property>
	<Name>loadBalancerSenderTargetPath</Name>
	<Value>${com.wowza.wms.AppHome}/conf/loadbalancertargets.txt</Value>
</Property>
<Property>
	<Name>loadBalancerSenderRedirectAddress</Name>
	<Value>localhost</Value>
</Property>
<Property>
	<Name>loadBalancerSenderMonitorClass</Name>
	<Value>com.wowza.wms.plugin.loadbalancer.LoadBalancerMonitorDefault</Value>
</Property>
<Property>
	<Name>loadBalancerSenderMessageInterval</Name>
	<Value>2500</Value>
	<Type>Integer</Type>
</Property>
</Properties>
...
<ServerListeners>
<ServerListener>
	<BaseClass>com.wowza.wms.mediacache.impl.MediaCacheServerListener</BaseClass>
</ServerListener>
<ServerListener>
	<BaseClass>com.wowza.wms.plugin.loadbalancer.ServerListenerLoadBalancerListener</BaseClass>
</ServerListener>
<ServerListener>
	<BaseClass>com.wowza.wms.plugin.loadbalancer.ServerListenerLoadBalancerSender</BaseClass>
</ServerListener>
</ServerListeners>
...

```

Please, help me to solve this problem.

---

<div class="post-metadata">

**Author:** ![Zoran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/zoran/32/385_2.png) [@Zoran](https://community.wowza.com/u/Zoran)\
**Post date:** [September 21, 2015, 7:51pm UTC](https://community.wowza.com/t/problem-with-dynamic-load-balancer/45972/2 "2015-09-21T19:51:37Z")

</div>

Hi,

Can you provide some more information about your current setup?

What is the Wowza server version you are using?

Zoran
