I tried the same proceedure on WinXP prosp1 using jboss-3.2.3 and sun jdk-1.4.2_03
and I don't see this error.
 
09:08:58,423 INFO  [MainDeployer] Starting deployment of package: file:/C:/cvs/R
eleases/jboss-3.2.3/server/foo/deploy/management/web-console.war
09:08:59,033 INFO  [EmbeddedTomcatService] deploy, ctxPath=/web-console, warUrl=
file:/C:/cvs/Releases/jboss-3.2.3/server/foo/tmp/deploy/tmp7849web-console.war/
09:08:59,224 INFO  [Engine] SingleSignOnContextConfig[/web-console]: Added certi
ficates -> request attribute Valve
09:08:59,244 WARN  [EmbeddedTomcatService] Unable to invoke setDelegate on class
 loader:[EMAIL PROTECTED]
09:08:59,244 INFO  [Engine] StandardManager[/web-console]: Seeding random number
 generator class java.security.SecureRandom
09:08:59,244 INFO  [Engine] StandardManager[/web-console]: Seeding of random num
ber generator has been completed
09:08:59,504 INFO  [Engine] StandardWrapper[/web-console:default]: Loading conta
iner servlet default
09:08:59,544 INFO  [Engine] StandardWrapper[/web-console:invoker]: Loading conta
iner servlet invoker
09:09:00,175 INFO  [MainDeployer] Deployed package: file:/C:/cvs/Releases/jboss-
3.2.3/server/foo/deploy/management/web-console.war
 
Is this happening every time on startup?
 
xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx

________________________________

From: [EMAIL PROTECTED] on behalf of Barlow, Dustin
Sent: Tue 12/30/2003 8:49 AM
To: '[EMAIL PROTECTED] '
Subject: [JBoss-user] [jboss-3.2.3] Unable to deploy web-console.war error




JBoss Version: 3.2.3
JVM: Sun 1.4.2-b28
OS: Windows 2000

Using windows explorer, I copied an unmodified "all" server target directory
to "foo".  I then ran "run.bat -c foo" from the command line and I get the
following error:

11:34:10,019 INFO  [MainDeployer] Starting deployment of package:
file:/D:/java/jboss-3.2.3/server/foo/deploy/management/web-console.war
11:34:10,120 ERROR [EmbeddedTomcatService] Problem in init
org.jboss.deployment.DeploymentException: Was unable to move war to:
D:\java\jboss-3.2.3\server\foo\tmp\deploy\tmp16433web-console.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.deploy(MainDeployer.java:632)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
        at sun.reflect.GeneratedMethodAccessor26.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(ReflectedMBeanDispat
cher.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(URLDeploymentScanne
r.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.startService(Abstract
DeploymentScanner.java:274)
        at
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
        at sun.reflect.GeneratedMethodAccessor5.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(ReflectedMBeanDispat
cher.java:284)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
        at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.jav
a:976)
        at $Proxy0.start(Unknown Source)
        at
org.jboss.system.ServiceController.start(ServiceController.java:394)
        at sun.reflect.GeneratedMethodAccessor6.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(ReflectedMBeanDispat
cher.java:284)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy4.start(Unknown Source)
        at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
        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:324)
        at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
cher.java:284)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy5.deploy(Unknown Source)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
        at org.jboss.Main.boot(Main.java:150)
        at org.jboss.Main$1.run(Main.java:395)
        at java.lang.Thread.run(Thread.java:534)

I do not get this error on Linux or Solaris running the exact same version
of JBoss and Sun's JVM.

The interesting twist is that if I copy the "all" target to "foo" in Windows
using "cp -Rpv all foo" in cygwin, I do not get the startup error at all.

I also tried copying "all" to "foo" with Ant using the following:

        <copy  todir="${env.JBOSS_HOME}/server/foo" >
            <fileset dir="${env.JBOSS_HOME}/server/all"/>
        </copy>

This results in getting the same deployment error as if I had copied it
using windows explorer.

This error only happens when copying the "all" server target directory.
Default and minimal work just fine when copied using either windows
explorer, cygwin, or ant.

Attached to this message is a text file called foo_startup.txt that shows
the startup and shutdown of the foo target.

Any suggestions?

Dustin



<<winmail.dat>>

Reply via email to