Wowza Community

upgraded to 4.0.1 - missing function from custom jar - warning200

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 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 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 this may have something to do with a poorly authored xml file? Here is my xml:

<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

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

It may still be set to:

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

It should be changed to:

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

Salvadore

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

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

It may still be set to:

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

It should be changed to:

<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.

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?..:confused: - I can look that up.)

is the “GagglePUTZ_onlineUserManager.jar” file located in [install-dir]/lib folder?

Yes.

Thank you again!

John

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

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