Hello all,
I'm trying to connect to an EJB with the following interface from a TomCat 5.5 war archive:
@javax.ejb.Remote
public interface KeywordSearch {
public List search(String keyword);
public int search();
public void submit(KeywordSearchHit h);
public KeywordSearchHit bestHit();
}
The class KeywordSearchHit is in the same package as the interface. Calling a function that _returns_ a KeywordSearchHit object fails with ClassUnknownException for KeywordSearchHit, but calling a function that _takes_ such an object runs without problem.
This asymmetric behavoir has got me baffled. What could be the cause of it? The JVM used is 1.5.0_3 for all VMs. JBoss is version 4.0.3 and EJB3RC2.
can you post a small simple app that can reduce this problem as a bug at jira.jboss.com? This issue came up a few months ago and I was unable to reproduce.
Please try with RC3...and post sample app to jira.jboss.com
Thanks