Unable to add ModuleOnConnectAuthenticate2

I installed the plugin in the lib directory where other plugins reside, as per this guide:

https://www.wowza.com/docs/utility-modules-for-wowza-streaming-engine-media-server-software

I then attempted to enable the plugin using this guide:

https://www.wowza.com/docs/how-to-do-file-based-rtmp-authentication-with-url-query-strings-onconnectauthenticate2

In the logs, ever time I tried publishing a stream, the following error showed up:

2015-04-06 14:28:42 EDT comment server WARN 200 - loadModFunctions[live/definst]: Module class not found or could not be loaded. Check [install-dir]/conf/live/Application.xml to be sure all Modules/Module/Class paths are correct: name:moduleOnConnectAuthenticate class:com.wowza.wms.plugin.collection.module.ModuleOnConnectAuthenticate2

I also tried adding the module using the GUI in case I screwed up somewhere, and that didn’t work either. I wasn’t even able to add properties in the GUI after adding the module, presumably because the module wasn’t found.

If it makes any difference (and I hope it doesn’t) I’m using the trial version as we evaluate the possibility of using this service.

Hi amraam27,

It should not make a difference if you are using a trial version. You should still be able to use the Wowza Module collection. Have you tried restarting the Wowza services after you have copied over the lib files?

Also, you would need to enable Advanced Settings for your Manager user account in order to add custom modules.

Michelle

Hi Michelle, thanks for your reply.

Yes, I restarted the service. Hell, I even restarted the whole server in a “nuke it all from orbit” hope. I had enabled the advanced settings. First, I tried doing it by modifying the file (backed it up first, just in case) with vi. When that didn’t work, I reverted my changes and enabled advanced settings in the manager. I followed this guide:

https://www.wowza.com/docs/how-to-get-started-as-a-wowza-streaming-engine-manager-administrator

The error was the same in the log.

I’ll paste some details below. Here is my lib directory:

root@wowzadev:/usr/local/WowzaStreamingEngine/lib# ls

bcprov-jdk15on-149.jar wms-dvr.jar wms-plugin-collection.jar

commons-lang-2.6.jar wms-httpstreamer-cupertinostreaming.jar wms-pushpublish.jar

jackson-annotations-2.1.1.jar wms-httpstreamer-directstreaming.jar wms-release-tools.jar

jackson-core-2.1.1.jar wms-httpstreamer-mpegdashstreaming.jar wms-rest.jar

jackson-databind-2.1.1.jar wms-httpstreamer-sanjosestreaming.jar wms-restlet-2.1.6.jar

jid3lib-0.5.4.jar wms-httpstreamer-smoothstreaming.jar wms-restlet-2.1.6.org.restlet.ext.simple.jar

joda-time-2.3.jar wms-jax.validation.jar wms-server.jar

log4j-1.2.17.jar wms-jlayer.jar wms-stats.jar

slf4j-api-1.6.4.jar wms-license-rest.jar wms-stream-file.jar

slf4j-log4j12-1.6.4.jar wms-mediacache.jar wms-stream-live.jar

wms-amazonutil.jar wms-mediareader-flv.jar wms-stream-publish.jar

wms-ant.jar wms-mediareader-h264.jar wms-stream-record.jar

wms-bootstrap.jar wms-mediareader-mp3.jar wms-stream-rtp.jar

wms-commons-modeler.jar wms-mediareader-smil.jar wms-stream-shoutcast.jar

wms-core.jar wms-mediawriter-flv.jar wms-transcoder.jar

wms-drm.jar wms-mediawriter-h264.jar wms-xstream-1.4.7.jar

All the jars have permissions set to 775.

And below is what I have in my Application.xml file in [install root]/conf/live/Application.xml:

<?xml version="1.0" encoding="UTF-8"?>

live

Live

Default application for live streaming created when Wowza Streaming Engine is installed. Use this application with its default configuration or modify the configuration as needed. You can also copy it to create another live application.

true

live-lowlatency

${com.wowza.wms.context.VHostConfigHome}/content

${com.wowza.wms.context.VHostConfigHome}/keys

cupertinostreamingpacketizer, mpegdashstreamingpacketizer, sanjosestreamingpacketizer, smoothstreamingpacketizer

${SourceStreamName}.xml,transrate.xml

${com.wowza.wms.context.VHostConfigHome}/transcoder/profiles

${com.wowza.wms.context.VHostConfigHome}/transcoder/templates

0

${com.wowza.wms.context.VHostConfigHome}/dvr

append

cupertinostreaming, smoothstreaming, sanjosestreaming, mpegdashstreaming

${com.wowza.wms.context.VHostConfigHome}/applications/${com.wowza.wms.context.Application}/sharedobjects/${com.wowza.wms.context.ApplicationInstance}

-1

*

*

*

*

block

none

senderreport

12000

75

90000

0

0.0.0.0

127.0.0.1

*

interleave

true

true

20000

12000

0

0

0

0

false

3000

-500

false

3000

-500

false

3000

-500

false

1500

false

base

Base

com.wowza.wms.module.ModuleCore

logging

Client Logging

com.wowza.wms.module.ModuleClientLogging

flvplayback

FLVPlayback

com.wowza.wms.module.ModuleFLVPlayback

moduleOnConnectAuthenticate

Authenticates Flash connections.

com.wowza.wms.plugin.collection.module.ModuleOnConnectAuthenticate2