[mule-user] Could not find entry point with arguments

1 view
Skip to first unread message

Slyge

unread,
Dec 28, 2007, 8:41:53 AM12/28/07
to us...@mule.codehaus.org

Hi,

Using Mule Client:
List l = null;
MyParameterBean mb=... (it's set before)
try{
MuleClient client = new MuleClient();
UMOMessage result = client.send("vm://myDAS", mb, null);
l = (List)result.getPayload();
}catch(UMOException e){
e.printStackTrace();
}

and the following mule-config.xml

<mule-configuration id="MuleSpring-config" version="1.0">

<description>
Configuration for the the "MuleSpring" project </description>

<container-context
className='org.mule.extras.spring.SpringContainerContext'>
<properties>
<property name='configFile'
value='datasourceContext.xml,applicationContext.xml' />
</properties>
</container-context>

<model name="myModel">
<mule-descriptor name="myDASImpl"
implementation="myDASImpl">
<inbound-router>
<endpoint address="vm://myDAS"/>
</inbound-router>
</mule-descriptor>
</model>
</mule-configuration>


I get following error:

2007-12-28 14:10:14,274 ERROR
[org.mule.impl.DefaultComponentExceptionStrategy]
********************************************************************************
Message : Could not find entry point on: "$Proxy110" with
arguments: "{class package.MyParameterBean}"
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: "$Proxy110" with arguments: "{class
package.MyParameterBean}" (org.mule.impl.NoSatisfiableMethodsException)
org.mule.impl.model.resolvers.DynamicEntryPoint:241
(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:
"$Proxy110" with arguments: "{class package.MyParameterBean}"
at
org.mule.impl.model.resolvers.DynamicEntryPoint.invoke(DynamicEntryPoint.java:241)
at
org.mule.impl.DefaultLifecycleAdapter.intercept(DefaultLifecycleAdapter.java:194)
at
org.mule.impl.InterceptorsInvoker.execute(InterceptorsInvoker.java:47)
at
org.mule.impl.model.DefaultMuleProxy.onCall(DefaultMuleProxy.java:258)
at
org.mule.impl.model.seda.SedaComponent.doSend(SedaComponent.java:393)


What is missing? As the method I want to invoke is "find(MyParameterBean
mb)" should I tell mule that the parameter is of type MyParameterBean and
how?

Thanks a lot.

--
View this message in context: http://www.nabble.com/Could-not-find-entry-point-with-arguments-tp14525844p14525844.html
Sent from the Mule - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Andrew Perepelytsya

unread,
Dec 28, 2007, 11:43:48 AM12/28/07
to us...@mule.codehaus.org
Ahh, spring's dynamic proxies... There was a jira filed somewhere for this already. Try specifying the method property for this service.

Andrew


********************************************************************************
Root Exception stack trace:
org.mule.impl.NoSatisfiableMethodsException : Could not find entry point on:
"$Proxy110" with arguments: "{class package.MyParameterBean}"
       at
org.mule.impl.model.resolvers.DynamicEntryPoint.invoke(DynamicEntryPoint.java:241)
       at
org.mule.impl.DefaultLifecycleAdapter.intercept(DefaultLifecycleAdapter.java:194)
       at
org.mule.impl.InterceptorsInvoker.execute(InterceptorsInvoker.java:47)
       at
org.mule.impl.model.DefaultMuleProxy.onCall (DefaultMuleProxy.java:258)

Slyge

unread,
Dec 28, 2007, 3:18:20 PM12/28/07
to us...@mule.codehaus.org

Thanks for your quick answer, I will try on wednesday :-)

Andrew

> org.mule.impl.model.DefaultMuleProxy.onCall(DefaultMuleProxy.java:258)


> at
> org.mule.impl.model.seda.SedaComponent.doSend(SedaComponent.java:393)
>
>
> What is missing? As the method I want to invoke is "find(MyParameterBean
> mb)" should I tell mule that the parameter is of type MyParameterBean and
> how?
>
> Thanks a lot.
>
> --
> View this message in context:
> http://www.nabble.com/Could-not-find-entry-point-with-arguments-tp14525844p14525844.html
> Sent from the Mule - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
> http://xircles.codehaus.org/manage_email
>
>

--
View this message in context: http://www.nabble.com/Could-not-find-entry-point-with-arguments-tp14525844p14530988.html

Slyge

unread,
Dec 28, 2007, 3:19:22 PM12/28/07
to us...@mule.codehaus.org

Thanks for your quick answer, I will try on wednesday :-)

--
View this message in context: http://www.nabble.com/Could-not-find-entry-point-with-arguments-tp14525844p14531001.html

Slyge

unread,
Dec 28, 2007, 3:20:05 PM12/28/07
to us...@mule.codehaus.org

Thanks for your quick answer, I will try on wednesday :-)

Andrew

> org.mule.impl.model.resolvers.DynamicEntryPoint.invoke(
> DynamicEntryPoint.java:241)
> at
> org.mule.impl.DefaultLifecycleAdapter.intercept(

> DefaultLifecycleAdapter.java:194)
> at
> org.mule.impl.InterceptorsInvoker.execute(InterceptorsInvoker.java:47)
> at

> org.mule.impl.model.DefaultMuleProxy.onCall(DefaultMuleProxy.java:258)


> at
> org.mule.impl.model.seda.SedaComponent.doSend(SedaComponent.java:393)
>
>
> What is missing? As the method I want to invoke is "find(MyParameterBean
> mb)" should I tell mule that the parameter is of type MyParameterBean and
> how?
>
> Thanks a lot.
>
> --
> View this message in context:
> http://www.nabble.com/Could-not-find-entry-point-with-arguments-tp14525844p14525844.html
> Sent from the Mule - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
> http://xircles.codehaus.org/manage_email
>
>

--
View this message in context: http://www.nabble.com/Could-not-find-entry-point-with-arguments-tp14525844p14531009.html

Slyge

unread,
Dec 29, 2007, 7:43:28 PM12/29/07
to us...@mule.codehaus.org

I found what's wrong.

I have an ear with mule rar, a jar file with objects exposed in mule and a
war file with a webapp.

In the war file, there is an instantiation of a bean from a library also
included in the jar file (because we want to remove it from the war file at
least, just keeping the interfaces). So in classloader, there were 2
distincts classes of the same type, but for mule, the argument of the method
passed by the war app was different from the one expected by the jar in mule
(2 classes in the same classloader).

I change it by creating a service factory included in the jar and mapped it
with mule proxies to the bean that call my method. Then all instances are
managed by mule.

But this work only when I use vm transport.

When I use axis transport, as my method return type is of type "List" it
throws a java.lang.ClassCastException: [Ljava.lang.Object; exception.

--
View this message in context: http://www.nabble.com/Could-not-find-entry-point-with-arguments-tp14525844p14543166.html

Reply all
Reply to author
Forward
0 new messages