org.jboss.ejb.EJBDeployer sometimes failed to deploy my ear.  I said sometimes because 
the ear works the first when server configuration directory is constructed from 
scratch.  If I stop and restart jboss, org.jboss.ejb.EJBDeployer may complain that one 
of the ejb impls in the ear does not match the signatures of the remote interface.  

I double checked the signatures are identical even to the order sequence of exceptions.

Here is the exception:

14:18:34,170 INFO  [EARDeployer] Init J2EE application: 
file:/E:/java/jboss-3.2.3/time/time-rs-test-app/time-r
  | s-test-app/deploy/time-rs-ear-SNAPSHOT.ear
  | 14:18:37,076 WARN  [verifier] EJB spec violation:
  | Bean   : ResourceService
  | Method : public abstract void saveFolderResource(ResourcePath, ResourcePath, 
String) throws InvalidResourceException, CanceledOperationException, 
QuotaExceededException, AccessDeniedException, ResourceException, RemoteException
  | Section: 7.10.5
  | Warning: All the exceptions defined in the throws clause of the matching method of 
the session bean class must
  |  be defined in the throws clause of the method of the remote interface.
  | 
  | 14:18:37,092 WARN  [verifier] EJB spec violation:
  | Bean   : ResourceService
  | Method : public abstract [B saveFolderResource(ResourcePath, String) throws 
InvalidResourceException, CanceledOperationException, AccessDeniedException, 
ResourceException, RemoteException
  | Section: 7.10.5
  | Warning: All the exceptions defined in the throws clause of the matching method of 
the session bean class must
  |  be defined in the throws clause of the method of the remote interface.
  | 
  | 
  | 14:18:37,170 ERROR [MainDeployer] could not create deployment: 
file:/E:/java/jboss-3.2.3/time/time-rs-test-app
  | 
/time-rs-test-app/tmp/deploy/tmp22785time-rs-ear-SNAPSHOT.ear-contents/time-rs-internal-SNAPSHOT.jar
  | org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, 
see above for error message
  | s.
  |         at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:491)
  |         at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
  |         at org.jboss.deployment.MainDeployer.create(MainDeployer.java:778)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
  |         at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
  | 

Any idea why JBoss keeps saying remote interface and impl class are out of synch?

Thanks.

Willie




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831850#3831850

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831850


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to