How many records can Organization Unit hold up?

Hi,

We have an organization level distribution as follows with number of org units at each level.

App crashes when the last level is uploaded into the system and we try to browse the organization units. A new DB should be then used to use the app.

Level1********------** 1**

Level2****------ ****6

Level3 ------ 9

Level4**** ** **------ ** **
16

Level5****------**
130**
Level6****------**
550**

···

Regards,
Muhammad Tahir

Can you be a bit more specific? where does it “crash”? is it a browser issue? server issue? can you send us the relevant parts of the logs? (if any)

If its the browser, can you open the developer tools (f12) and look in the javascript console and see if there is anything in red

···

On Fri, May 15, 2015 at 4:39 PM, Muhammad Tahir mtagb09@gmail.com wrote:

Hi,

We have an organization level distribution as follows with number of org units at each level.

App crashes when the last level is uploaded into the system and we try to browse the organization units. A new DB should be then used to use the app.

Level1********------** 1**

Level2****------ ****6

Level3 ------ 9

Level4**** ** **------ ** **
16

Level5****------**
130**
Level6****------**
550**
**
Level7******------**
900**

Level8****------**
20000**

Level9****------**
80,000**

Level10 ------
100,000

At present the app is deployed on a desktop machine with following configuration.

Windows7, 4 Gb RAM, Intel Corei3 3.3 GHz.


Regards,
Muhammad Tahir


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Morten

Hi Morten,

Web page result:

HTTP ERROR: 404

Problem accessing /. Reason:

NOT_FOUND

Powered by Jetty://

Log file:

  • INFO 15:31:27,201 Lifecycle: server stopped (TrayApp.java [AWT-EventQueue-0])
  • INFO 15:31:27,223 Exiting… (TrayApp.java [AWT-EventQueue-0])
  • INFO 15:32:11,490 Environment variable DHIS2_HOME: null (TrayApp.java [main])
  • INFO 15:32:11,551 Initialising DHIS 2 Live… (TrayApp.java [main])
  • INFO 15:32:11,623 Loading DHIS 2 on port: 8082 (WebAppServer.java [main])
  • INFO 15:32:11,658 Setting DHIS 2 web app context to: /D:/DHIS2/Tools_Setup/dhis-live/webapps/dhis (WebAppServer.java [main])
  • INFO 15:32:11,659 Lifecycle: server starting (TrayApp.java [Thread-2])
  • INFO 15:32:14,931 System property dhis2.home points to /D:/DHIS2/Tools_Setup/dhis-live/conf (DefaultLocationManager.java [Thread-2])
  • INFO 15:32:15,631 Hibernate configuration loaded, using dialect: org.hibernate.dialect.PostgreSQLDialect (DefaultHibernateConfigurationProvider.java [Thread-2])
  • INFO 15:32:30,340 Found the following message senders: [org.hisp.dhis.message.EmailMessageSender@1ad234d, org.hisp.dhis.sms.SmsMessageSender@ee212a] (DefaultMessageService.java [Thread-2])
  • INFO 15:32:39,016 Detected apps: (DefaultAppManager.java [Thread-2])
  • INFO 15:32:44,155 Executing startup routine [1 of 14, runlevel 1]: InitTableAlteror (DefaultStartupRoutineExecutor.java [Thread-2])
  • INFO 15:32:44,771 Executing startup routine [2 of 14, runlevel 2]: PeriodTypePopulator (DefaultStartupRoutineExecutor.java [Thread-2])
  • INFO 15:32:44,859 Executing startup routine [3 of 14, runlevel 2]: DataElementDefaultDimensionPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
  • INFO 15:32:45,093 Linked default category with default concept (DataElementDefaultDimensionPopulator.java [Thread-2])
  • INFO 15:32:45,170 Executing startup routine [4 of 14, runlevel 3]: TrackerIdentityPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
  • INFO 15:33:18,812 Lifecycle: server started (TrayApp.java [Thread-2])
···

On Fri, May 15, 2015 at 3:03 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Can you be a bit more specific? where does it “crash”? is it a browser issue? server issue? can you send us the relevant parts of the logs? (if any)

If its the browser, can you open the developer tools (f12) and look in the javascript console and see if there is anything in red


Morten

On Fri, May 15, 2015 at 4:39 PM, Muhammad Tahir mtagb09@gmail.com wrote:

Hi,

We have an organization level distribution as follows with number of org units at each level.

App crashes when the last level is uploaded into the system and we try to browse the organization units. A new DB should be then used to use the app.

Level1********------** 1**

Level2****------ ****6

Level3 ------ 9

Level4**** ** **------ ** **
16

Level5****------**
130**
Level6****------**
550**
**
Level7******------**
900**

Level8****------**
20000**

Level9****------**
80,000**

Level10 ------
100,000

At present the app is deployed on a desktop machine with following configuration.

Windows7, 4 Gb RAM, Intel Corei3 3.3 GHz.


Regards,
Muhammad Tahir


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Regards,
Muhammad Tahir

Is that the whole log file? I see you are running this on your laptop as DHIS Live. Perhaps you could try allocating more memory to Java. What is your JAVA_OPTS?

Knut

···

On Wed, May 20, 2015 at 10:34 AM, Muhammad Tahir mtagb09@gmail.com wrote:

Hi Morten,

Web page result:

HTTP ERROR: 404

Problem accessing /. Reason:

NOT_FOUND

Powered by Jetty://

Log file:

  • INFO 15:31:27,201 Lifecycle: server stopped (TrayApp.java [AWT-EventQueue-0])
  • INFO 15:31:27,223 Exiting… (TrayApp.java [AWT-EventQueue-0])
  • INFO 15:32:11,490 Environment variable DHIS2_HOME: null (TrayApp.java [main])
  • INFO 15:32:11,551 Initialising DHIS 2 Live… (TrayApp.java [main])
  • INFO 15:32:11,623 Loading DHIS 2 on port: 8082 (WebAppServer.java [main])
  • INFO 15:32:11,658 Setting DHIS 2 web app context to: /D:/DHIS2/Tools_Setup/dhis-live/webapps/dhis (WebAppServer.java [main])
  • INFO 15:32:11,659 Lifecycle: server starting (TrayApp.java [Thread-2])
  • INFO 15:32:14,931 System property dhis2.home points to /D:/DHIS2/Tools_Setup/dhis-live/conf (DefaultLocationManager.java [Thread-2])
  • INFO 15:32:15,631 Hibernate configuration loaded, using dialect: org.hibernate.dialect.PostgreSQLDialect (DefaultHibernateConfigurationProvider.java [Thread-2])
  • INFO 15:32:30,340 Found the following message senders: [org.hisp.dhis.message.EmailMessageSender@1ad234d, org.hisp.dhis.sms.SmsMessageSender@ee212a] (DefaultMessageService.java [Thread-2])
  • INFO 15:32:39,016 Detected apps: (DefaultAppManager.java [Thread-2])
  • INFO 15:32:44,155 Executing startup routine [1 of 14, runlevel 1]: InitTableAlteror (DefaultStartupRoutineExecutor.java [Thread-2])
  • INFO 15:32:44,771 Executing startup routine [2 of 14, runlevel 2]: PeriodTypePopulator (DefaultStartupRoutineExecutor.java [Thread-2])
  • INFO 15:32:44,859 Executing startup routine [3 of 14, runlevel 2]: DataElementDefaultDimensionPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
  • INFO 15:32:45,093 Linked default category with default concept (DataElementDefaultDimensionPopulator.java [Thread-2])
  • INFO 15:32:45,170 Executing startup routine [4 of 14, runlevel 3]: TrackerIdentityPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
  • INFO 15:33:18,812 Lifecycle: server started (TrayApp.java [Thread-2])

Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

