By: Rachel Olivero user 05 Dec 2017 at 12:36 p.m. CST

5 Responses
Rachel Olivero gravatar
I have created a trust relationship to add the InCommon metadata to our Gluu CE server. The SP we are trying to link with only publishes their metadata through InCommon. Whenever I view the TR, I get the green "something wrong " happened," error page. Looking at /opt/gluu/jetty/identity/logs/2017_12_04.stderrout.log I get this error: 2017-12-04 16:41:35,011 ERROR [qtp1689843956-12] [org.gluu.oxtrust.exception.GlobalExceptionHandler] (GlobalExceptionHandler.java:54) - Java heap space I've added -Xmx1024m and -Xms2048m to RUN_CMD in /etc/init.d/identity to try and increase the heap allocation. Is there something else I can do? Can we parse the file to limit it to teh SP entity ID we want and ignore the rest? We tried a metadatafilter in metadata-providers.xml.vm ((/opt/gluu/jetty/identity/conf/shibboleth3/idp), but that seemed to have no effect. Thank you for any help you can offer.

By Michael Schwartz Account Admin 05 Dec 2017 at 12:48 p.m. CST

Michael Schwartz gravatar
Shekhar, can you help with this? We probably need to make a note in the docs about increasing the JVM size if you're importing InCommon or other very large federation metadata files.

By Shekhar L. staff 06 Dec 2017 at 9:04 a.m. CST

Shekhar L. gravatar
Hi Rachel, Can u please share the file so that i can try with it. Thanks, Shekhar L.

By Michael Schwartz Account Admin 06 Dec 2017 at 10:59 a.m. CST

Michael Schwartz gravatar
Shekhar, it's the [InCommon metadata aggregate](https://spaces.internet2.edu/display/InCFederation/Metadata+Aggregates)

By Shekhar L. staff 08 Dec 2017 at 12:03 p.m. CST

Shekhar L. gravatar
Hi Rachel, For me -Xms512m -Xmx1024m works. Can u please update the values in /etc/default/identity file. Thanks, Shekhar L.

By Rachel Olivero user 15 Dec 2017 at 12:38 p.m. CST

Rachel Olivero gravatar
That did it! Thank you. The values and the right file made all the difference.