That message is not very helpful, is it?
My guess would be that the Path for the Application element in config.xml is wrong. (You will have an Application even if you just deployed an
EJB).
You can look at config.xml and see if it looks right, or start the server and check the Path for the Application or EJB in the console (or just delete it and deploy it again).
The Path should point to one of these (depending on what you have):
- the EAR file for your app
- the directory for the "exploded ear"
- the directroy that contains the ejb-jar file