# Uploading & starting all modules in Reference Application 2.3

**URL:** <https://talk.openmrs.org/t/uploading-starting-all-modules-in-reference-application-2-3/3766>\
**Category:** Implementing\
**Created:** [November 19, 2015, 10:48pm UTC](https://talk.openmrs.org/t/uploading-starting-all-modules-in-reference-application-2-3/3766 "2015-11-19T22:48:23Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![hossam](https://talk.openmrs.org/letter_avatar/hossam/32/5_5575768a8748004e209b776fc1b2916d.png) [@hossam](https://talk.openmrs.org/u/hossam)\
**Post date:** [November 19, 2015, 10:48pm UTC](https://talk.openmrs.org/t/uploading-starting-all-modules-in-reference-application-2-3/3766/1 "2015-11-19T22:48:23Z")

</div>

after finally deploying OpenMRS war file to Tomcat, It was only uploaded with Web REST module. So I stopped Tomcat and I copied the modules of reference application 2.3 into the directory: ApplicationData/OpenMRS/modules. When I restarted Tomcat, It took forever to start and couldn’t load the OpenMRS page. I tried uploading the modules one by one. It worked with some modules but Tomcat got stuck again with some other modules. How can I smoothly upload and start the modules in OpenMRS enterprise? and how long should I leave tomcat before I start suspecting something’s wrong?

Now I’m starting to realize why you used parentheses there @arbaughj 🙂 “I hope you can get over this (last) hurdle.”

---

<div class="post-metadata">

**Author:** ![arbaughj](https://talk.openmrs.org/letter_avatar/arbaughj/32/5_5575768a8748004e209b776fc1b2916d.png) [@arbaughj](https://talk.openmrs.org/u/arbaughj)\
**Post date:** [November 19, 2015, 11:21pm UTC](https://talk.openmrs.org/t/uploading-starting-all-modules-in-reference-application-2-3/3766/2 "2015-11-19T23:21:15Z")

</div>

Hi @hossam. I’m sorry to hear you are still having problems.

What error did you get when Tomcat quit working? There is a long file that has detailed error messages. On Linux it’s catalina.out, I don’t know what it is on Windows. Anyway, that might give you a clue on what the problem is. It would also let you know if it’s busy working on something or if it’s hung. It should load within 15 minutes if all goes well. My system normally takes 2-5 minutes for Tomcat to start OpenMRS. When adding the modules for the first time, it takes longer.

I would guess that you might not have enough memory allocated to your Tomcat. Did you increase the memory from default? If not, here are some pages with instructions of how to set that… [https://wiki.openmrs.org/display/docs/Troubleshooting+Memory+Errors](https://wiki.openmrs.org/display/docs/Troubleshooting+Memory+Errors)[https://wiki.openmrs.org/display/docs/Performance+Tuning](https://wiki.openmrs.org/display/docs/Performance+Tuning)

I think you can set this through the tray icon in Windows, but I haven’t done it in so long, I forget.

Hopefully this helps.

---

<div class="post-metadata">

**Author:** ![hossam](https://talk.openmrs.org/letter_avatar/hossam/32/5_5575768a8748004e209b776fc1b2916d.png) [@hossam](https://talk.openmrs.org/u/hossam)\
**Post date:** [November 21, 2015, 8:45am UTC](https://talk.openmrs.org/t/uploading-starting-all-modules-in-reference-application-2-3/3766/3 "2015-11-21T08:45:25Z")

</div>

In windows I found the log file in the directory /tomcat6/logs. It’s called catalina(date).log. but it’s not in realtime though like it is in standalone.

Tomcat used to take hours to start OpenMRS and fails. I added those parameters to Tomcat: ![](https://talk.openmrs.org/uploads/default/original/2X/5/5c7e7993742dd2a45ac96ad0c26c787f1807bd0a.jpg)and now all is good. Again…Thank you!!

---

<div class="post-metadata">

**Author:** ![arbaughj](https://talk.openmrs.org/letter_avatar/arbaughj/32/5_5575768a8748004e209b776fc1b2916d.png) [@arbaughj](https://talk.openmrs.org/u/arbaughj)\
**Post date:** [November 21, 2015, 1:51pm UTC](https://talk.openmrs.org/t/uploading-starting-all-modules-in-reference-application-2-3/3766/4 "2015-11-21T13:51:01Z")

</div>

@hossam, I’m glad you’re up-and-running! It was a pleasure to be able to help you.

That’s a nice screenshot on setting the memory. Maybe you would consider updating the documentation and adding that and some instructions to one of the wiki pages mentioned above.

---

<div class="post-metadata">

**Author:** ![hossam](https://talk.openmrs.org/letter_avatar/hossam/32/5_5575768a8748004e209b776fc1b2916d.png) [@hossam](https://talk.openmrs.org/u/hossam)\
**Post date:** [November 22, 2015, 4:47am UTC](https://talk.openmrs.org/t/uploading-starting-all-modules-in-reference-application-2-3/3766/5 "2015-11-22T04:47:01Z")

</div>

Ok it’s done.

---

<div class="post-metadata">

**Author:** ![arbaughj](https://talk.openmrs.org/letter_avatar/arbaughj/32/5_5575768a8748004e209b776fc1b2916d.png) [@arbaughj](https://talk.openmrs.org/u/arbaughj)\
**Post date:** [November 23, 2015, 12:26am UTC](https://talk.openmrs.org/t/uploading-starting-all-modules-in-reference-application-2-3/3766/6 "2015-11-23T00:26:35Z")

</div>

Thanks for contributing back to the OpenMRS community!

---

<div class="post-metadata">

**Author:** ![hossam](https://talk.openmrs.org/letter_avatar/hossam/32/5_5575768a8748004e209b776fc1b2916d.png) [@hossam](https://talk.openmrs.org/u/hossam)\
**Post date:** [November 23, 2015, 2:26pm UTC](https://talk.openmrs.org/t/uploading-starting-all-modules-in-reference-application-2-3/3766/7 "2015-11-23T14:26:28Z")

</div>

it’s the least I can do!

---

<div class="post-metadata">

**Author:** ![michael](https://talk.openmrs.org/user_avatar/talk.openmrs.org/michael/32/15070_2.png) [@michael](https://talk.openmrs.org/u/michael)\
**Post date:** [November 23, 2015, 2:55pm UTC](https://talk.openmrs.org/t/uploading-starting-all-modules-in-reference-application-2-3/3766/8 "2015-11-23T14:55:49Z")

</div>


