0 Replies Latest reply on Aug 22, 2008 5:21 PM by Shafiur Rahman Mohammad

    Missing or invalid invoker- Jboss.deployment.DeploymentExcep

    Shafiur Rahman Mohammad Newbie

      Need help please, New to java and Jboss.

      I have a project erpproxy.jar which Is enclosed in ctiwebservices.ear.
      I am trying to deploy the ctiwebservices.ear in jboss/server/default/deploy
      folder. I have an ejb in that project.
      This is the documentation left by the previous employee. Now please explain me where should I write the jndi name(i.e which file; in jboss.xml or in ejb-jar.xml file of erpproxy.jar).
      * @ejb.bean name="ERPProxy" display-name="ERP Proxy EJB"
      * description = "EJB that provides access to ERP Proxy functions"
      * view-type = "remote" jndi-name = "ejb/erpproxy/ErpProxyEJB"
      * @ejb.env-entry name="ejb/BeanFactoryPath" type="java.lang.String" value="/erpProxyServicesAppContext.xml"
      * @ejb.home extends="javax.ejb.EJBHome"
      * @ejb.interface extends="javax.ejb.EJBObject"
      *
      * @jboss.clustered
      * cluster=true
      *
      * @jboss.cluster-config
      * partition-name="DefaultPartition"
      *
      * @jboss.cluster-config
      * home-policy="org.jboss.ha.framework.interfaces.RoundRobin"
      *
      */
      @SuppressWarnings("serial")
      public class ErpProxyBean extends AbstractStatelessSessionBean implements SessionBean, IErpProxyServices {


      As I am trying to run the jboss it gives me an error as such

      Creating service jboss.j2ee:service=EjbModule,module=erpproxy-1.2.jar
      2008-08-22 16:54:52,644 DEBUG [org.jboss.ejb.EjbModule] Creating jboss.j2ee:service=EjbModule,module=erpproxy-1.2.jar
      2008-08-22 16:54:52,659 DEBUG [org.jboss.ejb.EjbModule] createService, begin
      2008-08-22 16:54:52,659 INFO [org.jboss.ejb.EjbModule] Deploying ERPProxy
      2008-08-22 16:54:52,659 DEBUG [org.jboss.ejb.EjbModule] Creating WebClassLoader of class org.jboss.web.WebClassLoader
      2008-08-22 16:54:52,675 WARN [org.jboss.ejb.EjbModule] Could not load the org.jboss.ejb.plugins.CleanShutdownInterceptor interceptor

      and down:

      Problem creating service jboss.j2ee:service=EjbModule,module=erpproxy-1.2.jar
      org.jboss.deployment.DeploymentException: Missing or invalid Container Invokers (in jboss.xml or standardjboss.xml).

      Then it says
      Incomplete Deplyment Listings.

      MBeans waiting fo other Mbeans
      Object name: jboss:j2ee:service=EjbModule, module=erpproxy-1.2.jar
      state= failed
      Reason : org. jboss. deployment. Deployment Exception: Missin or invalid containers.

      Please help
      Its urgent.....