Yes, it happens everytime on startup.

I have also tried it on other Windows 2000 boxes in the office, and it works
just fine as well.  However, I have had three other Windows 2000 machines
that the error occurs on.  I'm not at all sure what the delta is.  The
Windows 2000 machines are identical in terms of service packs, etc.  I've
also tried it on my home Windows 2000 box and got the error as well.

Obviously something is different, but I cannot figure out what that
difference is.  I even did a directory tree comparison off all and foo, and
they seem to be identical.

What I really don't understand is why it only happens when copying the "all"
directory.  On all the Window 2000 machines I've tried, "default" works
everytime no matter what method I use to copy it.

One other wrinkle is that 3.2.2RC3 works fine on all the machines as well,
so something between 3.2.2RC3 and 3.2.3 changed.
 


-----Original Message-----
From: Scott M Stark
To: [EMAIL PROTECTED]
Sent: 12/30/2003 12:08 PM
Subject: RE: [JBoss-user] [jboss-3.2.3] Unable to deploy web-console.war
error

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-conso
le.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
<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(DelegatingMethodAccessor
Impl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDi
spat
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(URLDeploymentSc
anne
r.java:302)
        at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScan
ner.
java:476)
        at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doS
can(
AbstractDeploymentScanner.java:201)
        at
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(Abst
ract
DeploymentScanner.java:274)
        at
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
        at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDi
spat
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(DelegatingMethodAccessor
Impl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDi
spat
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.jav
a:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDi
spat
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





-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to