I am trying to start the terracotta client within tomcat and i am getting a stack overflow. I am hoping someone can give me some advise on what I am doing wrong.<div><br></div><div>In the catalina.sh file I have added:<br>
<br></div><div><div>JAVA_OPTS="-Xmx1g -XX:MaxPermSize=512m -XX:+MustCallLoadClassInternal \</div><div> -Dtc.install-root=/var/services/shibboleth/terracotta-3.6.2 \</div><div> -Dtc.config=/var/services/shibboleth/shibboleth-idp/conf/tc-config.xml \</div>
<div> -Xbootclasspath/p:/var/services/shibboleth/terracotta-3.6.2/lib/dso-boot/dso-boot-oracle_linux_170_05.jar"</div></div><div><br></div><div><br></div><div>I have followed the tc server install instructions at:<br>
<br></div><div><a href="https://wiki.shibboleth.net/confluence/display/SHIB2/IdPCluster">https://wiki.shibboleth.net/confluence/display/SHIB2/IdPCluster</a> </div><div><br></div><div>(I can post the files but I thought it would clutter up the post)</div>
<div><br></div><div>I start terracotta with:<br><br></div><div>$TC_HOME/bin/start-tc-server -n idpNode1 -f /var/services/shibboleth/shibboleth-idp/conf/tc-config.xml</div><div><br></div><div><div>2012-08-02 12:34:38,467 [main] INFO com.terracottatech.general - New logging session started.</div>
<div>2012-08-02 12:34:38,498 [main] INFO com.terracottatech.console - Terracotta 3.6.2, as of 20120412-135519 (Revision 20065 by cruise@rh5vmo113.terracotta.lan from 3.6.2)</div><div>2012-08-02 12:34:38,532 [main] INFO com.tc.config.schema.setup.StandardXMLFileConfigurationCreator - Attempting to load configuration from the file at '/var/services/shibboleth/shibboleth-idp/conf/tc-config.xml'...</div>
</div><div><br></div><div>After the server starts I start tomcat </div><div><br></div><div>and, in catalina.out, I get:</div><div><br></div><div><div>2012-08-02 12:11:25,324 INFO - Terracotta 3.6.2, as of 20120412-135519 (Revision 20065 by cruise@rh5vmo113.terracotta.lan from 3.6.2)</div>
<div>2012-08-02 12:11:26,174 INFO - Successfully loaded base configuration from file at '/var/services/shibboleth/shibboleth-idp/conf/tc-config.xml'.</div><div>2012-08-02 12:11:26,298 INFO - Log file: '/var/services/shibboleth/terracotta-3.6.2/bin/logs-141.161.245.198/terracotta-client.log'.</div>
<div>2012-08-02 12:11:28,331 INFO - Connection successfully established to server at <a href="http://141.161.245.200:9510">141.161.245.200:9510</a></div><div>Exception in thread "main" java.lang.StackOverflowError</div>
<div> at java.util.concurrent.locks.ReentrantLock.__tc_managed(Unknown Source)</div><div> at com.tc.object.bytecode.ManagerImpl.isManaged(ManagerImpl.java:551)</div></div><div><br></div><div>Any help is much appreciated.</div>
<div><br></div><div>Thanks,</div><div><br></div><div>Dave</div>