shev
(fred kamau)
June 1, 2017, 7:08pm
1
Hi everyone,
I have installed openMRS version 1.11.7 war package on tomcat.
So the problem that am currently facing is that I can’t get it up and running. I configured the setup correctly but after accesing openMRS through the browser as shown below. the page is blank.
After going through the log file i notice a certain error
WARN - SolrResourceLoader.addToClassLoader(161) |2017-06-01 21:26:54,112| Can’t find (or read) directory to add to classloader: …/…/…/dist/ (resolved as: C:\Windows\System32\config\systemprofile\Application Data\OpenMRS\chartsearch\collection1......\dist).
WARN - SolrResourceLoader.addToClassLoader(161) |2017-06-01 21:26:54,114| Can’t find (or read) directory to add to classloader: …/…/…/dist/ (resolved as: C:\Windows\System32\config\systemprofile\Application Data\OpenMRS\chartsearch\collection1......\dist).
WARN - SolrResourceLoader.addToClassLoader(161) |2017-06-01 21:26:54,114| Can’t find (or read) directory to add to classloader: …/…/…/dist/ (resolved as: C:\Windows\System32\config\systemprofile\Application Data\OpenMRS\chartsearch\collection1......\dist).
WARN - SolrResourceLoader.addToClassLoader(161) |2017-06-01 21:26:54,115| Can’t find (or read) directory to add to classloader: …/…/…/dist/ (resolved as: C:\Windows\System32\config\systemprofile\Application Data\OpenMRS\chartsearch\collection1......\dist).
WARN - SolrResourceLoader.addToClassLoader(161) |2017-06-01 21:26:54,115| Can’t find (or read) directory to add to classloader: /non/existent/dir/yields/warning (resolved as: C:\Windows\System32\config\systemprofile\Application Data\OpenMRS\chartsearch\collection1\non\existent\dir\yields\warning).
Could these be the cause? How do i solve these.
PLEASE HELP!!!
dkayiwa
(Daniel Kayiwa)
June 1, 2017, 7:20pm
2
Restart tomcat and then refresh the page in your browser.
shev
(fred kamau)
June 1, 2017, 7:52pm
3
Even after restarting tomcat and refreshing the browser I still get the same error.
dkayiwa
(Daniel Kayiwa)
June 1, 2017, 8:03pm
4
I suspect that it is a memory issue and in which case this could be useful: https://wiki.openmrs.org/display/docs/Troubleshooting+Memory+Errors
If it turns out not to be so, then paste the contents of your tomcat logs at pastebin.com
shev
(fred kamau)
June 1, 2017, 8:44pm
5
dkayiwa
(Daniel Kayiwa)
June 1, 2017, 9:00pm
6
Did you get this from the tomcat logs folder? If yes, what file name was this?
shev
(fred kamau)
June 1, 2017, 9:02pm
7
yes i got it from the tomcat logs folder with the name ‘tomcat7-stdout.2017-06-01 ’
shev
(fred kamau)
June 1, 2017, 9:08pm
8
What surprises me is that the standalone version is working perfectly. So i possibly fail to understand why the war fails to work
dkayiwa
(Daniel Kayiwa)
June 1, 2017, 9:39pm
9
Did you paste all that was in the log file?
shev
(fred kamau)
June 1, 2017, 9:44pm
10
Yes that was everything in the file
dkayiwa
(Daniel Kayiwa)
June 1, 2017, 9:53pm
11
Do you have any other log file in the logs folder?
shev
(fred kamau)
June 1, 2017, 9:58pm
12
These are all the log files I have in that folder
shev
(fred kamau)
June 1, 2017, 10:29pm
14
dkayiwa
(Daniel Kayiwa)
June 1, 2017, 10:38pm
15
Do you have a reason for not using the latest released version of the OpenMRS platform?
shev
(fred kamau)
June 1, 2017, 10:42pm
16
I understand that openHmis module with the cashier and inventory do not run on Java 1.8 .
These modules are the reason I am not using the current releases.
shev
(fred kamau)
June 2, 2017, 6:24am
17
Daniel do you have any more advice on this issue?
dkayiwa
(Daniel Kayiwa)
June 2, 2017, 6:57am
18
Can i have a look at the contents of all the log files?
shev
(fred kamau)
June 3, 2017, 9:22am
19
dkayiwa
(Daniel Kayiwa)
June 3, 2017, 6:05pm
21
Stop tomcat and delete all files and folders in C:\Program Files\Apache Software Foundation\Tomcat 7.0
Then start tomcat and try again.