when deploy app in jboss4.0.3 i have error
********************************************************************
16:38:50,112 WARN [verifier] EJB spec violation:
Bean : Job
Method : public Integer ejbCreate(Integer)
Section: 10.6.4
Warning: The throws clause must define the javax.ejb.CreateException.
16:38:50,122 WARN [verifier] EJB spec violation:
Bean : WOrderJob
Method : public Integer ejbCreate(Integer)
Section: 10.6.4
Warning: The throws clause must define the javax.ejb.CreateException.
16:38:50,259 ERROR [MainDeployer] Could not create deployment: file:/usr/local/tools/jboss-4.0.3SP1/server/default/tmp/deploy/tmp2060workshop-ear-0.3.3.ear-contents/workshop-ejb-0.3.3.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:575)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
**********************
there was such warning in jboss 3.0.7 and the app was deployed but in jboss 4.0.3 it not depoyed.
Can I say jboss to ignore these warnings without regenerate bean?
Volodymyr