On Fri, May 15, 2015 at 3:03 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Can you be a bit more specific? where does it “crash”? is it a browser issue? server issue? can you send us the relevant parts of the logs? (if any)

If its the browser, can you open the developer tools (f12) and look in the javascript console and see if there is anything in red

Regards,
Muhammad Tahir


Morten

On Fri, May 15, 2015 at 4:39 PM, Muhammad Tahir mtagb09@gmail.com wrote:

Hi,

We have an organization level distribution as follows with number of org units at each level.

App crashes when the last level is uploaded into the system and we try to browse the organization units. A new DB should be then used to use the app.

Level1********------** 1**

Level2****------ ****6

Level3 ------ 9

Level4**** ** **------ ** **
16

Level5****------**
130**
Level6****------**
550**
**
Level7******------**
900**

Level8****------**
20000**

Level9****------**
80,000**

Level10 ------
100,000

At present the app is deployed on a desktop machine with following configuration.

Windows7, 4 Gb RAM, Intel Corei3 3.3 GHz.


Regards,
Muhammad Tahir


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Hi Knut,

Yes, DHIS Live is being used at the moment. JAVA_OPTS was not set no my machine but event I have added with value

-Xms512M -Xmx1024M

the problem remains the same(**HTTP ERROR: 404**).


···

On Thu, May 21, 2015 at 12:19 AM, Knut Staring knutst@gmail.com wrote:

Is that the whole log file? I see you are running this on your laptop as DHIS Live. Perhaps you could try allocating more memory to Java. What is your JAVA_OPTS?

Knut

On Wed, May 20, 2015 at 10:34 AM, Muhammad Tahir mtagb09@gmail.com wrote:

Hi Morten,

Web page result:

HTTP ERROR: 404

Problem accessing /. Reason:

NOT_FOUND

Powered by Jetty://

Log file:

  • INFO 15:31:27,201 Lifecycle: server stopped (TrayApp.java [AWT-EventQueue-0])
  • INFO 15:31:27,223 Exiting… (TrayApp.java [AWT-EventQueue-0])
  • INFO 15:32:11,490 Environment variable DHIS2_HOME: null (TrayApp.java [main])
  • INFO 15:32:11,551 Initialising DHIS 2 Live… (TrayApp.java [main])
  • INFO 15:32:11,623 Loading DHIS 2 on port: 8082 (WebAppServer.java [main])
  • INFO 15:32:11,658 Setting DHIS 2 web app context to: /D:/DHIS2/Tools_Setup/dhis-live/webapps/dhis (WebAppServer.java [main])
  • INFO 15:32:11,659 Lifecycle: server starting (TrayApp.java [Thread-2])
  • INFO 15:32:14,931 System property dhis2.home points to /D:/DHIS2/Tools_Setup/dhis-live/conf (DefaultLocationManager.java [Thread-2])
  • INFO 15:32:15,631 Hibernate configuration loaded, using dialect: org.hibernate.dialect.PostgreSQLDialect (DefaultHibernateConfigurationProvider.java [Thread-2])
  • INFO 15:32:30,340 Found the following message senders: [org.hisp.dhis.message.EmailMessageSender@1ad234d, org.hisp.dhis.sms.SmsMessageSender@ee212a] (DefaultMessageService.java [Thread-2])
  • INFO 15:32:39,016 Detected apps: (DefaultAppManager.java [Thread-2])
  • INFO 15:32:44,155 Executing startup routine [1 of 14, runlevel 1]: InitTableAlteror (DefaultStartupRoutineExecutor.java [Thread-2])
  • INFO 15:32:44,771 Executing startup routine [2 of 14, runlevel 2]: PeriodTypePopulator (DefaultStartupRoutineExecutor.java [Thread-2])
  • INFO 15:32:44,859 Executing startup routine [3 of 14, runlevel 2]: DataElementDefaultDimensionPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
  • INFO 15:32:45,093 Linked default category with default concept (DataElementDefaultDimensionPopulator.java [Thread-2])
  • INFO 15:32:45,170 Executing startup routine [4 of 14, runlevel 3]: TrackerIdentityPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
  • INFO 15:33:18,812 Lifecycle: server started (TrayApp.java [Thread-2])

Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Fri, May 15, 2015 at 3:03 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Can you be a bit more specific? where does it “crash”? is it a browser issue? server issue? can you send us the relevant parts of the logs? (if any)

If its the browser, can you open the developer tools (f12) and look in the javascript console and see if there is anything in red

Regards,
Muhammad Tahir


Morten

On Fri, May 15, 2015 at 4:39 PM, Muhammad Tahir mtagb09@gmail.com wrote:

Hi,

We have an organization level distribution as follows with number of org units at each level.

App crashes when the last level is uploaded into the system and we try to browse the organization units. A new DB should be then used to use the app.

Level1********------** 1**

Level2****------ ****6

Level3 ------ 9

Level4**** ** **------ ** **
16

Level5****------**
130**
Level6****------**
550**
**
Level7******------**
900**

Level8****------**
20000**

Level9****------**
80,000**

Level10 ------
100,000

At present the app is deployed on a desktop machine with following configuration.

Windows7, 4 Gb RAM, Intel Corei3 3.3 GHz.


Regards,
Muhammad Tahir


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Regards,
Muhammad Tahir

Hi Muhamad,

Try with a blank db. If it works, then check with few orgunit, if it still
works, switch to this current db. If the problem occurs, make sure your
orgunit table is valid. As far as I get you used a manual tool to
automatically insert to this orgunit table

Thanh

···

On Thu, May 21, 2015 at 11:10 AM, Muhammad Tahir <mtagb09@gmail.com> wrote:

Hi Knut,

Yes, DHIS Live is being used at the moment. JAVA_OPTS was not set no my
machine but event I have added with value

-Xms512M -Xmx1024M

the problem remains the same(*HTTP ERROR: 404*).

On Thu, May 21, 2015 at 12:19 AM, Knut Staring <knutst@gmail.com> wrote:

Is that the whole log file? I see you are running this on your laptop as
DHIS Live. Perhaps you could try allocating more memory to Java. What is
your JAVA_OPTS?

Knut

On Wed, May 20, 2015 at 10:34 AM, Muhammad Tahir <mtagb09@gmail.com> >> wrote:

Hi Morten,

Web page result:

HTTP ERROR: 404

Problem accessing /. Reason:

    NOT_FOUND

Powered by Jetty://

