Cant find the Access Logging module on the OpenMRS Jira

1 view
Skip to first unread message

Suranga Kasthurirathne

unread,
May 19, 2012, 1:11:16 PM5/19/12
to d...@openmrs.org

Hi Devs,

(A not-so-important-but-better-be-reported problem)

I was trying out the access Logging module ( https://wiki.openmrs.org/display/docs/Access+Logging+Module )
Unfortunately, it seems that the module has not been updated to OMRS 1.8.X.

I tried installing it, but ended up with the same error as mentioned by Dimithri here - https://answers.openmrs.org/questions/535/error-in-using-the-module-because-detected-attempt-to-redefine-the-prefix-form 

I'd wanted to create a ticket for this (and hopefully, also fix it), but I cant seem to find the Access Logging module on the OMRS jira project list.

Is there a particular reason this is missing from JIRA, or am I looking in the wrong place ?


--
Thanks and Best Regards,

Suranga

Ben Wolfe

unread,
May 19, 2012, 1:37:15 PM5/19/12
to d...@openmrs.org
If a module doesn't have a jira project of its own you should file it in the OTHER project: https://tickets.openmrs.org/browse/OTHER

The https://wiki.openmrs.org/display/docs/Reporting+Bugs wiki page also points at the simple bug reporting page on the main openmrs site for other kinds of generic errors.  It will be triaged and moved to the appropriate place. http://openmrs.org/help/report-a-bug/

Ben


Click here to unsubscribe from OpenMRS Developers' mailing list

Suranga Kasthurirathne

unread,
May 20, 2012, 12:30:41 AM5/20/12
to d...@openmrs.org


Thanks Ben, I've gone ahead and created the ticket ( https://tickets.openmrs.org/browse/OTHER-22)


Best Regards,
Suranga

--
Best Regards,

Suranga

Rowan Seymour

unread,
May 20, 2012, 6:59:19 AM5/20/12
to d...@openmrs.org
Mark can confirm but I think all access logging module functionality ended up in the usage statistics module
Rowan Seymour
tel: +250 783835665
http://twitter.com/rowanseymour

Suranga Kasthurirathne

unread,
May 20, 2012, 10:14:36 AM5/20/12
to d...@openmrs.org

Hi Rowan,

The wiki page confirms that this is indeed the case. Thanks for pointing this out, it makes my job much easier ! :-)

Best Regards,
Suranga

Mark Goodrich

unread,
May 20, 2012, 8:43:27 PM5/20/12
to d...@openmrs.org, openmrs...@listserv.iupui.edu

Yes, we should probably move the Access Module into the "abandoned modules" section. The access module functionality was never directly moved into the usage statistics module, but, to the best of my knowledge, they do similar things, and the Usage Statistics in is the one that we are currently supporting.

If there are no objections, I'll move Access Module wiki page into the abandoned modules section tomorrow...

Mark

________________________________________
From: d...@openmrs.org [d...@openmrs.org] On Behalf Of Suranga Kasthurirathne [suran...@GMAIL.COM]
Sent: Sunday, May 20, 2012 10:14 AM
To: openmrs...@LISTSERV.IUPUI.EDU
Subject: Re: [OPENMRS-DEV] Cant find the Access Logging module on the OpenMRS Jira

Hi Rowan,

The wiki page confirms that this is indeed the case. Thanks for pointing this out, it makes my job much easier ! :-)

Best Regards,
Suranga



On Sun, May 20, 2012 at 4:29 PM, Rowan Seymour <rowans...@gmail.com<mailto:rowans...@gmail.com>> wrote:
Mark can confirm but I think all access logging module functionality ended up in the usage statistics module


On 20 May 2012 06:30, Suranga Kasthurirathne <suran...@gmail.com<mailto:suran...@gmail.com>> wrote:


Thanks Ben, I've gone ahead and created the ticket ( https://tickets.openmrs.org/browse/OTHER-22)


Best Regards,
Suranga



On Sat, May 19, 2012 at 11:07 PM, Ben Wolfe <b...@openmrs.org<mailto:b...@openmrs.org>> wrote:
If a module doesn't have a jira project of its own you should file it in the OTHER project: https://tickets.openmrs.org/browse/OTHER

The https://wiki.openmrs.org/display/docs/Reporting+Bugs wiki page also points at the simple bug reporting page on the main openmrs site for other kinds of generic errors. It will be triaged and moved to the appropriate place. http://openmrs.org/help/report-a-bug/

Ben

On Sat, May 19, 2012 at 7:11 PM, Suranga Kasthurirathne <suran...@gmail.com<mailto:suran...@gmail.com>> wrote:

