Bug on OpenID dhis2

After signing in successfully

Etat HTTP 500 - Filter execution threw an exception

···

------------------------------

*type* Rapport d''exception

*message* *Filter execution threw an exception*

*description* *Le serveur a rencontré une erreur interne qui l''a empêché
de satisfaire la requête.*

*exception*

javax.servlet.ServletException: Filter execution threw an exception
  org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150)
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

*cause mère*

java.lang.NoClassDefFoundError: org/openid4java/util/OpenID4JavaDOMParser
  org.openid4java.discovery.yadis.CyberNekoDOMYadisHtmlParser.parseDocument(CyberNekoDOMYadisHtmlParser.java:96)
  org.openid4java.discovery.yadis.CyberNekoDOMYadisHtmlParser.getHtmlMeta(CyberNekoDOMYadisHtmlParser.java:39)
  org.openid4java.discovery.yadis.YadisResolver.getHtmlMeta(YadisResolver.java:325)
  org.openid4java.discovery.yadis.YadisResolver.retrieveXrdsLocation(YadisResolver.java:453)
  org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:252)
  org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:232)
  org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:166)
  org.openid4java.discovery.Discovery.discover(Discovery.java:147)
  org.openid4java.consumer.ConsumerManager.verifyDiscovered2(ConsumerManager.java:1693)
  org.openid4java.consumer.ConsumerManager.verifyDiscovered(ConsumerManager.java:1521)
  org.openid4java.consumer.ConsumerManager.verify(ConsumerManager.java:1156)
  org.springframework.security.openid.OpenID4JavaConsumer.endConsumption(OpenID4JavaConsumer.java:169)
  org.springframework.security.openid.OpenIDAuthenticationFilter.attemptAuthentication(OpenIDAuthenticationFilter.java:145)
  org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:211)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.hisp.dhis.security.filter.CustomAuthenticationFilter.doFilter(CustomAuthenticationFilter.java:64)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.hisp.dhis.security.filter.AutomaticAccessFilter.doFilter(AutomaticAccessFilter.java:115)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:57)
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
  org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
  org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
  org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
  org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150)
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

*note* *La trace complète de la cause mère de cette erreur est disponible
dans les fichiers journaux de Apache Tomcat/7.0.47. <http://7.0.47.>*
------------------------------
Apache Tomcat/7.0.47

Which version of dhis2?

···

2015-04-15 8:21 GMT+07:00 Ngoc Thanh Nguyen thanh.hispvietnam@gmail.com:

After signing in successfully

Etat HTTP 500 - Filter execution threw an exception


type Rapport d’'exception

message Filter execution threw an exception

description Le serveur a rencontré une erreur interne qui l’'a empêché de satisfaire la requête.

exception

	javax.servlet.ServletException: Filter execution threw an exception org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

cause mère

	java.lang.NoClassDefFoundError: org/openid4java/util/OpenID4JavaDOMParser org.openid4java.discovery.yadis.CyberNekoDOMYadisHtmlParser.parseDocument(CyberNekoDOMYadisHtmlParser.java:96) org.openid4java.discovery.yadis.CyberNekoDOMYadisHtmlParser.getHtmlMeta(CyberNekoDOMYadisHtmlParser.java:39) org.openid4java.discovery.yadis.YadisResolver.getHtmlMeta(YadisResolver.java:325) org.openid4java.discovery.yadis.YadisResolver.retrieveXrdsLocation(YadisResolver.java:453) org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:252) org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:232) org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:166) org.openid4java.discovery.Discovery.discover(Discovery.java:147) org.openid4java.consumer.ConsumerManager.verifyDiscovered2(ConsumerManager.java:1693) org.openid4java.consumer.ConsumerManager.verifyDiscovered(ConsumerManager.java:1521) org.openid4java.consumer.ConsumerManager.verify(ConsumerManager.java:1156) org.springframework.security.openid.OpenID4JavaConsumer.endConsumption(OpenID4JavaConsumer.java:169) org.springframework.security.openid.OpenIDAuthenticationFilter.attemptAuthentication(OpenIDAuthenticationFilter.java:145) org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:211) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.hisp.dhis.security.filter.CustomAuthenticationFilter.doFilter(CustomAuthenticationFilter.java:64) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.hisp.dhis.security.filter.AutomaticAccessFilter.doFilter(AutomaticAccessFilter.java:115) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:57) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344) org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261) org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

