2 Replies Latest reply on Sep 28, 2002 2:10 AM by Vikram Rai

    stateless session bean-depoyment error....URGENT

    Vikram Rai Newbie

      can somebody tell me the possible reason for the following error....this error is displayed when my application is deployed.....: i have checked both my remote and bean class and all the methods are present.......this is reaaaalllllllllyyy urgent...........


      [Container factory] Deploying instance1/jsAgentManagerEJB
      [Default] lookup securityDomain manager name: java:/jaas/other
      [Container factory] java.lang.NoSuchMethodException
      [Container factory] at java.lang.Class.getMethod0(Native Method)
      [Container factory] at java.lang.Class.getMethod(Class.java:883)
      [Container factory] at org.jboss.ejb.plugins.BMPPersistenceManager.createMethodCache(BMPPersistenceManager.java:109)
      [Container factory] at org.jboss.ejb.plugins.BMPPersistenceManager.init(BMPPersistenceManager.java:82)
      [Container factory] at org.jboss.ejb.EntityContainer.init(EntityContainer.java:291)
      [Container factory] at org.jboss.ejb.Application.init(Application.java:202)
      [Container factory] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:372)
      [Container factory] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:304)
      [Container factory] at java.lang.reflect.Method.invoke(Native Method)
      [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [Container factory] at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:494)
      [Container factory] at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:468)
      [Container factory] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:208)
      [Container factory] at java.lang.reflect.Method.invoke(Native Method)
      [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [Container factory] at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:379)
      [Container factory] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:217)
      [Container factory] at org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:353)
      [Container factory] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:107)
      [Container factory] at java.lang.reflect.Method.invoke(Native Method)
      [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [Container factory] at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:836)
      [Container factory] at $Proxy0.start(Unknown Source)
      [Container factory] at org.jboss.util.ServiceControl.start(ServiceControl.java:81)
      [Container factory] at java.lang.reflect.Method.invoke(Native Method)
      [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [Container factory] at org.jboss.Main.(Main.java:221)
      [Container factory] at org.jboss.Main$1.run(Main.java:127)
      [Container factory] at java.security.AccessController.doPrivileged(Native Method)
      [Container factory] at org.jboss.Main.main(Main.java:123)

        • 1. Re: stateless session bean-depoyment error....URGENT
          Juha Lindfors Master

          Why is your stateless session bean creating a BMP persistence manager plugin?

          For really urgent calls I recommend purchasing a support contract from JBoss Group.

          • 2. Re: stateless session bean-depoyment error....URGENT
            Vikram Rai Newbie

            i am calling an entity bean from my session bean...that may be the reason for the BMP plugin reference........the part of ejb-jar.xml is as below.....:


            <ejb-name>instance1/jsAgentManagerEJB</ejb-name>
            com.ics.js.agent.manager.jsAgentManagerHome
            com.ics.js.agent.manager.jsAgentManager
            <ejb-class>com.ics.js.agent.manager.jsAgentManagerEJB</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Container</transaction-type>
            <ejb-ref id="EjbRef_33">
            <ejb-ref-name>ejb/jsRMIAgentEJB</ejb-ref-name>
            <ejb-ref-type>Entity</ejb-ref-type>
            com.ics.js.agent.model.entity.jsAgentHome
            com.ics.js.agent.model.entity.jsAgentRemote
            <ejb-link>instance1/jsRMIAgentEJB</ejb-link>
            </ejb-ref>

            plz help.........