1 Reply Latest reply on Jan 28, 2013 3:09 PM by dward

    Could not load listener class: classname

    jeffdelong

      I am trying to run PolicyQuote example and getting the following exception.

       

      org.switchyard.HandlerException: org.switchyard.exception.SwitchYardException: Could not load listener class: classname

      --- Caused by org.switchyard.exception.SwitchYardException: Could not load listener class: classname

       

      I believe this is because the default BPM component implementation has

       

         <bpm:listeners>
            <bpm:listener class="classname"/>
          </bpm:listeners>

       

       

      I am not sure what the correct default should be, removing the listener element seems to work.

       

       

      NewTaskHandler is probably not a valid option for TaskHandlers, nor property and value for Properties.

        • 1. Re: Could not load listener class: classname
          dward
          1. I think this must've been added by the tooling. I didn't introduce any such default in the runtime.
          2. "TaskHandler" is old nomenclature, for when I used to wrap WorkItemHandlers.  Now, plain-ol', straight-up jBPM WorkItemHandlers are used. So if the tooling is calling them TaskHandlers, this should change too.