-
1. Re: Problem deploying a EJB 2.1 Web Service
bendowling Nov 23, 2005 5:39 AM (in response to bendowling)I've solved this problem after about 5 hours of trying! The problem was putting the classfiles in /org instead of org! I won't be making that mistake again. Although I've fixed that problem I'm still getting problems deploying. The errors I get now are:
10:26:21,776 WARN [verifier] EJB spec violation:
Bean : AnnAnnWebServiceEJB
Method : public abstract void lock(String, String) throws RemoteException
Section: 7.11.9
Warning: For each method defined in the service endpoint interface, there be a matching method in the session bean�s class with the same return type.
10:26:21,777 WARN [verifier] EJB spec violation:
Bean : AnnAnnWebServiceEJB
Method : public abstract void unlock(String, String) throws RemoteException
Section: 7.11.9
Warning: For each method defined in the service endpoint interface, there be a matching method in the session bean�s class with the same return type.
...
[for every method in the interface]
Every method defined in the interface IS implemented in the session bean though, so is it a config problem?
Thanks for any help, Ben -
2. Re: Problem deploying a EJB 2.1 Web Service
bendowling Nov 23, 2005 5:45 AM (in response to bendowling)I've just noticed that the warning says that each method in the interface is defined as returning void, which isn't the case. The interface defines most of the return types as boolean. Why would this happen?
Cheers