You can subscribe to this list here.
2014 |
Jan
(3) |
Feb
(1) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
(2) |
Aug
(2) |
Sep
|
Oct
(3) |
Nov
|
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2015 |
Jan
(20) |
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
(15) |
Jul
(1) |
Aug
(7) |
Sep
(13) |
Oct
(2) |
Nov
(10) |
Dec
(1) |
2016 |
Jan
|
Feb
(2) |
Mar
|
Apr
(2) |
May
(1) |
Jun
|
Jul
(1) |
Aug
(2) |
Sep
(11) |
Oct
(7) |
Nov
(6) |
Dec
(11) |
2017 |
Jan
(10) |
Feb
(5) |
Mar
(27) |
Apr
(34) |
May
(25) |
Jun
(14) |
Jul
(7) |
Aug
(17) |
Sep
(11) |
Oct
(6) |
Nov
(14) |
Dec
(10) |
2018 |
Jan
(8) |
Feb
(19) |
Mar
(40) |
Apr
(9) |
May
(16) |
Jun
(23) |
Jul
(31) |
Aug
(7) |
Sep
(9) |
Oct
(6) |
Nov
(14) |
Dec
(19) |
2019 |
Jan
(4) |
Feb
(6) |
Mar
(1) |
Apr
(2) |
May
(6) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(19) |
Dec
(14) |
2020 |
Jan
(10) |
Feb
(24) |
Mar
(49) |
Apr
(26) |
May
(12) |
Jun
(4) |
Jul
(13) |
Aug
(32) |
Sep
(13) |
Oct
(10) |
Nov
(4) |
Dec
(16) |
2021 |
Jan
(2) |
Feb
(8) |
Mar
(15) |
Apr
(19) |
May
(5) |
Jun
(13) |
Jul
(6) |
Aug
(38) |
Sep
(11) |
Oct
(18) |
Nov
(11) |
Dec
(13) |
2022 |
Jan
(10) |
Feb
(21) |
Mar
(28) |
Apr
(3) |
May
(7) |
Jun
(9) |
Jul
(14) |
Aug
(13) |
Sep
(8) |
Oct
(29) |
Nov
(1) |
Dec
(21) |
2023 |
Jan
(19) |
Feb
(9) |
Mar
|
Apr
(10) |
May
(7) |
Jun
(10) |
Jul
(14) |
Aug
(17) |
Sep
(1) |
Oct
(9) |
Nov
(5) |
Dec
(14) |
2024 |
Jan
(12) |
Feb
(2) |
Mar
(8) |
Apr
(1) |
May
(6) |
Jun
(6) |
Jul
(24) |
Aug
(15) |
Sep
(1) |
Oct
(6) |
Nov
(20) |
Dec
(14) |
2025 |
Jan
(12) |
Feb
(2) |
Mar
(10) |
Apr
(11) |
May
(13) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Krzysztof B. <kb...@un...> - 2017-10-18 15:15:42
|
Hi, W dniu 13.10.2017 o 16:49, D Baum pisze: > Hi! > > I'm a first-time unity user and I'm excited to try it out for the > project I'm working on. Thanks for putting in all the work to create and > maintain unity! :-) > > One quick bit of feedback: It would have been really helpful to me as > new user to have the default URL of the admin interface > (https://localhost:2443/admin/) mentioned in the Quick Start Guide. > (http://www.unity-idm.eu/documentation/unity-2.2.0/manual.html#quick_start) > The admin interface is mentioned - but there's no hint how to get there > until chapter 7. Good suggest, will be added Thanks, Krzysztof |
From: D B. <ba...@aw...> - 2017-10-13 15:07:37
|
Hi! I'm a first-time unity user and I'm excited to try it out for the project I'm working on. Thanks for putting in all the work to create and maintain unity! :-) One quick bit of feedback: It would have been really helpful to me as new user to have the default URL of the admin interface (https://localhost:2443/admin/) mentioned in the Quick Start Guide. (http://www.unity-idm.eu/documentation/unity-2.2.0/manual.html#quick_start) The admin interface is mentioned - but there's no hint how to get there until chapter 7. Thanks D |
From: Shiraz M. <a....@fz...> - 2017-10-07 12:45:53
|
Hi, I have a remote OIDC server, which is configured in unity v2.2.0 as a custom provider, with the following settings: unity.oauth2.client.providers.eduteams.type=custom unity.oauth2.client.providers.eduteams.name<http://unity.oauth2.client.providers.eduteams.name>=eduteams unity.oauth2.client.providers.eduteams.clientId=b2access_client unity.oauth2.client.providers.eduteams.clientSecret=<SECRET> unity.oauth2.client.providers.eduteams.scopes=openid unity.oauth2.client.providers.eduteams.translationProfile=googleProfile unity.oauth2.client.providers.eduteams.registrationFormForUnknown=Google Registration Form #unity.oauth2.client.providers.eduteams.iconUrl=eduteams_logo.jpg unity.oauth2.client.providers.eduteams.enableAccountAssociation=false unity.oauth2.client.providers.eduteams.openIdConnect=true #unity.oauth2.client.providers.eduteams.openIdConnectDiscoveryEndpoint=https://oidc.test.registry.eduteams.org/.well-known/openid-configuration unity.oauth2.client.providers.eduteams.openIdConnectDiscoveryEndpoint=https://oidc.test.registry.eduteams.org unity.oauth2.client.providers.eduteams.clientAuthenticationMode=secretBasic unity.oauth2.client.providers.eduteams.authEndpoint=https://oidc.test.registry.eduteams.org/Saml2/OIDC/authorization unity.oauth2.client.providers.eduteams.accessTokenEndpoint=https://oidc.test.registry.eduteams.org/OIDC/token unity.oauth2.client.providers.eduteams.profileEndpoint=https://oidc.test.registry.eduteams.org/OIDC/userinfo #unity.oauth2.client.providers.eduteams.accessTokenFormat=standard all the necessary information about the provider endpoints are under: https://oidc.test.registry.eduteams.org/.well-known/openid-configuration finally the error trace: 2017-10-07T14:35:38,199 [qtp1417851690-862] DEBUG unity.server.oauth.RedirectRequestHandler: Starting OAuth redirection to OAuth provider https://oidc.test.registry.eduteams.org/Saml2/OIDC/author ization?response_type=code&client_id=b2access_client&redirect_uri=https%3A%2F%2Funity.eudat-aai.fz-juelich.de<http://2Funity.eudat-aai.fz-juelich.de>%2Funitygw%2Foauth2ResponseConsumer&scope=openid&state=88dd2319-6ede-403e-934a-9e7d682 2c129 2017-10-07T14:35:47,445 [qtp1417851690-863] DEBUG unity.server.oauth.ResponseConsumerServlet: Received OAuth response with valid state 88dd2319-6ede-403e-934a-9e7d6822c129, redirecting to /admin/ 2017-10-07T14:35:47,587 [qtp1417851690-859] DEBUG unity.server.oauth.OAuth2RetrievalUI: RetrievalUI received OAuth response 2017-10-07T14:35:47,747 [qtp1417851690-859] DEBUG unity.server.oauth.OAuth2RetrievalUI: OAuth2 authorization code verification or processing failed pl.edu.icm.unity.engine.api.authn.AuthenticationException: Problem during user information retrieval at pl.edu.icm.unity.oauth.client.OAuth2Verificator.getRemotelyAuthenticatedInput(OAuth2Verificator.java:261) ~[unity-server-oauth-2.2.0.jar:?] at pl.edu.icm.unity.oauth.client.OAuth2Verificator.verifyOAuthAuthzResponse(OAuth2Verificator.java:226) ~[unity-server-oauth-2.2.0.jar:?] at pl.edu.icm.unity.oauth.client.web.OAuth2RetrievalUI.onAuthzAnswer(OAuth2RetrievalUI.java:268) [unity-server-oauth-2.2.0.jar:?] at pl.edu.icm.unity.oauth.client.web.OAuth2RetrievalUI.refresh(OAuth2RetrievalUI.java:329) [unity-server-oauth-2.2.0.jar:?] at pl.edu.icm.unity.webui.authn.SelectedAuthNPanel$PrimaryAuthenticationResultCallbackImpl.refresh(SelectedAuthNPanel.java:443) [unity-server-web-common-2.2.0.jar:?] at pl.edu.icm.unity.webui.authn.SelectedAuthNPanel.refresh(SelectedAuthNPanel.java:511) [unity-server-web-common-2.2.0.jar:?] at pl.edu.icm.unity.webui.authn.AuthenticationUI.refresh(AuthenticationUI.java:393) [unity-server-web-common-2.2.0.jar:?] at com.vaadin.ui.UI.doRefresh(UI.java:731) [vaadin-server-7.6.4.jar:7.6.4] at com.vaadin.server.communication.UIInitHandler.reinitUI(UIInitHandler.java:261) [vaadin-server-7.6.4.jar:7.6.4] at com.vaadin.server.communication.UIInitHandler.getBrowserDetailsUI(UIInitHandler.java:168) [vaadin-server-7.6.4.jar:7.6.4] at com.vaadin.server.communication.UIInitHandler.synchronizedHandleRequest(UIInitHandler.java:74) [vaadin-server-7.6.4.jar:7.6.4] at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:41) [vaadin-server-7.6.4.jar:7.6.4] at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1409) [vaadin-server-7.6.4.jar:7.6.4] at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:364) [vaadin-server-7.6.4.jar:7.6.4] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api-3.1.0.jar:3.1.0] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841) [jetty-servlet-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650) [jetty-servlet-9.4.6.v20170531.jar:9.4.6.v20170531] at pl.edu.icm.unity.webui.authn.InvocationContextSetupFilter.doFilter(InvocationContextSetupFilter.java:73) [unity-server-web-common-2.2.0.jar:?] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) [jetty-servlet-9.4.6.v20170531.jar:9.4.6.v20170531] at pl.edu.icm.unity.webui.authn.AuthenticationFilter.gotoNotProtectedResource(AuthenticationFilter.java:190) [unity-server-web-common-2.2.0.jar:?] at pl.edu.icm.unity.webui.authn.AuthenticationFilter.doFilter(AuthenticationFilter.java:77) [unity-server-web-common-2.2.0.jar:?] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) [jetty-servlet-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533) [jetty-servlet-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) [jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) [jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) [jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253) [jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168) [jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) [jetty-servlet-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) [jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166) [jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155) [jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:203) [jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:73) [jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at pl.edu.icm.unity.webui.authn.AuthenticationFilter.forwardtoAuthn(AuthenticationFilter.java:173) [unity-server-web-common-2.2.0.jar:?] at pl.edu.icm.unity.webui.authn.AuthenticationFilter.doFilter(AuthenticationFilter.java:124) [unity-server-web-common-2.2.0.jar:?] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) [jetty-servlet-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533) [jetty-servlet-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) [jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) [jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) [jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253) [jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168) [jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) [jetty-servlet-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) [jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166) [jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155) [jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:203) [jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:73) [jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at pl.edu.icm.unity.webui.VaadinEndpoint$ForwadSerlvet.service(VaadinEndpoint.java:319) [unity-server-web-common-2.2.0.jar:?] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api-3.1.0.jar:3.1.0] Any ideas how to configure it correctly? thanks in advance, Shiraz -- Shiraz Memon Federated Systems and Data Jülich Supercomputing Centre (JSC) Phone: +49 2461 61 6899 Fax: +49 2461 61 6656 ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ |
From: Krzysztof B. <kb...@un...> - 2017-09-18 07:05:39
|
Hi Tim, W dniu 08.09.2017 o 08:45, Tim Kreuzer pisze: > Hi Krzysztof, > > we're using Unity version 1.9.6 with external SAML IdP authentication. > > The data online were updated at the 4th of September. All files in > data/workspace/downloadedMetadata were last updated at 24th of August. > When Unity updates the Metadata online the log says: > > "2017-09-08 00:06:47,710 [pool-1-thread-1] TRACE > unity.server.saml.MetaDownloadManager - Locally cached metadata file is > fresh, skipping downloading https://...metadata.xml" > > The file on the website has an entity which is not part of the > downloaded data and because of this the MetaToSPConfigConverter does not > add the new Entity. > > Do i have to manually trust the new entity? Where do i have to do this? > Or is there a way to force Unity to download the metadata? I've looked a bit at this topic and it is rather not related to other reported SAML problems (which I couldn't reproduce as well). First of all please ensure that your installation is not corrupted as it seems from your other email. Then, if this re-appears please: -)check and provide all the timestapms of the locally downloaded metadata files from your workspace -)provide what metadata refresh interval do you use -)provide log entries covering at least two subsequent refreshes -) write how many SAML related endpoints and authenticators do you have (actually endpoints and authenticators using SAML metadata), and what is the setup. Best Krzysztof |
From: Krzysztof B. <kb...@un...> - 2017-09-17 19:30:50
|
Hi Willem, W dniu 14.09.2017 o 14:20, Willem Elbers pisze: > Hello Krzysztof, > > does unity (we are still on version 1.9.6) support multiple assertion > consumer (ACS) endpoints (with different hostnames) for a single SAML SP? > > We have integrated a SAML SP with a separate ACS for each application > they host via that SP, as described in the shibboleth documentation [1] > under 'Applications'. See the attached metadata for an example. > > None of these locations seems to work and throw a > "eu.unicore.samly2.exceptions.SAMLRequesterException: > AssertionConsumerServiceURL in request > (https://registries.clarin-dariah.eu/Shibboleth.sso/SAML2/POST) is not > among trusted endpoints of the issuer." error. > > There is no information in the unity log file (log level = DEBUG) > indicating any issue with this SP > (entityID="https://clarin.oeaw.ac.at/shibboleth"). > > Any help to fix this issue is greatly appreciated. Please let me know if > you need more information. Unfortunately as of now we support only one endpoint per each type of endpoint for trusted SP (i.e. one HTTP Web-SSO, one HTTP SLO-Redirect, ...). The first one from metadata is taken. If you need support for multiple endpoints please write or open a ticket directly. Best, Krzysztof |
From: Willem E. <wi...@cl...> - 2017-09-14 12:40:04
|
Hello Krzysztof, does unity (we are still on version 1.9.6) support multiple assertion consumer (ACS) endpoints (with different hostnames) for a single SAML SP? We have integrated a SAML SP with a separate ACS for each application they host via that SP, as described in the shibboleth documentation [1] under 'Applications'. See the attached metadata for an example. None of these locations seems to work and throw a "eu.unicore.samly2.exceptions.SAMLRequesterException: AssertionConsumerServiceURL in request (https://registries.clarin-dariah.eu/Shibboleth.sso/SAML2/POST) is not among trusted endpoints of the issuer." error. There is no information in the unity log file (log level = DEBUG) indicating any issue with this SP (entityID="https://clarin.oeaw.ac.at/shibboleth"). Any help to fix this issue is greatly appreciated. Please let me know if you need more information. Best, Willem [1] https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPApplicationModel -- Willem Elbers CLARIN ERIC www.clarin.eu | tel: +31-(0)85-0091277 | skype: wjm.elbers |
From: Krzysztof B. <kb...@un...> - 2017-09-13 07:59:01
|
Hi Tim, W dniu 13.09.2017 o 09:37, Tim Kreuzer pisze: > Hi Krzysztof, > > on an Unity-Server version 1.9.6 i deleted an entity in the WebAdminUI. > Since that time WebUI cannot list the entitys in the groups, where the > deleted entity was a member. This includes, obviously, the Root group. > For example the "oauth-clients" group is not affected by this. > > When clicking one an affected group the WebAdminUI shows the Error > message "Problem retrieving group members: > java.lang.ArrayIndexOutOfBoundsException: 0". The log shows the same > message "ERROR unity.server.web.IdentitiesComponent - Problem > retrieving group contents of / > java.lang.ArrayIndexOutOfBoundsException: 0". In such cases sharing the rest of the log entry (i.e. the stack trace) is super useful... Thanks Krzysztof |
From: Tim K. <t.k...@fz...> - 2017-09-13 07:39:13
|
Hi Krzysztof, on an Unity-Server version 1.9.6 i deleted an entity in the WebAdminUI. Since that time WebUI cannot list the entitys in the groups, where the deleted entity was a member. This includes, obviously, the Root group. For example the "oauth-clients" group is not affected by this. When clicking one an affected group the WebAdminUI shows the Error message "Problem retrieving group members: java.lang.ArrayIndexOutOfBoundsException: 0". The log shows the same message "ERROR unity.server.web.IdentitiesComponent - Problem retrieving group contents of / java.lang.ArrayIndexOutOfBoundsException: 0". I didn't find any issue like this in the archive of the mailing list. Best regards, Tim Kreuzer -- M.Sc. Tim Kreuzer Federated Systems and Data Jülich Supercomputing Centre, http://www.fz-juelich.de/jsc Phone: +49 2461 61-1583 ----------------------------------------------------------------------- ----------------------------------------------------------------------- Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ----------------------------------------------------------------------- ----------------------------------------------------------------------- |
From: Krzysztof B. <kb...@un...> - 2017-09-10 18:08:39
|
Hi Sander, W dniu 30.08.2017 o 12:37, Sander Apweiler pisze: > Hi Krzysztof, > > sorry for the late reply. I'll try to explain it with an bigger > example. > > We have the following services: > - A: external IdP > - B: unity as proxy IdP > - C: additional attribute service > - D: some other service > > We have the following user: > - 1: admin of C > - 2: normal user, wants to use D > > Workflow: > - Any user logged in into C or D is authenticated by B > - C uses only attributes provided from B or A (through B) > - 1 can create additional attributes or role for 2 in C, > - B consumes and stores the additional attributes about 2 from C > - if 2 uses D uses attributes provided by B and C (through B) > > Or with an more concrete example. > Within C user 1 creates a quota for user 2. This quota is a storage > limitation for Nextcloud (D). Unity get this additional attribute from > C. If 2 sing in into Nextcloud unity provides the following attributes: > - unity persisten identifier > - email (provided from home IdP to unity) > - CN (provided from home IdP to unity or entered during the > registration) > - quota (provided from additional attribute source to unity) > > Hopefully it is more understandable. If not let me know and I try to > find another explanation after my holidays. OK, now I can follow the scenario :-) So in this case Unity don't have any special mean to import attributes from C which comes to my mind. You can implement this in one of two ways: A) (suggested, easiest, natural direction) use Unity's REST API and push your quota attribute from C. B) (questionable, slower, more complex maintenance) write a custom import module for Unity (we have LDAP and Host OS so far) which will fetch this information from C in JiT style (== when user logins). Best, Krzysztof |
From: Krzysztof B. <kb...@un...> - 2017-09-08 07:26:17
|
Hi Tim, W dniu 08.09.2017 o 08:45, Tim Kreuzer pisze: > Hi Krzysztof, > > we're using Unity version 1.9.6 with external SAML IdP authentication. > > The data online were updated at the 4th of September. All files in > data/workspace/downloadedMetadata were last updated at 24th of August. > When Unity updates the Metadata online the log says: > > "2017-09-08 00:06:47,710 [pool-1-thread-1] TRACE > unity.server.saml.MetaDownloadManager - Locally cached metadata file is > fresh, skipping downloading https://...metadata.xml" > > The file on the website has an entity which is not part of the > downloaded data and because of this the MetaToSPConfigConverter does not > add the new Entity. > > Do i have to manually trust the new entity? Where do i have to do this? > Or is there a way to force Unity to download the metadata? We have a bug report (or even two) around this - we should have this fixed in the next release. You can remove the locally cached metadata file what should trigger download on the next refresh. It is in your workspace directory (configurable in unityServer.conf) in downloadedMetadata subfolder. HTH, Krzysztof |
From: Krzysztof B. <kb...@un...> - 2017-09-08 07:21:15
|
Hi Shiraz, W dniu 07.09.2017 o 11:37, Shiraz Memon pisze: > Hi, > > Does unity support OIDC implicit flow[1], if acting as an OIDC Client? > if yes, how can I enable it? No it is not possible and not on a roadmap. Implicit flow is intended for JS public apps, and has many undesired consequences. Unity is not a case here so can use the secure and way more popular authz code flow. Best, Krzysztof |
From: Tim K. <t.k...@fz...> - 2017-09-08 06:45:33
|
Hi Krzysztof, we're using Unity version 1.9.6 with external SAML IdP authentication. The data online were updated at the 4th of September. All files in data/workspace/downloadedMetadata were last updated at 24th of August. When Unity updates the Metadata online the log says: "2017-09-08 00:06:47,710 [pool-1-thread-1] TRACE unity.server.saml.MetaDownloadManager - Locally cached metadata file is fresh, skipping downloading https://...metadata.xml" The file on the website has an entity which is not part of the downloaded data and because of this the MetaToSPConfigConverter does not add the new Entity. Do i have to manually trust the new entity? Where do i have to do this? Or is there a way to force Unity to download the metadata? Thanks and best regards, Tim Kreuzer -- M.Sc. Tim Kreuzer Federated Systems and Data Jülich Supercomputing Centre, http://www.fz-juelich.de/jsc Phone: +49 2461 61-1583 ----------------------------------------------------------------------- ----------------------------------------------------------------------- Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ----------------------------------------------------------------------- ----------------------------------------------------------------------- |
From: Shiraz M. <a....@fz...> - 2017-09-07 09:38:46
|
Hi, Does unity support OIDC implicit flow[1], if acting as an OIDC Client? if yes, how can I enable it? Thanks, Shiraz 1. https://www.scottbrady91.com/OpenID-Connect/OpenID-Connect-Flows -- Shiraz Memon Federated Systems and Data Jülich Supercomputing Centre (JSC) Phone: +49 2461 61 6899 Fax: +49 2461 61 6656 ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ |
From: Krzysztof B. <kb...@un...> - 2017-09-04 20:42:30
|
Dear Subscribers, If you are not using Unity with UNICORE or haven't yet downloaded 2.2.0 you can ignore this message. In the originally uploaded distribution files of Unity 2.2.0 there were two outdated configuration files related to the UNICORE config module. If you happened to download 2.2.0 already, please replace the '/unicore/users' string with '/unicore' (i.e. remove trailing /users) in: conf/modules/unicore/tr-hostOS2UNICORE.json:28 conf/modules/unicore/saml-unicoreidp.properties:13 The distribution on the SF download site was already updated. Sorry for the inconvenience, Krzysztof |
From: Krzysztof B. <kb...@un...> - 2017-08-31 13:51:26
|
Dear Subscribers, Subsequent Unity feature release v2.2.0 is available for download. Release 2.2.0 brings major improvements in three areas: - Organization of default configuration is changed to use so called configuration modules. - A new PAM password verificator is available allowing you to rely on the host authN. Also importing users from host OS is possible. - UNICORE integration is now super easy with a new, dedicated configuration modules. What is more couple of bugs were fixed. For more detailed changelog see http://www.unity-idm.eu/downloads Best regards, Krzysztof |
From: Sander A. <sa....@fz...> - 2017-08-30 10:38:08
|
Hi Krzysztof, sorry for the late reply. I'll try to explain it with an bigger example. We have the following services: - A: external IdP - B: unity as proxy IdP - C: additional attribute service - D: some other service We have the following user: - 1: admin of C - 2: normal user, wants to use D Workflow: - Any user logged in into C or D is authenticated by B - C uses only attributes provided from B or A (through B) - 1 can create additional attributes or role for 2 in C, - B consumes and stores the additional attributes about 2 from C - if 2 uses D uses attributes provided by B and C (through B) Or with an more concrete example. Within C user 1 creates a quota for user 2. This quota is a storage limitation for Nextcloud (D). Unity get this additional attribute from C. If 2 sing in into Nextcloud unity provides the following attributes: - unity persisten identifier - email (provided from home IdP to unity) - CN (provided from home IdP to unity or entered during the registration) - quota (provided from additional attribute source to unity) Hopefully it is more understandable. If not let me know and I try to find another explanation after my holidays. Best regards, Sander Am Donnerstag, den 24.08.2017, 23:48 +0200 schrieb Krzysztof Benedyczak: > Sander, > > W dniu 23.08.2017 o 09:59, Sander Apweiler pisze: > > Hi, > > > > In our project is planed to use an additional attribute source for > > registered users. We want to extend authorization possibilities > > with > > this attribute source. > > > > Unity (A) is a proxy IdP and all services within the project use A > > for > > the authentication. The integration with other IdPs and SPs is > > already > > done. The attribute service (B) uses unity for authentication too. > > B is > > not an IdP, it is a SP of A. The situation would look like this: > > > > - The user authenticates at A (done) > > - The login into B is done with A (done; mapping by persistent > > identifier from A) > > - A get some additional information (e.g. group membership) about > > the > > user from B > > > > I know the possibility about adding attributes by the > > administration > > API. Is there another possibility to use additional attribute > > sources > > for registered users like described above? > > I don't think I can follow your scenario. Can you provide more > details? > What are those services (what protocols)? What is the sequence of > operations: when Unity should request those attributes? Reading your > example literally user logins to B via Unity, which asks B about > attributes of user - ? to provide them back to B? > > > Best > Krzysztof -- Federated Systems and Data Juelich Supercomputing Centre phone: +49 2461 61 8847 fax: +49 2461 61 6656 email: sa....@fz... ----------------------------------------------------------------------- ----------------------------------------------------------------------- Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ----------------------------------------------------------------------- ----------------------------------------------------------------------- |
From: Krzysztof B. <kb...@un...> - 2017-08-24 21:48:39
|
Sander, W dniu 23.08.2017 o 09:59, Sander Apweiler pisze: > Hi, > > In our project is planed to use an additional attribute source for > registered users. We want to extend authorization possibilities with > this attribute source. > > Unity (A) is a proxy IdP and all services within the project use A for > the authentication. The integration with other IdPs and SPs is already > done. The attribute service (B) uses unity for authentication too. B is > not an IdP, it is a SP of A. The situation would look like this: > > - The user authenticates at A (done) > - The login into B is done with A (done; mapping by persistent > identifier from A) > - A get some additional information (e.g. group membership) about the > user from B > > I know the possibility about adding attributes by the administration > API. Is there another possibility to use additional attribute sources > for registered users like described above? I don't think I can follow your scenario. Can you provide more details? What are those services (what protocols)? What is the sequence of operations: when Unity should request those attributes? Reading your example literally user logins to B via Unity, which asks B about attributes of user - ? to provide them back to B? Best Krzysztof |
From: Sander A. <sa....@fz...> - 2017-08-23 08:01:27
|
Hi, In our project is planed to use an additional attribute source for registered users. We want to extend authorization possibilities with this attribute source. Unity (A) is a proxy IdP and all services within the project use A for the authentication. The integration with other IdPs and SPs is already done. The attribute service (B) uses unity for authentication too. B is not an IdP, it is a SP of A. The situation would look like this: - The user authenticates at A (done) - The login into B is done with A (done; mapping by persistent identifier from A) - A get some additional information (e.g. group membership) about the user from B I know the possibility about adding attributes by the administration API. Is there another possibility to use additional attribute sources for registered users like described above? Best regards, Sander -- Federated Systems and Data Juelich Supercomputing Centre phone: +49 2461 61 8847 fax: +49 2461 61 6656 email: sa....@fz... ----------------------------------------------------------------------- ----------------------------------------------------------------------- Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ----------------------------------------------------------------------- ----------------------------------------------------------------------- |
From: Krzysztof B. <kb...@un...> - 2017-08-21 07:04:38
|
Hi Sander, Sorry for late answer - forgot little bit about it. W dniu 02.08.2017 o 16:22, Sander Apweiler pisze: > Hi Krzysztof, > > I got a report about using OIDC client. Unity seems to reserve a > mandatory attribute if not all requested scopes are available. Please > see the message below. In that case we did not define the scope > profile. > > WaTTS is requesting the scope 'email profile openid' (double checked in > the browser log) > > b2access displays the user that only 'email openid' was requested, > which > is wrong. > > User is returned to WaTTS without any 'scope' attribute (also double > checked with browser log), which MUST be present if it is not as > requested: Yes, that should be the case. In the next release it will be fixed, i.e. Unity will always include effective scope with access token response (any OAuth flow) when those are different then requested. Thanks for the report Krzysztof |
From: Piernik P. <pio...@gm...> - 2017-08-14 11:59:12
|
Hi Shiraz, Temporarily, your simple solution for adding attributes to the schema is ok. I created new ticked: https://app.assembla.com/spaces/unity-public/tickets/616-oauth-consent-screen-cannot-be-generated-with-dynamic-attributes-without-type-/details# We will fix it as soon as possible:) Cheers Piotr W dniu 14.08.2017 o 11:40, Shiraz Memon pisze: > Hi Piotr, > > Thanks for your reply. > > > On Mon, Aug 14, 2017 at 9:02 AM, Piernik Piotr <pio...@gm... > <mailto:pio...@gm...>> wrote: > > Hi Shiraz > > I checked this and I think I know what the problem is, but I have > to consult it with Krzysztof. > > Did you test this in 2.0.0 version or just in 2.1.0 ? > > > The error was occurred on version 2.1.0. > > Best, > Shiraz > > > Cheers > Piotr > > > > > > -- > Shiraz Memon > Federated Systems and Data > Jülich Supercomputing Centre (JSC) > > Phone: +49 2461 61 6899 <tel:02461%20616899> > Fax: +49 2461 61 6656 <tel:02461%20616656> > > > ------------------------------------------------------------------------------------------------ > ------------------------------------------------------------------------------------------------ > Forschungszentrum Juelich GmbH > 52425 Juelich > Sitz der Gesellschaft: Juelich > Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 > Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher > Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), > Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, > Prof. Dr. Sebastian M. Schmidt > ------------------------------------------------------------------------------------------------ > ------------------------------------------------------------------------------------------------ > |
From: Shiraz M. <a....@fz...> - 2017-08-07 13:24:01
|
Hi, Finally I have managed to get it working by adding "unity:persistent" attribute (and others) through attribute types management. This behavior is however neither expected as unity used to create the attributes dynamically upon release, which are defined under the output translation profiles with action "createAttribute". By the way, the "urn:oid:1.3.6.1.4.1.5923.1.1.1.13" attribute (in my previous email) was not causing the "attribute does not exist" error, the reason being is the attribute has not been defined in any of the oauth scopes. However the same error occurred after declaring the attribute inside the scopes. Having said that, is it a new feature in v2.1.0 that all the attributes unity releases to the oauth clients should be predefined in the attribute schema? Cheers, Shiraz On Mon, Aug 7, 2017 at 1:58 PM, Shiraz Memon <a....@fz...<mailto:a....@fz...>> wrote: Hi, After successfully upgrading to v2.1.0, unity fails to create new attribute(s), which is being defined in the output translation profile. 2017-08-07T13:44:41,202 [qtp35624804-191] DEBUG unity.server.externaltranslation.CreateAttributeAction: [[TrProfile oauth], [r: 7], [certclient - eId: 139]]Created a new attribute: unity:persistent: [42ef9e66-cc26-49ac-a21e-1f789ab4e1a4] with meta [Persistent Unique Iden tifier, EUDAT Persistent Unique Identifier, false] 2017-08-07T13:44:41,203 [qtp35624804-191] ERROR unity.server.oauth.OAuthAuthzUI: Engine problem when handling client request java.lang.IllegalArgumentException: attribute type [unity:persistent] does not exist at pl.edu.icm.unity.store.rdbms.GenericNamedRDBMSCRUD.get(GenericNamedRDBMSCRUD.java:97) ~[unity-server-storage-2.2.0-SNAPSHOT.jar:?] at pl.edu.icm.unity.engine.attribute.AttributeTypeHelper.getTypeForAttributeName(AttributeTypeHelper.java:56) ~[unity-server-engine-2.1.0.jar:?] at pl.edu.icm.unity.engine.attribute.AttributeTypeSupportImpl.getType(AttributeTypeSupportImpl.java:46) ~[unity-server-engine-2.1.0.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_72-internal] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_72-internal] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_72-internal] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_72-internal] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at pl.edu.icm.unity.store.rdbms.tx.SQLTransactionEngine.runInTransaction(SQLTransactionEngine.java:45) ~[unity-server-storage-2.2.0-SNAPSHOT.jar:?] at pl.edu.icm.unity.store.tx.TransactionalAspect.retryIfNeeded4Class(TransactionalAspect.java:67) ~[unity-server-storage-2.2.0-SNAPSHOT.jar:?] at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_72-internal] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_72-internal] at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:629) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:618) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at com.sun.proxy.$Proxy61.getType(Unknown Source) ~[?:?] at pl.edu.icm.unity.webui.idpcommon.ExposedAttributesComponent.getAttributeComponent(ExposedAttributesComponent.java:123) ~[unity-server-web-common-2.1.0.jar:?] at pl.edu.icm.unity.webui.idpcommon.ExposedAttributesComponent.getAttributesListComponent(ExposedAttributesComponent.java:114) ~[unity-server-web-common-2.1.0.jar:?] snapshot of the rule [Inline image 4] Surprisingly, following rule works [Inline image 2] and corresponding log entry (upon creating the attribute) 2017-08-07T13:54:38,322 [qtp35624804-194] DEBUG unity.server.externaltranslation.OutputTranslationRule: [[TrProfile oauth], [r: 5]]Condition OK 2017-08-07T13:54:38,322 [qtp35624804-194] DEBUG unity.server.externaltranslation.CreateAttributeAction: [[TrProfile oauth], [r: 5], [certclient - eId: 139]]Created a new attribut e: urn:oid:1.3.6.1.4.1.5923.1.1.1.13: [42e...@eu...<mailto:42e...@eu...>] with meta [eduPersonUniqueId, eduPersonUniqueId, false] Do you how to resolve this? Thanks, Shiraz -- Shiraz Memon Federated Systems and Data Jülich Supercomputing Centre (JSC) Phone: +49 2461 61 6899<tel:02461%20616899> Fax: +49 2461 61 6656<tel:02461%20616656> -- Shiraz Memon Federated Systems and Data Jülich Supercomputing Centre (JSC) Phone: +49 2461 61 6899 Fax: +49 2461 61 6656 ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ |
From: Shiraz M. <a....@fz...> - 2017-08-07 11:59:20
|
Hi, After successfully upgrading to v2.1.0, unity fails to create new attribute(s), which is being defined in the output translation profile. 2017-08-07T13:44:41,202 [qtp35624804-191] DEBUG unity.server.externaltranslation.CreateAttributeAction: [[TrProfile oauth], [r: 7], [certclient - eId: 139]]Created a new attribute: unity:persistent: [42ef9e66-cc26-49ac-a21e-1f789ab4e1a4] with meta [Persistent Unique Iden tifier, EUDAT Persistent Unique Identifier, false] 2017-08-07T13:44:41,203 [qtp35624804-191] ERROR unity.server.oauth.OAuthAuthzUI: Engine problem when handling client request java.lang.IllegalArgumentException: attribute type [unity:persistent] does not exist at pl.edu.icm.unity.store.rdbms.GenericNamedRDBMSCRUD.get(GenericNamedRDBMSCRUD.java:97) ~[unity-server-storage-2.2.0-SNAPSHOT.jar:?] at pl.edu.icm.unity.engine.attribute.AttributeTypeHelper.getTypeForAttributeName(AttributeTypeHelper.java:56) ~[unity-server-engine-2.1.0.jar:?] at pl.edu.icm.unity.engine.attribute.AttributeTypeSupportImpl.getType(AttributeTypeSupportImpl.java:46) ~[unity-server-engine-2.1.0.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_72-internal] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_72-internal] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_72-internal] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_72-internal] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at pl.edu.icm.unity.store.rdbms.tx.SQLTransactionEngine.runInTransaction(SQLTransactionEngine.java:45) ~[unity-server-storage-2.2.0-SNAPSHOT.jar:?] at pl.edu.icm.unity.store.tx.TransactionalAspect.retryIfNeeded4Class(TransactionalAspect.java:67) ~[unity-server-storage-2.2.0-SNAPSHOT.jar:?] at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_72-internal] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_72-internal] at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:629) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:618) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at com.sun.proxy.$Proxy61.getType(Unknown Source) ~[?:?] at pl.edu.icm.unity.webui.idpcommon.ExposedAttributesComponent.getAttributeComponent(ExposedAttributesComponent.java:123) ~[unity-server-web-common-2.1.0.jar:?] at pl.edu.icm.unity.webui.idpcommon.ExposedAttributesComponent.getAttributesListComponent(ExposedAttributesComponent.java:114) ~[unity-server-web-common-2.1.0.jar:?] snapshot of the rule [Inline image 4] Surprisingly, following rule works [Inline image 2] and corresponding log entry (upon creating the attribute) 2017-08-07T13:54:38,322 [qtp35624804-194] DEBUG unity.server.externaltranslation.OutputTranslationRule: [[TrProfile oauth], [r: 5]]Condition OK 2017-08-07T13:54:38,322 [qtp35624804-194] DEBUG unity.server.externaltranslation.CreateAttributeAction: [[TrProfile oauth], [r: 5], [certclient - eId: 139]]Created a new attribut e: urn:oid:1.3.6.1.4.1.5923.1.1.1.13: [42e...@eu...<mailto:42e...@eu...>] with meta [eduPersonUniqueId, eduPersonUniqueId, false] Do you how to resolve this? Thanks, Shiraz -- Shiraz Memon Federated Systems and Data Jülich Supercomputing Centre (JSC) Phone: +49 2461 61 6899 Fax: +49 2461 61 6656 ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ |
From: Shiraz M. <a....@fz...> - 2017-08-05 13:23:27
|
Hi Krzysztof, Indeed updating to mysql 5.6 did help and the server started smoothly. Thereafter I have tried to restore from v1.9.6 db dump but it led to another failure (see the logs below), so I cannot access admin UI now and start-up fails too :( 2017-08-05T15:10:41,747 [qtp609471415-42] INFO unity.server.db.DumpUpdater: Updating database dump from 1.9.x --> 2.0.0 [3] 2017-08-05T15:10:41,984 [qtp609471415-42] WARN org.eclipse.jetty.server.HttpChannel: /admin/ javax.servlet.ServletException: com.vaadin.server.ServiceException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'groupsTree' defined in URL [jar:file:/home/eudat/unity-server-distribution-2.1.0/lib/unity-server-web-admin-2.1.0.j ar!/pl/edu/icm/unity/webadmin/groupbrowser/GroupsTree.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [pl.edu.icm.unity.webadmin.groupbrowser.GroupsTree]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException: entity with key [1] does not exist at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:366) ~[vaadin-server-7.6.4.jar:7.6.4] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) ~[javax.servlet-api-3.1.0.jar:3.1.0] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841) ~[jetty-servlet-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650) ~[jetty-servlet-9.4.6.v20170531.jar:9.4.6.v20170531] at pl.edu.icm.unity.webui.authn.InvocationContextSetupFilter.doFilter(InvocationContextSetupFilter.java:73) ~[unity-server-web-common-2.1.0.jar:?] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) ~[jetty-servlet-9.4.6.v20170531.jar:9.4.6.v20170531] at pl.edu.icm.unity.webui.authn.AuthenticationFilter.gotoProtectedResource(AuthenticationFilter.java:182) ~[unity-server-web-common-2.1.0.jar:?] at pl.edu.icm.unity.webui.authn.AuthenticationFilter.doFilter(AuthenticationFilter.java:104) ~[unity-server-web-common-2.1.0.jar:?] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) ~[jetty-servlet-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533) ~[jetty-servlet-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) ~[jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) ~[jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) ~[jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253) ~[jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168) ~[jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) ~[jetty-servlet-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) ~[jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166) ~[jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155) ~[jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:203) ~[jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:73) ~[jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at pl.edu.icm.unity.webui.VaadinEndpoint$ForwadSerlvet.service(VaadinEndpoint.java:319) ~[unity-server-web-common-2.1.0.jar:?] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) ~[javax.servlet-api-3.1.0.jar:3.1.0] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841) ~[jetty-servlet-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650) ~[jetty-servlet-9.4.6.v20170531.jar:9.4.6.v20170531] at pl.edu.icm.unity.webui.authn.InvocationContextSetupFilter.doFilter(InvocationContextSetupFilter.java:73) ~[unity-server-web-common-2.1.0.jar:?] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) ~[jetty-servlet-9.4.6.v20170531.jar:9.4.6.v20170531] at pl.edu.icm.unity.webui.authn.AuthenticationFilter.gotoNotProtectedResource(AuthenticationFilter.java:190) ~[unity-server-web-common-2.1.0.jar:?] at pl.edu.icm.unity.webui.authn.AuthenticationFilter.doFilter(AuthenticationFilter.java:77) ~[unity-server-web-common-2.1.0.jar:?] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) ~[jetty-servlet-9.4.6.v20170531.jar:9.4.6.v20170531] at pl.edu.icm.unity.engine.api.utils.HiddenResourcesFilter.doFilter(HiddenResourcesFilter.java:49) ~[unity-server-engine-api-2.1.0.jar:?] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) ~[jetty-servlet-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533) ~[jetty-servlet-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) ~[jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) ~[jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) ~[jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253) ~[jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168) ~[jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) ~[jetty-servlet-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) ~[jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166) ~[jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155) ~[jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:219) ~[jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) ~[jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335) ~[jetty-rewrite-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:454) ~[jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) ~[jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.Server.handle(Server.java:564) ~[jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:317) [jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) [jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:317) [jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) [jetty-server-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) [jetty-io-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110) [jetty-io-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:289) [jetty-io-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.io.ssl.SslConnection$3.succeeded(SslConnection.java:149) [jetty-io-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110) [jetty-io-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) [jetty-io-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:673) [jetty-util-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:591) [jetty-util-9.4.6.v20170531.jar:9.4.6.v20170531] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_72-internal] Caused by: com.vaadin.server.ServiceException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'groupsTree' defined in URL [jar:file:/home/eudat/unity-server-distribution-2.1.0/lib/unity-server-web-admin-2.1.0.jar!/pl/edu/icm/unity/ webadmin/groupbrowser/GroupsTree.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [pl.edu.icm.unity.webadmin.groupbrowser.GroupsTree]: Constructor threw exception; nested ex ception is java.lang.IllegalArgumentException: entity with key [1] does not exist at com.vaadin.server.VaadinService.handleExceptionDuringRequest(VaadinService.java:1464) ~[vaadin-server-7.6.4.jar:7.6.4] at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1421) ~[vaadin-server-7.6.4.jar:7.6.4] at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:364) ~[vaadin-server-7.6.4.jar:7.6.4] ... 60 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'groupsTree' defined in URL [jar:file:/home/eudat/unity-server-distribution-2.1.0/lib/unity-server-web-admin-2.1.0.jar!/pl/edu/icm/unity/webadmin/groupbrowser/GroupsTree.cla ss]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [pl.edu.icm.unity.webadmin.groupbrowser.GroupsTree]: Constructor threw exception; nested exception is java.lang.IllegalArgument Exception: entity with key [1] does not exist at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:279) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1083) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:325) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.resolvePreparedArguments(ConstructorResolver.java:785) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:128) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1083) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:325) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) [jetty-io-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:673) [jetty-util-9.4.6.v20170531.jar:9.4.6.v20170531] at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:591) [jetty-util-9.4.6.v20170531.jar:9.4.6.v20170531] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_72-internal] Caused by: com.vaadin.server.ServiceException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'groupsTree' defined in URL [jar:file:/home/eudat/unity-server-distribution-2.1.0/lib/unity-server-web-admin-2.1.0.jar!/pl/edu/icm/unity/ webadmin/groupbrowser/GroupsTree.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [pl.edu.icm.unity.webadmin.groupbrowser.GroupsTree]: Constructor threw exception; nested ex ception is java.lang.IllegalArgumentException: entity with key [1] does not exist at com.vaadin.server.VaadinService.handleExceptionDuringRequest(VaadinService.java:1464) ~[vaadin-server-7.6.4.jar:7.6.4] at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1421) ~[vaadin-server-7.6.4.jar:7.6.4] at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:364) ~[vaadin-server-7.6.4.jar:7.6.4] ... 60 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'groupsTree' defined in URL [jar:file:/home/eudat/unity-server-distribution-2.1.0/lib/unity-server-web-admin-2.1.0.jar!/pl/edu/icm/unity/webadmin/groupbrowser/GroupsTree.cla ss]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [pl.edu.icm.unity.webadmin.groupbrowser.GroupsTree]: Constructor threw exception; nested exception is java.lang.IllegalArgument Exception: entity with key [1] does not exist at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:279) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1083) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:325) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.resolvePreparedArguments(ConstructorResolver.java:785) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:128) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1083) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:325) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.resolvePreparedArguments(ConstructorResolver.java:785) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:128) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1083) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:325) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.resolvePreparedArguments(ConstructorResolver.java:785) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:128) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1083) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:325) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1078) ~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE] at pl.edu.icm.unity.webui.VaadinUIProvider.createInstance(VaadinUIProvider.java:90) ~[unity-server-web-common-2.1.0.jar:?] at com.vaadin.server.communication.UIInitHandler.getBrowserDetailsUI(UIInitHandler.java:191) ~[vaadin-server-7.6.4.jar:7.6.4] at com.vaadin.server.communication.UIInitHandler.synchronizedHandleRequest(UIInitHandler.java:74) ~[vaadin-server-7.6.4.jar:7.6.4] at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:41) ~[vaadin-server-7.6.4.jar:7.6.4] at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1409) ~[vaadin-server-7.6.4.jar:7.6.4] at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:364) ~[vaadin-server-7.6.4.jar:7.6.4] ... 60 more Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [pl.edu.icm.unity.webadmin.groupbrowser.GroupsTree]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException: entity with key [1] does not exist at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:154) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:271) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1083) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:325) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.config.DependencyDescriptor.Aug 5, 2017 3:12:07 PM CEST: Starting UNITY Web Server Exception in thread "main" org.springframework.context.ApplicationContextException: Failed to start bean 'engineInitialization'; nested exception is java.lang.IllegalArgumentException: group [/] does not exist at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:178) at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:50) at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:348) at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:151) at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:114) at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:880) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546) at pl.edu.icm.unity.engine.server.UnityApplication.run(UnityApplication.java:60) at pl.edu.icm.unity.engine.server.UnityApplication.main(UnityApplication.java:69) Caused by: java.lang.IllegalArgumentException: group [/] does not exist at pl.edu.icm.unity.store.rdbms.GenericNamedRDBMSCRUD.get(GenericNamedRDBMSCRUD.java:97) at pl.edu.icm.unity.engine.attribute.AttributeClassUtil.getACHelper(AttributeClassUtil.java:112) at pl.edu.icm.unity.engine.attribute.AttributesHelper.checkGroupAttributeClassesConsistency(AttributesHelper.java:474) at pl.edu.icm.unity.engine.identity.IdentityHelper.addEntity(IdentityHelper.java:165) at pl.edu.icm.unity.engine.identity.EntityManagementImpl.lambda$addEntity$0(EntityManagementImpl.java:150) at pl.edu.icm.unity.store.tx.DefaultTransactionalRunner.runInTransactionRetThrowing(DefaultTransactionalRunner.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85) at pl.edu.icm.unity.store.rdbms.tx.SQLTransactionEngine.runInTransaction(SQLTransactionEngine.java:45) at pl.edu.icm.unity.store.tx.TransactionalAspect.retryIfNeeded4Method(TransactionalAspect.java:75) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) resolveCandidate(DependencyDescriptor.java:208) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.resolvePreparedArguments(ConstructorResolver.java:785) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:128) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE ... 60 more Caused by: java.lang.IllegalArgumentException: entity with key [1] does not exist at pl.edu.icm.unity.store.rdbms.GenericRDBMSCRUD.getByKey(GenericRDBMSCRUD.java:117) ~[unity-server-storage-2.1.0.jar:?] at pl.edu.icm.unity.engine.identity.EntityResolverImpl.getEntityId(EntityResolverImpl.java:52) ~[unity-server-engine-2.1.0.jar:?] at pl.edu.icm.unity.engine.identity.EntityManagementImpl.getGroups(EntityManagementImpl.java:587) ~[unity-server-engine-2.1.0.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_72-internal] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_72-internal] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_72-internal] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_72-internal] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at pl.edu.icm.unity.store.rdbms.tx.SQLTransactionEngine.runInTransaction(SQLTransactionEngine.java:45) ~[unity-server-storage-2.1.0.jar:?] at pl.edu.icm.unity.store.tx.TransactionalAspect.retryIfNeeded4Method(TransactionalAspect.java:75) ~[unity-server-storage-2.1.0.jar:?] at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_72-internal] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_72-internal] at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:629) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:618) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.aspectj.AspectJAfterAdvice.invoke(AspectJAfterAdvice.java:47) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:62) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE] at com.sun.proxy.$Proxy62.getGroups(Unknown Source) ~[?:?] at pl.edu.icm.unity.webadmin.groupbrowser.GroupsTree.setupAccessibleRoots(GroupsTree.java:161) ~[unity-server-web-admin-2.1.0.jar:?] at pl.edu.icm.unity.webadmin.groupbrowser.GroupsTree.setupRoot(GroupsTree.java:154) ~[unity-server-web-admin-2.1.0.jar:?] at pl.edu.icm.unity.webadmin.groupbrowser.GroupsTree.<init>(GroupsTree.java:114) ~[unity-server-web-admin-2.1.0.jar:?] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_72-internal] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_72-internal] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_72-internal] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_72-internal] at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:271) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1083) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:325) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.resolvePreparedArguments(ConstructorResolver.java:785) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(C.. unity-startup log while restarting the server (after restore): Aug 5, 2017 3:12:07 PM CEST: Starting UNITY Web Server Exception in thread "main" org.springframework.context.ApplicationContextException: Failed to start bean 'engineInitialization'; nested exception is java.lang.IllegalArgumentException: group [/] does not exist at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:178) at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:50) at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:348) at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:151) at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:114) at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:880) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546) at pl.edu.icm.unity.engine.server.UnityApplication.run(UnityApplication.java:60) at pl.edu.icm.unity.engine.server.UnityApplication.main(UnityApplication.java:69) Caused by: java.lang.IllegalArgumentException: group [/] does not exist at pl.edu.icm.unity.store.rdbms.GenericNamedRDBMSCRUD.get(GenericNamedRDBMSCRUD.java:97) at pl.edu.icm.unity.engine.attribute.AttributeClassUtil.getACHelper(AttributeClassUtil.java:112) at pl.edu.icm.unity.engine.attribute.AttributesHelper.checkGroupAttributeClassesConsistency(AttributesHelper.java:474) at pl.edu.icm.unity.engine.identity.IdentityHelper.addEntity(IdentityHelper.java:165) at pl.edu.icm.unity.engine.identity.EntityManagementImpl.lambda$addEntity$0(EntityManagementImpl.java:150) at pl.edu.icm.unity.store.tx.DefaultTransactionalRunner.runInTransactionRetThrowing(DefaultTransactionalRunner.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85) at pl.edu.icm.unity.store.rdbms.tx.SQLTransactionEngine.runInTransaction(SQLTransactionEngine.java:45) at pl.edu.icm.unity.store.tx.TransactionalAspect.retryIfNeeded4Method(TransactionalAspect.java:75) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) Thanks in advance for any hints, Shiraz On Fri, Aug 4, 2017 at 5:43 PM, Krzysztof Benedyczak <kb...@un...<mailto:kb...@un...>> wrote: Hi Shiraz, W dniu 04.08.2017<tel:04.08.2017> o 16:19, Shiraz Memon pisze: Hi, I have dropped the existing db and created a new one (the error still persists though): unity might be expecting a different version of mysql (?): mysql Ver 14.14 Distrib 5.5.57, for debian-linux-gnu (x86_64) using readline 6.3 yes, at least 5.6 (or corresponding maria DB) is required - MySQL 5.5 does not support CURRENT_TIME parameters. In general we test on MariaDB 10.1. HTH, Krzysztof -- Shiraz Memon Federated Systems and Data Jülich Supercomputing Centre (JSC) Phone: +49 2461 61 6899 Fax: +49 2461 61 6656 ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ |
From: Krzysztof B. <kb...@un...> - 2017-08-04 15:43:22
|
Hi Shiraz, W dniu 04.08.2017 o 16:19, Shiraz Memon pisze: > Hi, > > I have dropped the existing db and created a new one (the error still > persists though): > > unity might be expecting a different version of mysql (?): > mysql Ver 14.14 Distrib 5.5.57, for debian-linux-gnu (x86_64) using > readline 6.3 yes, at least 5.6 (or corresponding maria DB) is required - MySQL 5.5 does not support CURRENT_TIME parameters. In general we test on MariaDB 10.1. HTH, Krzysztof |
From: Shiraz M. <a....@fz...> - 2017-08-04 14:22:05
|
Hi, I have dropped the existing db and created a new one (the error still persists though): unity might be expecting a different version of mysql (?): mysql Ver 14.14 Distrib 5.5.57, for debian-linux-gnu (x86_64) using readline 6.3 unity-server.log ############# 2017-08-04T16:09:20,768 [main] WARN org.springframework.context.support.ClassPathXmlApplicationContext: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'serverManagementImpl' defined in URL [jar:file:/home/eudat/unity-server-distribution-2.1.0/lib/unity-server-engine-2.1.0.jar!/pl/edu/icm/unity/engine/server/ServerManagementImpl.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creati ng bean with name 'storageCleanerImpl' defined in URL [jar:file:/home/eudat/unity-server-distribution-2.1.0/lib/unity-server-storage-2.1.0.jar!/pl/edu/icm/unity/store/StorageCleanerImpl.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.Uns atisfiedDependencyException: Error creating bean with name 'StoreLoaderhz': Unsatisfied dependency expressed through field 'initDB'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'StoreLoaderrdbms' defined in URL [jar:file:/home/eudat/unity-server-distribu tion-2.1.0/lib/unity-server-storage-2.1.0.jar!/pl/edu/icm/unity/store/rdbms/DB.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [pl.edu.icm.unity.store.rdbms.DB]: Constructor threw exception; nested exception is org.apa che.ibatis.exceptions.PersistenceException: ### Error committing transaction. Cause: org.apache.ibatis.executor.BatchExecutorException: pl.edu.icm.unity.store.rdbms.mapper.InitdbMapper.initdb-09 (batch index #8) failed. 7 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: (conn:61147) You have an erro r in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(3) DEFAULT CURRENT_TIMESTAMP(3) NOT NULL, UNIQUE(NAME, TYPE) ) engi' at line 8 Query is : CREATE TABLE VAR_OBJECTS( ID INTEGER PRIMARY KEY AUTO_INCREMENT, NAME VARCHAR(200), CONTENTS VARBINARY(60000) , TYPE VARCHAR(100), LAST_UPDATE DATETIME(3) DEFAULT CURRENT_TIMESTAMP(3) NOT NULL, UNIQUE(NAME, TYPE) ) engine=InnoDB, character set utf8 ### Cause: org.apache.ibatis.executor.BatchExecutorException: pl.edu.icm.unity.store.rdbms.mapper.InitdbMapper.initdb-09 (batch index #8) failed. 7 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: (conn:61147) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(3) DEFAULT CURRENT_TIMESTAMP(3) NOT NULL, UNIQUE(NAME, TYPE) ) engi' at line 8 Query is : CREATE TABLE VAR_OBJECTS( ID INTEGER PRIMARY KEY AUTO_INCREMENT, NAME VARCHAR(200), CONTENTS VARBINARY(60000) , TYPE VARCHAR(100), LAST_UPDATE DATETIME(3) DEFAULT CURRENT_TIMESTAMP(3) NOT NULL, UNIQUE(NAME, TYPE) ) engine=InnoDB, character set utf8 unity-startup.log ################# Aug 4, 2017 4:09:00 PM CEST: Starting UNITY Web Server Exception in thread "main" org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'serverManagementImpl' defined in URL [jar:file:/home/eudat/unity-server-distribution-2.1.0/lib/unity-server-engine-2.1.0.jar!/pl/edu/icm/unity/engine/server/ServerManagementImpl.class]: Unsatis fied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'storageCleanerImpl' defined in URL [jar:file:/home/eudat/unity-server-distribution-2.1.0/lib/unity-server-storage-2.1.0.jar!/pl/edu/icm/unity /store/StorageCleanerImpl.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'StoreLoaderhz': Unsatisfied dependency expressed through field 'initDB'; nested exception is org.spr ingframework.beans.factory.BeanCreationException: Error creating bean with name 'StoreLoaderrdbms' defined in URL [jar:file:/home/eudat/unity-server-distribution-2.1.0/lib/unity-server-storage-2.1.0.jar!/pl/edu/icm/unity/store/rdbms/DB.class]: Bean instantiation via constructor failed; nested exception is org.spring framework.beans.BeanInstantiationException: Failed to instantiate [pl.edu.icm.unity.store.rdbms.DB]: Constructor threw exception; nested exception is org.apache.ibatis.exceptions.PersistenceException: ### Error committing transaction. Cause: org.apache.ibatis.executor.BatchExecutorException: pl.edu.icm.unity.store.rdbms.mapper.InitdbMapper.initdb-09 (batch index #8) failed. 7 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: (conn:61147) You have an erro r in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(3) DEFAULT CURRENT_TIMESTAMP(3) NOT NULL, UNIQUE(NAME, TYPE) ) engi' at line 8 Query is : CREATE TABLE VAR_OBJECTS( ID INTEGER PRIMARY KEY AUTO_INCREMENT, NAME VARCHAR(200), CONTENTS VARBINARY(60000) , TYPE VARCHAR(100), LAST_UPDATE DATETIME(3) DEFAULT CURRENT_TIMESTAMP(3) NOT NULL, UNIQUE(NAME, TYPE) ) engine=InnoDB, character set utf8 ### Cause: org.apache.ibatis.executor.BatchExecutorException: pl.edu.icm.unity.store.rdbms.mapper.InitdbMapper.initdb-09 (batch index #8) failed. 7 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: (conn:61147) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(3) DEFAULT CURRENT_TIMESTAMP(3) NOT NULL, UNIQUE(NAME, TYPE) ) engi' at line 8 Query is : CREATE TABLE VAR_OBJECTS( ID INTEGER PRIMARY KEY AUTO_INCREMENT, NAME VARCHAR(200), CONTENTS VARBINARY(60000) , TYPE VARCHAR(100), LAST_UPDATE DATETIME(3) DEFAULT CURRENT_TIMESTAMP(3) NOT NULL, UNIQUE(NAME, TYPE) ) engine=InnoDB, character set utf8 at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1095) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543) at pl.edu.icm.unity.engine.server.UnityApplication.run(UnityApplication.java:60) at pl.edu.icm.unity.engine.server.UnityApplication.main(UnityApplication.java:69) Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'storageCleanerImpl' defined in URL [jar:file:/home/eudat/unity-server-distribution-2.1.0/lib/unity-server-storage-2.1.0.jar!/pl/edu/icm/unity/store/StorageCleanerImpl.class]: Unsatisfied dependency expressed t hrough constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'StoreLoaderhz': Unsatisfied dependency expressed through field 'initDB'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bea n with name 'StoreLoaderrdbms' defined in URL [jar:file:/home/eudat/unity-server-distribution-2.1.0/lib/unity-server-storage-2.1.0.jar!/pl/edu/icm/unity/store/rdbms/DB.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [p l.edu.icm.unity.store.rdbms.DB]: Constructor threw exception; nested exception is org.apache.ibatis.exceptions.PersistenceException: ### Error committing transaction. Cause: org.apache.ibatis.executor.BatchExecutorException: pl.edu.icm.unity.store.rdbms.mapper.InitdbMapper.initdb-09 (batch index #8) failed. 7 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: (conn:61147) You have an erro r in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(3) DEFAULT CURRENT_TIMESTAMP(3) NOT NULL, UNIQUE(NAME, TYPE) ) engi' at line 8 Query is : CREATE TABLE VAR_OBJECTS( ID INTEGER PRIMARY KEY AUTO_INCREMENT, NAME VARCHAR(200), CONTENTS VARBINARY(60000) , TYPE VARCHAR(100), LAST_UPDATE DATETIME(3) DEFAULT CURRENT_TIMESTAMP(3) NOT NULL, UNIQUE(NAME, TYPE) ) engine=InnoDB, character set utf8 ### Cause: org.apache.ibatis.executor.BatchExecutorException: pl.edu.icm.unity.store.rdbms.mapper.InitdbMapper.initdb-09 (batch index #8) failed. 7 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: (conn:61147) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(3) DEFAULT CURRENT_TIMESTAMP(3) NOT NULL, UNIQUE(NAME, TYPE) ) engi' at line 8 Query is : CREATE TABLE VAR_OBJECTS( ID INTEGER PRIMARY KEY AUTO_INCREMENT, NAME VARCHAR(200), CONTENTS VARBINARY(60000) , TYPE VARCHAR(100), LAST_UPDATE DATETIME(3) DEFAULT CURRENT_TIMESTAMP(3) NOT NULL, UNIQUE(NAME, TYPE) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1095) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741) ... 14 more Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'StoreLoaderhz': Unsatisfied dependency expressed through field 'initDB'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'StoreLoaderrdbms' defined in URL [jar:file:/home/eudat/unity-server-distribution-2.1.0/lib/unity-server-storage-2.1.0.jar!/pl/edu/icm/unity/store/rdbms/DB.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [pl.edu.icm.unity.store.rdbms.DB]: Construc tor threw exception; nested exception is org.apache.ibatis.exceptions.PersistenceException: ### Error committing transaction. Cause: org.apache.ibatis.executor.BatchExecutorException: pl.edu.icm.unity.store.rdbms.mapper.InitdbMapper.initdb-09 (batch index #8) failed. 7 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: (conn:61147) You have an erro r in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(3) DEFAULT CURRENT_TIMESTAMP(3) NOT NULL, UNIQUE(NAME, TYPE) ) engi' at line 8 Query is : CREATE TABLE VAR_OBJECTS( ID INTEGER PRIMARY KEY AUTO_INCREMENT, NAME VARCHAR(200), CONTENTS VARBINARY(60000) , TYPE VARCHAR(100), LAST_UPDATE DATETIME(3) DEFAULT CURRENT_TIMESTAMP(3) NOT NULL, UNIQUE(NAME, TYPE) ) engine=InnoDB, character set utf8 ### Cause: org.apache.ibatis.executor.BatchExecutorException: pl.edu.icm.unity.store.rdbms.mapper.InitdbMapper.initdb-09 (batch index #8) failed. 7 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: (conn:61147) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(3) DEFAULT CURRENT_TIMESTAMP(3) NOT NULL, UNIQUE(NAME, TYPE) ) engi' at line 8 Query is : CREATE TABLE VAR_OBJECTS( ID INTEGER PRIMARY KEY AUTO_INCREMENT, NAME VARCHAR(200), CONTENTS VARBINARY(60000) , TYPE VARCHAR(100), LAST_UPDATE DATETIME(3) DEFAULT CURRENT_TIMESTAMP(3) NOT NULL, UNIQUE(NAME, TYPE) ) engine=InnoDB, character set utf8 at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:588) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:366) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1264) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208) at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:1316) at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1282) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeans(DefaultListableBeanFactory.java:1205) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1096) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741) ... 28 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'StoreLoaderrdbms' defined in URL [jar:file:/home/eudat/unity-server-distribution-2.1.0/lib/unity-server-storage-2.1.0.jar!/pl/edu/icm/unity/store/rdbms/DB.class]: Bean instantiation via constructor failed; nested excep tion is org.springframework.beans.BeanInstantiationException: Failed to instantiate [pl.edu.icm.unity.store.rdbms.DB]: Constructor threw exception; nested exception is org.apache.ibatis.exceptions.PersistenceException: ### Error committing transaction. Cause: org.apache.ibatis.executor.BatchExecutorException: pl.edu.icm.unity.store.rdbms.mapper.InitdbMapper.initdb-09 (batch index #8) failed. 7 prior sub executor(s) completed successfully, but will be rolled back. Cause: java.sql.BatchUpdateException: (conn:61147) You have an erro r in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(3) DEFAULT CURRENT_TIMESTAMP(3) NOT NULL, UNIQUE(NAME, TYPE) ) engi' at line 8 Query is : CREATE TABLE VAR_OBJECTS( ID INTEGER PRIMARY KEY AUTO_INCREMENT, NAME VARCHAR(200), CONTENTS VARBINARY(60000) , TYPE VARCHAR(100), LAST_UPDATE DATETIME(3) DEFAULT CURRENT_TIMESTAMP(3) NOT NULL, UNIQUE(NAME, TYPE) Cheers, Shiraz -- Shiraz Memon Federated Systems and Data Jülich Supercomputing Centre (JSC) Phone: +49 2461 61 6899 Fax: +49 2461 61 6656 ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ |