0

I am trying to configure our quartz job in Tomcat to run on terracotta cluster. Spring terracotta prop config looks like this

<prop key="org.quartz.jobStore.class">org.terracotta.quartz.TerracottaJobStore</prop>
<prop key="org.quartz.jobStore.tcConfigUrl">localhost:9510</prop>

Terracotta server is running.

When I start Tomcat instance I am getting following error

java.lang.ClassNotFoundException: org.terracotta.collections.LockStrategy

I can't find this class any where, neither in quartz-terracotta jar, or terracotta toolkit jar.

Marko
  • 20,385
  • 13
  • 48
  • 64
SShinde
  • 11
  • 6

2 Answers2

0

What version of Terracotta are you using?

A quick Google search suggests the class is in net.sf.ehcache:ehcache-terracotta:2.1.0 - I'm not sure about later versions. If it's not in the current version of the terracotta jar you are using, you might want to double-check that you aren't using incompatible versions of the various libraries.

matt b
  • 138,234
  • 66
  • 282
  • 345
  • Thanks, I tried that one, It says in docs but when you include the 2.1.0 jar, it contains no LockStrategy class. – SShinde Sep 26 '12 at 16:26
0

This should be in your toolkit-runtime jar. Are you saying this is not in there ? Can you provide more info ? Like versions and stacktrace ?

Alex Snaps
  • 1,230
  • 10
  • 10