Using Orbeon 2.5.4 running in Weblogic 8 SP3, with an EJB deployed to
the same container. I am able to connect to and execute methods on this
bean using my JBuilder EJB test client. But when I try to load the bean
using the delegationProcessor, I get this exception:
Type class java.lang.NoSuchMethodException
Message create
...
java.lang.Class getDeclaredMethod N/A
org.orbeon.oxf.processor.DelegationProcessor$2 endElement
DelegationProcessor.java 262
org.orbeon.oxf.xml.SimpleForwardingContentHandler endElement
SimpleForwardingContentHandler.java 41
org.orbeon.saxon.event.ContentHandlerProxy endElement
ContentHandlerProxy.java 205
org.orbeon.saxon.event.ProxyReceiver endElement
ProxyReceiver.java 161
...
Here is the offending line in DelegationProcessor.java:
// Call EJB method
Context jndiContext = (Context)
_context.getAttribute(org.orbeon.oxf.pipeline.api.PipelineContext.JNDI_C
ONTEXT);
Object home = jndiContext.lookup(service.jndiName);
//The next line is the offender!
Method create = home.getClass().getDeclaredMethod("create", new
Class[]{});
Object instance = create.invoke(home, new Object[]{});
String result = callMethod(instance.getClass(), operationName,
My Orbeon application is located in
$BEA_HOME\user_projects\domains\simpledomain\applications\orbeon
Any hints?
Henrik Pettersen
http://www.ontologyx.com
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
orbeon-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/orbeon-user