Hello ,
I am working on
EJB 1.1 with WLS - 6.1 . Am getting the following error when the following command
java weblogic.ejbc Employee.jar Employeedep.jar
is given at command prompt.
In home interface I declared ..
public EmpRemote findByPrimaryKey(int empid ) throws FinderException , RemoteException ;
E:\CONTAINERMANAGED\Example5>
java weblogic.ejbc Employee.jar Employeedep.jar
<Mar 6, 2003 12:51:52 AM IST> <Warning> <EJB> <EJB Deployment: containerManaged
has a class EmpBean which is in the classpath. This class should only be located
in the ejb-jar file.>
<Mar 6, 2003 12:51:52 AM IST> <Warning> <EJB> <EJB Deployment: containerManaged
has a class EmpHome which is in the classpath. This class should only be located
in the ejb-jar file.>
<Mar 6, 2003 12:51:52 AM IST> <Warning> <EJB> <EJB Deployment: containerManaged
has a class EmpRemote which is in the classpath. This class should only be locat
ed in the ejb-jar file.>
ERROR: Error from ejbc: In EJB containerManaged, the home interface's findByPrim
aryKey methods parameter must be the primary key type or java.lang.Object: {1}
ERROR: ejbc found errors
E:\CONTAINERMANAGED\Example5>