Hi everybody,
yesterday I have used DHIS2 without any problem, but since morning I had an issue. when I launch the DHIS2 I get an error as “HTTP ERROR: 503
Problem accessing /. Reason:SERVICE_UNAVAILABLE”. But when I change another Data Base the dhis2 is launched successfully. could someone tell me what the issue and how to solve it? Because The data base I was using yesterday contains many data. so please help me on this issue.
Note that I’m using dhis2 in local mode
Best regards.
Franck
Please remember to always specify your setup (even if you have done so in another thread earlier):
503 usually indicates a problem with your db. Is this DHIS2 Live with the H2 database? Or with Postgres?
Any messages in your log? Try staring it from the DOS command line like this:
java -jar dhis2-live.jar
That should give you more messages than in the Live log
···
On Fri, Feb 21, 2014 at 2:34 PM, HAKIZIMANA Franck francescohaki@gmail.com wrote:
Hi everybody,
yesterday I have used DHIS2 without any problem, but since morning I had an issue. when I launch the DHIS2 I get an error as "HTTP ERROR: 503
Problem accessing /. Reason:SERVICE_UNAVAILABLE". But when I change another Data Base the dhis2 is launched successfully. could someone tell me what the issue and how to solve it? Because The data base I was using yesterday contains many data. so please help me on this issue.
Note that I’m using dhis2 in local mode
Best regards.
Franck
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp
–
Knut Staring
Dept. of Informatics, University of Oslo
+4791880522
http://dhis2.org
Something seems to be wrong with your periods, you are using six month periods?
···
On Fri, Feb 21, 2014 at 3:23 PM, HAKIZIMANA Franck francescohaki@gmail.com wrote:
I’m using dhis2 2.14 Live with Postgres as Data Base. In my log file I got this error message:
ERROR 08:09:44,652 org.hibernate.WrongClassException: Object with id: 1481 was not of the specified subclass: org.hisp.dhis.period.PeriodType (Discriminator: SixMonthlyApril)
at org.hibernate.loader.Loader.getInstanceClass(Loader.java:1742)
at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1576)
at org.hibernate.loader.Loader.getRow(Loader.java:1500)
at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:712)
at org.hibernate.loader.Loader.processResultSet(Loader.java:940)
at org.hibernate.loader.Loader.doQuery(Loader.java:910)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:341)
at org.hibernate.loader.Loader.doList(Loader.java:2516)
at org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2361)
at org.hibernate.loader.Loader.list(Loader.java:2324)
at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:124)
at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1661)
at org.hibernate.internal.CriteriaImpl.list(CriteriaImpl.java:374)
at org.hisp.dhis.period.hibernate.HibernatePeriodStore.getAllPeriodTypes(HibernatePeriodStore.java:244)
at org.hisp.dhis.period.PeriodTypePopulator.execute(PeriodTypePopulator.java:69)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy78.execute(Unknown Source)
at org.hisp.dhis.system.startup.DefaultStartupRoutineExecutor.execute(DefaultStartupRoutineExecutor.java:115)
at org.hisp.dhis.system.startup.DefaultStartupRoutineExecutor.execute(DefaultStartupRoutineExecutor.java:85)
at org.hisp.dhis.system.startup.StartupListener.contextInitialized(StartupListener.java:68)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1272)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:489)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.hisp.dhis.WebAppServer.run(WebAppServer.java:110)
(StartupListener.java [Thread-2])
Thank you.
Franck
–
Knut Staring
Dept. of Informatics, University of Oslo
+4791880522
http://dhis2.org
On Fri, Feb 21, 2014 at 9:02 AM, Knut Staring knutst@gmail.com wrote:
Please remember to always specify your setup (even if you have done so in another thread earlier):
503 usually indicates a problem with your db. Is this DHIS2 Live with the H2 database? Or with Postgres?
Any messages in your log? Try staring it from the DOS command line like this:
java -jar dhis2-live.jar
That should give you more messages than in the Live log
On Fri, Feb 21, 2014 at 2:34 PM, HAKIZIMANA Franck francescohaki@gmail.com wrote:
Hi everybody,
yesterday I have used DHIS2 without any problem, but since morning I had an issue. when I launch the DHIS2 I get an error as "HTTP ERROR: 503
Problem accessing /. Reason:SERVICE_UNAVAILABLE". But when I change another Data Base the dhis2 is launched successfully. could someone tell me what the issue and how to solve it? Because The data base I was using yesterday contains many data. so please help me on this issue.
Note that I’m using dhis2 in local mode
Best regards.
Franck
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp
Knut Staring
Dept. of Informatics, University of Oslo
+4791880522
http://dhis2.org
–