Log file:
* INFO 15:31:27,201 Lifecycle: server stopped (TrayApp.java
[AWT-EventQueue-0])
* INFO 15:31:27,223 Exiting... (TrayApp.java [AWT-EventQueue-0])
* INFO 15:32:11,490 Environment variable DHIS2_HOME: null (TrayApp.java
[main])
* INFO 15:32:11,551 Initialising DHIS 2 Live... (TrayApp.java [main])
* INFO 15:32:11,623 Loading DHIS 2 on port: 8082 (WebAppServer.java
[main])
* INFO 15:32:11,658 Setting DHIS 2 web app context to:
/D:/DHIS2/Tools_Setup/dhis-live/webapps/dhis (WebAppServer.java [main])
* INFO 15:32:11,659 Lifecycle: server starting (TrayApp.java [Thread-2])
* INFO 15:32:14,931 System property dhis2.home points to
/D:/DHIS2/Tools_Setup/dhis-live/conf (DefaultLocationManager.java
[Thread-2])
* INFO 15:32:15,631 Hibernate configuration loaded, using dialect:
org.hibernate.dialect.PostgreSQLDialect
(DefaultHibernateConfigurationProvider.java [Thread-2])
* INFO 15:32:30,340 Found the following message senders:
[org.hisp.dhis.message.EmailMessageSender@1ad234d,
org.hisp.dhis.sms.SmsMessageSender@ee212a] (DefaultMessageService.java
[Thread-2])
* INFO 15:32:39,016 Detected apps: (DefaultAppManager.java
[Thread-2])
* INFO 15:32:44,155 Executing startup routine [1 of 14, runlevel 1]:
InitTableAlteror (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO 15:32:44,771 Executing startup routine [2 of 14, runlevel 2]:
PeriodTypePopulator (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO 15:32:44,859 Executing startup routine [3 of 14, runlevel 2]:
DataElementDefaultDimensionPopulator (DefaultStartupRoutineExecutor.java
[Thread-2])
* INFO 15:32:45,093 Linked default category with default concept
(DataElementDefaultDimensionPopulator.java [Thread-2])
* INFO 15:32:45,170 Executing startup routine [4 of 14, runlevel 3]:
TrackerIdentityPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO 15:33:18,812 Lifecycle: server started (TrayApp.java [Thread-2])

On Fri, May 15, 2015 at 3:03 PM, Morten Olav Hansen <mortenoh@gmail.com> >>> wrote:

Can you be a bit more specific? where does it "crash"? is it a browser
issue? server issue? can you send us the relevant parts of the logs? (if
any)

If its the browser, can you open the developer tools (f12) and look in
the javascript console and see if there is anything in red

--
Morten

On Fri, May 15, 2015 at 4:39 PM, Muhammad Tahir <mtagb09@gmail.com> >>>> wrote:

Hi,

We have an organization level distribution as follows with number of
org units at each level.

App crashes when the last level is uploaded into the system and we try
to browse the organization units. A new DB should be then used to use the
app.

*Level1* *------ 1*
*Level2** ------ **6*
*Level3* *------ 9*
*Level4* * ------ * *16*
*Level5** ------ 130*
*Level6** ------ 550*
* Level7** ------ 900*
* Level8** ------ 20000*
* Level9** ------ 80,000*
* Level10 **------ 100,000*

At present the app is deployed on a desktop machine with following
configuration.
Windows7, 4 Gb RAM, Intel Corei3 3.3 GHz.

--
*Regards,*
*Muhammad Tahir*

_______________________________________________
Mailing list: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help

--
*Regards,*
*Muhammad Tahir*

_______________________________________________
Mailing list: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help

--
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org

--
*Regards,*
*Muhammad Tahir*

_______________________________________________
Mailing list: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help

Hi Ngoc,

Yes, I have loaded the table manually, but it works fine upto level 9, as soon as the final level 10 orgunits are added, the app does start but on browser I get 404 message.

I have created another DB, loaded each level step by step and the app works until level10 units are added.

At present I have deployed only upto level 6 to check/configure other options of DHIS2.

Level1********------** 1**

Level2****------ ****6

Level3 ------ 9

Level4**** ** **------ ** **
16

Level5****------**
130**
Level6****------**
550**

···

On Thu, May 21, 2015 at 12:46 PM, Ngoc Thanh Nguyen thanh.hispvietnam@gmail.com wrote:

Hi Muhamad,

Try with a blank db. If it works, then check with few orgunit, if it still works, switch to this current db. If the problem occurs, make sure your orgunit table is valid. As far as I get you used a manual tool to automatically insert to this orgunit table

Thanh

On Thu, May 21, 2015 at 11:10 AM, Muhammad Tahir mtagb09@gmail.com wrote:

Hi Knut,

Yes, DHIS Live is being used at the moment. JAVA_OPTS was not set no my machine but event I have added with value

-Xms512M -Xmx1024M


the problem remains the same(**HTTP ERROR: 404**).





Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

On Thu, May 21, 2015 at 12:19 AM, Knut Staring knutst@gmail.com wrote:

Is that the whole log file? I see you are running this on your laptop as DHIS Live. Perhaps you could try allocating more memory to Java. What is your JAVA_OPTS?

Knut

Regards,
Muhammad Tahir

On Wed, May 20, 2015 at 10:34 AM, Muhammad Tahir mtagb09@gmail.com wrote:

Hi Morten,

Web page result:

HTTP ERROR: 404

Problem accessing /. Reason:

NOT_FOUND

Powered by Jetty://

Log file:

  • INFO 15:31:27,201 Lifecycle: server stopped (TrayApp.java [AWT-EventQueue-0])
  • INFO 15:31:27,223 Exiting… (TrayApp.java [AWT-EventQueue-0])
  • INFO 15:32:11,490 Environment variable DHIS2_HOME: null (TrayApp.java [main])
  • INFO 15:32:11,551 Initialising DHIS 2 Live… (TrayApp.java [main])
  • INFO 15:32:11,623 Loading DHIS 2 on port: 8082 (WebAppServer.java [main])
  • INFO 15:32:11,658 Setting DHIS 2 web app context to: /D:/DHIS2/Tools_Setup/dhis-live/webapps/dhis (WebAppServer.java [main])
  • INFO 15:32:11,659 Lifecycle: server starting (TrayApp.java [Thread-2])
  • INFO 15:32:14,931 System property dhis2.home points to /D:/DHIS2/Tools_Setup/dhis-live/conf (DefaultLocationManager.java [Thread-2])
  • INFO 15:32:15,631 Hibernate configuration loaded, using dialect: org.hibernate.dialect.PostgreSQLDialect (DefaultHibernateConfigurationProvider.java [Thread-2])
  • INFO 15:32:30,340 Found the following message senders: [org.hisp.dhis.message.EmailMessageSender@1ad234d, org.hisp.dhis.sms.SmsMessageSender@ee212a] (DefaultMessageService.java [Thread-2])
  • INFO 15:32:39,016 Detected apps: (DefaultAppManager.java [Thread-2])
  • INFO 15:32:44,155 Executing startup routine [1 of 14, runlevel 1]: InitTableAlteror (DefaultStartupRoutineExecutor.java [Thread-2])
  • INFO 15:32:44,771 Executing startup routine [2 of 14, runlevel 2]: PeriodTypePopulator (DefaultStartupRoutineExecutor.java [Thread-2])
  • INFO 15:32:44,859 Executing startup routine [3 of 14, runlevel 2]: DataElementDefaultDimensionPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
  • INFO 15:32:45,093 Linked default category with default concept (DataElementDefaultDimensionPopulator.java [Thread-2])
  • INFO 15:32:45,170 Executing startup routine [4 of 14, runlevel 3]: TrackerIdentityPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
  • INFO 15:33:18,812 Lifecycle: server started (TrayApp.java [Thread-2])

Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Fri, May 15, 2015 at 3:03 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Can you be a bit more specific? where does it “crash”? is it a browser issue? server issue? can you send us the relevant parts of the logs? (if any)

If its the browser, can you open the developer tools (f12) and look in the javascript console and see if there is anything in red

Regards,
Muhammad Tahir


Morten

On Fri, May 15, 2015 at 4:39 PM, Muhammad Tahir mtagb09@gmail.com wrote:

Hi,

We have an organization level distribution as follows with number of org units at each level.

App crashes when the last level is uploaded into the system and we try to browse the organization units. A new DB should be then used to use the app.

Level1********------** 1**

Level2****------ ****6

Level3 ------ 9

Level4**** ** **------ ** **
16

Level5****------**
130**
Level6****------**
550**
**
Level7******------**
900**

Level8****------**
20000**

Level9****------**
80,000**

Level10 ------
100,000

At present the app is deployed on a desktop machine with following configuration.

Windows7, 4 Gb RAM, Intel Corei3 3.3 GHz.


Regards,
Muhammad Tahir


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Regards,
Muhammad Tahir

I suppose it is not a very helpful comment, but I would seriously consider skipping some of those levels, if possible…though we should certainly still aim to understand what is causing your problem.

···

On Thu, May 21, 2015 at 11:37 AM, Muhammad Tahir mtagb09@gmail.com wrote:

Hi Ngoc,

Yes, I have loaded the table manually, but it works fine upto level 9, as soon as the final level 10 orgunits are added, the app does start but on browser I get 404 message.

I have created another DB, loaded each level step by step and the app works until level10 units are added.

At present I have deployed only upto level 6 to check/configure other options of DHIS2.

Level1********------** 1**

Level2****------ ****6

Level3 ------ 9

Level4**** ** **------ ** **
16

Level5****------**
130**
Level6****------**
550**
**
Level7******------**
900**

Level8****------**
20000**

Level9****------**
80,000**

Level10 ------
100,000

On Thu, May 21, 2015 at 12:46 PM, Ngoc Thanh Nguyen thanh.hispvietnam@gmail.com wrote:

Regards,
Muhammad Tahir

Hi Muhamad,

Try with a blank db. If it works, then check with few orgunit, if it still works, switch to this current db. If the problem occurs, make sure your orgunit table is valid. As far as I get you used a manual tool to automatically insert to this orgunit table

Thanh

On Thu, May 21, 2015 at 11:10 AM, Muhammad Tahir mtagb09@gmail.com wrote:

Hi Knut,

Yes, DHIS Live is being used at the moment. JAVA_OPTS was not set no my machine but event I have added with value

-Xms512M -Xmx1024M


the problem remains the same(**HTTP ERROR: 404**).





Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

On Thu, May 21, 2015 at 12:19 AM, Knut Staring knutst@gmail.com wrote:

Is that the whole log file? I see you are running this on your laptop as DHIS Live. Perhaps you could try allocating more memory to Java. What is your JAVA_OPTS?

Knut

Regards,
Muhammad Tahir

On Wed, May 20, 2015 at 10:34 AM, Muhammad Tahir mtagb09@gmail.com wrote:

Hi Morten,

Web page result:

HTTP ERROR: 404

Problem accessing /. Reason:

NOT_FOUND

Powered by Jetty://

Log file:

  • INFO 15:31:27,201 Lifecycle: server stopped (TrayApp.java [AWT-EventQueue-0])
  • INFO 15:31:27,223 Exiting… (TrayApp.java [AWT-EventQueue-0])
  • INFO 15:32:11,490 Environment variable DHIS2_HOME: null (TrayApp.java [main])
  • INFO 15:32:11,551 Initialising DHIS 2 Live… (TrayApp.java [main])
  • INFO 15:32:11,623 Loading DHIS 2 on port: 8082 (WebAppServer.java [main])
  • INFO 15:32:11,658 Setting DHIS 2 web app context to: /D:/DHIS2/Tools_Setup/dhis-live/webapps/dhis (WebAppServer.java [main])
  • INFO 15:32:11,659 Lifecycle: server starting (TrayApp.java [Thread-2])
  • INFO 15:32:14,931 System property dhis2.home points to /D:/DHIS2/Tools_Setup/dhis-live/conf (DefaultLocationManager.java [Thread-2])
  • INFO 15:32:15,631 Hibernate configuration loaded, using dialect: org.hibernate.dialect.PostgreSQLDialect (DefaultHibernateConfigurationProvider.java [Thread-2])
  • INFO 15:32:30,340 Found the following message senders: [org.hisp.dhis.message.EmailMessageSender@1ad234d, org.hisp.dhis.sms.SmsMessageSender@ee212a] (DefaultMessageService.java [Thread-2])
  • INFO 15:32:39,016 Detected apps: (DefaultAppManager.java [Thread-2])
  • INFO 15:32:44,155 Executing startup routine [1 of 14, runlevel 1]: InitTableAlteror (DefaultStartupRoutineExecutor.java [Thread-2])
  • INFO 15:32:44,771 Executing startup routine [2 of 14, runlevel 2]: PeriodTypePopulator (DefaultStartupRoutineExecutor.java [Thread-2])
  • INFO 15:32:44,859 Executing startup routine [3 of 14, runlevel 2]: DataElementDefaultDimensionPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
  • INFO 15:32:45,093 Linked default category with default concept (DataElementDefaultDimensionPopulator.java [Thread-2])
  • INFO 15:32:45,170 Executing startup routine [4 of 14, runlevel 3]: TrackerIdentityPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
  • INFO 15:33:18,812 Lifecycle: server started (TrayApp.java [Thread-2])

Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Fri, May 15, 2015 at 3:03 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Can you be a bit more specific? where does it “crash”? is it a browser issue? server issue? can you send us the relevant parts of the logs? (if any)

If its the browser, can you open the developer tools (f12) and look in the javascript console and see if there is anything in red

Regards,
Muhammad Tahir


Morten

On Fri, May 15, 2015 at 4:39 PM, Muhammad Tahir mtagb09@gmail.com wrote:

Hi,

We have an organization level distribution as follows with number of org units at each level.

App crashes when the last level is uploaded into the system and we try to browse the organization units. A new DB should be then used to use the app.

Level1********------** 1**

Level2****------ ****6

Level3 ------ 9

Level4**** ** **------ ** **
16

Level5****------**
130**
Level6****------**
550**
**
Level7******------**
900**

Level8****------**
20000**

Level9****------**
80,000**

Level10 ------
100,000

At present the app is deployed on a desktop machine with following configuration.

Windows7, 4 Gb RAM, Intel Corei3 3.3 GHz.


Regards,
Muhammad Tahir


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Yowser.� That number of orgUnits on only 1Gb?� I would strongly recommend a lot more RAM for Java.

···

Kind regards,

      **              Jason Phillips**

              **                      Software and Information Systems** **                      Health Information Systems Program

               ** **________________________________________**

eMail:

Landline:

+27 (0)21 712-0170

Mobile:

+27 (0)72 973-7250

Skype:

jason.n.phillips

Web:

                                      This message and any attachments are subject to a disclaimer published at [http://www.hisp.org/policies.html#comms_disclaimer](http://www.hisp.org/policies.html#comms_disclaimer)                      . Please read the disclaimer before opening any attachment or taking any other action in terms of this electronic transmission.

                  If you cannot access the disclaimer, kindly send an email to disclaimer@hisp.org
                  and a copy will be provided to you. By replying to this e-mail or opening any attachment you agree to be bound by the provisions of the disclaimer.

jason@hisp.org

http://www.hisp.org

  On 2015/05/21 12:40 PM, Knut Staring wrote:
    I suppose it is not a very helpful comment, but I would seriously consider skipping some of those levels, if possible..though we should certainly still aim to understand what is causing your problem.
      On Thu, May 21, 2015 at 11:37 AM, Muhammad Tahir <mtagb09@gmail.com>
      wrote:

Hi Ngoc,

            Yes, I have loaded the table manually, but it works fine upto level 9, as soon as the final level 10 orgunits are added, the app does start but on browser I get 404 message.
            I have created another DB, loaded each level step by step and the app works until level10 units are added.
            At present I have deployed only upto level 6 to check/configure other options of DHIS2.

Level1****�� ------ 1

            **Level2******�� ------�******6** **
              Level3** � ****------** 9**

            **Level4****�**  ** **------�** **  **16**


            **Level5******�� ------**  130**

            **Level6******� ------**  550**
             **

              Level7******�� ------**  900**


             **Level8******�� ------**  20000**


             **Level9******�� ------**  80,000**


             **Level10** ****------**  100,000**
                On Thu, May 21, 2015 at 12:46 PM, Ngoc Thanh Nguyen <thanh.hispvietnam@gmail.com>
                wrote:

Hi Muhamad,

                              Try with a blank db. If it works, then check with few orgunit, if it still works, switch to this current db. If the problem occurs, make sure your orgunit table is valid. As far as I get you used a manual tool to automatically insert to this orgunit table

Thanh

                            On Thu, May 21, 2015 at 11:10 AM, Muhammad Tahir <mtagb09@gmail.com>
                            wrote:

Hi Knut,

                                Yes, DHIS Live is being used at the moment. JAVA_OPTS was not set no my machine but event I have added with value

-Xms512M -Xmx1024M
the problem remains the same(**HTTP ERROR: 404**
).


                                      On Thu, May 21, 2015 at 12:19 AM, Knut Staring <knutst@gmail.com>
                                      wrote:
                                          Is that the whole log file? I see you are running this on your laptop as DHIS Live. Perhaps you could try allocating more memory to Java. What is your JAVA_OPTS?

Knut

                                                On Wed, May 20, 2015 at 10:34 AM, Muhammad Tahir <mtagb09@gmail.com>
                                                wrote:

Hi Morten,

Web page result:

                                                    HTTP ERROR: 404



                                                    Problem accessing /. Reason:



                                                    ��� NOT_FOUND



                                                    Powered by Jetty://







                                                    Log file:

                                                    * INFO� 15:31:27,201 Lifecycle: server stopped (TrayApp.java [AWT-EventQueue-0])

                                                    * INFO� 15:31:27,223 Exiting... (TrayApp.java [AWT-EventQueue-0])

                                                    * INFO� 15:32:11,490 Environment variable DHIS2_HOME: null (TrayApp.java [main])

                                                    * INFO� 15:32:11,551 Initialising DHIS 2 Live... (TrayApp.java [main])

                                                    * INFO� 15:32:11,623 Loading DHIS 2 on port: 8082 (WebAppServer.java [main])

                                                    * INFO� 15:32:11,658 Setting DHIS 2 web app context to: /D:/DHIS2/Tools_Setup/dhis-live/webapps/dhis (WebAppServer.java [main])

                                                    * INFO� 15:32:11,659 Lifecycle: server starting (TrayApp.java [Thread-2])

                                                    * INFO� 15:32:14,931 System property dhis2.home points to /D:/DHIS2/Tools_Setup/dhis-live/conf (DefaultLocationManager.java [Thread-2])

                                                    * INFO� 15:32:15,631 Hibernate configuration loaded, using dialect: org.hibernate.dialect.PostgreSQLDialect (DefaultHibernateConfigurationProvider.java [Thread-2])

                                                    * INFO� 15:32:30,340 Found the following message senders: [org.hisp.dhis.message.EmailMessageSender@1ad234d, org.hisp.dhis.sms.SmsMessageSender@ee212a] (DefaultMessageService.java [Thread-2])

                                                    * INFO� 15:32:39,016 Detected apps: [] (DefaultAppManager.java [Thread-2])

                                                    * INFO� 15:32:44,155 Executing startup routine [1 of 14, runlevel 1]: InitTableAlteror (DefaultStartupRoutineExecutor.java [Thread-2])

                                                    * INFO� 15:32:44,771 Executing startup routine [2 of 14, runlevel 2]: PeriodTypePopulator (DefaultStartupRoutineExecutor.java [Thread-2])

                                                    * INFO� 15:32:44,859 Executing startup routine [3 of 14, runlevel 2]: DataElementDefaultDimensionPopulator (DefaultStartupRoutineExecutor.java [Thread-2])

                                                    * INFO� 15:32:45,093 Linked default category with default concept (DataElementDefaultDimensionPopulator.java [Thread-2])

                                                    * INFO� 15:32:45,170 Executing startup routine [4 of 14, runlevel 3]: TrackerIdentityPopulator (DefaultStartupRoutineExecutor.java [Thread-2])

                                                    * INFO� 15:33:18,812 Lifecycle: server started (TrayApp.java [Thread-2])
                                                      On Fri, May 15, 2015 at 3:03 PM, Morten Olav Hansen <mortenoh@gmail.com>
                                                      wrote:
                                                      Can you be a bit more specific? where does it "crash"? is it a browser issue? server issue? can you send us the relevant parts of the logs? (if any)
                                                      If its the browser, can you open the developer tools (f12) and look in the javascript console and see if there is anything in red

                                                      Morten
                                                      On Fri, May 15, 2015 at 4:39 PM, Muhammad Tahir <mtagb09@gmail.com>
                                                      wrote:

Hi,

                                                      We have an organization level distribution as follows with number of org units at each level.
                                                      App crashes when the last level is uploaded into the system and we try to browse the organization units. A new DB should be then used to use the app.

Level1** ��** **** ------** 1**

                                                      **Level2******                                                          �� ------�******6**
                                                      **
                                                      Level3** � ****                                                          ------** 9**

                                                      **Level4****                                                          �** ****------�**
                                                     **  **16**


                                                      **Level5******                                                          �� ------**
                                                      130**

                                                      �**Level6******                                                          � ------**
                                                      550**
                                                       **

                                                      Level7******                                                          �� ------**
                                                      900**


                                                       **Level8******                                                          �� ------**
                                                      20000**


                                                       **Level9******                                                          �� ------**
                                                      80,000**


                                                       **Level10** ****                                                          ------**  100,000**




                                                      At present the app is deployed on a desktop machine with following configuration.
                                                      Windows7, 4 Gb RAM, Intel Corei3 3.3 GHz.


Regards,
** Muhammad Tahir**


                                                      Mailing list: [https://launchpad.net/~dhis2-devs](https://launchpad.net/%7Edhis2-devs)

                                                      Post to� � �: dhis2-devs@lists.launchpad.net

                                                      Unsubscribe : [https://launchpad.net/~dhis2-devs](https://launchpad.net/%7Edhis2-devs)

                                                      More help� �: [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)

Regards,
** Muhammad Tahir**

                                                      --

                                                  Mailing list: [https://launchpad.net/~dhis2-devs](https://launchpad.net/%7Edhis2-devs)

                                                  Post to� � �: dhis2-devs@lists.launchpad.net

                                                  Unsubscribe : [https://launchpad.net/~dhis2-devs](https://launchpad.net/%7Edhis2-devs)

                                                  More help� �: [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)

                                                      Knut Staring
                                                      Dept. of Informatics,�University of Oslo

Norway: +4791880522

                                                      Skype: knutstar

http://dhis2.org

Regards,
Muhammad Tahir


                              Mailing list: [https://launchpad.net/~dhis2-devs](https://launchpad.net/%7Edhis2-devs)

                              Post to� � �: dhis2-devs@lists.launchpad.net

                              Unsubscribe : [https://launchpad.net/~dhis2-devs](https://launchpad.net/%7Edhis2-devs)

                              More help� �: [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)

Regards,
Muhammad Tahir


Knut Staring

Dept. of Informatics,�University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

_______________________________________________ Mailing list: Post to : Unsubscribe : More help :

https://launchpad.net/~dhis2-usersdhis2-users@lists.launchpad.nethttps://launchpad.net/~dhis2-usershttps://help.launchpad.net/ListHelp

Hi

I exported data from DHIS2 version 2.17 and importing it into 2.18 instance. The dry run runs successfully but the actual import has been running for hours without completing. Anyone ever faced this?

The hold up seems to be with importing 8,800 org units

Regards

Simon Muyambo

__________ Information from ESET NOD32 Antivirus, version of virus signature database 11662 (20150521) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

Dear Simon,

I have the same challenge here.

Regards,

Sagir Abubakar MBCS

**Program Officer IT|**E&F Management Care Centre

Hebron, Plot 5E Excellence & Friends Street, Dutse

Abuja Nigeria

Phone: +234.8172386674

P.O. Box 8179 Wuse Abuja Nigeria

www.expertmanagers.org

Logo 11

Disclaimer Notice

Any views or opinions expressed in this e-mail and the attachments transmitted with it (if any) are solely those of the sender and may not necessarily represent the views and opinions of EFMC.

This e-mail and its attachments (if any) are confidential and intended solely for the use of the addressee. If you have received this e-mail in error, kindly notify the sender. If you are not the addressee, you should not disseminate, distribute or copy this e-mail. Note that this e-mail may contain information which is protected by legal, professional or other privileges.

The contents of this e-mail and its attachments (if any) have been scanned for all viruses and all reasonable precautions have been taken to ensure that no viruses are present. You should however carry out your own virus checks before opening this e-mail or its attachments as EFMC will not accept responsibility for any loss or damage arising from the use of this e-mail or its attachments.

···

From: Dhis2-users [mailto:dhis2-users-bounces+sagir.abubakar=expertmanagers.org@lists.launchpad.net] On Behalf Of Simon Muyambo
Sent: 21 May 2015 12:44 PM
To: ‘dhis2-users’
Cc: ‘DHIS 2 developers’
Subject: [Dhis2-users] Meta data import

Hi

I exported data from DHIS2 version 2.17 and importing it into 2.18 instance. The dry run runs successfully but the actual import has been running for hours without completing. Anyone ever faced this?

The hold up seems to be with importing 8,800 org units

Regards

Simon Muyambo

__________ Information from ESET NOD32 Antivirus, version of virus signature database 11662 (20150521) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

I think you shouldn’t export and import from different versions. You should do this in the same version and upgrade one of database to 2.18

Vào 21-05-2015 18:44, “Simon Muyambo” smmuyambo@gmail.com đã viết:

···

Hi

I exported data from DHIS2 version 2.17 and importing it into 2.18 instance. The dry run runs successfully but the actual import has been running for hours without completing. Anyone ever faced this?

The hold up seems to be with importing 8,800 org units

Regards

Simon Muyambo

__________ Information from ESET NOD32 Antivirus, version of virus signature database 11662 (20150521) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Hi

Can you try and export/import OUs only? to verify? is the log giving you any indication of what might be wrong?

···

On Fri, May 22, 2015 at 6:42 AM, Thuy Nguyen thuy.hispvietnam@gmail.com wrote:

I think you shouldn’t export and import from different versions. You should do this in the same version and upgrade one of database to 2.18

Vào 21-05-2015 18:44, “Simon Muyambo” smmuyambo@gmail.com đã viết:

Hi

I exported data from DHIS2 version 2.17 and importing it into 2.18 instance. The dry run runs successfully but the actual import has been running for hours without completing. Anyone ever faced this?

The hold up seems to be with importing 8,800 org units

Regards

Simon Muyambo

__________ Information from ESET NOD32 Antivirus, version of virus signature database 11662 (20150521) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Morten

Knut and Muhammad,

I am quite sure that level is not the problem. Obviously, when moving from
level 9 to 10, the number of orgunits surges from 80 to 100,000 which is
more than 10 times. The number of orgunit matters here. I expected heap
memory problem here but the log did not say so.

Muhammad, could you try with level 10 but with little number of orgunit?

···

On Thu, May 21, 2015 at 5:40 PM, Knut Staring <knutst@gmail.com> wrote:

I suppose it is not a very helpful comment, but I would seriously consider
skipping some of those levels, if possible..though we should certainly
still aim to understand what is causing your problem.

On Thu, May 21, 2015 at 11:37 AM, Muhammad Tahir <mtagb09@gmail.com> > wrote:

Hi Ngoc,

Yes, I have loaded the table manually, but it works fine upto level 9, as
soon as the final level 10 orgunits are added, the app does start but on
browser I get 404 message.

I have created another DB, loaded each level step by step and the app
works until level10 units are added.

At present I have deployed only upto level 6 to check/configure other
options of DHIS2.

*Level1* *------ 1*
*Level2** ------ **6*
*Level3* *------ 9*
*Level4* * ------ * *16*
*Level5** ------ 130*
*Level6** ------ 550*
* Level7** ------ 900*
* Level8** ------ 20000*
* Level9** ------ 80,000*
* Level10 **------ 100,000*

On Thu, May 21, 2015 at 12:46 PM, Ngoc Thanh Nguyen < >> thanh.hispvietnam@gmail.com> wrote:

Hi Muhamad,

Try with a blank db. If it works, then check with few orgunit, if it
still works, switch to this current db. If the problem occurs, make sure
your orgunit table is valid. As far as I get you used a manual tool to
automatically insert to this orgunit table

Thanh
On Thu, May 21, 2015 at 11:10 AM, Muhammad Tahir <mtagb09@gmail.com> >>> wrote:

Hi Knut,

Yes, DHIS Live is being used at the moment. JAVA_OPTS was not set no my
machine but event I have added with value

-Xms512M -Xmx1024M

the problem remains the same(*HTTP ERROR: 404*).

On Thu, May 21, 2015 at 12:19 AM, Knut Staring <knutst@gmail.com> >>>> wrote:

Is that the whole log file? I see you are running this on your laptop
as DHIS Live. Perhaps you could try allocating more memory to Java. What is
your JAVA_OPTS?

Knut

On Wed, May 20, 2015 at 10:34 AM, Muhammad Tahir <mtagb09@gmail.com> >>>>> wrote:

Hi Morten,

Web page result:

HTTP ERROR: 404

Problem accessing /. Reason:

    NOT_FOUND

Powered by Jetty://

Log file:
* INFO 15:31:27,201 Lifecycle: server stopped (TrayApp.java
[AWT-EventQueue-0])
* INFO 15:31:27,223 Exiting... (TrayApp.java [AWT-EventQueue-0])
* INFO 15:32:11,490 Environment variable DHIS2_HOME: null
(TrayApp.java [main])
* INFO 15:32:11,551 Initialising DHIS 2 Live... (TrayApp.java [main])
* INFO 15:32:11,623 Loading DHIS 2 on port: 8082 (WebAppServer.java
[main])
* INFO 15:32:11,658 Setting DHIS 2 web app context to:
/D:/DHIS2/Tools_Setup/dhis-live/webapps/dhis (WebAppServer.java [main])
* INFO 15:32:11,659 Lifecycle: server starting (TrayApp.java
[Thread-2])
* INFO 15:32:14,931 System property dhis2.home points to
/D:/DHIS2/Tools_Setup/dhis-live/conf (DefaultLocationManager.java
[Thread-2])
* INFO 15:32:15,631 Hibernate configuration loaded, using dialect:
org.hibernate.dialect.PostgreSQLDialect
(DefaultHibernateConfigurationProvider.java [Thread-2])
* INFO 15:32:30,340 Found the following message senders:
[org.hisp.dhis.message.EmailMessageSender@1ad234d,
org.hisp.dhis.sms.SmsMessageSender@ee212a]
(DefaultMessageService.java [Thread-2])
* INFO 15:32:39,016 Detected apps: (DefaultAppManager.java
[Thread-2])
* INFO 15:32:44,155 Executing startup routine [1 of 14, runlevel 1]:
InitTableAlteror (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO 15:32:44,771 Executing startup routine [2 of 14, runlevel 2]:
PeriodTypePopulator (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO 15:32:44,859 Executing startup routine [3 of 14, runlevel 2]:
DataElementDefaultDimensionPopulator (DefaultStartupRoutineExecutor.java
[Thread-2])
* INFO 15:32:45,093 Linked default category with default concept
(DataElementDefaultDimensionPopulator.java [Thread-2])
* INFO 15:32:45,170 Executing startup routine [4 of 14, runlevel 3]:
TrackerIdentityPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO 15:33:18,812 Lifecycle: server started (TrayApp.java
[Thread-2])

On Fri, May 15, 2015 at 3:03 PM, Morten Olav Hansen < >>>>>> mortenoh@gmail.com> wrote:

Can you be a bit more specific? where does it "crash"? is it a
browser issue? server issue? can you send us the relevant parts of the
logs? (if any)

If its the browser, can you open the developer tools (f12) and look
in the javascript console and see if there is anything in red

--
Morten

On Fri, May 15, 2015 at 4:39 PM, Muhammad Tahir <mtagb09@gmail.com> >>>>>>> wrote:

Hi,

We have an organization level distribution as follows with number
of org units at each level.

App crashes when the last level is uploaded into the system and we
try to browse the organization units. A new DB should be then used to use
the app.

*Level1* *------ 1*
*Level2** ------ **6*
*Level3* *------ 9*
*Level4* * ------ * *16*
*Level5** ------ 130*
*Level6** ------ 550*
* Level7** ------ 900*
* Level8** ------ 20000*
* Level9** ------ 80,000*
* Level10 **------ 100,000*

At present the app is deployed on a desktop machine with following
configuration.
Windows7, 4 Gb RAM, Intel Corei3 3.3 GHz.

--
*Regards,*
*Muhammad Tahir*

_______________________________________________
Mailing list: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help

--
*Regards,*
*Muhammad Tahir*

_______________________________________________
Mailing list: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help

--
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org

--
*Regards,*
*Muhammad Tahir*

_______________________________________________
Mailing list: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help

--
*Regards,*
*Muhammad Tahir*

--
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org

I would try to load the levels directly on postgres.

···

Knut and Muhammad,

I am quite sure that level is not the problem. Obviously, when moving from level 9 to 10, the number of orgunits surges from 80 to 100,000 which is more than 10 times. The number of orgunit matters here. I expected heap memory problem here but the log did not say so.

Muhammad, could you try with level 10 but with little number of orgunit?

On Thu, May 21, 2015 at 5:40 PM, Knut Staring knutst@gmail.com wrote:

I suppose it is not a very helpful comment, but I would seriously consider skipping some of those levels, if possible…though we should certainly still aim to understand what is causing your problem.

On Thu, May 21, 2015 at 11:37 AM, Muhammad Tahir mtagb09@gmail.com wrote:

Hi Ngoc,

Yes, I have loaded the table manually, but it works fine upto level 9, as soon as the final level 10 orgunits are added, the app does start but on browser I get 404 message.

I have created another DB, loaded each level step by step and the app works until level10 units are added.

At present I have deployed only upto level 6 to check/configure other options of DHIS2.

Level1********------** 1**

Level2****------ ****6

Level3 ------ 9

Level4**** ** **------ ** **
16

Level5****------**
130**
Level6****------**
550**
**
Level7******------**
900**

Level8****------**
20000**

Level9****------**
80,000**

Level10 ------
100,000


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Thu, May 21, 2015 at 12:46 PM, Ngoc Thanh Nguyen thanh.hispvietnam@gmail.com wrote:

Regards,
Muhammad Tahir

Hi Muhamad,

Try with a blank db. If it works, then check with few orgunit, if it still works, switch to this current db. If the problem occurs, make sure your orgunit table is valid. As far as I get you used a manual tool to automatically insert to this orgunit table

Thanh

On Thu, May 21, 2015 at 11:10 AM, Muhammad Tahir mtagb09@gmail.com wrote:

Hi Knut,

Yes, DHIS Live is being used at the moment. JAVA_OPTS was not set no my machine but event I have added with value

-Xms512M -Xmx1024M


the problem remains the same(**HTTP ERROR: 404**).





Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

On Thu, May 21, 2015 at 12:19 AM, Knut Staring knutst@gmail.com wrote:

Is that the whole log file? I see you are running this on your laptop as DHIS Live. Perhaps you could try allocating more memory to Java. What is your JAVA_OPTS?

Knut

Regards,
Muhammad Tahir

On Wed, May 20, 2015 at 10:34 AM, Muhammad Tahir mtagb09@gmail.com wrote:

Hi Morten,

Web page result:

HTTP ERROR: 404

Problem accessing /. Reason:

NOT_FOUND

Powered by Jetty://

Log file:

  • INFO 15:31:27,201 Lifecycle: server stopped (TrayApp.java [AWT-EventQueue-0])
  • INFO 15:31:27,223 Exiting… (TrayApp.java [AWT-EventQueue-0])
  • INFO 15:32:11,490 Environment variable DHIS2_HOME: null (TrayApp.java [main])
  • INFO 15:32:11,551 Initialising DHIS 2 Live… (TrayApp.java [main])
  • INFO 15:32:11,623 Loading DHIS 2 on port: 8082 (WebAppServer.java [main])
  • INFO 15:32:11,658 Setting DHIS 2 web app context to: /D:/DHIS2/Tools_Setup/dhis-live/webapps/dhis (WebAppServer.java [main])
  • INFO 15:32:11,659 Lifecycle: server starting (TrayApp.java [Thread-2])
  • INFO 15:32:14,931 System property dhis2.home points to /D:/DHIS2/Tools_Setup/dhis-live/conf (DefaultLocationManager.java [Thread-2])
  • INFO 15:32:15,631 Hibernate configuration loaded, using dialect: org.hibernate.dialect.PostgreSQLDialect (DefaultHibernateConfigurationProvider.java [Thread-2])
  • INFO 15:32:30,340 Found the following message senders: [org.hisp.dhis.message.EmailMessageSender@1ad234d, org.hisp.dhis.sms.SmsMessageSender@ee212a] (DefaultMessageService.java [Thread-2])
  • INFO 15:32:39,016 Detected apps: (DefaultAppManager.java [Thread-2])
  • INFO 15:32:44,155 Executing startup routine [1 of 14, runlevel 1]: InitTableAlteror (DefaultStartupRoutineExecutor.java [Thread-2])
  • INFO 15:32:44,771 Executing startup routine [2 of 14, runlevel 2]: PeriodTypePopulator (DefaultStartupRoutineExecutor.java [Thread-2])
  • INFO 15:32:44,859 Executing startup routine [3 of 14, runlevel 2]: DataElementDefaultDimensionPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
  • INFO 15:32:45,093 Linked default category with default concept (DataElementDefaultDimensionPopulator.java [Thread-2])
  • INFO 15:32:45,170 Executing startup routine [4 of 14, runlevel 3]: TrackerIdentityPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
  • INFO 15:33:18,812 Lifecycle: server started (TrayApp.java [Thread-2])

Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Fri, May 15, 2015 at 3:03 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Can you be a bit more specific? where does it “crash”? is it a browser issue? server issue? can you send us the relevant parts of the logs? (if any)

If its the browser, can you open the developer tools (f12) and look in the javascript console and see if there is anything in red

Regards,
Muhammad Tahir


Morten

On Fri, May 15, 2015 at 4:39 PM, Muhammad Tahir mtagb09@gmail.com wrote:

Hi,

We have an organization level distribution as follows with number of org units at each level.

App crashes when the last level is uploaded into the system and we try to browse the organization units. A new DB should be then used to use the app.

Level1********------** 1**

Level2****------ ****6

Level3 ------ 9

Level4**** ** **------ ** **
16

Level5****------**
130**
Level6****------**
550**
**
Level7******------**
900**

Level8****------**
20000**

Level9****------**
80,000**

Level10 ------
100,000

At present the app is deployed on a desktop machine with following configuration.

Windows7, 4 Gb RAM, Intel Corei3 3.3 GHz.


Regards,
Muhammad Tahir


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Yeah, sure, I will start level 10 with a small set of orgunits and share the results.

···

On Fri, May 22, 2015 at 9:04 AM, Ngoc Thanh Nguyen thanh.hispvietnam@gmail.com wrote:

Knut and Muhammad,

I am quite sure that level is not the problem. Obviously, when moving from level 9 to 10, the number of orgunits surges from 80 to 100,000 which is more than 10 times. The number of orgunit matters here. I expected heap memory problem here but the log did not say so.

Muhammad, could you try with level 10 but with little number of orgunit?

On Thu, May 21, 2015 at 5:40 PM, Knut Staring knutst@gmail.com wrote:

I suppose it is not a very helpful comment, but I would seriously consider skipping some of those levels, if possible…though we should certainly still aim to understand what is causing your problem.

On Thu, May 21, 2015 at 11:37 AM, Muhammad Tahir mtagb09@gmail.com wrote:

Hi Ngoc,

Yes, I have loaded the table manually, but it works fine upto level 9, as soon as the final level 10 orgunits are added, the app does start but on browser I get 404 message.

I have created another DB, loaded each level step by step and the app works until level10 units are added.

At present I have deployed only upto level 6 to check/configure other options of DHIS2.

Level1********------** 1**

Level2****------ ****6

Level3 ------ 9

Level4**** ** **------ ** **
16

Level5****------**
130**
Level6****------**
550**
**
Level7******------**
900**

Level8****------**
20000**

Level9****------**
80,000**

Level10 ------
100,000


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Thu, May 21, 2015 at 12:46 PM, Ngoc Thanh Nguyen thanh.hispvietnam@gmail.com wrote:

Regards,
Muhammad Tahir

Hi Muhamad,

Try with a blank db. If it works, then check with few orgunit, if it still works, switch to this current db. If the problem occurs, make sure your orgunit table is valid. As far as I get you used a manual tool to automatically insert to this orgunit table

Thanh

On Thu, May 21, 2015 at 11:10 AM, Muhammad Tahir mtagb09@gmail.com wrote:

Hi Knut,

Yes, DHIS Live is being used at the moment. JAVA_OPTS was not set no my machine but event I have added with value

-Xms512M -Xmx1024M


the problem remains the same(**HTTP ERROR: 404**).





Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

On Thu, May 21, 2015 at 12:19 AM, Knut Staring knutst@gmail.com wrote:

Is that the whole log file? I see you are running this on your laptop as DHIS Live. Perhaps you could try allocating more memory to Java. What is your JAVA_OPTS?

Knut

Regards,
Muhammad Tahir

On Wed, May 20, 2015 at 10:34 AM, Muhammad Tahir mtagb09@gmail.com wrote:

Hi Morten,

Web page result:

HTTP ERROR: 404

Problem accessing /. Reason:

NOT_FOUND

Powered by Jetty://

Log file:

  • INFO 15:31:27,201 Lifecycle: server stopped (TrayApp.java [AWT-EventQueue-0])
  • INFO 15:31:27,223 Exiting… (TrayApp.java [AWT-EventQueue-0])
  • INFO 15:32:11,490 Environment variable DHIS2_HOME: null (TrayApp.java [main])
  • INFO 15:32:11,551 Initialising DHIS 2 Live… (TrayApp.java [main])
  • INFO 15:32:11,623 Loading DHIS 2 on port: 8082 (WebAppServer.java [main])
  • INFO 15:32:11,658 Setting DHIS 2 web app context to: /D:/DHIS2/Tools_Setup/dhis-live/webapps/dhis (WebAppServer.java [main])
  • INFO 15:32:11,659 Lifecycle: server starting (TrayApp.java [Thread-2])
  • INFO 15:32:14,931 System property dhis2.home points to /D:/DHIS2/Tools_Setup/dhis-live/conf (DefaultLocationManager.java [Thread-2])
  • INFO 15:32:15,631 Hibernate configuration loaded, using dialect: org.hibernate.dialect.PostgreSQLDialect (DefaultHibernateConfigurationProvider.java [Thread-2])
  • INFO 15:32:30,340 Found the following message senders: [org.hisp.dhis.message.EmailMessageSender@1ad234d, org.hisp.dhis.sms.SmsMessageSender@ee212a] (DefaultMessageService.java [Thread-2])
  • INFO 15:32:39,016 Detected apps: (DefaultAppManager.java [Thread-2])
  • INFO 15:32:44,155 Executing startup routine [1 of 14, runlevel 1]: InitTableAlteror (DefaultStartupRoutineExecutor.java [Thread-2])
  • INFO 15:32:44,771 Executing startup routine [2 of 14, runlevel 2]: PeriodTypePopulator (DefaultStartupRoutineExecutor.java [Thread-2])
  • INFO 15:32:44,859 Executing startup routine [3 of 14, runlevel 2]: DataElementDefaultDimensionPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
  • INFO 15:32:45,093 Linked default category with default concept (DataElementDefaultDimensionPopulator.java [Thread-2])
  • INFO 15:32:45,170 Executing startup routine [4 of 14, runlevel 3]: TrackerIdentityPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
  • INFO 15:33:18,812 Lifecycle: server started (TrayApp.java [Thread-2])

Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Fri, May 15, 2015 at 3:03 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Can you be a bit more specific? where does it “crash”? is it a browser issue? server issue? can you send us the relevant parts of the logs? (if any)

If its the browser, can you open the developer tools (f12) and look in the javascript console and see if there is anything in red

Regards,
Muhammad Tahir


Morten

On Fri, May 15, 2015 at 4:39 PM, Muhammad Tahir mtagb09@gmail.com wrote:

Hi,

We have an organization level distribution as follows with number of org units at each level.

App crashes when the last level is uploaded into the system and we try to browse the organization units. A new DB should be then used to use the app.

Level1********------** 1**

Level2****------ ****6

Level3 ------ 9

Level4**** ** **------ ** **
16

Level5****------**
130**
Level6****------**
550**
**
Level7******------**
900**

Level8****------**
20000**

Level9****------**
80,000**

Level10 ------
100,000

At present the app is deployed on a desktop machine with following configuration.

Windows7, 4 Gb RAM, Intel Corei3 3.3 GHz.


Regards,
Muhammad Tahir


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Regards,
Muhammad Tahir

also try giving more memory to Java,

eg Xmx2048M or -Xmx4096M (assuming you have a lot of RAM)

Is it Java 8?