JBoss Deployment problem

Discussions

EJB programming & troubleshooting: JBoss Deployment problem

  1. JBoss Deployment problem (1 messages)

    I am trying to deploy a JBuilder compiled EJB Application Jar into JBoss and got the following errors in the console

    These EJBs work great in the Weblogic Server.

    Help !!! thanks

    18:43:41,281 WARN [verifier] EJB spec violation:
    Bean : USERINGROUPBean
    Method : public abstract void remove() throws RemoveException, EJBException
    Section: 12.2.11
    Warning: Each local home method must match a method defined in the entity bean c
    lass.

    18:43:41,281 WARN [verifier] EJB spec violation:
    Bean : USERINGROUPBean
    Method : public abstract EJBLocalHome getEJBLocalHome() throws EJBException
    Section: 12.2.11
    Warning: Each local home method must match a method defined in the entity bean c
    lass.

    18:43:41,281 WARN [verifier] EJB spec violation:
    Bean : USERINGROUPBean
    Method : public abstract Object getPrimaryKey() throws EJBException
    Section: 12.2.11
    Warning: Each local home method must match a method defined in the entity bean c
    lass.

    18:43:41,281 WARN [verifier] EJB spec violation:
    Bean : USERINGROUPBean
    Method : public abstract boolean isIdentical(EJBLocalObject) throws EJBException

    Section: 12.2.11
    Warning: Each local home method must match a method defined in the entity bean c
    lass.

    18:43:41,311 ERROR [MainDeployer] could not create deployment: file:/C:/jboss4.0
    /server/tnsconf/deploy/csms.jar
    org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile
    d, see above for error messages.
            at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:553)
            at org.jboss.deployment.MainDeployer.create(MainDeployer.java:817)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:673)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:637)
            at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
    er.java:141)
  2. It was a typo
    My LocalHome Interface was extending EJBLocalObject along with the LocalHome Object. JBuilder did that and it did not worry about it while compilation.