# upgraded to 4.0.1 - missing function from custom jar - warning200

**URL:** <https://community.wowza.com/t/upgraded-to-4-0-1-missing-function-from-custom-jar-warning200/300>\
**Category:** Wowza Streaming Engine\
**Created:** [March 26, 2014, 2:38pm UTC](https://community.wowza.com/t/upgraded-to-4-0-1-missing-function-from-custom-jar-warning200/300 "2014-03-26T14:38:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [March 26, 2014, 2:38pm UTC](https://community.wowza.com/t/upgraded-to-4-0-1-missing-function-from-custom-jar-warning200/300/1 "2014-03-26T14:38:51Z")

</div>

This worked in my 3.5.2 version of Wowza but something changed when I upgraded to 4.0.1 \> are my files not in the right place? I duplicated file locations from 3.5.2

From the 4.0.1 access log file:

2014-03-26 09:55:14 EDT connect-pending session INFO 100 98.117.84.106 - _defaultVHost_ gaggleputz\_modules glamorgan\_65 0.083 [any] 1935 rtmp://69.24.66.186/gaggleputz\_modules/glamorgan\_65 98.117.84.106 rtmp [http://www.gaggletrust.com/groups/onlineUser\_rso.swf?20140326095520](http://www.gaggletrust.com/groups/onlineUser_rso.swf?20140326095520) WIN 12,0,0,77 1389599462 3478 3073 - - - - - - - - - - - - - rtmp://69.24.66.186/gaggleputz\_modules/glamorgan\_65 -

2014-03-26 09:55:14 EDT connect session INFO 200 98.117.84.106 - _defaultVHost_ gaggleputz\_modules glamorgan\_65 0.084 [any] 1935 rtmp://69.24.66.186/gaggleputz\_modules/glamorgan\_65 98.117.84.106 rtmp [http://www.gaggletrust.com/groups/onlineUser\_rso.swf?20140326095520](http://www.gaggletrust.com/groups/onlineUser_rso.swf?20140326095520) WIN 12,0,0,77 1389599462 3478 3073 - - - - - - - - - - - - - rtmp://69.24.66.186/gaggleputz\_modules/glamorgan\_65 -

2014-03-26 09:55:14 EDT comment server WARN 200 - **Missing function:** closeDuplicates - - - 3443.323 - - - - - - - - - - - - - - - - - - - - - - - - -

From what I have read on this forum and [here](https://www.wowza.com/docs/how-to-troubleshoot-error-messages) this may have something to do with a poorly authored xml file? Here is my xml:

```auto
<Root>
	<Application>
		<!-- Uncomment to set application level timeout values
		<ApplicationTimeout>60000</ApplicationTimeout>
		<PingTimeout>12000</PingTimeout>
		<ValidationFrequency>8000</ValidationFrequency>
		-->
		<Connections>
			<AutoAccept>true</AutoAccept>
			<AllowDomains></AllowDomains>
		</Connections>
		<!--
			StorageDir path variables
			
			${com.wowza.wms.AppHome} - Application home directory
			${com.wowza.wms.ConfigHome} - Configuration home directory
			${com.wowza.wms.context.VHost} - Virtual host name
			${com.wowza.wms.context.Application} - Application name
			${com.wowza.wms.context.ApplicationInstance} - Application instance name
			
		-->
		<Streams>
			<StreamType>default</StreamType>
			<!--<StorageDir>${com.wowza.wms.AppHome}/content</StorageDir>-->
                  <StorageDir>h:/gaggleputz_media/</StorageDir>
		</Streams>
		<SharedObjects>
			<StorageDir></StorageDir>
		</SharedObjects>
		<Client>
			<IdleFrequency>-1</IdleFrequency>
			<Access>
				<StreamReadAccess>*</StreamReadAccess>
				<StreamWriteAccess>*</StreamWriteAccess>
				<StreamAudioSampleAccess></StreamAudioSampleAccess>
				<StreamVideoSampleAccess></StreamVideoSampleAccess>
				<SharedObjectReadAccess>*</SharedObjectReadAccess>
				<SharedObjectWriteAccess>*</SharedObjectWriteAccess>
			</Access>
		</Client>
		<RTP>
			<!-- RTP/Authentication/Methods defined in Authentication.xml. Default setup includes; none, basic, digest -->
			<Authentication>
				<Method>digest</Method>
			</Authentication>
			<!-- RTP/AVSyncMethod. Valid values are: senderreport, systemclock, rtptimecode -->
			<AVSyncMethod>senderreport</AVSyncMethod>
			<MaxRTCPWaitTime>12000</MaxRTCPWaitTime>
		</RTP>
		<!-- 
		<Repeater>
			<OriginURL></OriginURL>
		</Repeater> 
		-->
		<Modules>
			<Module>
				<Name>base</Name>
				<Description>Base</Description>
				<Class>com.wowza.wms.module.ModuleCore</Class>
			</Module>
			<Module>
				<Name>properties</Name>
				<Description>Properties</Description>
				<Class>com.wowza.wms.module.ModuleProperties</Class>
			</Module>
			<Module>
				<Name>logging</Name>
				<Description>Client Logging</Description>
				<Class>com.wowza.wms.module.ModuleClientLogging</Class>
			</Module>
			<Module>
				<Name>flvplayback</Name>
				<Description>FLVPlayback</Description>
				<Class>com.wowza.wms.module.ModuleFLVPlayback</Class>
			</Module> 
			<Module>
				<Name>GagglePUTZ_onlineUserManager</Name>
				<Description>GagglePUTZ GagglePUTZ_onlineUserManager</Description>
				<Class>com.gaggleputz.wms.module.GagglePUTZ_onlineUserManager</Class>
			</Module> 
		</Modules>
		<Properties>
			<!-- Properties defined here will be added to the IApplication.getProperties() and IApplicationInstance.getProperties() collections -->
			<!--
			<Property>
				<Name></Name>
				<Value></Value>
			</Property>
			-->
		</Properties>
	</Application>
</Root>

```

Any thoughts?

Thanks!

John

PS No streaming video here, just text chat in flash app

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [March 26, 2014, 9:09am UTC](https://community.wowza.com/t/upgraded-to-4-0-1-missing-function-from-custom-jar-warning200/300/2 "2014-03-26T09:09:07Z")

</div>

Hi there, have you updated the Build.xml file in the Eclipse project?

It may still be set to:

```auto
<property name="wowza.lib.dir" value="/Library/WowzaMediaServer/lib"/>

```

It should be changed to:

```auto
<property name="wowza.lib.dir" value="/Library/WowzaStreamingEngine/lib"/>

```

Salvadore

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [March 27, 2014, 2:23pm UTC](https://community.wowza.com/t/upgraded-to-4-0-1-missing-function-from-custom-jar-warning200/300/3 "2014-03-27T14:23:25Z")

</div>

John,

I would start over. First create a new application using the Wowza manager. Then add your module either using the Manager or by editing the Wowza 4 Application.xml for that application.

Make sure your project .jar file is being compiled to the correct /lib folder. If you started the project using a previous version of Wowza that was in another location, the IDE might still be compiling to the old. The easiest way to re-set is delete the build.xml, then delete the project but without checking box to delete files, then re-create the project with the same name.

Richard

---

<div class="post-metadata">

**Author:** ![John\_Glynn](https://avatars.discourse-cdn.com/v4/letter/j/9e8a1a/32.png) [@John\_Glynn](https://community.wowza.com/u/John_Glynn)\
**Post date:** [March 26, 2014, 9:04pm UTC](https://community.wowza.com/t/upgraded-to-4-0-1-missing-function-from-custom-jar-warning200/300/4 "2014-03-26T21:04:20Z")

</div>

> Hi there, have you updated the Build.xml file in the Eclipse project?
> 
> It may still be set to:
> 
> ```auto
> <property name="wowza.lib.dir" value="/Library/WowzaMediaServer/lib"/>
> 
> ```
> 
> It should be changed to:
> 
> ```auto
> <property name="wowza.lib.dir" value="/Library/WowzaStreamingEngine/lib"/>
> 
> ```
> 
> Salvadore

I do not seem to have either a builder.xml nor an Eclipse project that I can find.

---

<div class="post-metadata">

**Author:** ![John\_Glynn](https://avatars.discourse-cdn.com/v4/letter/j/9e8a1a/32.png) [@John\_Glynn](https://community.wowza.com/u/John_Glynn)\
**Post date:** [March 27, 2014, 12:25pm UTC](https://community.wowza.com/t/upgraded-to-4-0-1-missing-function-from-custom-jar-warning200/300/5 "2014-03-27T12:25:42Z")

</div>

Hi Salvadore,

Thank you for your replies. Is the syntax incorrect in my xml file (above)? If so is there a sample xml file with WOWZA-happy formatting I could use as a reference? If, however, my syntax is not the problem is it ok to use what I have above but save it in a fresh XML file? (If this is the case I am unclear as to the nature of XML files. That might imply that XML files are registered somewhere and that registration stays with that file even when it has been moved?..😕 - I can look that up.)

> is the “GagglePUTZ\_onlineUserManager.jar” file located in [install-dir]/lib folder?

Yes.

Thank you again!

John

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [March 26, 2014, 3:17pm UTC](https://community.wowza.com/t/upgraded-to-4-0-1-missing-function-from-custom-jar-warning200/300/6 "2014-03-26T15:17:55Z")

</div>

Did you recreate the Application.xml file after upgrading to Wowza streaming Engine? It is not advisable to reuse configuration files from the previous versions in Wowza 4.x as this can cause unexpected behavior.

Also, is the “GagglePUTZ\_onlineUserManager.jar” file located in [install-dir]/lib folder?

Salvadore

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [March 27, 2014, 7:09am UTC](https://community.wowza.com/t/upgraded-to-4-0-1-missing-function-from-custom-jar-warning200/300/7 "2014-03-27T07:09:23Z")

</div>

John, I ran the above code through an xml validator and it came up clean. You can look at the default Application.xml file in [install-dir]/conf/Application.xml to compare the two.

Also you can comment out the custom module to see if that is the only problem or if there are other issues with the file.

Salvadore