note La trace complète de la cause mère de cette erreur est disponible dans les fichiers journaux de Apache Tomcat/7.0.47.


Apache Tomcat/7.0.47


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

I think it is 2.17

···

On Wed, Apr 15, 2015 at 9:19 AM, Morten Olav Hansen <mortenoh@gmail.com> wrote:

Which version of dhis2?

--
Morten

2015-04-15 8:21 GMT+07:00 Ngoc Thanh Nguyen <thanh.hispvietnam@gmail.com>:

After signing in successfully

Etat HTTP 500 - Filter execution threw an exception
------------------------------

*type* Rapport d''exception

*message* *Filter execution threw an exception*

*description* *Le serveur a rencontré une erreur interne qui l''a
empêché de satisfaire la requête.*

*exception*

javax.servlet.ServletException: Filter execution threw an exception
  org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150)
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

*cause mère*

java.lang.NoClassDefFoundError: org/openid4java/util/OpenID4JavaDOMParser
  org.openid4java.discovery.yadis.CyberNekoDOMYadisHtmlParser.parseDocument(CyberNekoDOMYadisHtmlParser.java:96)
  org.openid4java.discovery.yadis.CyberNekoDOMYadisHtmlParser.getHtmlMeta(CyberNekoDOMYadisHtmlParser.java:39)
  org.openid4java.discovery.yadis.YadisResolver.getHtmlMeta(YadisResolver.java:325)
  org.openid4java.discovery.yadis.YadisResolver.retrieveXrdsLocation(YadisResolver.java:453)
  org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:252)
  org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:232)
  org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:166)
  org.openid4java.discovery.Discovery.discover(Discovery.java:147)
  org.openid4java.consumer.ConsumerManager.verifyDiscovered2(ConsumerManager.java:1693)
  org.openid4java.consumer.ConsumerManager.verifyDiscovered(ConsumerManager.java:1521)
  org.openid4java.consumer.ConsumerManager.verify(ConsumerManager.java:1156)
  org.springframework.security.openid.OpenID4JavaConsumer.endConsumption(OpenID4JavaConsumer.java:169)
  org.springframework.security.openid.OpenIDAuthenticationFilter.attemptAuthentication(OpenIDAuthenticationFilter.java:145)
  org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:211)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.hisp.dhis.security.filter.CustomAuthenticationFilter.doFilter(CustomAuthenticationFilter.java:64)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.hisp.dhis.security.filter.AutomaticAccessFilter.doFilter(AutomaticAccessFilter.java:115)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:57)
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
  org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
  org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
  org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
  org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150)
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

*note* *La trace complète de la cause mère de cette erreur est
disponible dans les fichiers journaux de Apache Tomcat/7.0.47.
<http://7.0.47.>*
------------------------------
Apache Tomcat/7.0.47

_______________________________________________
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

Sorry it is 2.18

This is full log of the server

About DHIS 2Web API:Browse it here <http://nova.hny.vn:8080/dhis/api>Current
user:adminVersion:2.18Build revision:18202Build date:2015-02-25 23:19User
agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/42.0.2311.90 Safari/537.36Server date:2015-04-16 13:13Environment
variable:DHIS2_HOMEExternal configuration directory:/opt/DHIS2_HOMEDatabase
type:PostgreSQLDatabase name:dhis2Database user:dhis2Java opts:Java home:
/opt/jdk1.7.0/jreJava temporary directory:/opt/tomcat7/tempJava version:
1.7.0Java vendor:Oracle CorporationOS name:LinuxOS architecture:amd64OS
version:2.6.32-431.1.2.0.1.el6.x86_64Server memory:Mem Total in JVM: 617
Free in JVM: 97 Max Limit: 888CPU cores:2

