Hello all.

I have been given the job of splitting our EAR file into its seperate JARS as 
we need to hot deploy individual JARS.

If I delete the EAR, place all the JARS from the EAR into the deploy area and 
then start JBoss all is OK.
But when I then try to hot deploy a JAR individually I get the following:

14:24:46,026 WARN  [verifier] EJB spec violation:
Bean   : AreaCode
Method : public abstract AreaCode create() throws CreateException, 
RemoteException
Section: 6.8
Warning: The create method of a stateless session bean home interface must 
return the session bean's remote interface.

14:24:46,026 WARN  [verifier] EJB spec violation:
Bean   : AreaCode
Method : public abstract AreaCode create() throws CreateException, 
RemoteException
Section: 6.10.6
Warning: The return type for a create(...) method must be the session bean's 
remote interface type.


I get this for all the beans contained in the JAR, and even though it is a 
warning the deploy fails with:


14:24:46,666 ERROR [MainDeployer] could not create deployment: 
file:/C:/JBoss/server/default/deploy/Traders.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans 
failed, see above for error messages.
        at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:491)
        at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
        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)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy6.deploy(Unknown Source)
        at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
        at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:458)
        at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
        at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
        at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)


If I re-start JBoss though I don't get any errors?

I'm pretty much at the mercy of you guys so thanks in advance for any help on 
this.

Andy

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to