vfsfile:/C:/workspace/eerr/.metadata/.plugins/org.jboss.ide.earipse.as.core/JBoss_AS_5.11447958221013/deploy/eerr-core.jar/ -> org.jboss.deployers.spi.DeploymentException: Error deploying eerr-core.jar: Error creating ejb container CalculoAdmOperacionesFacadeBean: Conflict between default jndi name CalculoAdmOperacionesFacadeBean for both remote and local for ejb-name:CalculoAdmOperacionesFacadeBean, bean arass=arass ar.business.facade.calculo.administracion.operaciones.CalculoAdmOperacionesFacadeBean Local JNDI Name: CalculoAdmOperacionesFacadeBean/local Remote JNDI Name: CalculoAdmOperacionesFacadeBean
DEPLOYMENTS IN ERROR: Deployment "vfsfile:/C:/workspace/eerr/.metadata/.plugins/org.jboss.ide.earipse.as.core/JBoss_AS_5.11447958221013/deploy/eerr-core.jar/" is in error due to the following reason(s): javax.ejb.EJBException: Conflict between default jndi name CalculoAdmOperacionesFacadeBean for both remote and local for ejb-name:CalculoAdmOperacionesFacadeBean, bean arass=arass ar.business.facade.calculo.administracion.operaciones.CalculoAdmOperacionesFacadeBean Local JNDI Name: CalculoAdmOperacionesFacadeBean/local Remote JNDI Name: CalculoAdmOperacionesFacadeBean
public interface ICalculoAdmOperacionesFacade extends Serializable {
public static final String JNDI_NAME = "CalculoAdmOperacionesFacadeBean"; public QueryOperationsAdminVO getValorAdministracionOperaciones(Date fecha, Date fecha2) throws EJBException;
*** DEPLOYMENTS IN ERROR: Name -> Error
vfsfile:/C:/workspace/eerr/.metadata/.plugins/org.jboss.ide.earipse.as.core/JBoss_AS_5.11447958221013/deploy/eerr-core.jar/ -> org.jboss.deployers.spi.DeploymentException: Error deploying eerr-core.jar: Error creating ejb container CalculoAdmOperacionesFacadeBean: Conflict between default jndi name CalculoAdmOperacionesFacadeBean for both remote and local for ejb-name:CalculoAdmOperacionesFacadeBean, bean arass=arass ar.business.facade.calculo.administracion.operaciones.CalculoAdmOperacionesFacadeBean
Local JNDI Name: CalculoAdmOperacionesFacadeBean/local
Remote JNDI Name: CalculoAdmOperacionesFacadeBean
DEPLOYMENTS IN ERROR:
Deployment "vfsfile:/C:/workspace/eerr/.metadata/.plugins/org.jboss.ide.earipse.as.core/JBoss_AS_5.11447958221013/deploy/eerr-core.jar/" is in error due to the following reason(s): javax.ejb.EJBException: Conflict between default jndi name CalculoAdmOperacionesFacadeBean for both remote and local for ejb-name:CalculoAdmOperacionesFacadeBean, bean arass=arass ar.business.facade.calculo.administracion.operaciones.CalculoAdmOperacionesFacadeBean
Local JNDI Name: CalculoAdmOperacionesFacadeBean/local
Remote JNDI Name: CalculoAdmOperacionesFacadeBean
/****/
ICalculoAdmOperacionesFacade.java
/****/
package ar.business.facade.calculo.administracion.operaciones;
import java.io.Serializable;
import java.util.Date;
import javax.ejb.EJBException;
import ar.business.facade.calculo.vo.QueryOperationsAdminVO;
public interface ICalculoAdmOperacionesFacade extends Serializable {
public static final String JNDI_NAME = "CalculoAdmOperacionesFacadeBean";
public QueryOperationsAdminVO getValorAdministracionOperaciones(Date fecha, Date fecha2) throws EJBException;
}
/*****/
CalculoAdmOperacionesFacadeRemote.java
/*****/
package ar.business.facade.calculo.administracion.operaciones;
import javax.ejb.Remote;
@Remote
public interface CalculoAdmOperacionesFacadeRemote extends ICalculoAdmOperacionesFacade{
}
/*****/
CalculoAdmOperacionesFacadeLocal.java
/*****/
package ar.business.facade.calculo.administracion.operaciones;
import javax.ejb.Local;
@Local
public interface CalculoAdmOperacionesFacadeLocal extends ICalculoAdmOperacionesFacade{
}
/*****/
CalculoAdmOperacionesFacadeBean.java
/*****/
package ar.business.facade.calculo.administracion.operaciones;
import java.util.Date;
import java.util.List;
import java.util.Vector;
import javax.ejb.EJB;
import javax.ejb.EJBException;
import javax.ejb.Local;
import javax.ejb.Remote;
import javax.ejb.Stateless;
import ar.business.facade.calculo.rrhh.CalculoRRHHFacadeLocal;
import ar.business.facade.calculo.vo.QueryOperationsAdminVO;
import ar.business.facade.calculo.vo.QueryRRHHVO;
import ar.business.facade.calculo.vo.SalesDetailVO;
import ar.persistence.jpa.sistema.dao.BodegaDAO;
import ar.persistence.jpa.sistema.dao.arienteDAO;
import ar.persistence.jpa.sistema.dao.SistemaDAO;
@Stateless(mappedName = ICalculoAdmOperacionesFacade.JNDI_NAME)
@Remote( { CalculoAdmOperacionesFacadeRemote.arass })
@Local( { CalculoAdmOperacionesFacadeLocal.arass })
public arass CalculoAdmOperacionesFacadeBean implements CalculoAdmOperacionesFacadeLocal,
CalculoAdmOperacionesFacadeRemote {
....
}
No sé qué pude ser, si lo veo bien. Por favor si alguien puede ayudarme o ver una posible solución se lo agradecería mucha.
De ante mano.
Muchas Gracias.
Saludos