# Error while deploying my first module with openmrs

**URL:** <https://talk.openmrs.org/t/error-while-deploying-my-first-module-with-openmrs/24526>\
**Category:** Development\
**Created:** [August 29, 2019, 4:23am UTC](https://talk.openmrs.org/t/error-while-deploying-my-first-module-with-openmrs/24526 "2019-08-29T04:23:33Z")\
**Posts on this page:** 11\
**Page:** 2

<div class="post-metadata">

**Author:** ![jwnasambu](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jwnasambu/32/13543_2.png) [@jwnasambu](https://talk.openmrs.org/u/jwnasambu)\
**Post date:** [August 31, 2019, 8:27pm UTC](https://talk.openmrs.org/t/error-while-deploying-my-first-module-with-openmrs/24526/21 "2019-08-31T20:27:05Z")

</div>

Could this link [https://wiki.openmrs.org/display/docs/Tickets](https://wiki.openmrs.org/display/docs/Tickets) be of help?

---

<div class="post-metadata">

**Author:** ![kdaud](https://talk.openmrs.org/user_avatar/talk.openmrs.org/kdaud/32/13346_2.png) [@kdaud](https://talk.openmrs.org/u/kdaud)\
**Post date:** [September 8, 2019, 11:41am UTC](https://talk.openmrs.org/t/error-while-deploying-my-first-module-with-openmrs/24526/22 "2019-09-08T11:41:18Z")

</div>

@jwnasambu, @rushikesh, @mozzy, @sharif have not yet succeeded in deploying my first Openmrs module. Have tried to follow the advise given but am failing to succeed. I need help I failed to know why error is persisting

---

<div class="post-metadata">

**Author:** ![jwnasambu](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jwnasambu/32/13543_2.png) [@jwnasambu](https://talk.openmrs.org/u/jwnasambu)\
**Post date:** [September 8, 2019, 11:42am UTC](https://talk.openmrs.org/t/error-while-deploying-my-first-module-with-openmrs/24526/23 "2019-09-08T11:42:58Z")

</div>

Kindly which error?

---

<div class="post-metadata">

**Author:** ![kdaud](https://talk.openmrs.org/user_avatar/talk.openmrs.org/kdaud/32/13346_2.png) [@kdaud](https://talk.openmrs.org/u/kdaud)\
**Post date:** [September 8, 2019, 11:48am UTC](https://talk.openmrs.org/t/error-while-deploying-my-first-module-with-openmrs/24526/24 "2019-09-08T11:48:13Z")

</div>

After building the module, deploying it at [http://localhost:8080/openmrs/admin/](http://localhost:8080/openmrs/admin/) throws [this](https://pastebin.com/qpxJQJv4) error. The error is being pointed to Openmrs runtime properties file

---

<div class="post-metadata">

**Author:** ![jwnasambu](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jwnasambu/32/13543_2.png) [@jwnasambu](https://talk.openmrs.org/u/jwnasambu)\
**Post date:** [September 8, 2019, 11:51am UTC](https://talk.openmrs.org/t/error-while-deploying-my-first-module-with-openmrs/24526/25 "2019-09-08T11:51:12Z")

</div>

Try the username and password in the `openmrs-runtime.properties`

---

<div class="post-metadata">

**Author:** ![kdaud](https://talk.openmrs.org/user_avatar/talk.openmrs.org/kdaud/32/13346_2.png) [@kdaud](https://talk.openmrs.org/u/kdaud)\
**Post date:** [September 8, 2019, 11:55am UTC](https://talk.openmrs.org/t/error-while-deploying-my-first-module-with-openmrs/24526/26 "2019-09-08T11:55:42Z")

</div>

Are you meaning changing database username and password to substitute it with those which are in `openmrs runtime.properties` Or Viseversa

---

<div class="post-metadata">

**Author:** ![jwnasambu](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jwnasambu/32/13543_2.png) [@jwnasambu](https://talk.openmrs.org/u/jwnasambu)\
**Post date:** [September 8, 2019, 12:02pm UTC](https://talk.openmrs.org/t/error-while-deploying-my-first-module-with-openmrs/24526/27 "2019-09-08T12:02:57Z")

</div>

What is in the `openmrs-runtime.properties` is your database username and password

---

<div class="post-metadata">

**Author:** ![kdaud](https://talk.openmrs.org/user_avatar/talk.openmrs.org/kdaud/32/13346_2.png) [@kdaud](https://talk.openmrs.org/u/kdaud)\
**Post date:** [September 8, 2019, 12:06pm UTC](https://talk.openmrs.org/t/error-while-deploying-my-first-module-with-openmrs/24526/28 "2019-09-08T12:06:30Z")

</div>

Currently they are the same

---

<div class="post-metadata">

**Author:** ![birdy.tom](https://talk.openmrs.org/letter_avatar/birdy.tom/32/6_449c533f586939b6e5f246632a46421f.png) [@birdy.tom](https://talk.openmrs.org/u/birdy.tom)\
**Post date:** [January 14, 2025, 8:33am UTC](https://talk.openmrs.org/t/error-while-deploying-my-first-module-with-openmrs/24526/29 "2025-01-14T08:33:13Z")

</div>

Sorry, I don’t know if you can still reply now, but I don’t know what the old data you mentioned is because the content of the openmrs-runtime.properties file has many places that I don’t understand what it is? Below is the content of the openmrs-runtime.properties file from the previous failed installation, I’m reinstalling and I don’t know what the parameters “encryption.vector”, “encryption.key” are and if it is necessary to change, if it is necessary to change, how to change?

#Auto generated by OpenMRS initialization wizard #Tue Jan 14 09:21:23 ICT 2025 encryption.vector=JVu6fyb+0Ml84CG0eLdF+w== connection.url=jdbc:mysql://localhost:3306/openmrs?autoReconnect=true&sessionVariables=default\_storage\_engine=InnoDB&useUnicode=true characterEncoding=UTF-8 module.allow\_web\_admin=true connection.username=openmrs\_user auto\_update\_database=false encryption.key=nsXK61gGcl0B/nF5lunbCg== connection.password=openmrs\_user

---

<div class="post-metadata">

**Author:** ![jwnasambu](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jwnasambu/32/13543_2.png) [@jwnasambu](https://talk.openmrs.org/u/jwnasambu)\
**Post date:** [January 14, 2025, 11:17am UTC](https://talk.openmrs.org/t/error-while-deploying-my-first-module-with-openmrs/24526/30 "2025-01-14T11:17:17Z")

</div>

I m so sorry for the late response. Kindly do you mind sharing the challenge you are facing please(if possible share the error logs in your terminal)?

---

<div class="post-metadata">

**Author:** ![jwnasambu](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jwnasambu/32/13543_2.png) [@jwnasambu](https://talk.openmrs.org/u/jwnasambu)\
**Post date:** [January 21, 2025, 5:47pm UTC](https://talk.openmrs.org/t/error-while-deploying-my-first-module-with-openmrs/24526/31 "2025-01-21T17:47:35Z")

</div>

@birdy.tom kindly was your issue fixed?

[Previous page](https://talk.openmrs.org/t/error-while-deploying-my-first-module-with-openmrs/24526.md?page=1)
