terracotta: stack overflow when starting tc client.

David Massie dhm24 at hoyamail.georgetown.edu
Thu Aug 2 12:38:53 EDT 2012


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.

In the catalina.sh file I have added:

JAVA_OPTS="-Xmx1g  -XX:MaxPermSize=512m  -XX:+MustCallLoadClassInternal \
           -Dtc.install-root=/var/services/shibboleth/terracotta-3.6.2 \

 -Dtc.config=/var/services/shibboleth/shibboleth-idp/conf/tc-config.xml \

 -Xbootclasspath/p:/var/services/shibboleth/terracotta-3.6.2/lib/dso-boot/dso-boot-oracle_linux_170_05.jar"


I have followed the tc server install instructions at:

https://wiki.shibboleth.net/confluence/display/SHIB2/IdPCluster

(I can post the files but I thought it would clutter up the post)

I start terracotta with:

$TC_HOME/bin/start-tc-server -n idpNode1 -f
/var/services/shibboleth/shibboleth-idp/conf/tc-config.xml

2012-08-02 12:34:38,467 [main] INFO com.terracottatech.general - New
logging session started.
2012-08-02 12:34:38,498 [main] INFO com.terracottatech.console - Terracotta
3.6.2, as of 20120412-135519 (Revision 20065 by
cruise at rh5vmo113.terracotta.lan from 3.6.2)
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'...

After the server starts I start tomcat

and, in catalina.out, I get:

2012-08-02 12:11:25,324 INFO - Terracotta 3.6.2, as of 20120412-135519
(Revision 20065 by cruise at rh5vmo113.terracotta.lan from 3.6.2)
2012-08-02 12:11:26,174 INFO - Successfully loaded base configuration from
file at '/var/services/shibboleth/shibboleth-idp/conf/tc-config.xml'.
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'.
2012-08-02 12:11:28,331 INFO - Connection successfully established to
server at 141.161.245.200:9510
Exception in thread "main" java.lang.StackOverflowError
        at java.util.concurrent.locks.ReentrantLock.__tc_managed(Unknown
Source)
        at
com.tc.object.bytecode.ManagerImpl.isManaged(ManagerImpl.java:551)

Any help is much appreciated.

Thanks,

Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20120802/165fb0df/attachment.html 


More information about the users mailing list