← Back to team overview

dhis2-devs team mailing list archive

Re: Bug on OpenID dhis2

 

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@xxxxxxxxxxxxxxxxxxx&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@xxxxxxxxx> 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@xxxxxxxxx>:
>
>> I think it is 2.17
>>
>> On Wed, Apr 15, 2015 at 9:19 AM, Morten Olav Hansen <mortenoh@xxxxxxxxx>
>> wrote:
>>
>>> Which version of dhis2?
>>>
>>> --
>>> Morten
>>>
>>> 2015-04-15 8:21 GMT+07:00 Ngoc Thanh Nguyen <thanh.hispvietnam@xxxxxxxxx
>>> >:
>>>
>>>> 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@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>
>

Follow ups

References