# Can't create custom module!

**URL:** https://community.wowza.com/t/cant-create-custom-module/92631
**Category:** Wowza Streaming Engine
**Created:** [January 4, 2021, 10:38am UTC](https://community.wowza.com/t/cant-create-custom-module/92631 "2021-01-04T10:38:47Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Nguyen\_Truong\_Sa1](https://avatars.discourse-cdn.com/v4/letter/n/47e85d/32.png) [@Nguyen\_Truong\_Sa1](https://community.wowza.com/u/Nguyen_Truong_Sa1)
#### Post date: [January 4, 2021, 10:38am UTC](https://community.wowza.com/t/cant-create-custom-module/92631/1 "2021-01-04T10:38:47Z")

</div>

I follow link: [Get and install the Wowza IDE](https://www.wowza.com/docs/how-to-extend-wowza-streaming-engine-using-the-wowza-ide) for create my module.

My code:

```auto
package com.ekoios.end;

import com.wowza.wms.application.*;
import com.wowza.wms.amf.*;
import com.wowza.wms.client.*;
import com.wowza.wms.module.*;
import com.wowza.wms.request.*;
import com.wowza.wms.stream.*;
import com.wowza.wms.rtp.model.*;
import com.wowza.wms.httpstreamer.model.*;
import com.wowza.wms.httpstreamer.cupertinostreaming.httpstreamer.*;
import com.wowza.wms.httpstreamer.smoothstreaming.httpstreamer.*;

public class End extends ModuleBase {

	public void doSomething(IClient client, RequestFunction function, AMFDataList params) {
		getLogger().info("doSomething");
		sendResult(client, params, "Hello Wowza");
	}

	public void onAppStart(IApplicationInstance appInstance) {
		String fullname = appInstance.getApplication().getName() + "/" + appInstance.getName();
		getLogger().info("onAppStart: " + fullname);
		getLogger().info("HELLO WORLD ***************");
	}

	public void onAppStop(IApplicationInstance appInstance) {
		String fullname = appInstance.getApplication().getName() + "/" + appInstance.getName();
		getLogger().info("onAppStop: " + fullname);
	}

	public void onConnect(IClient client, RequestFunction function, AMFDataList params) {
		getLogger().info("onConnect: " + client.getClientId());
	}

	public void onConnectAccept(IClient client) {
		getLogger().info("onConnectAccept: " + client.getClientId());
	}

	public void onConnectReject(IClient client) {
		getLogger().info("onConnectReject: " + client.getClientId());
	}

	public void onDisconnect(IClient client) {
		getLogger().info("onDisconnect: ##########" + client.getClientId());
	}

}

```

My conf:

 ![Screen Shot 2021-01-04 at 17.33.17](https://us1.discourse-cdn.com/flex002/uploads/wowza1/original/1X/c2335d8335f1461b65c3d5e743c7a541b18fbb40.png)

And file **End.jar** in **[install-dir]/lib**

But when I’m restarting Wowza Engine and I’m use OBS for publish stream but cant pushblish. Nothing errror logs in **[install-dir]/logs/wowzastreamingengine\_error.log**.

Please help me, thanks!

---

<div class="post-metadata">

### Author: ![video\_streaming](https://avatars.discourse-cdn.com/v4/letter/v/22d042/32.png) [@video\_streaming](https://community.wowza.com/u/video_streaming)
#### Post date: [January 5, 2021, 6:32pm UTC](https://community.wowza.com/t/cant-create-custom-module/92631/3 "2021-01-05T18:32:11Z")

</div>

Can you share what version of Engine you’re using please? Was it a fresh install or an upgrade from previous version of Engine?