···

2015-04-17 6:39 GMT+07:00 Ngoc Thanh Nguyen <thanh.hispvietnam@gmail.com>:

I think it is 2.17

On Wed, Apr 15, 2015 at 9:19 AM, Morten Olav Hansen <mortenoh@gmail.com> > wrote:

Which version of dhis2?

--
Morten

2015-04-15 8:21 GMT+07:00 Ngoc Thanh Nguyen <thanh.hispvietnam@gmail.com>
:

After signing in successfully

Etat HTTP 500 - Filter execution threw an exception
------------------------------

*type* Rapport d''exception

*message* *Filter execution threw an exception*

*description* *Le serveur a rencontré une erreur interne qui l''a
empêché de satisfaire la requête.*

*exception*

javax.servlet.ServletException: Filter execution threw an exception
  org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150)
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

*cause mère*

java.lang.NoClassDefFoundError: org/openid4java/util/OpenID4JavaDOMParser
  org.openid4java.discovery.yadis.CyberNekoDOMYadisHtmlParser.parseDocument(CyberNekoDOMYadisHtmlParser.java:96)
  org.openid4java.discovery.yadis.CyberNekoDOMYadisHtmlParser.getHtmlMeta(CyberNekoDOMYadisHtmlParser.java:39)
  org.openid4java.discovery.yadis.YadisResolver.getHtmlMeta(YadisResolver.java:325)
  org.openid4java.discovery.yadis.YadisResolver.retrieveXrdsLocation(YadisResolver.java:453)
  org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:252)
  org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:232)
  org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:166)
  org.openid4java.discovery.Discovery.discover(Discovery.java:147)
  org.openid4java.consumer.ConsumerManager.verifyDiscovered2(ConsumerManager.java:1693)
  org.openid4java.consumer.ConsumerManager.verifyDiscovered(ConsumerManager.java:1521)
  org.openid4java.consumer.ConsumerManager.verify(ConsumerManager.java:1156)
  org.springframework.security.openid.OpenID4JavaConsumer.endConsumption(OpenID4JavaConsumer.java:169)
  org.springframework.security.openid.OpenIDAuthenticationFilter.attemptAuthentication(OpenIDAuthenticationFilter.java:145)
  org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:211)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.hisp.dhis.security.filter.CustomAuthenticationFilter.doFilter(CustomAuthenticationFilter.java:64)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.hisp.dhis.security.filter.AutomaticAccessFilter.doFilter(AutomaticAccessFilter.java:115)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:57)
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
  org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
  org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
  org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
  org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150)
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

*note* *La trace complète de la cause mère de cette erreur est
disponible dans les fichiers journaux de Apache Tomcat/7.0.47.
<http://7.0.47.>*
------------------------------
Apache Tomcat/7.0.47

_______________________________________________
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

I have solved this problem.

I think the problem is related to excluding XeresImp jar. There was a thread about this but no one confirm anything so it was completely excluded.

Note that the demo server also has this problem so my suggestion is either include this jar again or should have a very strong notice on the deployment of OpenID

https://www.mail-archive.com/search?l=dhis2-devs@lists.launchpad.net&q=subject:%22Re%3A+%5BDhis2-devs%5D+%5BBug+1320212%5D+%5BNEW%5D+Warning+possibly+relate+to+xerces+library+while+migrating+to+dhis+2.14+to+2.15%22&o=newest&f=1

Thanh

···

On Fri, Apr 17, 2015 at 6:40 AM, Ngoc Thanh Nguyen thanh.hispvietnam@gmail.com wrote:

Sorry it is 2.18

This is full log of the server

About DHIS 2

Web API:
Browse it here
Current user:
admin
Version:
2.18
Build revision:
18202
Build date:
2015-02-25 23:19
User agent:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36
Server date:
2015-04-16 13:13
Environment variable:
DHIS2_HOME
External configuration directory:
/opt/DHIS2_HOME
Database type:
PostgreSQL
Database name:
dhis2
Database user:
dhis2
Java opts:
Java home:
/opt/jdk1.7.0/jre
Java temporary directory:
/opt/tomcat7/temp
Java version:
1.7.0
Java vendor:
Oracle Corporation
OS name:
Linux
OS architecture:
amd64
OS version:
2.6.32-431.1.2.0.1.el6.x86_64
Server memory:
Mem Total in JVM: 617 Free in JVM: 97 Max Limit: 888
CPU cores:
2

