You can tell directly by looking at the scheduled task table.  You can set
it to start_at_startup=1 and then restart openmrs (or tomcat).

Didn't you have this problem before with the scheduled tasks page?  How was
it fixed then?  What is your locale? And what version of tomcat are you
using? (and openmrs version)

Ben

On Thu, Mar 1, 2012 at 2:37 PM, Andrew Kanter <[email protected]> wrote:

> Thanks. Username and password ok. Can't tell about process task due to
> this error when I click on managed scheduler:
>
>
> <font color="red">
> <h2>An error has occurred!</h2>
> The following error happened somewhere on this page:<br/>
> java.lang.ClassCastException: 
> org.springframework.web.servlet.support.JstlUtils$SpringLocalizationContext 
> cannot be cast to java.lang.String
>
> <br/><br/>
> (The full error stack trace output is in the source of this page.)
> </font>
>
> <!--
> java.lang.ClassCastException: 
> org.springframework.web.servlet.support.JstlUtils$SpringLocalizationContext 
> cannot be cast to java.lang.String
>       at 
> org.apache.taglibs.standard.tag.common.fmt.BundleSupport.getLocalizationContext(Unknown
>  Source)
>       at 
> org.apache.taglibs.standard.tag.common.fmt.SetLocaleSupport.getFormattingLocale(Unknown
>  Source)
>       at 
> org.apache.taglibs.standard.tag.common.fmt.FormatDateSupport.doEndTag(Unknown 
> Source)
>       at 
> org.apache.jsp.WEB_002dINF.view.admin.scheduler.schedulerList_jsp._jspx_meth_fmt_005fformatDate_005f0(schedulerList_jsp.java:3589)
>       at 
> org.apache.jsp.WEB_002dINF.view.admin.scheduler.schedulerList_jsp._jspx_meth_c_005fforEach_005f3(schedulerList_jsp.java:3493)
>       at 
> org.apache.jsp.WEB_002dINF.view.admin.scheduler.schedulerList_jsp._jspService(schedulerList_jsp.java:598)
>       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>       at 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
>       at 
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
>       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>       at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:70)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>       at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:70)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>       at 
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
>       at 
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
>       at 
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
>       at 
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
>       at 
> org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:236)
>       at 
> org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:257)
>       at 
> org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1183)
>       at 
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:902)
>       at 
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
>       at 
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
>       at 
> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>       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.xformshelper.web.LocationFilter.doFilter(LocationFilter.java:27)
>       at 
> org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:74)
>       at 
> org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:58)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>       at 
> org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:112)
>       at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>       at 
> org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
>       at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>       at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:82)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>       at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:82)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>       at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:82)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>       at 
> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
>       at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>       at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>       at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>       at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>       at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>       at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>       at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
>       at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
>       at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>       at 
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>       at java.lang.Thread.run(Thread.java:636)
> -->
>
>
> Do you have a way I can tell directly?
> Andy
>
> *--------------------
> Andrew S. Kanter, MD MPH
>
> - Director of Health Information Systems/Medical Informatics*
> *Millennium Villages Project, Earth Institute, Columbia University*
> *- Asst. Prof. of Clinical Biomedical Informatics and Clinical
> Epidemiology*
> *Columbia University*
>
> Email: [email protected]
> Mobile: +1 (646) 469-2421
> Office: +1 (212) 305-4842
> Skype: akanter-ippnw
> Yahoo: andy_kanter
>
>   ------------------------------
> *From:* Ben Wolfe <[email protected]>
> *To:* [email protected]
> *Sent:* Thursday, March 1, 2012 10:40 AM
>
> *Subject:* Re: [OPENMRS-IMPLEMENTERS] Copying infopath submissions to a
> new server
>
> Are you sure that the Process Forms task is started?  And if you're on
> 1.6, make sure your global property for the scheduler.username and password
> are set appropriately.
>
> Ben
>
> On Thu, Mar 1, 2012 at 3:00 AM, Andrew Kanter <[email protected]>wrote:
>
> They are not being moved, they just sit there and I am not seeing an
> error... :(
>
> Andy
>
> *--------------------
> Andrew S. Kanter, MD MPH
>
> - Director of Health Information Systems/Medical Informatics*
>  *Millennium Villages Project, Earth Institute, Columbia University*
> *- Asst. Prof. of Clinical Biomedical Informatics and Clinical
> Epidemiology*
> *Columbia University*
>
> Email: [email protected]
> Mobile: +1 (646) 469-2421
> Office: +1 (212) 305-4842
> Skype: akanter-ippnw
> Yahoo: andy_kanter
>
>   ------------------------------
> *From:* Ben Wolfe <[email protected]>
> *To:* [email protected]
> *Sent:* Wednesday, February 29, 2012 7:55 AM
> *Subject:* Re: [OPENMRS-IMPLEMENTERS] Copying infopath submissions to a
> new server
>
> Looks like you did all the right things.
>
> If the forms are not getting processed and staying in the queue, make sure
> the Scheduled Task is turned on.
>
> If the forms are trying to get processed but getting moved to the error
> queue, attach the error log from tomcat and/or the error column.
>
> Ben
>
> On Wed, Feb 29, 2012 at 7:13 AM, Andrew Kanter <[email protected]>wrote:
>
> This is what the header of the .xml file looks like (edited items in *bold
> *):
>
> <?xml version="1.0"?><?mso-infoPathSolution href="
> http://192.168.0.32:8080/openmrs/moduleServlet/formentry/forms/21-1.0-98.xsn";
> solutionVersion="1.0.0.98" PIVersion="1.0.0.0" language="en-us"
> productVersion="12.0.0" ?><?mso-application progid="InfoPath.Document"?>
> <form id="*77*" name="Verbal Autopsy Neonatal Form" version="1.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xd="
> http://schemas.microsoft.com/office/infopath/2003"; xmlns:openmrs="
> http://192.168.0.32:8080/openmrs/moduleServlet/formentry/forms/schema/21-98
> ">
>  <header>
> <enterer>1^Super User</enterer>
> <date_entered>2012-01-30T10:05:01+03:00</date_entered>
>  <session>DB6E50B2FD8D565867BF97529C85B483</session>
> <uid>VwoTotjBRpujicnbOpTh</uid>
>  </header>
> <patient>
> <person.location openmrs_attribute="address1"
> openmrs_table="patient_address"/>
>  <person.village openmrs_attribute="city_village"
> openmrs_table="patient_address"/>
> <person.sublocation openmrs_attribute="address2"
> openmrs_table="patient_address"/>
>  <patient.birthdate openmrs_attribute="birthdate"
> openmrs_table="patient">20110724</patient.birthdate>
> <patient.birthdate_estimated openmrs_attribute="birthdate_estimated"
> openmrs_table="patient"/>
>  <patient.family_name openmrs_attribute="family_name"
> openmrs_table="patient_name">*VA*</patient.family_name>
> <patient.given_name openmrs_attribute="given_name"
> openmrs_table="patient_name">*Patient*</patient.given_name>
> <patient.clinic_id openmrs_attribute="clinic_id"
> openmrs_table="patient_identifier">*EKVA01*</patient.clinic_id>
>  <patient.medical_record_number openmrs_attribute="identifier"
> openmrs_table="patient_identifier"/>
> <patient.middle_name openmrs_attribute="middle_name"
> openmrs_table="patient_name"/>
>  <patient.patient_id openmrs_attribute="patient_id"
> openmrs_table="patient">*393*</patient.patient_id>
> <person.headofhousehold openmrs_attribute="value"
> openmrs_table="person_attribute"/>
> <patient.sex openmrs_attribute="gender"
> openmrs_table="patient">F</patient.sex>
>  <patient_address.address1 openmrs_attribute="address1"
> openmrs_table="patient_address"/>
> <patient_address.address2 openmrs_attribute="address2"
> openmrs_table="patient_address"/>
>  </patient>
> <encounter>
> <encounter.encounter_datetime openmrs_attribute="encounter_datetime"
> openmrs_table="encounter">2012-01-31</encounter.encounter_datetime>
>  <encounter.location_id openmrs_attribute="location_id"
> openmrs_table="encounter">*1*</encounter.location_id>
> <encounter.provider_id openmrs_attribute="provider_id"
> openmrs_table="encounter">*2*</encounter.provider_id>
>
>
> *--------------------
> Andrew S. Kanter, MD MPH
>
> - Director of Health Information Systems/Medical Informatics*
> *Millennium Villages Project, Earth Institute, Columbia University*
> *- Asst. Prof. of Clinical Biomedical Informatics and Clinical
> Epidemiology*
> *Columbia University*
>
> Email: [email protected]
> Mobile: +1 (646) 469-2421
> Office: +1 (212) 305-4842
> Skype: akanter-ippnw
> Yahoo: andy_kanter
>
>   ------------------------------
> *From:* Andrew Kanter <[email protected]>
> *To:* [email protected]
> *Sent:* Wednesday, February 29, 2012 5:07 AM
> *Subject:* [OPENMRS-IMPLEMENTERS] Copying infopath submissions to a new
> server
>
> We have a bunch of forms which were submitted on an openmrs server using
> Infopath. We were not using remote formentry but we want to move those
> forms to a different server. The archive folder contains .xml files. I
> edited the .xml to replace the form id, user ID, patient ID, location ID to
> match the new system. I had assumed that the formentry module would not be
> able to create the patient, so I manually created the patient in the new
> server and ensured that the patient ID matched.
>
> I put the .xml file into the formentry/queue folder. Nothing happened. No
> errors in server log.
> I thought maybe xforms would process it... so tried moving it to the
> xforms/queue folder.... no luck...
> Even tried xformhelper/queue folder....
>
> Any tricks to doing this, or I am stuck and have to reenter the
> information?
>
> Thanks!
> Andy
>
> *--------------------
> Andrew S. Kanter, MD MPH
>
> - Director of Health Information Systems/Medical Informatics*
> *Millennium Villages Project, Earth Institute, Columbia University*
> *- Asst. Prof. of Clinical Biomedical Informatics and Clinical
> Epidemiology*
> *Columbia University*
>
> Email: [email protected]
> Mobile: +1 (646) 469-2421
> Office: +1 (212) 305-4842
> Skype: akanter-ippnw
> Yahoo: andy_kanter
> ------------------------------
> Click here to 
> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-implement-l>from
>  OpenMRS Implementers' mailing list
>
>
>   ------------------------------
> Click here to 
> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-implement-l>from
>  OpenMRS Implementers' mailing list
>
>
> ------------------------------
> Click here to 
> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-implement-l>from
>  OpenMRS Implementers' mailing list
>
>
>   ------------------------------
> Click here to 
> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-implement-l>from
>  OpenMRS Implementers' mailing list
>
>
> ------------------------------
> Click here to 
> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-implement-l>from
>  OpenMRS Implementers' mailing list
>
>
>   ------------------------------
> Click here to 
> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-implement-l>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]

Reply via email to