Author |
Message |
|
amiller wrote:
Let me check on how we can make that available.
That would be amazing if its possible - We are in a bit of a pinch.
|
|
|
I am having to use a older version of Terracotta for this project I am working on but I am unable to find the Windows based install file for version 2.5.2 which I seem to need to get a administration tool connected to my cluster. Is there anyway to download the older versions of Terracotta?
|
|
|
Thanks -n name worked great
|
|
|
One last question about tc-config
I am trying to edit my custom config but I am stuck on this one error.
*******************************************************************************
You have not specified a name for your L2, and there are 2 L2s defined in the configuration file. You must indicate which L2 this is.
*******************************************************************************
for reference this is what I have for my current tc-config.xml
<?xml version="1.0" encoding="UTF-8"?>
<tc:tc-config xmlns:tc="http://www.terracotta.org/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.terracotta.org/schema/terracotta-4.xsd">
<servers>
<server host="192.168.1.241" name="server1">
<data>/root/terracotta/demo-server/server1-data</data>
<logs>/root/terracotta/demo-server/server1-logs</logs>
<l2-group-port>9530</l2-group-port>
<dso>
<persistence>
<mode>permanent-store</mode>
</persistence>
</dso>
<!--<update-check>
<enabled>true</enabled>
</update-check>-->
</server>
<server host="192.168.1.254" name="server2">
<data>/root/terracotta/demo-server/server2-data</data>
<logs>/root/terracotta/demo-server/server2-logs</logs>
<l2-group-port>9530</l2-group-port>
<dso>
<persistence>
<mode>permanent-store</mode>
</persistence>
</dso>
<!--<update-check>
<enabled>true</enabled>
</update-check>-->
</server>
<ha>
<mode>networked-active-passive</mode>
<networked-active-passive>
<election-time>5</election-time>
</networked-active-passive>
</ha>
</servers>
</tc:tc-config>
BTW, forgive me for using 2.5.4 release - I am trying to get this cluster running for a Smartfox Flash app so by request of the Smartfox team we are behind a version.
|
|
|
Perfect! That clears up alot. Thanks again for the great support.
|
|
|
I am now at the point where I am trying to get my application to run off a passive and active server setup.
http://www.terracotta.org/confluence/display/docs1/Creating+a+Terracotta+Server+Cluster#CreatingaTerracottaServerCluster-ACTIVEPASSIVEovernetwork
My question is, does my tc-config.xml file sit on the servers on or on the nodes to let them know which servers are which? I guess I am confused as to where I put the XML doc on the file system so I will be called properly.
|
|
|
Ahh perfect that is just what I was looking for. My issue was I was trying to do everything from the unix command line where if I do it with a window manager it makes life 100000x easier. Thanks so much for the support guys!
|
|
|
I can get all the demo apps running - but only on one machine.
How do I setup Terracotta on 2 machines and get a app like Synchronized
http://www.terracotta.org/confluence/display/howto/Recipe?recipe=synchronized
running on 2 machines working together.. This is the hump I am stuck on...
|
|
|
hhuynh wrote:
You can download and install Sun JDK some where else.
I'm curious, what "java -v" returns? Is it 1.5+?
Right now, since its running off the packaged CentOS java setup - java - version echos
gij (GNU libgcj) version 4.1.2 20071124 (Red Hat 4.1.2-42)
But pending I installed Java myself I would echo out
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode)
|
|
|
hhuynh wrote:
You need to at least set JAVA_HOME to 1.5+ jdk to run the server
JAVA_HOME was set to "/usr"
But after they didn't worked it was retried with standard CentOS Java package install - where would I point JAVA_HOME to then..?
|
|
|
sbale wrote:
What version of Terracotta are you using, and what JDK? Can you run this and share your env with us?
Code:
You can get the Terracotta version from running [TC Home]/bin/version.sh
Could something be wrong with the 1.5 JDK installation you are using to run TC server with? Are you able to run (using java.exe) a Java program which uses anything from java.util.concurrent package?
Thanks,
Scott
Version 2.5 Final
greping the env with JAVA\|TC returns nothing.
|
|
|
Same with running admin.sh or any app for that matter...
sh admin.sh
Exception during event dispatch:
java.lang.NoClassDefFoundError: java.util.concurrent.Executors
at com.tc.admin.AdminClient.<init>(AdminClient.java:65)
at com.tc.admin.AdminClient$2.run(AdminClient.java:197)
at com.tc.admin.common.Splash$1.triggerEncountered(Splash.java:70)
at com.tc.admin.common.StreamReader$1.run(StreamReader.java:74)
at java.awt.event.InvocationEvent.dispatch(libgcj.so.7rh)
at java.awt.EventQueue.dispatchEvent(libgcj.so.7rh)
at java.awt.EventDispatchThread.run(libgcj.so.7rh)
|
|
|
When I try to run start-tc-server.sh for the 1st time - (centos 5.2)
I get the following error.
./start-tc-server.sh
2008-06-26 01:54:43,477 INFO - Terracotta 2.6.1, as of 20080530-180519 (Revision 8695 by cruise@rh4mo0 from 2.6)
2008-06-26 01:54:44,341 INFO - Configuration loaded from the Java resource at '/com/tc/config/schema/setup/default-config.xml', relative to class com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.
2008-06-26 01:54:44,408 INFO - Log file: '/root/terracotta/server-logs/terracotta-server.log'.
java.lang.NoClassDefFoundError: java.util.concurrent.LinkedBlockingQueue
at com.tc.server.TCServerImpl.<init>(TCServerImpl.java:108)
at com.tc.server.TCServerImpl.<init>(TCServerImpl.java:104)
at com.tc.server.StandardServerFactory.createServer(StandardServerFactory.java:12)
at com.tc.server.TCServerMain.main(TCServerMain.java:27)
Am I missing a java package to install or what. Can anyone point mein the right direction...???
Thanks in Advance.
|
|
|