2015-04-17 6:39 GMT+07:00 Ngoc Thanh Nguyen thanh.hispvietnam@gmail.com:

I think it is 2.17

On Wed, Apr 15, 2015 at 9:19 AM, Morten Olav Hansen mortenoh@gmail.com wrote:

Which version of dhis2?


Morten

2015-04-15 8:21 GMT+07:00 Ngoc Thanh Nguyen thanh.hispvietnam@gmail.com:

After signing in successfully

Etat HTTP 500 - Filter execution threw an exception


type Rapport d’'exception

message Filter execution threw an exception

description Le serveur a rencontré une erreur interne qui l’'a empêché de satisfaire la requête.

exception

	javax.servlet.ServletException: Filter execution threw an exception org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

cause mère

	java.lang.NoClassDefFoundError: org/openid4java/util/OpenID4JavaDOMParser org.openid4java.discovery.yadis.CyberNekoDOMYadisHtmlParser.parseDocument(CyberNekoDOMYadisHtmlParser.java:96) org.openid4java.discovery.yadis.CyberNekoDOMYadisHtmlParser.getHtmlMeta(CyberNekoDOMYadisHtmlParser.java:39) org.openid4java.discovery.yadis.YadisResolver.getHtmlMeta(YadisResolver.java:325) org.openid4java.discovery.yadis.YadisResolver.retrieveXrdsLocation(YadisResolver.java:453) org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:252) org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:232) org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:166) org.openid4java.discovery.Discovery.discover(Discovery.java:147) org.openid4java.consumer.ConsumerManager.verifyDiscovered2(ConsumerManager.java:1693) org.openid4java.consumer.ConsumerManager.verifyDiscovered(ConsumerManager.java:1521) org.openid4java.consumer.ConsumerManager.verify(ConsumerManager.java:1156) org.springframework.security.openid.OpenID4JavaConsumer.endConsumption(OpenID4JavaConsumer.java:169) org.springframework.security.openid.OpenIDAuthenticationFilter.attemptAuthentication(OpenIDAuthenticationFilter.java:145) org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:211) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.hisp.dhis.security.filter.CustomAuthenticationFilter.doFilter(CustomAuthenticationFilter.java:64) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.hisp.dhis.security.filter.AutomaticAccessFilter.doFilter(AutomaticAccessFilter.java:115) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:57) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344) org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261) org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

note La trace complète de la cause mère de cette erreur est disponible dans les fichiers journaux de Apache Tomcat/7.0.47.


Apache Tomcat/7.0.47


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

Thanh, I have removed the exclusions in 2.18 / 2.19 and trunk.

···

On Tue, May 19, 2015 at 2:06 PM, Ngoc Thanh Nguyen thanh.hispvietnam@gmail.com wrote:

I have solved this problem.

I think the problem is related to excluding XeresImp jar. There was a thread about this but no one confirm anything so it was completely excluded.

Note that the demo server also has this problem so my suggestion is either include this jar again or should have a very strong notice on the deployment of OpenID

https://www.mail-archive.com/search?l=dhis2-devs@lists.launchpad.net&q=subject:%22Re%3A+%5BDhis2-devs%5D+%5BBug+1320212%5D+%5BNEW%5D+Warning+possibly+relate+to+xerces+library+while+migrating+to+dhis+2.14+to+2.15%22&o=newest&f=1

Thanh


Morten

On Fri, Apr 17, 2015 at 6:40 AM, Ngoc Thanh Nguyen thanh.hispvietnam@gmail.com wrote:

Sorry it is 2.18

This is full log of the server

About DHIS 2

