And if I repeat the same thing multiple times, I got different error
messages. Another one is like this:
05:53:55,747 INFO [EJBDeployer] nested deployment:
file:/home/yao/local/jboss-3.2.2/server/default/tmp/deploy/tmp52822cactus-sample-ejb-cactified.ear-contents/cactus-sample-ejb.jar-contents/xdoclet-web-module-1.2.1.jar
05:53:55,752 INFO [EJBDeployer] nested deployment:
file:/home/yao/local/jboss-3.2.2/server/default/tmp/deploy/tmp52822cactus-sample-ejb-cactified.ear-contents/cactus-sample-ejb.jar-contents/xdoclet-xdoclet-module-1.2.1.jar
05:53:55,765 INFO [EJBDeployer] nested deployment:
file:/home/yao/local/jboss-3.2.2/server/default/tmp/deploy/tmp52822cactus-sample-ejb-cactified.ear-contents/cactus-sample-ejb.jar-contents/xjavadoc-1.0.3.jar
05:53:56,337 INFO [Engine] StandardHost[localhost]: MAPPING
configuration error for request URI
/cactus-sample-ejb/ServletRedirector
05:54:00,644 INFO [Engine] StandardHost[localhost]: MAPPING
configuration error for request URI
/cactus-sample-ejb/ServletRedirector
05:53:56,409 INFO [MainDeployer] deployment waiting for deployer:
file:/home/yao/local/jboss-3.2.2/server/default/tmp/deploy/tmp52822cactus-sample-ejb-cactified.ear-contents/cactus-sample-ejb.jar-contents/xdoclet-jboss-module-1.2.1.jar
05:54:00,650 WARN [JARDeployer] Failed to add deployable jar:
file:/home/yao/local/jboss-3.2.2/server/default/tmp/deploy/tmp52822cactus-sample-ejb-cactified.ear-contents/cactus-sample-ejb.jar-contents/axis-ant.jar
java.util.zip.ZipException: No such file or directory
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:112)
at java.util.jar.JarFile.<init>(JarFile.java:127)
at java.util.jar.JarFile.<init>(JarFile.java:65)
at
org.jboss.deployment.SubDeployerSupport.processNestedDeployments(SubDeployerSupport.java:245)
at
org.jboss.deployment.SubDeployerSupport.init(SubDeployerSupport.java:143)
at
org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
at
org.jboss.deployment.MainDeployer.init(MainDeployer.java:716)
at
org.jboss.deployment.MainDeployer.init(MainDeployer.java:716)
at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at sun.reflect.GeneratedMethodAccessor19.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:476)
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)
05:54:00,682 WARN [JARDeployer] Failed to add deployable jar:
file:/home/yao/local/jboss-3.2.2/server/default/tmp/deploy/tmp52822cactus-sample-ejb-cactified.ear-contents/cactus-sample-ejb.jar-contents/aspectjrt-1.1.1.jar
java.util.zip.ZipException: No such file or directory
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:112)
at java.util.jar.JarFile.<init>(JarFile.java:127)
at java.util.jar.JarFile.<init>(JarFile.java:65)
at
org.jboss.deployment.SubDeployerSupport.processNestedDeployments(SubDeployerSupport.java:245)
at
org.jboss.deployment.SubDeployerSupport.init(SubDeployerSupport.java:143)
at
org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
at
org.jboss.deployment.MainDeployer.init(MainDeployer.java:716)
at
org.jboss.deployment.MainDeployer.init(MainDeployer.java:716)
at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at sun.reflect.GeneratedMethodAccessor19.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:476)
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)
05:54:02,575 INFO [Engine] StandardHost[localhost]: MAPPING
configuration error for request URI
/cactus-sample-ejb/ServletRedirector
05:54:02,991 ERROR [EmbeddedTomcatService] Problem in init
org.jboss.deployment.DeploymentException: Was unable to move war to:
/home/yao/local/jboss-3.2.2/server/default/tmp/deploy/tmp52822cactus-sample-ejb-cactified.ear-contents/cactus-sample-ejb-cactified.war.tmp
at
org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:296)
at
org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
at
org.jboss.deployment.MainDeployer.init(MainDeployer.java:716)
at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at sun.reflect.GeneratedMethodAccessor19.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:476)
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)
05:54:02,992 INFO [Engine] StandardHost[localhost]: MAPPING
configuration error for request URI
/cactus-sample-ejb/ServletRedirector
05:54:02,998 WARN [NestedThrowable] Duplicate throwable nesting of
same base type: class org.jboss.deployment.DeploymentException is
assignable from: class org.jboss.deployment.DeploymentException
05:54:02,999 ERROR [MainDeployer] Could not initialise deloyment:
file:/home/yao/local/jboss-3.2.2/server/default/deploy/cactus-sample-ejb-cactified.ear
org.jboss.deployment.DeploymentException: Was unable to move war to:
/home/yao/local/jboss-3.2.2/server/default/tmp/deploy/tmp52822cactus-sample-ejb-cactified.ear-contents/cactus-sample-ejb-cactified.war.tmp;
- nested throwable: (org.jboss.deployment.DeploymentException: Was
unable to move war to:
/home/yao/local/jboss-3.2.2/server/default/tmp/deploy/tmp52822cactus-sample-ejb-cactified.ear-contents/cactus-sample-ejb-cactified.war.tmp)
at
org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:350)
at
org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
at
org.jboss.deployment.MainDeployer.init(MainDeployer.java:716)
at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at sun.reflect.GeneratedMethodAccessor19.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:476)
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)
Caused by: org.jboss.deployment.DeploymentException: Was unable to move
war to:
/home/yao/local/jboss-3.2.2/server/default/tmp/deploy/tmp52822cactus-sample-ejb-cactified.ear-contents/cactus-sample-ejb-cactified.war.tmp
at
org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:296)
... 16 more
05:54:03,512 INFO [Engine] StandardHost[localhost]: MAPPING
configuration error for request URI
/cactus-sample-ejb/ServletRedirector
05:54:03,512 INFO [Engine] StandardHost[localhost]: MAPPING
configuration error for request URI
/cactus-sample-ejb/ServletRedirector
--- Stan Y <[EMAIL PROTECTED]> wrote:
> What's more interesting is that if I manually replace the old .ear
> file
> deployed in jboss with the newly compiled one by copying files using
> UNIX command, it worked well and the new .ear is correctly deployed.
> But if I remove the old .ear in jboss and then run cactus test in
> Eclipse, expecting the new .ear to be deployed, I got the following
> errors.
>
> 05:45:00,673 INFO [Engine] StandardHost[localhost]: MAPPING
> configuration error for request URI
> /cactus-sample-ejb/ServletRedirector
> 05:45:00,673 INFO [Engine] StandardHost[localhost]: MAPPING
> configuration error for request URI
> /cactus-sample-ejb/ServletRedirector
> 05:45:02,118 INFO [Engine] StandardHost[localhost]: MAPPING
> configuration error for request URI
> /cactus-sample-ejb/ServletRedirector
> 05:45:02,476 INFO [Engine] StandardHost[localhost]: MAPPING
> configuration error for request URI
> /cactus-sample-ejb/ServletRedirector
> 05:45:02,491 INFO [MainDeployer] Starting deployment of package:
>
file:/home/yao/local/jboss-3.2.2/server/default/deploy/cactus-sample-ejb-cactified.ear
> 05:45:02,535 INFO [EARDeployer] Init J2EE application:
>
file:/home/yao/local/jboss-3.2.2/server/default/deploy/cactus-sample-ejb-cactified.ear
> 05:45:03,180 INFO [Engine] StandardHost[localhost]: MAPPING
> configuration error for request URI
> /cactus-sample-ejb/ServletRedirector
> ...
> ...
> 05:45:11,044 INFO [Engine] StandardHost[localhost]: MAPPING
> configuration error for request URI
> /cactus-sample-ejb/ServletRedirector
> 05:45:12,029 ERROR [MainDeployer] Could not initialise deloyment:
>
file:/home/yao/local/jboss-3.2.2/server/default/deploy/cactus-sample-ejb-cactified.ear
> org.jboss.deployment.DeploymentException: No META-INF/application.xml
> found
> at org.jboss.deployment.EARDeployer.init(EARDeployer.java:63)
> at
> org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
> at
> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
> at
> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
> at sun.reflect.GeneratedMethodAccessor19.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:476)
> 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)
> 05:45:12,390 INFO [Engine] StandardHost[localhost]: MAPPING
> configuration error for request URI
> /cactus-sample-ejb/ServletRedirector
> 05:45:12,604 INFO [Engine] StandardHost[localhost]: MAPPING
> configuration error for request URI
> /cactus-sample-ejb/ServletRedirector
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
> http://promotions.yahoo.com/new_mail
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]