deployment errors
I am unable to deploy my application - I receive following error when I attempt to deploy the application (J2EE 1.3, EJB 2.0, CMP 2.0):
Compilation failed.
at com.sun.ejb.codegen.GeneratorDriver.compileClasses(GeneratorDriver.java:232)
at com.sun.ejb.codegen.GeneratorDriver.preDeploy(GeneratorDriver.java:603)
at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployEjbs(JarInstallerImpl.java:707)
at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployApplication(JarInstallerImpl.java:221)
at org.omg.stub.com.sun.enterprise.tools.deployment.backend._JarInstallerImpl_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:355)
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:84)
at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:99)
Source codes of my bean:
public abstract class EntryBean implements EntityBean {
private EntityContext context;
public abstract Integer getId();
public abstract void setId(Integer id);
public abstract String getName();
public abstract void setName(String name);
public abstract String getSurname();
public abstract void setSurname(String surname);
public abstract String getPhoneNo();
public abstract void setPhoneNo(String phoneNo);
public abstract String getAddress();
public abstract void setAddress(String address);
public Integer ejbCreate(String name, String surname, String phoneNo, String address) {
setId(IdGenerator.generateId());
setName(name);
setSurname(surname);
setPhoneNo(phoneNo);
setAddress(address);
return null;
}
public void ejbPostCreate(String name, String surname, String phoneNo, String address)
throws CreateException {
}
public void setEntityContext(EntityContext ctx) {
context = ctx;
}
public void unsetEntityContext() {
context = null;
}
public void ejbRemove() {
}
public void ejbLoad() {
}
public void ejbStore() {
}
public void ejbPassivate() {
}
public void ejbActivate() {
}
}
public interface EntryLocal extends EJBLocalObject {
public abstract Integer getId();
public abstract String getName();
public abstract String getSurname();
public abstract String getPhoneNo();
public abstract String getAddress();
}
public interface EntryLocalHome extends EJBLocalHome {
public EntryLocal create(String name, String surname, String phoneNo, String address) throws CreateException;
public EntryLocal findByPrimaryKey(Integer id) throws FinderException;
public EntryLocal findBySurname(String surname) throws FinderException;
Collection findAll() throws FinderException;
}
I know that is not too complicated and I should get it to work on my own but somehow I cannot :/
Any help will be highly appreciated.
Message was edited by:
hrabia_dolgoruki

