Hi friends,
I have a problem deploying my EJB module to JBoss 4.03SP1.
I deploy and run mu application using IntelliJ (with the JBoss plug-in).
I get the following error:
11:40:54,906 WARN [ServiceController] Problem creating service
jboss.j2ee:jndiName=helloEJB,service=EJB
java.lang.NoSuchMethodException:
org.jboss.ejb.StatelessSessionContainer.removeHome(javax.ejb.Handle)
I really need your help with this problem
Thanks
Rivka
my EJB looks like this:
package sample;
import org.nite.dataAccessObjects.basic.*;
import org.nite.dataAccessObjects.util.*;
import org.nite.exceptions.basic.ApplicationException;
import org.nite.exceptions.basic.LightExceptionInfo;
import org.nite.exceptions.basic.ValidateException;
import org.nite.transferObjects.util.LabelValueBean;
import org.nite.util.*;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import javax.ejb.*;
import java.util.*;
public class helloBean implements SessionBean {
private javax.ejb.SessionContext mySessionCtx;
private CodeTableDAO codeTableDAO = null;
static final private Log log = LogFactory.getLog(helloBean.class);
public HashMap getCodeTables(){
return codeTableDAO.getCodeTables();
}
public helloBean() {
}
public void ejbCreate() throws CreateException {
DAOFactory dAOFactory = DAOFactory.getDAOFactory(DAOFactory.INFORMIX);
codeTableDAO = dAOFactory.getCodeTableDAO();
}
public void setSessionContext(SessionContext sessionContext) throws
EJBException {
mySessionCtx = sessionContext;
}
public void ejbRemove() throws EJBException {
codeTableDAO = null;
}
public void ejbActivate() throws EJBException {
}
public void ejbPassivate() throws EJBException {
}
}
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922536#3922536
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922536
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user