As Burke suggested if you remove a war while Tomcat is not running,
the app will not be properly undeployed and you'll need to clear
"work" and "temp" directories as well.

Stop Tomcat, remove "work" and "temp" directories, start Tomcat, copy
the war to "webapps". Make sure that your Tomcat is running before
copying the war.

-Rafal

On 3 October 2011 09:35, Nyoman Ribeka <[email protected]> wrote:
> If the war file is not expanded, then that means the permissions for
> the war file probably not correct or the file is corrupted. Check the
> md5 like Ben suggested in previous email and make sure the file is
> owned by tomcat6.tomcat6 and the permissions for the file is 644 in
> ubuntu.
>
> $ md5sum openmrs.war
> $ sudo chown tomcat6.tomcat6 openmrs.war
> $ sudo chmod 644 openmrs.war
>
>
> On Mon, Oct 3, 2011 at 10:15 AM, Maurice Barasa <[email protected]> wrote:
>> I have run md5sum on it and I get the same hash as the one on the OpenMRS
>> sourceforge download page (7576595aed64f5409bef17033ac29e6e). I have tried
>> "locate *.log" and cant locate any other place that tomcat6 could be logging
>> to.
>> Thanks again.
>>
>> On Mon, Oct 3, 2011 at 7:50 AM, Ben Wolfe <[email protected]> wrote:
>>>
>>> Make sure your war file isn't corrupt. Run an md5sum on it ok your server
>>> and on the known working one. I think sourceforge discuss have md5s with the
>>> links too.
>>>
>>> Also make sure you're looking got los in the right place. Ubuntu puts them
>>> in a few different weird places.
>>>
>>> Ben
>>>
>>> On Oct 2, 2011 11:48 PM, "Maurice Barasa" <[email protected]> wrote:
>>> > The user has write access to log files, OpenMRS was running before but
>>> > then
>>> > I undeployed because I was getting errors when starting OpenMRS in that
>>> > the
>>> > logic module couldn't start.
>>> >
>>> > I removed openmrs.war + the openmrs folder in the webapps but openmrs
>>> > didnt
>>> > start and the .war file wasnt expanded either.
>>> >
>>> > Regards,
>>> >
>>> >
>>> > On Sun, Oct 2, 2011 at 9:21 PM, Burke Mamlin
>>> > <[email protected]>wrote:
>>> >
>>> >> OpenMRS should be writing to the logs during startup including, I
>>> >> believe,
>>> >> if the database connection fails. Can you verify that the process
>>> >> running
>>> >> the war (i.e., tomcat user) has write-access to the log files? You may
>>> >> not
>>> >> be seeing any log entries because the war cannot reach the logs.
>>> >>
>>> >> -Burke
>>> >>
>>> >>
>>> >> On Sun, Oct 2, 2011 at 11:34 AM, Maurice Barasa <[email protected]>
>>> >> wrote:
>>> >>
>>> >>> Hi All,
>>> >>>
>>> >>> What would cause Openmrs.war file fail to start after deploying.
>>> >>> problem
>>> >>> is that tomcat logs are not showing anything. cleared the logs to a
>>> >>> folder
>>> >>> to have a fresh set of log files to be able to easily detect the
>>> >>> problem but
>>> >>> the logs are not being updated with any error still nothing shows up
>>> >>> in the
>>> >>> new log files.
>>> >>>
>>> >>> Regards,
>>> >>>
>>> >>> *Maurice Barasa*
>>> >>>
>>> >> ------------------------------
>>> >> Click here to
>>> >> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-implement-l>from
>>> >> OpenMRS Implementers' mailing list
>>> >
>>> >
>>> >
>>> >
>>> > --
>>> > *Maurice Barasa*
>>> > __________________________
>>> > Skype:mouriceb
>>> > Yahoo messenger:baramori
>>> > Cell: +254722853117
>>> >
>>> > _________________________________________
>>> >
>>> > To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail
>>> > to [email protected] with "SIGNOFF openmrs-implement-l" in the
>>> > body (not the subject) of your e-mail.
>>> >
>>> > [mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l]
>>> ________________________________
>>> Click here to unsubscribe from OpenMRS Implementers' mailing list
>>
>>
>> --
>> Maurice Barasa
>> __________________________
>> Skype:mouriceb
>> Yahoo messenger:baramori
>> Cell: +254722853117
>>
>> ________________________________
>> Click here to unsubscribe from OpenMRS Implementers' mailing list
>
>
>
> --
> Thanks,
>
> Nyoman Ribeka
>
> _________________________________________
>
> To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to 
> [email protected] with "SIGNOFF openmrs-implement-l" in the  body 
> (not the subject) of your e-mail.
>
> [mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l]
>

_________________________________________

To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-implement-l" in the  body 
(not the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l]

Reply via email to