[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Terracotta + tomcat /DSO install error  XML
Forum Index -> Terracotta 中文社区
Author Message


Joined: 04/25/2013 02:02:22
Messages: 2

when i start tomcat:

Starting BootJarTool...
2013-04-25 16:58:55,985 INFO - Terracotta 3.7.5, as of 20130319-165505 (Revision 22474 by cruise@su10vmo125 from 3.7.5)
2013-04-25 16:58:56,776 INFO - Successfully loaded base configuration from file at '/usr/local/terracotta/tc-config.xml'.

------------------------------- ERROR DETAILS -------------------------------
+ Error during module initialization.
+ Unable to resolve TIM file for tim-tomcat-6.0 version 2.1.3 (group-id: org.terracotta.modules)

Attempted to resolve the TIM using the following descriptors:

groupId: org.terracotta.modules
name : tim-tomcat-6.0
version: 2.1.3

Expected the TIM's filename to be:


Expected these attributes to be in the manifest:

Bundle-SymbolicName: org.terracotta.modules.tim-tomcat-6.0
Bundle-Version : 2.1.3

Searched using the following repositories:

+ /usr/local/terracotta/platform/modules

Tried to resolve the jar file using the following paths:

+ file:/usr/local/terracotta/platform/modules/org/terracotta/modules/tim-tomcat-6.0/2.1.3/tim-tomcat-6.0-2.1.3.jar

If the jar file exists and is in one of the paths listed above, make sure that the Bundle-SymbolicName and
Bundle-Version attribute in its manifest matches the ones that the resolver expects.

If you do not have this particular TIM or any of its dependencies installed, try using the tim-get tool's
'install' command:

$ tim-get.sh install tim-tomcat-6.0 2.1.3 org.terracotta.modules

You can also use the tool's 'list' command to see if it's actually available:

$ tim-get.sh list tim-tomcat-6.0 # list anything that has 'tim-tomcat-6.0' in it's name
$ tim-get.sh list # or, list everything that is available

For more information on how to use the tim-get tool, invoke:

$ tim-get.sh help


Joined: 04/25/2013 02:02:22
Messages: 2

my tc-config.xml
<?xml version="1.0" encoding="UTF-8"?>

All content copyright Terracotta, Inc., unless otherwise indicated. All rights reserved.

This is a Terracotta configuration file that has been pre-configured
for use with DSO. All classes are included for instrumentation,
and all instrumented methods are write locked.

For more information, please see the product documentation.
<tc:tc-config xmlns:tc="http://www.terracotta.org/config"

<!-- Tell DSO where the Terracotta server can be found. -->
<server host="">

<!-- Tell DSO where to put the generated client logs -->

<module name="tim-tomcat-6.0" version="2.1.3"/>

<!-- Start by including just the classes you expect to get added to the shared
graph. These typically include domain classes and shared data structures.
If you miss classes, Terracotta will throw NonPortableOjectExceptions
telling you more about what needs to be added. -->

<!-- Apply write level autolocks for all instrumented methods.
It's more efficient to create finer-grain locks as dictated
by your application needs.
<method-expression>* com.mydomain.myapp.mymodels..*.*(..)</method-expression>



Joined: 07/04/2011 04:36:10
Messages: 1491

Do you have the "tim-tomcat-6.0" installed . You can get the list of tim's using $ tim-get.sh list and then do

$ tim-get.sh install tim-tomcat-6.0 2.1.3 to install the tim for tomcat.

Rakesh Joshi
Senior Consultant
Forum Index -> Terracotta 中文社区
Go to:   
Powered by JForum 2.1.7 © JForum Team