[mule-user] error on quartz endpoint

0 views
Skip to first unread message

alessandro ferrucci

unread,
Oct 13, 2007, 6:00:31 PM10/13/07
to us...@mule.codehaus.org
hey guys I have a simple inbound quartz endpoint:

<mule-descriptor name="QuartzExtractorUMO"
            implementation="com.aol.pubt.photos.mule.umo.OffLineDrmUMO">

            <inbound-router>
                <endpoint address="quartz:/photosOfflineDrmJob">
                    <properties>
                        <property name="repeatInterval"
                            value="${offlineDrmKickoffInterval}" />
                        <property name="startDelay"
                            value="${offlineDrmKickoffDelay}" />
                        <property name="payloadClassName"
                            value="java.lang.Object" />
                    </properties>
                </endpoint>
            </inbound-router>
</mule-descriptor>

OffLineDrmUMO has this entrypoint:

public void processDrm(Object foo)
    {
        try
        {
            ProvidersSet providers = (ProvidersSet) MuleManager.getInstance()
                    .getContainerContext().getComponent("providersList");
       ......
}

I get this exception everytime the scheduler kicks off the job:

ERROR 2007-10-13 17:57:52,610 [QuartzExtractorUMO.2] org.mule.impl.DefaultComponentExceptionStrategy:
********************************************************************************
Message               : Could not find entry point on: "com.aol.pubt.photos.mule.umo.OffLineDrmUMO" with arguments: "{class org.mule.providers.NullPayload}"
Type                  : org.mule.impl.NoSatisfiableMethodsException
Code                  : MULE_ERROR-101216
JavaDoc               : http://mule.mulesource.org/docs/apidocs/org/mule/impl/NoSatisfiableMethodsException.html
********************************************************************************
Exception stack is:
1. Could not find entry point on: "com.aol.pubt.photos.mule.umo.OffLineDrmUMO" with arguments: "{class org.mule.providers.NullPayload}" (org.mule.impl.NoSatisfiableMethodsException)
  org.mule.impl.model.resolvers.DynamicEntryPoint:243 ( http://mule.mulesource.org/docs/apidocs/org/mule/impl/NoSatisfiableMethodsException.html)
********************************************************************************
Root Exception stack trace:
org.mule.impl.NoSatisfiableMethodsException : Could not find entry point on: "com.aol.pubt.photos.mule.umo.OffLineDrmUMO" with arguments: "{class org.mule.providers.NullPayload}"
        at org.mule.impl.model.resolvers.DynamicEntryPoint.invoke (DynamicEntryPoint.java:243)
        at org.mule.impl.DefaultLifecycleAdapter.intercept(DefaultLifecycleAdapter.java:217)
        at org.mule.impl.InterceptorsInvoker.execute(InterceptorsInvoker.java:47)
        at org.mule.impl.model.DefaultMuleProxy.run(DefaultMuleProxy.java:482)
        at org.mule.impl.work.WorkerContext.run(WorkerContext.java:310)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:987)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
        at java.lang.Thread.run(Thread.java:613)

********************************************************************************



It's pretty obvious why this is occuring..however I have tried the following things:

1) making entry take 0 args and not specifying payloadClassName
2) making entry method take a NullPayLoad object as arg and not specifying payloadClassName
3) making entry method take an Object as arg and not specifying payloadClassName

none of them works.

my entry point does not need any arguments but it doesn't seem like I can have the quartz scheduler just invoke my UMO with nothing.

thx

alessandro ferrucci



alessandro ferrucci

unread,
Oct 13, 2007, 6:22:38 PM10/13/07
to us...@mule.codehaus.org
Nevermind my email, it works.

thx

alessandro ferrucci :)

David Dossot

unread,
Oct 13, 2007, 6:24:32 PM10/13/07
to us...@mule.codehaus.org
Have you tried:

<property name="payloadClassName" value="java.lang.String" />
<property name="payload" value="foo" />

and:

public void processDrm(String foo)

This does not fulfill your goal of having:

public void processDrm()

but it might get you started.

D.



On 10/13/07, alessandro ferrucci <ale.fe...@gmail.com > wrote:

David Dossot

unread,
Oct 13, 2007, 6:25:18 PM10/13/07
to us...@mule.codehaus.org
what did you change for this to work?

alessandro ferrucci

unread,
Oct 13, 2007, 6:46:27 PM10/13/07
to us...@mule.codehaus.org
nothing, it worked all along, I was building the wrong sandbox :)

(you just had to ask didnt you? )


thx

alessandro ferrucci :)

David Dossot

unread,
Oct 13, 2007, 7:55:57 PM10/13/07
to us...@mule.codehaus.org
Often people solve their issue without detailing how, which is a missed opportunity to grow the common knowledge of the community.

So I was asking in this context, just in case your findings would prove useful for many.

And building the right sandbox is surely a good reusable piece of experience ;-)

Ciao,
D,
Reply all
Reply to author
Forward
0 new messages