Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-714

installation issue: db-clustered quartz No ClassLoaders found for: org.apache.servicemix.quartz.support.ServiceMixJob

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • servicemix-quartz-2009.01
    • 2013.02
    • servicemix-quartz
    • None
    • jboss 4.3.2, service mix 3.3.1, default jboss quartz looks like 1.5.2

    Description

      While trying to transition from in-memory to clustered quartz, I'm encountering a hiccup.
      I'm seeing a stack in the logs:
      14:05:00,017 ERROR [JobStoreTX] Error retrieving job, setting trigger state to ERROR.
      org.quartz.JobPersistenceException: Couldn't retrieve job because a required class was not found: No ClassLoaders found
      for: org.apache.servicemix.quartz.support.ServiceMixJob [See nested exception: java.lang.ClassNotFoundException: No Clas
      sLoaders found for: org.apache.servicemix.quartz.support.ServiceMixJob]
      at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveJob(JobStoreSupport.java:1031)
      at org.quartz.impl.jdbcjobstore.JobStoreSupport.triggerFired(JobStoreSupport.java:1818)
      at org.quartz.impl.jdbcjobstore.JobStoreTX.triggerFired(JobStoreTX.java:1286)
      at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:308)

      • Nested Exception (Underlying Cause) ---------------

      I'm using service mix installer 2009.01 in my deploy directory, which seems to read as service mix 3.3.1 for the jars in my lib directory ( I inheritted this app )
      Tried tricks referred to on partially related google results, like putting this in my xbean.xml:

      <classpath inverse="true">
      <location>.</location>
      </classpath>

      and using this class loading on my POM:
      <plugin>
      <groupId>org.apache.servicemix.tooling</groupId>
      <artifactId>jbi-maven-plugin</artifactId>
      <configuration>
      <classLoaderDelegation>self-first</classLoaderDelegation>
      </configuration>
      </plugin>

      But, no joy yet.
      I'm guessing I'm just not understanding how to enable clustered quartz on jboss...haven't found docs that covered this issue, yet.

      Attachments

        Activity

          People

            Unassigned Unassigned
            andrew_yaweb Andrew
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: