Title: Сообщение
 
I also have to deploy new application periodically
and see same problem. I think the problem is that
scanner sees new directory under /deploy dir and
try to read application.xml which is not there yet
(still being copied). In my case I perform deploy and
'touch application.xml' immediately after it to make
sure it will be deployed fine.
Try to copy application.xml right after creating
directory to reduce interval between directory (.ear)
and application.xml creation.
 
Igor
 -----Original Message-----
From: Weiqi Gao [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 09, 2003 11:03 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Intermittent error on deployment

Hi,

I have encountered the following error during the deployment of our ear
file.  We build and deploy every couple hours.  The previous three
deployments went fine.  After I discovered this error, I did a touch on
the ear file.  The file deployed fine after that.

I would appreciate it very much if someone can point out what's going on
here.  I'm running the JBoss 3.0.4 + Tomcat 4.1.12 bundle on a W2K
server with JDK 1.4.

--
Weiqi Gao
[EMAIL PROTECTED]

10:48:41,570 INFO  [MainDeployer] Starting deployment of package:
file:/E:/discovery/java/dev_env/jboss3.0.4/server/ivue/deploy/cis.ear
10:48:43,085 INFO  [EARDeployer] Init J2EE application:
file:/E:/discovery/java/dev_env/jboss3.0.4/server/ivue/deploy/cis.ear
10:48:43,367 ERROR [URLDeploymentScanner] Failed to deploy:
org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@9680dd2a{
url="" href="" target=_blank>file:/E:/discovery/java/dev_env/jboss3.0.4/server/ivue/deploy/cis.ear,
deployedLastModified=1042072517322 }
org.jboss.deployment.DeploymentException: No META-INF/application.xml found
         at org.jboss.deployment.EARDeployer.init(EARDeployer.java:100)
         at org.jboss.deployment.MainDeployer.init(MainDeployer.java:673)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:609)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:585)
         at sun.reflect.GeneratedMethodAccessor11.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:517)
         at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
         at $Proxy4.deploy(Unknown Source)
         at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:435)
         at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:561)
         at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:212)
         at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:225)
         at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:202)




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to