My syslog seems not to be working well, I restarted rsyslogd and now I'm
getting the following error from (tail -f /var/log/syslog |grep jsvc) . My
work folder is in tomcat6 directory is owned by root.root

Oct 3 18:47:56 omrs jsvc.exec[4359]: Oct 3, 2011 6:47:56 PM
org.apache.catalina.core.StandardService stop#012INFO: Stopping service
Catalina#012Oct 3, 2011 6:47:56 PM
org.apache.catalina.session.StandardManager doUnload#012SEVERE: IOException
while saving persisted sessions: java.io.FileNotFoundException:
/var/lib/tomcat6/work/Catalina/localhost/_/SESSIONS.ser (No such file or
directory)#012java.io.FileNotFoundException:
/var/lib/tomcat6/work/Catalina/localhost/_/SESSIONS.ser (No such file or
directory)#012#011at java.io.FileOutputStream.open(Native Method)#012#011at
java.io.FileOutputStream.<init>(FileOutputStream.java:179)#012#011at
java.io.FileOutputStream.<init>(FileOutputStream.java:70)#012#011at
org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:489)#012#011at
org.apache.catalina.session.StandardManager.unload(StandardManager.java:463)#012#011at
org.apache.catalina.session.StandardManager.stop(StandardManager.java:667)#012#011at
org.apache.catalina.core.StandardContext.stop(StandardContext.java:4573)#012#011at
org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.
Oct 3 18:47:56 omrs jsvc.exec[4359]: java:924)#012#011at
org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1300)#012#011at
org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1271)#012#011at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:323)#012#011at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)#012#011at
org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1086)#012#011at
org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098)#012#011at
org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448)#012#011at
org.apache.catalina.core.StandardService.stop(StandardService.java:584)#012#011at
org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)#012#011at
org.apache.catalina.startup.Catalina.stop(Catalina.java:633)#012#011at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)#012#011at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)#012#011at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)#012#011at
java.lang.reflect.M


On Mon, Oct 3, 2011 at 12:02 PM, Rafal Korytkowski <[email protected]>wrote:

> Yes, Tomcat should be running before you copy the war file.
>
> All folders are in Tomcat installation directory (at least in zipped
> distributions).
>
> You could also try entering Tomcat manager and deploying war via web
> typically through http://localhost:8080/manager/html. If it doesn't
> help, just reinstall your Tomcat.
>
> -Rafal
>
> On 3 October 2011 10:38, Maurice Barasa <[email protected]> wrote:
> > Thanks a lot for your advice,
> > I have checked the md5 for the openmrs.war file and its the same as
> what's
> > on the sourceforge download page.
> > chaning ownership to tomcat6.tomcat6
> > Tried another webapp but its not expanding too.
> > Where is the "temp" folder?
> > The "work" folder only has on the server only has catalina.policy file.
> When
> > removing the previous openmrs.war I had stopped tomcat6.
> > My problem is that the log files are created but no logs are added into
> it,
> > because this would have helped me identify the errors.
> > Just confirming, should tomcat6 be running before I copy the .war file?
> > Regards
> > Maurice
> > On Mon, Oct 3, 2011 at 10:35 AM, 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]
> >
> >
> > ________________________________
> > Click here to unsubscribe from OpenMRS Implementers' mailing list
>
> _________________________________________
>
> 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]
>



-- 
*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]

Reply via email to