Version 1

    I use seam 2.2.1CR2 jboss 6 M5 mail-ra.rar send mail ok, but i use the MDB can't deploy ok

     

    first error is @ResourceAdapter("mail-ra.rar") not define can't compile, so i download a jboss-ejb3-ext-api.jar now can ant ok! but

     

    then run jboss error show below. send ok but MDB can't deploy , what Dependency i need!

     

    Does anybody help ! thanks.

     

    server log

    DEPLOYMENTS MISSING DEPENDENCIES:
      Deployment "auto-timer-initializer:vfs:///E:/java/jboss-6.0.0.20100911-M5/server/default/deploy/mail.ear/jboss-seam.jar/$TimerServiceDispatcher" is missing the following dependencies:
        Dependency "jboss.j2ee:ear=mail.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3" (should be in state "Installed", but is actually in state "**ERROR**")
      Deployment "jboss.j2ee:ear=mail.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3_endpoint" is missing the following dependencies:
        Dependency "jboss.j2ee:ear=mail.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3" (should be in state "Installed", but is actually in state "**ERROR**")
      Deployment "jboss.j2ee:ear=mail.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3_endpoint" is missing the following dependencies:
        Dependency "jboss.j2ee:ear=mail.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3" (should be in state "Installed", but is actually in state "**ERROR**")
      Deployment "jboss.j2ee:ear=mail.ear,jar=mail.jar,name=AuthenticatorBean,service=EJB3_endpoint" is missing the following dependencies:
        Dependency "jboss.j2ee:ear=mail.ear,jar=mail.jar,name=AuthenticatorBean,service=EJB3" (should be in state "Installed", but is actually in state "**ERROR**")

     

    DEPLOYMENTS IN ERROR:
      Deployment "jboss.j2ee:ear=mail.ear,jar=mail.jar,name=MailListenerMDB,service=EJB3" is in error due to the following reason(s): java.lang.ClassCastException: $Proxy191 cannot be cast to org.jboss.ejb3.annotation.Pool
      Deployment "jboss.j2ee:ear=mail.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3" is in error due to the following reason(s): java.lang.ClassCastException: $Proxy191 cannot be cast to org.jboss.ejb3.annotation.Pool, **ERROR**
      Deployment "jboss.j2ee:ear=mail.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3" is in error due to the following reason(s): java.lang.ClassCastException: $Proxy191 cannot be cast to org.jboss.ejb3.annotation.Pool, **ERROR**
      Deployment "jboss.j2ee:ear=mail.ear,jar=mail.jar,name=AuthenticatorBean,service=EJB3" is in error due to the following reason(s): java.lang.ClassCastException: $Proxy191 cannot be cast to org.jboss.ejb3.annotation.Pool, **ERROR**

     

        at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.0.Alpha7]
        at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.0.Alpha7]
        at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.0.0.20100911-M5]
        at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:118) [:0.1.0.Alpha1]
        at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:133) [:6.0.0.20100911-M5]
        at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.20100911-M5]
        at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
        at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
        at java.lang.Thread.run(Unknown Source) [:1.6.0_22]