Installing Terracotta as windows service

Hi All

We are installing terracotta 3.7 as windows service and we followed the below steps :

1.Downloaded wrapper.zip.
2.Copied the wrapper folder inside terracotta installation directory after Extracting.
3.configured wrapper.tsa file as per the README.txt file of wrapper folder.

Below steps were followed to configure wrapper.tsa files :

a)Configured JAVA_HOME path in Wrapper-tsa.conf file.
b)Configured conf/tc-config.xml in Wrapper.conf file.
c)Ran the scrip " tsa-service.bat install " to install the terracotta as windows service.
d)Tried starting the terracotta as windows service.

while starting the terracotta as windows service we are getting the error and are not able to bring up the server.

Attached is the terracotta-server.log and wrapper.log for reference.

Error

WrapperManager Debug: Startup runner thread stopped.
INFO | jvm 1 | 2014/12/08 12:17:29 | 2014-12-08 12:17:29,245 INFO - Available Max Runtime Memory: 982MB
INFO | jvm 1 | 2014/12/08 12:17:31 | java.lang.NoClassDefFoundError: com/sleepycat/je/DatabaseException
INFO | jvm 1 | 2014/12/08 12:17:31 | at com.tc.objectserver.storage.berkeleydb.BerkeleyDBFactory.getServerDBBackupMBean(BerkeleyDBFactory.java:40)
INFO | jvm 1 | 2014/12/08 12:17:31 | at com.tc.objectserver.impl.DistributedObjectServer.start(DistributedObjectServer.java:549)
INFO | jvm 1 | 2014/12/08 12:17:34 | WrapperStartStopApp Debug: invoking stop main method
INFO | jvm 1 | 2014/12/08 12:17:34 | 2014-12-08 12:17:34,863 INFO - Successfully loaded base configuration from file at ‘D:\TestInstallation\Terracotta\bin\tc-config.xml’.
INFO | jvm 1 | 2014/12/08 12:17:34 | 2014-12-08 12:17:34,863 INFO - Host: 10.202.60.70, port: 9520
INFO | jvm 1 | 2014/12/08 12:17:35 | 2014-12-08 12:17:35,880 ERROR - Unable to connect to host ‘10.202.60.70’, port 9520. Are you sure there is a Terracotta server instance running there?

If anyone have faced this issue please let me know how it can resolved.

Regards
Mithilesh

Hi Mithilesh,

It’s due to missing of some classes. Make sure you have all required jar files.

Thanks,