1 Reply Latest reply on Aug 19, 2009 6:57 PM by Pradeep

    Incomplete Deployment when EJB turn into webservices

    Gurjeet Singh Newbie

      i converted EJB to webservices when i am runing jboss-4.0.2, at the time of deployment jboss successfully deploy all EJBs except that EJB, which i converted into webservices. it shows in log

      16:15:54,421 INFO [EjbModule] Deploying ITransferMgr
      16:15:54,437 INFO [EjbModule] Deploying IMMaintMgr
      16:16:01,796 ERROR [StatelessSessionContainer] Initialization failed jboss.j2ee:
      jndiName=WireCtlr,service=EJB
      java.lang.NoSuchMethodException: Not found in bean class: public abstract void j
      avax.ejb.EJBObject.remove() throws java.rmi.RemoteException,javax.ejb.RemoveExce
      ption
      at org.jboss.ejb.SessionContainer.setUpBeanMappingImpl(SessionContainer.

      --------------------------------------------------------------------
      but my WSDL published successfully, it shows in log
      ---------------------------------------------------------------------
      16:16:32,125 INFO [EJBDeployer] Deployed: file:/D:/jboss-4.0.2/server/default/d
      eploy/datamate.jar
      16:16:36,156 INFO [WSDLFilePublisher] WSDL published to: file:/D:/jboss-4.0.2/s
      erver/default/data/wsdl/datamate.jar/WireCtlr.wsdl
      16:16:37,125 INFO [AxisService] WSDD published to: D:\jboss-4.0.2\server\defaul
      t\data\wsdl\datamate.jar\WireCtlr.wsdd
      16:16:39,484 INFO [AxisService] Web Service deployed: http://datav1:8080/datama
      te/WireCtlr

      ---------------------------------------------------
      and at last server is showing
      ---------------------------------------------------
      16:17:23,359 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.j2ee:jndiName=WireCtlr,service=EJB
      State: FAILED
      Reason: java.lang.NoSuchMethodException: Not found in bean class: public abstr
      act void javax.ejb.EJBObject.remove() throws java.rmi.RemoteException,javax.ejb.
      RemoveException

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.j2ee:jndiName=WireCtlr,service=EJB
      State: FAILED
      Reason: java.lang.NoSuchMethodException: Not found in bean class: public abstr
      act void javax.ejb.EJBObject.remove() throws java.rmi.RemoteException,javax.ejb.
      RemoveException


      16:17:28,437 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-808
      0
      16:17:30,984 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
      16:17:31,046 INFO [JkMain] Jk running ID=0 time=0/203 config=null
      16:17:31,109 INFO [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4
      _0_2 date=200505022023)] Started in 3m:5s:0ms

      ----------------------------------------------------------------------

      i have given
      <service-endpoint>dm.ejb.common.WireCtlr</service-endpoint> in ejb-jar.xml for that EJB.


      anybody can tell me why i am getting that error, why my ejb get failed to deploy.