[Logo] Terracotta Discussion Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Where to get trial license key?  XML
Forum Index -> Terracotta Licensing
Author Message
suarezry

neo

Joined: 01/13/2011 07:57:44
Messages: 3
Offline

I'm getting the following error:

# /opt/terracotta/platform/bin/make-boot-jar.sh -f /opt/shibboleth-idp/conf/tc-config.xml
2011-01-13 10:48:14,263 INFO - Terracotta Enterprise 3.4.0, as of 20101231-201218 (Revision 9626-16797 by cruise@kong from 3.4.0_1)
2011-01-13 10:48:14,956 INFO - Successfully loaded base configuration from file at '/opt/shibboleth-idp/conf/tc-config.xml'.
2011-01-13 10:48:15,337 ERROR - Terracotta license key is required for Enterprise capabilities. Please place terracotta-license.key in Terracotta installed directory or in resource path. You could also specify it through system property -Dorg.terracotta.license.path=/path/to/key

Where can I get a trial key for evaluation?
suarezry

neo

Joined: 01/13/2011 07:57:44
Messages: 3
Offline

oops, nevermind. There was another link in the trial download page for the trial key
suarezry

neo

Joined: 01/13/2011 07:57:44
Messages: 3
Offline

The trial key I just downloaded yesterday from http://terracotta.org/dl/download-enterprise-ehcache is expired:


$ cat terracotta-license.key
# This software license, granted by Terracotta Inc., is valid for and may only be used
# by the licensee of this product ("Licensee").
# Descriptor version: 3
# ------------------------------------------------------------------------------------
Capabilities: DCV2, authentication, ehcache, ehcache monitor, ehcache offheap, operator console, quartz, roots, server array offheap, server striping, sessions
Date of Issue: 2010-11-18
Edition: FX
Expiration Date: 2011-01-14
License Number: TRIAL LIC AGREEMENT TRUE
License Type: Trial
Licensee: Trial License User
Max Client Count: 10
Product: Enterprise Suite
ehcache.maxOffHeap: 64G
terracotta.serverArray.maxOffHeap: 64G

Where can I download a valid key?
gyan10

ophanim

Joined: 06/28/2011 23:15:25
Messages: 700
Offline

You can again download the trail 'terracotta-license.key' from terracotta website:
http://terracotta.org
You can check the license expire date in the license file.
Thanks

Gyan Awasthi
Terracotta -A Software AG company
shaldar

journeyman

Joined: 02/19/2012 11:30:13
Messages: 12
Offline

Hi,

I am having a weird problem with terracotta. It says that
"2012-12-11 08:11:05,435 INFO - Terracotta Enterprise 3.6.1, as of 20120125-122228 (Revision 15328-19619 by cruise@su10vmo104 from 3.6.1)
2012-12-11 08:11:06,040 INFO - Successfully loaded base configuration from file at '/mnt/terracotta-ee-3.6.1/bin/tc-config.xml'.
2012-12-11 08:11:06,092 INFO - Log file: '/mnt/terracotta-ee-3.6.1/bin/logs/terracotta-server.log'.
2012-12-11 08:11:06,145 INFO - Terracotta license loaded from /mnt/terracotta-ee-3.6.1/terracotta-license.key
Capabilities: DCV2, TMC, authentication, ehcache, ehcache offheap, operator console, quartz, quartz manager, quartz where, roots, search, security, server array offheap, server striping, sessions
Date of Issue: 2012-12-07
Edition: FX
Expiration Date: 2013-02-28
License Number: Download Trail Licence_Accept
License Type: Trial
Licensee: Download Trail Licence_Accept
Max Client Count: 50
Product: Enterprise Suite
ehcache.maxOffHeap: 250G
terracotta.serverArray.maxOffHeap: 250G