Web API:
Browse it here
Current user:
admin
Version:
2.18
Build revision:
18202
Build date:
2015-02-25 23:19
User agent:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36
Server date:
2015-04-16 13:13
Environment variable:
DHIS2_HOME
External configuration directory:
/opt/DHIS2_HOME
Database type:
PostgreSQL
Database name:
dhis2
Database user:
dhis2
Java opts:
Java home:
/opt/jdk1.7.0/jre
Java temporary directory:
/opt/tomcat7/temp
Java version:
1.7.0
Java vendor:
Oracle Corporation
OS name:
Linux
OS architecture:
amd64
OS version:
2.6.32-431.1.2.0.1.el6.x86_64
Server memory:
Mem Total in JVM: 617 Free in JVM: 97 Max Limit: 888
CPU cores:
2

2015-04-17 6:39 GMT+07:00 Ngoc Thanh Nguyen thanh.hispvietnam@gmail.com:

I think it is 2.17

On Wed, Apr 15, 2015 at 9:19 AM, Morten Olav Hansen mortenoh@gmail.com wrote:

Which version of dhis2?


Morten

2015-04-15 8:21 GMT+07:00 Ngoc Thanh Nguyen thanh.hispvietnam@gmail.com:

After signing in successfully

Etat HTTP 500 - Filter execution threw an exception


type Rapport d’'exception

message Filter execution threw an exception

description Le serveur a rencontré une erreur interne qui l’'a empêché de satisfaire la requête.

exception

	javax.servlet.ServletException: Filter execution threw an exception org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

cause mère

	java.lang.NoClassDefFoundError: org/openid4java/util/OpenID4JavaDOMParser org.openid4java.discovery.yadis.CyberNekoDOMYadisHtmlParser.parseDocument(CyberNekoDOMYadisHtmlParser.java:96) org.openid4java.discovery.yadis.CyberNekoDOMYadisHtmlParser.getHtmlMeta(CyberNekoDOMYadisHtmlParser.java:39) org.openid4java.discovery.yadis.YadisResolver.getHtmlMeta(YadisResolver.java:325) org.openid4java.discovery.yadis.YadisResolver.retrieveXrdsLocation(YadisResolver.java:453) org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:252) org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:232) org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:166) org.openid4java.discovery.Discovery.discover(Discovery.java:147) org.openid4java.consumer.ConsumerManager.verifyDiscovered2(ConsumerManager.java:1693) org.openid4java.consumer.ConsumerManager.verifyDiscovered(ConsumerManager.java:1521) org.openid4java.consumer.ConsumerManager.verify(ConsumerManager.java:1156) org.springframework.security.openid.OpenID4JavaConsumer.endConsumption(OpenID4JavaConsumer.java:169) org.springframework.security.openid.OpenIDAuthenticationFilter.attemptAuthentication(OpenIDAuthenticationFilter.java:145) org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:211) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.hisp.dhis.security.filter.CustomAuthenticationFilter.doFilter(CustomAuthenticationFilter.java:64) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.hisp.dhis.security.filter.AutomaticAccessFilter.doFilter(AutomaticAccessFilter.java:115) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:57) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344) org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261) org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

note La trace complète de la cause mère de cette erreur est disponible dans les fichiers journaux de Apache Tomcat/7.0.47.


Apache Tomcat/7.0.47


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

excellent

···

On Tue, Jun 2, 2015 at 9:26 AM, Morten Olav Hansen <mortenoh@gmail.com> wrote:

Thanh, I have removed the exclusions in 2.18 / 2.19 and trunk.

--
Morten

On Tue, May 19, 2015 at 2:06 PM, Ngoc Thanh Nguyen < > thanh.hispvietnam@gmail.com> wrote:

I have solved this problem.

I think the problem is related to excluding XeresImp jar. There was a
thread about this but no one confirm anything so it was completely excluded.

Note that the demo server also has this problem so my suggestion is
either include this jar again or should have a very strong notice on the
deployment of OpenID

