[Logo] Terracotta Discussion Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Unable to read TIM index  XML
Forum Index -> General
Author Message
kaisez

journeyman

Joined: 06/22/2009 22:54:58
Messages: 12
Offline

Dear All ,
Thanks for your great help .
I've downloaded Terracotta 3.0.0 and i've reconfigured my mutli clustering environment with Jira 3.13.2 as per your recommendation however.
when am trying to install the Terracottat TIMs on the server node am getting the following exception :
java.lang.RuntimeException: Unable to read TIM index: forge.terracotta.
at org.terracotta.modules.tool.CachedModules.loadData(CachedMod
at org.terracotta.modules.tool.CachedModules.list(CachedModules
at org.terracotta.modules.tool.CachedModules.find(CachedModules
at org.terracotta.modules.tool.commands.OneOrAllCommand.process
at org.terracotta.modules.tool.commands.InstallCommand.execute(
at org.terracotta.modules.tool.commands.CommandRegistry.execute
at org.terracotta.modules.tool.commands.CommandRegistry.execute
at org.terracotta.tools.cli.TIMGetTool.execute(TIMGetTool.java:
at org.terracotta.tools.cli.TIMGetTool.mainWithExceptions(TIMGe
at org.terracotta.tools.cli.TIMGetTool.main(TIMGetTool.java:36)

Any idea about a solution for that .

Thanks & Regards .
-Kaise
amiller

ophanim

Joined: 08/29/2007 09:05:48
Messages: 722
Location: St. Louis, MO
Offline

It looks like right side of your message is cut off. Could you paste the whole thing?

I'm guessing your server machine is having trouble connecting to our forge site to download the index of TIM files. The URLs and connection info are controlled from lib/resources/tim-get.properties in the kit.

It should be trying to download http://forge.terracotta.org/api/2/index.xml.gz. You could test whether that url is accessible from your server machine. If not, you can update a kit on some other machine and then just copy the contents of the /modules directly to your server machine.

Alex Miller (Terracotta Engineer) - Want to post to the forums? Sign up here
[WWW]
sanoujam

journeyman

Joined: 09/09/2008 10:30:25
Messages: 29
Offline

It would be helpful if you can provide the full stack trace including the root cause so that we can provide a better message next time this happens. We created a jira for this: https://jira.terracotta.org/jira/browse/CDV-1303

-- Abhishek Sanoujam
[Yahoo!]
kaisez

journeyman

Joined: 06/22/2009 22:54:58
Messages: 12
Offline

Dear All ,
Thanks for your replies :
Here is the whole message i took it from the console :

"
java.lang.RuntimeException: Unable to read TIM index: forge.terracotta.org
at org.terracotta.modules.tool.CachedModules.loadData(CachedModules.java:141)
at org.terracotta.modules.tool.CachedModules.list(CachedModules.java:239)
at org.terracotta.modules.tool.CachedModules.find(CachedModules.java:178)
at org.terracotta.modules.tool.commands.OneOrAllCommand.process(OneOrAllCommand.java:70)
at org.terracotta.modules.tool.commands.InstallCommand.execute(InstallCommand.java:70)
at org.terracotta.modules.tool.commands.CommandRegistry.executeCommand(CommandRegistry.java:52)
at org.terracotta.modules.tool.commands.CommandRegistry.executeCommand(CommandRegistry.java:59)
at org.terracotta.tools.cli.TIMGetTool.execute(TIMGetTool.java:90)
at org.terracotta.tools.cli.TIMGetTool.mainWithExceptions(TIMGetTool.java:55)
at org.terracotta.tools.cli.TIMGetTool.main(TIMGetTool.java:36)

"
hhuynh

consul

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

The index link is this http://forge.terracotta.org/api/2/index.xml.gz Can you read it from that box? If not you might be behind a firewall.

If you have to access the web with a proxy, you can set up tim-get to do that with lib/resources/tim-get.properties
kaisez

journeyman

Joined: 06/22/2009 22:54:58
Messages: 12
Offline

Dear All.
Thanks for your replies,
It seems that i have netwrok issue for accessing the remote site to update my TIM modules.
can somebody send me the tim-tomcat5.5.jar so i can put it manually to the modules folder and configure the tc-config.xml
and hopefuly get my Jira multiclustering running.

Thanks Regards .
kaisez

journeyman

Joined: 06/22/2009 22:54:58
Messages: 12
Offline

Hey Folks

Its workinf fine with me finally .
I just changed the netwrok and downloaded the Terracotta modules from my maching then i copied them to the Terracotta production server .
TC-config.xml which i've got form Scarlet repository is already have the configuration tags for tomcat 5-5 and tomcat 6 as well
so i guess i dont need to do anything else except copying the Tomcat Tim Jars into the Scraled Modules folder , and everything is fine .
Thank you all for your great help .
cheeeeeers
hohooooooooo\
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.7 © JForum Team