I'm trying to add deployment descriptors, first to an EJB jar and then to an EAR which will contain (among other things) the EJB jar I first modified. From my attempt to process the EJB jar, I get the following result whch includes an error.
<preamble not included> Creating Top Down Map Initializing... Mapping Saving... Generating deployment code Generating queries Refreshing: /starthis-clgx/ejbModule. Updating. [*Error] An unexpected exception was thrown. Halting execution. Shutting down workbench.
Error generating findByLocation(com.xxx.MyClass) query for bean ControlLogix (Abstract schema name=MyTable). Error=unknown EJB or ASN name: com.xxx.MyClass Query='SELECT OBJECT(c) FROM MyTable AS c WHERE c.location = ?1' C:\ibm-prep\using-cmd-line> =================================================================
It seems that ejbdeploy cannot find the com.xxx.MyClass class. But I have added that jar containing it to to the classpath.