https://www.mail-archive.com/search?l=dhis2-devs@lists.launchpad.net&q=subject:"Re%3A+[Dhis2-devs]+[Bug+1320212]+[NEW]+Warning+possibly+relate+to+xerces+library+while+migrating+to+dhis+2.14+to+2.15"&o=newest&f=1

Thanh

On Fri, Apr 17, 2015 at 6:40 AM, Ngoc Thanh Nguyen < >> thanh.hispvietnam@gmail.com> wrote:

Sorry it is 2.18

This is full log of the server

About DHIS 2Web API:Browse it here <http://nova.hny.vn:8080/dhis/api>Current
user:adminVersion:2.18Build revision:18202Build date:2015-02-25 23:19User
agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/42.0.2311.90 Safari/537.36Server date:2015-04-16
13:13Environment variable:DHIS2_HOMEExternal configuration directory:
/opt/DHIS2_HOMEDatabase type:PostgreSQLDatabase name:dhis2Database user:
dhis2Java opts:Java home:/opt/jdk1.7.0/jreJava temporary directory:
/opt/tomcat7/tempJava version:1.7.0Java vendor:Oracle CorporationOS
name:LinuxOS architecture:amd64OS version:2.6.32-431.1.2.0.1.el6.x86_64Server
memory:Mem Total in JVM: 617 Free in JVM: 97 Max Limit: 888CPU cores:2

2015-04-17 6:39 GMT+07:00 Ngoc Thanh Nguyen <thanh.hispvietnam@gmail.com
>:

I think it is 2.17

On Wed, Apr 15, 2015 at 9:19 AM, Morten Olav Hansen <mortenoh@gmail.com >>>> > wrote:

Which version of dhis2?

--
Morten

2015-04-15 8:21 GMT+07:00 Ngoc Thanh Nguyen <
thanh.hispvietnam@gmail.com>:

After signing in successfully

Etat HTTP 500 - Filter execution threw an exception
------------------------------

*type* Rapport d''exception

*message* *Filter execution threw an exception*

*description* *Le serveur a rencontré une erreur interne qui l''a
empêché de satisfaire la requête.*

*exception*

javax.servlet.ServletException: Filter execution threw an exception
  org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150)
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

*cause mère*

java.lang.NoClassDefFoundError: org/openid4java/util/OpenID4JavaDOMParser
  org.openid4java.discovery.yadis.CyberNekoDOMYadisHtmlParser.parseDocument(CyberNekoDOMYadisHtmlParser.java:96)
  org.openid4java.discovery.yadis.CyberNekoDOMYadisHtmlParser.getHtmlMeta(CyberNekoDOMYadisHtmlParser.java:39)
  org.openid4java.discovery.yadis.YadisResolver.getHtmlMeta(YadisResolver.java:325)
  org.openid4java.discovery.yadis.YadisResolver.retrieveXrdsLocation(YadisResolver.java:453)
  org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:252)
  org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:232)
  org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:166)
  org.openid4java.discovery.Discovery.discover(Discovery.java:147)
  org.openid4java.consumer.ConsumerManager.verifyDiscovered2(ConsumerManager.java:1693)
  org.openid4java.consumer.ConsumerManager.verifyDiscovered(ConsumerManager.java:1521)
  org.openid4java.consumer.ConsumerManager.verify(ConsumerManager.java:1156)
  org.springframework.security.openid.OpenID4JavaConsumer.endConsumption(OpenID4JavaConsumer.java:169)
  org.springframework.security.openid.OpenIDAuthenticationFilter.attemptAuthentication(OpenIDAuthenticationFilter.java:145)
  org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:211)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.hisp.dhis.security.filter.CustomAuthenticationFilter.doFilter(CustomAuthenticationFilter.java:64)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.hisp.dhis.security.filter.AutomaticAccessFilter.doFilter(AutomaticAccessFilter.java:115)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:57)
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
  org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
  org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
  org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
  org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
  org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
  org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150)
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

*note* *La trace complète de la cause mère de cette erreur est
disponible dans les fichiers journaux de Apache Tomcat/7.0.47.
<http://7.0.47.>*
------------------------------
Apache Tomcat/7.0.47

_______________________________________________
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