Skip to content

Instantly share code, notes, and snippets.

View kaweesi's full-sized avatar
🏠
Working from home

Kaweesi Joseph kaweesi

🏠
Working from home
View GitHub Profile
/**
* The contents of this file are subject to the OpenMRS Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://license.openmrs.org
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
* License for the specific language governing rights and limitations
* under the License.
jQuery.fn.tableToCSV = function(heading) {
var clean_text = function(text){
text = text.replace(/"/g, '""');
return '"'+text+'"';
};
jQuery(this).each(function(){
var table = jQuery(this);
var caption = jQuery(this).find('caption').text();
Marker - 2 Jun 2017, 1:21:04 PM
INFO - LoggingAdvice.invoke(115) |2017-06-02 16:22:45,755| In method ReportService.deleteOldReportRequests. Arguments:
INFO - LoggingAdvice.invoke(155) |2017-06-02 16:22:45,762| Exiting method deleteOldReportRequests
WARN - ObjectUtil.format(589) |2017-06-02 16:46:05,813| Unable to format CohortIndicatorAndDimensionResult
Jun 02, 2017 4:46:06 PM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 171 in the generated java file
Syntax error, insert "}" to complete Block
docker run dhis2_dhis_24
* Starting PostgreSQL 9.4 database server
...done.
Tomcat started.
Tomcat started
tail: unrecognized file system type 0x794c7630 for '/tomcat-dhis/logs/catalina.out'. please report this to bug-coreutils@gnu.org. reverting to polling
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000005eb400000, 2796552192, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 2796552192 bytes for committing reserved memory.
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d7ca9dc7245b dhis2_dhis_24 "/bin/sh -c '/etc/ini" 2 weeks ago Up 2 weeks 0.0.0.0:8080->8080/tcp rwanda-dhis
4c52eaa019d1 dhis2_dhis_24 "/bin/sh -c '/etc/ini" 2 weeks ago Up 2 weeks high_pasteur
c796f58f2acf dhis2_dhis_24 "/bin/sh -c '/etc/ini" 2 weeks ago Up 2 weeks berserk_newton
0aba689eb807 dhis2_dhis_24 "/bin/sh -c '/etc/ini" 2 weeks ago Up 2 weeks clever_boyd
e30f351ee0f8 dhis2_dhis_24 "/bin/sh -c '/etc/ini" 2 weeks ago Up 2 weeks boring_montalcini
e5fcbac76bdf dhis2_dhis_25 "/bin/sh -c '/etc/ini" 2 weeks ago Up 2 weeks reverent_payne
INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/openmrs] has not been started
Jun 29, 2017 3:54:05 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/openmrs] has not been started
WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2669) |2017-06-29 15:54:28,087| Unable to find a runtime properties file at /var/lib/tomcat6/openmrs-runtime.properties
INFO 6/29/17 3:54 PM:liquibase: Reading from `liquibasechangelog`
WARNING 6/29/17 3:54 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
WARNING 6/29/17 3:54 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
WARNING 6/29/17 3:54 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-speci
{"httpStatus":"Conflict","httpStatusCode":409,"status":"ERROR","message":"One more more errors occurred, please see full details in import report.","response":{"responseType":"ObjectReport","errorReports":[{"message":"Invalid reference null null [N7e4RMT75uA] (User) on object Days [cIiAfpevptA] (DataElementCategoryCombo) for association `user`.","mainKlass":"org.hisp.dhis.dataelement.DataElementCategoryCombo","errorCode":"E5002"}],"klass":"org.hisp.dhis.dataelement.DataElementCategoryCombo"}}
{"httpStatus":"Conflict","httpStatusCode":409,"status":"ERROR","message":"One more more errors occurred, please see full details in import report.","response":{"responseType":"ObjectReport","uid":"dzjKKQq0cSO","errorReports":[{"message":"Found matching object for given reference, but import mode is CREATE. Identifier was UID, and object was Location and age group [dzjKKQq0cSO] (DataElementCategoryCombo).","mainKlass":"org.hisp.dhis.dataelement.DataElementCategoryCombo","errorCode":"E5000"}],"klass":"org.hisp.dhis.datael
INFO - HibernateContextDAO.authenticate(201) |2017-07-06 08:13:20,093| Failed login attempt (login=admin) - Invalid username and/or password: admin
WARN - AuthenticatedTask.authenticate(85) |2017-07-06 08:13:20,098| Error authenticating 'admin' user. Please ensure you scheduler username and password are configured correctly in your global properties
INFO - HibernateContextDAO.authenticate(201) |2017-07-06 08:14:06,774| Failed login attempt (login=admin) - Invalid username and/or password: admin
WARN - AuthenticatedTask.authenticate(85) |2017-07-06 08:14:06,777| Error authenticating 'admin' user. Please ensure you scheduler username and password are configured correctly in your global properties
WARN - AuthenticatedTask.authenticate(74) |2017-07-06 08:18:20,046| Not authenticating to avoid locking account. Please ensure you scheduler username and password are configured correctly in your global properties
WARN - AuthenticatedTask.authenticate(74) |2017-07-06 08:19:06,764| Not authenticating to avoid locking ac
* ERROR 2017-07-13 07:26:31,582 ERROR: permission denied for relation pushanalysis (SqlExceptionHelper.java [localhost-startStop-1])
* ERROR 2017-07-13 07:26:31,680 Context initialization failed (ContextLoader.java [localhost-startStop-1])
org.hibernate.exception.SQLGrammarException: could not extract ResultSet
at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:106)
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:111)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:97)
at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:79)
at org.hibernate.loader.Loader.getResultSet(Loader.java:2122)
at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1905)
version: '3'
services:
dhis_21:
build: '2.21'
ports:
- "8021:8080"
dhis_22:
build: '2.22'
ports: