By: Tyson Mahendran user 04 Dec 2020 at 2 p.m. CST

1 Response
Tyson Mahendran gravatar
Installed 4.2.0 and getting " Oops Something wrong happened." identity logs shows the following error:`[org.gluu.oxtrust.auth.uma.UmaPermissionService] (UmaPermissionService.java:109) - **Failed to initialize UmaPermissionService javax.ws.rs.NotFoundException: HTTP 404 Not Found** at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.handleErrorStatus(ClientInvocation.java:226) ~[resteasy-client-3.13.0.Final.jar:3.13.0.Final]` ``` 2020-12-04 14:52:17.582:INFO:oejs.AbstractConnector:main: Started ServerConnector@6736791a{HTTP/1.1, (http/1.1)}{localhost:8082} 2020-12-04 14:52:17.585:INFO:oejs.Server:main: Started @34449ms **org.gluu.persist.exception.EntryPersistenceException: Failed to persist entry: uniqueIdentifier=2020-12-04,ou=202012,ou=oxtrust,ou=statistic,o=metric** at org.gluu.persist.ldap.impl.LdapEntryManager.persist(LdapEntryManager.java:190) at org.gluu.persist.impl.BaseEntryManager.persist(BaseEntryManager.java:126) ``` ``` Caused by: LDAPException(resultCode=32 (no such object), diagnosticMessage='Entry uniqueIdentifier=2020-12-04,ou=202012,ou=oxtrust,ou=statistic,o=metric cannot be added because its parent entry ou=202012,ou=oxtrust,ou=statistic,o=metric does not exist in the server', matchedDN='ou=statistic,o=metric', ldapSDKVersion=5.1.0, revision=89705d759f7c1ab3bccb2870f8c2e7d529ed231b) at com.unboundid.ldap.sdk.LDAPConnection.add(LDAPConnection.java:2160) at com.unboundid.ldap.sdk.AbstractConnectionPool.add(AbstractConnectionPool.java:776) at com.unboundid.ldap.sdk.AbstractConnectionPool.add(AbstractConnectionPool.java:704) at org.gluu.persist.ldap.operation.impl.LdapOperationServiceImpl.addEntryImpl(LdapOperationServiceImpl.java:726) at org.gluu.persist.ldap.operation.impl.LdapOperationServiceImpl.addEntry(LdapOperationServiceImpl.java:712) at org.gluu.persist.ldap.impl.LdapEntryManager.persist(LdapEntryManager.java:185) ... 23 more ``` ``` 2020-12-04 14:53:10,775 INFO [metrics-reporter-1-thread-1] [org.gluu.oxtrust.service.AppInitializer] (AppInitializer.java:316) - Created persistenceMetricEntryManager: org.gluu.persist.ldap.impl.LdapEntryManager@934fb4a with operation service: org.gluu.persist.ldap.operation.impl.LdapOperationServiceImpl@383eeb64 2020-12-04 14:53:43,611 ERROR [qtp2051853139-14] [org.gluu.oxauth.client.OpenIdConfigurationClient] (OpenIdConfigurationClient.java:90) - **There is an error in the JSON response. Check if there is a syntax error in the JSON response or there is a wrong key** org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1] at org.json.JSONTokener.syntaxError(JSONTokener.java:507) ~[json-20200518.jar:?] at org.json.JSONObject.<init>(JSONObject.java:222) ~[json-20200518.jar:?] at org.json.JSONObject.<init>(JSONObject.java:406) ~[json-20200518.jar:?] at org.gluu.oxauth.client.OpenIdConfigurationClient.parse(OpenIdConfigurationClient.java:112) ~[oxauth-client-4.2.1.Final.jar:?] at org.gluu.oxauth.client.OpenIdConfigurationClient._execOpenIdConfiguration(OpenIdConfigurationClient.java:88) ~[oxauth-client-4.2.1.Final.jar:?] at org.gluu.oxauth.client.OpenIdConfigurationClient.execOpenIdConfiguration(OpenIdConfigurationClient.java:52) ~[oxauth-client-4.2.1.Final.jar:?] at org.gluu.oxtrust.service.OpenIdService.loadOpenIdConfiguration(OpenIdService.java:61) ~[oxtrust-service-4.2.1.Final.jar:?] at org.gluu. ```

By Tyson Mahendran user 04 Dec 2020 at 3:12 p.m. CST

Tyson Mahendran gravatar
Update: As per this support link... I upgrade to 4.2.1 ( https://support.gluu.org/upgrade/8887/failed-upgrade-from-420-to-421/) but now I am getting the same error: ``` ERROR [main] [org.gluu.oxtrust.auth.uma.UmaPermissionService] (UmaPermissionService.java:109) - Failed to initialize UmaPermissionService javax.ws.rs.NotFoundException: HTTP 404 Not Found at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.handleErrorStatus(ClientInvocation.java:226) ~[resteasy-client-3.13.0.Final.jar:3.13.0.Final] at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.extractResult(ClientInvocation.java:196) ~[resteasy-client-3.13.0.Final.jar:3.13.0.Final] at org.jboss.resteasy.client.jaxrs.internal.proxy.extractors.BodyEntityExtractor.extractEntity(BodyEntityExtractor.java:62) ~[resteasy-client-3.13.0.Final.jar:3.13.0.Final] ``` ``` 2020-12-04 16:09:18,120 INFO [metrics-reporter-1-thread-1] [org.gluu.oxtrust.service.AppInitializer] (AppInitializer.java:316) - Created persistenceMetricEntryManager: org.gluu.persist.ldap.impl.LdapEntryManager@51da5037 with operation service: org.gluu.persist.ldap.operation.impl.LdapOperationServiceImpl@4d48b889 2020-12-04 16:11:25,681 ERROR [qtp790067787-14] [org.gluu.oxauth.client.OpenIdConfigurationClient] (OpenIdConfigurationClient.java:90) - There is an error in the JSON response. Check if there is a syntax error in the JSON response or there is a wrong key org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1] at org.json.JSONTokener.syntaxError(JSONTokener.java:507) ~[json-20200518.jar:?] at org.json.JSONObject.<init>(JSONObject.java:222) ~[json-20200518.jar:?] at org.json.JSONObject.<init>(JSONObject.java:406) ~[json-20200518.jar:?] at org.gluu.oxauth.client.OpenIdConfigurationClient.parse(OpenIdConfigurationClient.java:112) ~[oxauth-client-4.2.1.Final.jar:?] at org.gluu.oxauth.client.OpenIdConfigura ```