# Trouble deploying my first module

**URL:** <https://talk.openmrs.org/t/trouble-deploying-my-first-module/41091>\
**Category:** Community\
**Tags:** module, developers-forum\
**Created:** [December 9, 2023, 9:08am UTC](https://talk.openmrs.org/t/trouble-deploying-my-first-module/41091 "2023-12-09T09:08:50Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![bukenya52](https://talk.openmrs.org/user_avatar/talk.openmrs.org/bukenya52/32/19033_2.png) [@bukenya52](https://talk.openmrs.org/u/bukenya52)\
**Post date:** [December 9, 2023, 9:08am UTC](https://talk.openmrs.org/t/trouble-deploying-my-first-module/41091/1 "2023-12-09T09:08:51Z")

</div>

Hello members, i am trying to deploy my first module using this

> [@Question about implementing "Create and Deploy Your First OpenMRS Module"](https://talk.openmrs.org/t/question-about-implementing-create-and-deploy-your-first-openmrs-module/40173/1):
>
> [Create and Deploy Your First OpenMRS Module - Documentation - OpenMRS Wiki](https://wiki.openmrs.org/display/docs/Create+and+Deploy+Your+First+OpenMRS+Module)

I am requesting for assistance on how to go about it

This is what i get when i click the upload button.

 ![Web capture_7-12-2023_111619_localhost](https://talk.openmrs.org/uploads/default/original/3X/7/0/70b8c97062cbb3e9b158aea10795e1fbb83ea012.jpeg)

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [December 9, 2023, 7:56pm UTC](https://talk.openmrs.org/t/trouble-deploying-my-first-module/41091/2 "2023-12-09T19:56:37Z")

</div>

Share the server side log via [pastebin.com](http://pastebin.com)

---

<div class="post-metadata">

**Author:** ![bukenya52](https://talk.openmrs.org/user_avatar/talk.openmrs.org/bukenya52/32/19033_2.png) [@bukenya52](https://talk.openmrs.org/u/bukenya52)\
**Post date:** [December 9, 2023, 8:46pm UTC](https://talk.openmrs.org/t/trouble-deploying-my-first-module/41091/3 "2023-12-09T20:46:11Z")

</div>

the log is here @dkayiwa[myfirstmodule stack trace - Pastebin.com](https://pastebin.com/EG9X8wy0)

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [December 9, 2023, 9:17pm UTC](https://talk.openmrs.org/t/trouble-deploying-my-first-module/41091/4 "2023-12-09T21:17:20Z")

</div>

What happens when you restart your computer and run again?

---

<div class="post-metadata">

**Author:** ![bukenya52](https://talk.openmrs.org/user_avatar/talk.openmrs.org/bukenya52/32/19033_2.png) [@bukenya52](https://talk.openmrs.org/u/bukenya52)\
**Post date:** [December 9, 2023, 9:30pm UTC](https://talk.openmrs.org/t/trouble-deploying-my-first-module/41091/5 "2023-12-09T21:30:00Z")

</div>

Let me try that and see

---

<div class="post-metadata">

**Author:** ![bukenya52](https://talk.openmrs.org/user_avatar/talk.openmrs.org/bukenya52/32/19033_2.png) [@bukenya52](https://talk.openmrs.org/u/bukenya52)\
**Post date:** [December 10, 2023, 5:56am UTC](https://talk.openmrs.org/t/trouble-deploying-my-first-module/41091/6 "2023-12-10T05:56:19Z")

</div>

@dkayiwa , upon rebooting and restarting the server, my first module is disolayed on the module list but when i try to start it i get an error as seen i the attachment below.

this is the server log:-- [myfirstmodule stack trace after rebooting - Pastebin.com](https://pastebin.com/B1d3w2WG)

 ![Web capture_9-12-2023_21535_localhost](https://talk.openmrs.org/uploads/default/original/3X/0/6/063883475fb1d05ca0400416678a5394235ffabc.jpeg)

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [December 10, 2023, 10:12am UTC](https://talk.openmrs.org/t/trouble-deploying-my-first-module/41091/7 "2023-12-10T10:12:09Z")

</div>

I also notice that in your pom.xml file you have used `tests` instead of `test` for dependency scope.

---

<div class="post-metadata">

**Author:** ![bukenya52](https://talk.openmrs.org/user_avatar/talk.openmrs.org/bukenya52/32/19033_2.png) [@bukenya52](https://talk.openmrs.org/u/bukenya52)\
**Post date:** [December 14, 2023, 3:38pm UTC](https://talk.openmrs.org/t/trouble-deploying-my-first-module/41091/8 "2023-12-14T15:38:03Z")

</div>

sorry for the late reply, I have made the changes suggested and i still have the same error. I would like to note that i had created the server without docker inclusive. I am going to try deleting the module and server then follow the instructions as I setup the server with docker inclusive then I will report the out comes. @dkayiwa I am asking if docker needs any prior configurations?

---

<div class="post-metadata">

**Author:** ![bukenya52](https://talk.openmrs.org/user_avatar/talk.openmrs.org/bukenya52/32/19033_2.png) [@bukenya52](https://talk.openmrs.org/u/bukenya52)\
**Post date:** [December 15, 2023, 7:42am UTC](https://talk.openmrs.org/t/trouble-deploying-my-first-module/41091/9 "2023-12-15T07:42:01Z")

</div>

Good morning @dkayiwa , I was able to resolve the problem after including docker with assistance from the topics below , previously posted and I was able to deploy my first module.

> [@FIX: SDK Update tcp protocol on docker host](https://talk.openmrs.org/t/fix-sdk-update-tcp-protocol-on-docker-host/38746):
>
> Hello, I found an issue with [SDK Guide](https://wiki.openmrs.org/display/docs/Set+Up+OpenMRS+Server+with+OpenMRS+SDK+and+Docker) Once you try for the first time to create a docker server (Option 2) it shows an error on Windows (WSL) ERROR: Unsupported protocol scheme found: '[http://127.0.0.1:2375/](http://127.0.0.1:2375/) You should edit manually C:\Users\“youruser”\openmrs\sdk.properties file and change dockerHost=http://127.0.0.1:2375/ to dockerHost=tcp://localhost:2375 Please consider putting this info in the guide for helping other newcomers as me. Thanks and peace!

and [OpenMRS SDK installation\_BUILD FAILURE\_Failed to setup server - #12 by anderson12](https://talk.openmrs.org/t/openmrs-sdk-installation-build-failure-failed-to-setup-server/40618/12).

Thank you.