Hi Devs,

(A not-so-important-but-better-be-reported problem)

I was trying out the access Logging module ( https://wiki.openmrs.org/display/docs/Access+Logging+Module )
Unfortunately, it seems that the module has not been updated to OMRS 1.8.X.

I tried installing it, but ended up with the same error as mentioned by Dimithri here - https://answers.openmrs.org/questions/535/error-in-using-the-module-because-detected-attempt-to-redefine-the-prefix-form

I'd wanted to create a ticket for this (and hopefully, also fix it), but I cant seem to find the Access Logging module on the OMRS jira project list.

Is there a particular reason this is missing from JIRA, or am I looking in the wrong place ?


--
Thanks and Best Regards,

Suranga

________________________________
Click here to unsubscribe<mailto:LIST...@LISTSERV.IUPUI.EDU?body=SIGNOFF%20openmrs-devel-l> from OpenMRS Developers' mailing list

________________________________
Click here to unsubscribe<mailto:LIST...@LISTSERV.IUPUI.EDU?body=SIGNOFF%20openmrs-devel-l> from OpenMRS Developers' mailing list



--
Best Regards,

Suranga

________________________________
Click here to unsubscribe<mailto:LIST...@LISTSERV.IUPUI.EDU?body=SIGNOFF%20openmrs-devel-l> from OpenMRS Developers' mailing list



--
Rowan Seymour
tel: +250 783835665<tel:%2B250%20783835665>
http://twitter.com/rowanseymour


________________________________
Click here to unsubscribe<mailto:LIST...@LISTSERV.IUPUI.EDU?body=SIGNOFF%20openmrs-devel-l> from OpenMRS Developers' mailing list



--
Best Regards,

Suranga

________________________________
Click here to unsubscribe<mailto:LIST...@LISTSERV.IUPUI.EDU?body=SIGNOFF%20openmrs-devel-l> from OpenMRS Developers' mailing list

Suranga Kasthurirathne

unread,
May 21, 2012, 6:53:51 AM5/21/12
to d...@openmrs.org

Hi Mark,

Umm... I'm afraid that its not going to be that easy. I tried installing the omod file, but it threw me a  huge ---


WARN - WebModuleUtil.startModule(333) |2012-05-21 16:19:00,573| Unable to refresh the WebApplicationContext for module: usagestatistics
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'usageStatsUrlMapping' defined in URL [jar:file:/C:/Users/HP/Ap
pData/Local/Temp/1337597182146.openmrs-lib-cache/usagestatistics/usagestatistics.jar!/moduleApplicationContext.xml]: Initialization of bean failed; ne
sted exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'statsPatientDashboardProxy' defined in URL [
jar:file:/C:/Users/HP/AppData/Local/Temp/1337597182146.openmrs-lib-cache/usagestatistics/usagestatistics.jar!/moduleApplicationContext.xml]: Cannot re
solve reference to bean 'patientDashboardForm' while setting bean property 'target'; nested exception is org.springframework.beans.factory.NoSuchBeanD
efinitionException: No bean named 'patientDashboardForm' is defined
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
        at org.openmrs.module.ModuleUtil.refreshApplicationContext(ModuleUtil.java:775)
        at org.openmrs.module.web.WebModuleUtil.refreshWAC(WebModuleUtil.java:793)
        at org.openmrs.module.web.WebModuleUtil.startModule(WebModuleUtil.java:317)
        at org.openmrs.module.web.controller.ModuleListController.onSubmit(ModuleListController.java:169)
        at org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:272)
        at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:268)
        at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
        at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
        at org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:65)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:76)
        at org.openmrs.module.xforms.web.XformsFilter.doFilter(XformsFilter.java:60)
        at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:74)
        at org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:58)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:112)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:83)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:83)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:83)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
        at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
        at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:324)
        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
        at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
        at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'statsPatientDashboardProxy' defined in URL [jar:fil
e:/C:/Users/HP/AppData/Local/Temp/1337597182146.openmrs-lib-cache/usagestatistics/usagestatistics.jar!/moduleApplicationContext.xml]: Cannot resolve r
eference to bean 'patientDashboardForm' while setting bean property 'target'; nested exception is org.springframework.beans.factory.NoSuchBeanDefiniti
onException: No bean named 'patientDashboardForm' is defined
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:13
25)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1075)
        at org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler(AbstractUrlHandlerMapping.java:383)
        at org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandlers(SimpleUrlHandlerMapping.java:129)
        at org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.initApplicationContext(SimpleUrlHandlerMapping.java:104)
        at org.springframework.context.support.ApplicationObjectSupport.initApplicationContext(ApplicationObjectSupport.java:119)
        at org.springframework.web.context.support.WebApplicationObjectSupport.initApplicationContext(WebApplicationObjectSupport.java:72)
        at org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(ApplicationObjectSupport.java:73)
        at org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterfaces(ApplicationContextAwareProcessor.java:106)
        at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:
85)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCa
pableBeanFactory.java:394)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1413)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
        ... 62 more
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'patientDashboardForm' is defined
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:527)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1083)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:274)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
        ... 83 more




_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to LIST...@LISTSERV.IUPUI.EDU with "SIGNOFF openmrs-devel-l" in the  body (not the subject) of your e-mail.

[mailto:LIST...@LISTSERV.IUPUI.EDU?body=SIGNOFF%20openmrs-devel-l]



--
Best Regards,

Suranga

Mark Goodrich

unread,
May 21, 2012, 9:43:32 AM5/21/12
to d...@openmrs.org

Does anyone know if the Usage Statistics module has been upgraded/tested to work on 1.9?

 

@Suranga—what version of OpenMRS are you running?  We are using the Usage Stastistics module here at PIH, and although we are currently only using it on 1.6 and earlier, we will upgrading to 1.9 shortly, so we will most likely be upgrading the module (if need be) to work with 1.9.

 

Mark

Click here to unsubscribe from OpenMRS Developers' mailing list

Rowan Seymour

unread,
May 21, 2012, 10:16:22 AM5/21/12
to d...@openmrs.org
Don't think 1.9 existed last time I did any serious work on that module

Suranga Kasthurirathne

unread,
May 21, 2012, 10:46:49 AM5/21/12
to d...@openmrs.org

Hi,

I tried installing it on 1.8.3. Will try digging into this myself  (hopefully, if I can find some spare time today)




-- OpenMRS Developers: http://go.openmrs.org/dev
Post: d...@openmrs.org
Unsubscribe: dev+uns...@openmrs.org

Click here to unsubscribe from OpenMRS Developers' mailing list



--
Best Regards,

Suranga

Mark Goodrich

unread,
May 29, 2012, 4:14:09 PM5/29/12
to d...@openmrs.org

Rowen—

 

I’m going to start taking at testing Usage Statistics/getting it to work on 1.9.

 

Right now I see that the usage statistic module has a dependency on the JMX module 1.0-SNAPSHOT.   Looks the most recent version of the JMX module is 1.0.1.  Can I update the Usage Statistics to rely on jmx-1.0.1 and get jmx-1.0.1 into the Openmrs maven repo you we can build Usages Stastistics without having to custom-install jmx-1.0-SNAPSHOT to a local maven repo?

 

Thanks,

Mark

-- OpenMRS Developers: http://go.openmrs.org/dev
Post: d...@openmrs.org
Unsubscribe: dev+uns...@openmrs.org


Mark Goodrich

unread,
May 29, 2012, 5:11:32 PM5/29/12
to d...@openmrs.org

Fwiw, I installed Usage Statistics on a 1.10-SNAPSHOT version of Openmrs and I did not get the error listed below.  Usage Statistics installed fine, though I got an error as soon as I tried to go to the Usage Statistics admin page.  I am looking into fixing this…

Rowan Seymour

unread,
May 30, 2012, 3:28:18 AM5/30/12
to d...@openmrs.org
Hey Mark

I wonder if we shouldn't just ditch the JMX module dependency. That project was more of an experiment and I'm not sure its going to be used and maintained. The idea was to get usagestatistics data into a system monitoring tool which could report it back to a central server. However now it seems more likely that we'd include some usagestatistics indicators in an HMIS report and use that to get it back to a central server like a DHIS instance.

I'm still not sure that error is based on code in the latest version... I could be remembering wrong but I thought I was originally overriding the patientDashboardForm controller to catch views of patient records, but then changed it to be just an extension on the patient dashboard.

The last serious changes I made were to add an email report but that was never properly tested as the PIH Rwanda servers don't currently have email access because they're on a VPN.

Rowan

Mark Goodrich

unread,
May 30, 2012, 9:48:06 AM5/30/12
to d...@openmrs.org

Rowan—

 

I’m fine with removing the JMX dependency… I can go ahead and look into it if you want…

 

It seems likely that the error is not in the latest version, since I’m not seeing it. 

 

I will be working on this later today and will keep you posted on what I find.

 

Mark

Rowan Seymour

unread,
May 30, 2012, 9:47:05 AM5/30/12
to d...@openmrs.org
I'm completely fine with that

I'im on work retreat now but will have more next week to help with any problems that come up
Reply all
Reply to author
Forward
0 new messages