I recently tried to migrate an EJB3 application from OC4J to WebLogic. It used both annotations and an ejb-jar.xml file. Everything worked just fine in OC4J, but WebLogic complained:
In EJB SomeEJB, both the local home and local component interface must be specified. Currently, only one of them is specified.
After some time I found the problem. Apparently:
Perhaps obvious in hindsight, but not from the error message.