• SEARCH
  • DOWNLOADS
  • MY ACCOUNT
  • Buy (0)
  • CONTACT
  • Free Trial
Wowza Logo
  • PRODUCTS
    • Products

      • Wowza ClearCaster
      • Facebook Live appliance
      • Wowza Streaming Cloud
      • Cloud streaming services
      • Wowza Streaming Engine
      • Streaming server software
      • Wowza GoCoder & SDK
      • Mobile capture and encoding app
    • Capabilities

      • CDN
      • Ultra Low Latency
      • SRT
      • Player
      • WebRTC
      • Live Transcoding
      • See All Capabilities
  • DOCS & APIS

      Docs & APIs

      • Getting Started
      • User Guides
      • Technical Articles
      • Video Tutorials
      • API & SDK Docs
  • SOLUTIONS
    • Streaming Types

      • Live Video Streaming
      • Video on Demand
      • Audio-Only Streaming
      • IP Camera Streaming
      • VR and 360° Streaming
      • Chat
    • Industries

      • Broadcast & OTT
      • Education
      • Enterprise
      • Government
      • Live Events
      • Live Sports
      • Religious Organizations
    • Streaming Solutions

      • MediaDS—Integrated Streaming Device
      • Streaming Service Providers
      • Live Mobile Broadcasting
  • PRICING
    • Wowza ClearCaster

      • Facebook Live appliance
      • Starting at $2,995
      • Add to Cart
      • Request a Demo
    • Wowza Streaming Cloud

      • Cloud streaming services
      • Starter Plan: $49/month
      • Add to Cart
      • See All Plans
    • Wowza Streaming Engine

      • Streaming server software
      • Annual Plan: $65/month
      • Add to Cart
      • See All Plans
    • Wowza GoCoder SDK

      • SDK for mobile streaming
      • Talk to a Streaming Expert
      • Contact Us
      • Free Trial
  • RESOURCES

      Resources

      • Blog
      • Case Studies
      • Webinars
      • Videos
      • Podcasts
      • Test Players
      • Developer Tools
  • SUPPORT
    • Support

      • Forums
      • Software Updates
      • Open a Support Ticket
    • Plans & Services

      • Support Plans
      • Advisory Services
      • Live Event Support
  • My Account
  • Buy (0)
  • SEARCH
  • Ask a question
  • Forums
    • Wowza ClearCaster
    • Wowza Streaming Engine
    • Wowza Streaming Cloud
    • Wowza Player
    • Wowza GoCoder SDK
    • Wowza Developer Dojo
    • Topics
    • Questions
    • Users
    • Badges
  • Sign in
  • Community Home /
  • Wowza Developer Dojo /
  • Wowza Streaming Server Java API /
avatar image
Question by Dirk Wöhr · Apr 19, 2016 at 04:18 PM · wowza streaming server java api

How to find out, if a module works

Hi,

I'm new to Wowza PlugIn Development and finished this tutorial:

https://www.wowza.com/forums/content.php?759-How-to-extend-Wowza-Streaming-Engine-using-the-Wowza-IDE#createproject

Eclipse sucessfully created the .jar file in Wowza's lib folder, I also was able to add the module to an application via the web interface and it appears in the application's XML file, but it looks like the onAppStart()-method never triggers. I tried restarting the server, the application via the web interface, and I also restarted the service itself. Is there a way to check, if the module is available at all? The error log has no entries. Or can I somehow call the doSomething()-method that was created by the wizard manually, to check if the module works without relying on the events?

Thanks a lot!
Comment

People who like this

0 Show 0
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image

Answer by Michelle B · Apr 25, 2016 at 09:39 AM

Hi Rehakles,

This would depend on what your custom module does. You can normally include additional logging information by calling the getLogger() method to troubleshoot your module. The doSomething method that is automatically generated is just an example module. You would still need to have a mechanism of calling the method from within your custom module. Can you post your custom code here? Alternatively, you can send in a developer support request if you would like to keep your code confidential.

Michelle

Michelle
Comment

People who like this

0 Show 1 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Dirk Wöhr · Apr 26, 2016 at 01:39 PM 0
Share
Hi Michelle,

thanks for the reply. The code is the exact code from the linked tutorial (except the class and package name). We have now found out, that the module only triggers once a stream is started. The application start itself is not enough. Now we have the next error:

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:ClassName class:com.somecompany.wowza.module - - - 12190.008

The entry in the Application.xml seems to be correct though:

<Module>

<Name>ClassName</Name>

<Description>ClassName</Description>

<Class>com.somecompany.wowza.module</Class>

</Module>


Any ideas what could cause this error?

Since were still trying out different approaches: Are PlugIns the correct way to go for automated publishing?

What we are trying to accomplish is to automatically publish all new streams that are added to an application. We already have an external solution that re-writes the 'PushPublishMap.txt' file, which seems to work so far, but we thought that a PlugIn that uses the API might be the more robust way to do it.

Thanks again
avatar image

Answer by Paul Shields · May 03, 2016 at 02:25 PM

Hi,

Can you confirm that the jar file is located in /lib? The message does seem to indicate that it can't be located. If it is and you're sure it is named correctly and set up correctly in your application then zip up your /conf and /logs and /lib, open a support ticket and we can take a closer look.

Paul
Comment

People who like this

0 Show 0 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

ModuleRTMPAuthenticate.onConnect 5 Answers

Logging to a Database 27 Answers

Rest api >> wowza 4 2 Answers

How can LoopUntilLive module recognize a multi-bitrate live stream from Transcoder? 1 Answer

rtsp to rtmp from vivotek ip camer 10 Answers

Hot Topics
  • AWS Hosting
  • Mobile SDK
  • Deployment Options
  • Load Balancing
  • Content Security
Product Sign-in
  • Wowza Streaming Cloud
  • Wowza Player
Under the Hood
  • Developer Tools
  • Wowza System Status
  • Test Players
  • Developer IDE
Resellers
  • Find a Reseller
  • Reseller Portal
  • Become a Reseller
Company
  • About Us
  • Blog
  • News
  • Events
  • Careers
  • Customers
  • Partners
  • Contact Us
Stay Connected
Get Monthly Newsletter
Select a Language
  • English
    • English
    • Español
    • 日本語
    • 한국어
    • हिन्दी भाषा
    • 中文
    • русский язык

© 2005–2018 Wowza Media Systems, LLC. All rights reserved.   Terms | Privacy | Trademarks | Legal


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Forums
  • Wowza ClearCaster
  • Wowza Streaming Engine
  • Wowza Streaming Cloud
  • Wowza Player
  • Wowza GoCoder SDK
  • Wowza Developer Dojo
  • Explore
  • Topics
  • Questions
  • Users
  • Badges