2012-12-11 08:11:08,572 INFO - Available Max Runtime Memory: 490MB
2012-12-11 08:11:11,032 INFO - JMX Server started. Available at URL[service:jmx:jmxmp://0.0.0.0:9520]
2012-12-11 08:11:18,073 INFO - Becoming State[ ACTIVE-COORDINATOR ]
2012-12-11 08:11:18,100 INFO - Terracotta Server instance has started up as ACTIVE node on 0:0:0:0:0:0:0:0:9510 successfully, and is now ready for work."

But, when I look at the logs for Flume(which is configured to use Terracotta -Ehcache) at "usr/lib/flume/logs-10.40.222.77/terracotta-client.log"

I get this error:
"2012-12-11 07:31:13,909 [logicalNode ec2-75-101-165-36.compute-1.amazonaws.com-19] ERROR com.terracottatech.console - Terracotta license key is required for Enterprise capabilities. Please place terracotta-license.key in Terracotta installed directory or in resource path. You could also specify it through system property -Dcom.tc.productkey.path=/path/to/key
2012-12-11 07:31:13,914 [logicalNode ec2-75-101-165-36.compute-1.amazonaws.com-19] ERROR com.tc.license.LicenseManager - License key not found org.terracotta.license.LicenseException"


And, when I see the logs at "/var/log/flume/flume-flume-node-ip-10-40-222-77.out", I get the error as

"2012-12-11 07:31:13,909 ERROR - Terracotta license key is required for Enterprise capabilities. Please place terracotta-license.key in Terracotta installed directory or in resource path. You could also specify it through system property -Dcom.tc.productkey.path=/path/to/key".

I downloaded the correct key and placed it at /mnt/terracotta-ee-xxx/ directory, as well as instructed by the Terracotta site.

Please help. I am not able to find the solution !
hhuynh

cherubim

Joined: 06/16/2006 11:54:06
Messages: 759
Offline

License key needs to be specify for both TC server and clients. Your TC server started fine with the license key in the root folder of the installation dir but your clients you need to do a little set up to point to the location of the file.

Either put a copy of terracotta-license.key in your client classpath or set this property on your client JVM -Dcom.tc.productkey.path=/path/to/terracotta-license.key

You could use the key found here on your box /mnt/terracotta-ee-3.6.1/terracotta-license.key
shaldar

journeyman

Joined: 02/19/2012 11:30:13
Messages: 12
Offline

I was wondering what could be the terracotta client now?
I have flume which takes as a source, a text file and sends data to ehcache.
So, is TC client "ehcache" which is co-located with Flume on a single node?

Then what is the classpath for the TC client? I had included the license key at the Flume classpath via flume-env.sh. Still getting the same error!

What is supposed to be the classpath that you had mentioned. Please help?
hhuynh

cherubim

Joined: 06/16/2006 11:54:06
Messages: 759
Offline

Your application that uses Ehcache is considered a "Terracotta client". So whatever your application classpath is, put the key on it (ie. WEB-INF/classes folder or same location as ehcache.xml) I can't tell you exactly where cuz I don't know what your application looks like.
shaldar

journeyman

Joined: 02/19/2012 11:30:13
Messages: 12
Offline

Now, I am having the following message on flume node log

2012-12-12 03:33:00,465 WARN net.sf.ehcache.Cache: Performance may degrade and server disks could run out of space!
The distributed cache RTLogCache does not have maxElementsOnDisk set. Failing to set maxElementsOnDisk could mean no eviction of its elements from the Terracotta Server Array disk store. To avoid this, set maxElementsOnDisk to a non-zero value.
2012-12-12 03:33:00,623 ERROR com.cloudera.flume.core.connector.DirectDriver: Closing down due to exception on open calls
2012-12-12 03:33:00,629 INFO com.cloudera.flume.core.connector.DirectDriver: Connector logicalNode ec2-75-101-165-36.compute-1.amazonaws.com-19 exited with error: java.lang.RuntimeException: java.lang.AssertionError: Looking up in the wrong Remote Manager : GroupID[0] id : ObjectID=[1:171000] depth : 500 parent : ObjectID=[-1]
net.sf.ehcache.CacheException: java.lang.RuntimeException: java.lang.AssertionError: Looking up in the wrong Remote Manager : GroupID[0] id : ObjectID=[1:171000] depth : 500 parent : ObjectID=[-1]
at net.sf.ehcache.CacheManager.init(CacheManager.java:366)
at net.sf.ehcache.CacheManager.<init>(CacheManager.java:242)
at net.sf.ehcache.CacheManager.create(CacheManager.java:853)
at net.sf.ehcache.CacheManager.create(CacheManager.java:797)
at ehcache.RTLogCache.<init>(Unknown Source)
at ehcache.RTLogCache.getInstance(Unknown Source)
at com.EHCacheSink.open(Unknown Source)
at com.cloudera.flume.core.connector.DirectDriver$PumperThread.run(DirectDriver.java:88)
Caused by: java.lang.RuntimeException: java.lang.AssertionError: Looking up in the wrong Remote Manager : GroupID[0] id : ObjectID=[1:171000] depth : 500 parent : ObjectID=[-1]
at com.tc.object.ClientObjectManagerImpl.lookup(ClientObjectManagerImpl.java:594)
at com.tc.object.ClientObjectManagerImpl.lookupObject(ClientObjectManagerImpl.java:463)
at com.tc.object.ClientObjectManagerImpl.lookupRootOptionallyCreateOrReplace(ClientObjectManagerImpl.java:946)
at com.tc.object.ClientObjectManagerImpl.lookupRoot(ClientObjectManagerImpl.java:656)
at com.tc.object.bytecode.ManagerImpl.lookupRoot(ManagerImpl.java:571)
at com.tc.object.bytecode.ManagerUtil.lookupRoot(ManagerUtil.java:377)
at org.terracotta.api.Terracotta.lookupOrCreateRoot(Terracotta.java:35)
at org.terracotta.modules.ehcache.store.TerracottaClusteredInstanceFactory.getOrCreateStoreInternal(TerracottaClusteredInstanceFactory.java:245)
at org.terracotta.modules.ehcache.store.TerracottaClusteredInstanceFactory.getOrCreateStore(TerracottaClusteredInstanceFactory.java:229)
at org.terracotta.modules.ehcache.store.TerracottaClusteredInstanceFactory.createStore(TerracottaClusteredInstanceFactory.java:123)
at net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory.createStore(StandaloneTerracottaClusteredInstanceFactory.java:67)
at net.sf.ehcache.terracotta.ClusteredInstanceFactoryWrapper.createStore(ClusteredInstanceFactoryWrapper.java:93)
at net.sf.ehcache.CacheManager.createTerracottaStore(CacheManager.java:506)
at net.sf.ehcache.Cache.initialise(Cache.java:1068)
at net.sf.ehcache.CacheManager.initializeEhcache(CacheManager.java:1125)
at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:1156)
at net.sf.ehcache.CacheManager.addConfiguredCaches(CacheManager.java:705)
at net.sf.ehcache.CacheManager.doInit(CacheManager.java:423)
at net.sf.ehcache.CacheManager.init(CacheManager.java:357)
... 7 more
Caused by: java.lang.AssertionError: Looking up in the wrong Remote Manager : GroupID[0] id : ObjectID=[1:171000] depth : 500 parent : ObjectID=[-1]
at com.tc.object.RemoteObjectManagerImpl.basicRetrieve(RemoteObjectManagerImpl.java:220)
at com.tc.object.RemoteObjectManagerImpl.retrieve(RemoteObjectManagerImpl.java:207)
at com.tc.object.ClientObjectManagerImpl.lookup(ClientObjectManagerImpl.java:561)
... 25 more
2012-12-12 03:33:00,630 INFO com.cloudera.flume.collector.CollectorSource: closed
2012-12-12 03:33:00,630 INFO com.cloudera.flume.handlers.thrift.ThriftEventSource: Closed server on port 35853...
2012-12-12 03:33:00,632 INFO com.cloudera.flume.handlers.thrift.ThriftEventSource: Queue still has 0 elements ...
2012-12-12 03:33:00,632 ERROR com.cloudera.flume.core.connector.DirectDriver: Exiting driver logicalNode ec2-75-101-165-36.compute-1.amazonaws.com-19 in error state CollectorSource | EHCacheSink because java.lang.RuntimeException: java.lang.AssertionError: Looking up in the wrong Remote Manager : GroupID[0] id : ObjectID=[1:171000] depth : 500 parent : ObjectID=[-1]



Can you please help?
shaldar

journeyman

Joined: 02/19/2012 11:30:13
Messages: 12
Offline

The error "2012-12-12 03:33:00,465 WARN net.sf.ehcache.Cache: Performance may degrade and server disks could run out of space!
The distributed cache RTLogCache does not have maxElementsOnDisk set. Failing to set maxElementsOnDisk could mean no eviction of its elements from the Terracotta Server Array disk store. To avoid this, set maxElementsOnDisk to a non-zero value. " is resolved.


Now, "java.lang.RuntimeException: java.lang.AssertionError: Looking up in the wrong Remote Manager ". I don't know what is the problem.
 
Forum Index -> Terracotta Licensing
Go to:   
Powered by JForum 2.1.7 © JForum Team