JBoss tries to pick up an .ear immediately, so often it will pick it up before 
the file is done copying over. This is worse with larger files. JBoss should 
have a configurable time setting, such that it will only pick up files that are 
at least x seconds old, to give sufficient time for the copy to complete...

Otherwise, you get errors like this...


12:07:29,485 ERROR [MainDeployer] Could not initialise deployment: 
file:/var/local/jboss/jboss-4.0.2-EJB3/server/default/farm/dataBinding.ear
org.jboss.deployment.DeploymentException: No META-INF/application.xml found
        at org.jboss.deployment.EARDeployer.init(EARDeployer.java:120)
        at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
        at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
        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:121)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy58.deploy(Unknown Source)
        at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
        at 
org.jboss.ha.framework.server.FarmMemberService.deploy(FarmMemberService.java:375)
        at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
        at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
        at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
        at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
-bash-2.05b$ 

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

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


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to