Bugs item #714934, was opened at 2003-04-03 22:48
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=714934&group_id=22866

Category: JBossServer
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Dorothy Gantenbein (dgantenbein)
Assigned to: Nobody/Anonymous (nobody)
Summary: Incomplete Deployment with RC4

Initial Comment:
OS: Windows XP Home
JDK: 1.4.1_02

Started after upgrading from 3.2.0 RC1 to 3.2.0 RC4.  
Deploy my ear and get the following incomplete 
deployment exception (server.log) is attached.  Oddly, 
this only seems to happen on WinXP.  Works on Win2k 
and RedHat.

     [java] 13:49:49,171 ERROR 
[URLDeploymentScanner] MBeanException: Exception
in MBean operation 'checkIncompleteDeployments()'
     [java] Cause: Incomplete Deployment listing:
     [java] Packages waiting for a deployer:
     [java] 
[EMAIL PROTECTED] { 
url=file:/D:/orca/3r
dparty/jboss/server/developer/deploy/admin.ear/admin-
client.jar }
     [java]   deployer: null
     [java]   status: Starting
     [java]   state: START_SUBDEPLOYMENTS
     [java]   watch: 
file:/D:/orca/3rdparty/jboss/server/developer/deploy/admi
n.
ear/admin-client.jar
     [java]   lastDeployed: 1049406559799
     [java]   lastModified: 1049406559779
     [java]   mbeans:
     [java] ]Incompletely deployed packages:
     [java]   <none>
     [java] MBeans waiting for classes:
     [java]   <none>
     [java] MBeans waiting for other MBeans:
     [java]   <none>

     [java] 13:49:49,181 INFO  [URLDeploymentScanner] 
Started
     [java] 13:49:49,351 INFO  [MainDeployer] Deployed 
package: file:/D:/orca/3r
dparty/jboss/server/developer/conf/jboss-service.xml
     [java] 13:49:49,361 INFO  [Server] JBoss (MX 
MicroKernel) [3.2.0RC4 (build:
 CVSTag=JBoss_3_2_0_RC4 date=200303221440)] 
Started in 55s:910ms


My ear has the following structure.  The ear is expanded 
into a directory in JBoss' deploy directory.

  admin.ear
  |_META-INF
  | |_ application.xml
  | |_ MANIFEST.MF
  |_admin.war (expanded directory)
  |_admin.jar (expanded directory for EJBs)
  |_asset.sar  (archive for service)
  |_infra.sar (archive for service)
  |_admin-client.jar (archive that is EJB client)
  |_cactus.jar  and other archives

The application.xml has the following contents...

<?xml version="1.0" ?>
<!DOCTYPE application PUBLIC
   "-//Sun Microsystems, Inc.//DTD J2EE Application 
1.3//EN"
   "http://java.sun.com/dtd/application_1_3.dtd";>
<application>
   <display-name>Admin</display-name>
   <module>
      <web>
        <web-uri>admin.war</web-uri>
        <context-root>/cfs</context-root>
      </web>
   </module>
   <module>
      <ejb>admin.jar</ejb>
   </module>

   <module>
       <java>infra.sar</java>
   </module>
 
   <module>
       <java>asset.sar</java>
   </module>
   
</application>

As another point of information, I get a different 
deployment error when I deploy admin.ear as an archive 
(versus expanded directory).  Then, the deployer cannot 
find admin.war.

     [java] 14:25:25,663 ERROR 
[URLDeploymentScanner] Failed to deploy: org.jbos
s.deployment.scanner.URLDeploymentScanner$Deploye
[EMAIL PROTECTED] url=file:/D:/orc
a/3rdparty/jboss/server/developer/deploy/admin.ear, 
deployedLastModified=0 }
     [java] org.jboss.deployment.DeploymentException: 
exception in init of file:
/D:/orca/3rdparty/jboss/server/developer/deploy/admin.ea
r; - nested throwable: (
org.jboss.deployment.DeploymentException: Failed to 
find module file: admin.war)

     [java]     at org.jboss.deployment.MainDeployer.init
(MainDeployer.java:720)

     [java]     at 
org.jboss.deployment.MainDeployer.deploy
(MainDeployer.java:63
7)
     [java]     at 
org.jboss.deployment.MainDeployer.deploy
(MainDeployer.java:61
3)
     [java]     at 
sun.reflect.GeneratedMethodAccessor23.invoke
(Unknown Source)
     [java]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMet
hodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke
(Method.java:324)
     [java]     at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invok
e(Refle
ctedMBeanDispatcher.java:284)
     [java]     at 
org.jboss.mx.server.MBeanServerImpl.invoke
(MBeanServerImpl.ja
va:549)
     [java]     at org.jboss.mx.util.MBeanProxyExt.invoke
(MBeanProxyExt.java:177
)
     [java]     at $Proxy7.deploy(Unknown Source)
     [java]     at 
org.jboss.deployment.scanner.URLDeploymentScanner.
deploy(URLD
eploymentScanner.java:404)
     [java]     at 
org.jboss.deployment.scanner.URLDeploymentScanner.
scan(URLDep
loymentScanner.java:545)
     [java]     at 
org.jboss.deployment.scanner.AbstractDeploymentScan
ner$Scanne
rThread.doScan(AbstractDeploymentScanner.java:195)
     [java]     at 
org.jboss.deployment.scanner.AbstractDeploymentScan
ner.startS
ervice(AbstractDeploymentScanner.java:268)
     [java]     at 
org.jboss.system.ServiceMBeanSupport.start
(ServiceMBeanSuppor
t.java:192)
     [java]     at 
sun.reflect.GeneratedMethodAccessor7.invoke
(Unknown Source)
     [java]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMet
hodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke
(Method.java:324)
     [java]     at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invok
e(Refle
ctedMBeanDispatcher.java:284)
     [java]     at 
org.jboss.mx.server.MBeanServerImpl.invoke
(MBeanServerImpl.ja
va:549)
     [java]     at 
org.jboss.system.ServiceController$ServiceProxy.invoke
(Servic
eController.java:966)
     [java]     at $Proxy0.start(Unknown Source)
     [java]     at org.jboss.system.ServiceController.start
(ServiceController.ja
va:392)
     [java]     at 
sun.reflect.GeneratedMethodAccessor6.invoke
(Unknown Source)
     [java]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMet
hodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke
(Method.java:324)
     [java]     at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invok
e(Refle
ctedMBeanDispatcher.java:284)
     [java]     at 
org.jboss.mx.server.MBeanServerImpl.invoke
(MBeanServerImpl.ja
va:549)
     [java]     at org.jboss.mx.util.MBeanProxyExt.invoke
(MBeanProxyExt.java:177
)
     [java]     at $Proxy5.start(Unknown Source)
     [java]     at org.jboss.deployment.SARDeployer.start
(SARDeployer.java:241)
     [java]     at org.jboss.deployment.MainDeployer.start
(MainDeployer.java:832
)
     [java]     at 
org.jboss.deployment.MainDeployer.deploy
(MainDeployer.java:64
0)
     [java]     at 
org.jboss.deployment.MainDeployer.deploy
(MainDeployer.java:61
3)
     [java]     at 
org.jboss.deployment.MainDeployer.deploy
(MainDeployer.java:59
7)
     [java]     at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
     [java]     at 
sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAcces
sorImpl.java:39)
     [java]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMet
hodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke
(Method.java:324)
     [java]     at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invok
e(Refle
ctedMBeanDispatcher.java:284)
     [java]     at 
org.jboss.mx.server.MBeanServerImpl.invoke
(MBeanServerImpl.ja
va:549)
     [java]     at org.jboss.mx.util.MBeanProxyExt.invoke
(MBeanProxyExt.java:177
)
     [java]     at $Proxy6.deploy(Unknown Source)
     [java]     at 
org.jboss.system.server.ServerImpl.doStart
(ServerImpl.java:33
2)
     [java]     at org.jboss.system.server.ServerImpl.start
(ServerImpl.java:239)

     [java]     at org.jboss.Main.boot(Main.java:159)
     [java]     at org.jboss.Main$1.run(Main.java:397)
     [java]     at java.lang.Thread.run(Thread.java:536)
     [java] Caused by: 
org.jboss.deployment.DeploymentException: Failed to 
find
module file: admin.war
     [java]     at org.jboss.deployment.EARDeployer.init
(EARDeployer.java:167)
     [java]     at org.jboss.deployment.MainDeployer.init
(MainDeployer.java:694)

     [java]     ... 47 more
     [java] 14:25:25,913 ERROR 
[URLDeploymentScanner] MBeanException: Exception
in MBean operation 'checkIncompleteDeployments()'
     [java] Cause: Incomplete Deployment listing:
     [java] Packages waiting for a deployer:
     [java]   <none>
     [java] Incompletely deployed packages:
     [java] 
[EMAIL PROTECTED] { 
url=file:/D:/orca/3r
dparty/jboss/server/developer/deploy/admin.ear }
     [java]   deployer: 
[EMAIL PROTECTED]
     [java]   status: null
     [java]   state: FAILED
     [java]   watch: 
file:/D:/orca/3rdparty/jboss/server/developer/deploy/admi
n.
ear
     [java]   lastDeployed: 1049408725663
     [java]   lastModified: 1049408725072
     [java]   mbeans:
     [java] ]MBeans waiting for classes:
     [java]   <none>
     [java] MBeans waiting for other MBeans:
     [java]   <none>

     [java] 14:25:25,923 INFO  [URLDeploymentScanner] 
Started
     [java] 14:25:26,174 INFO  [MainDeployer] Deployed 
package: file:/D:/orca/3r
dparty/jboss/server/developer/conf/jboss-service.xml
     [java] 14:25:26,184 INFO  [Server] JBoss (MX 
MicroKernel) [3.2.0RC4 (build:
 CVSTag=JBoss_3_2_0_RC4 date=200303221440)] 
Started in 27s:610ms

If I deploy admin.ear as an archive and make admin.war 
and admin.jar into archives within the ear, then I get the 
incomplete deployment exception related to admin-
client.jar.

This is completely reproduceable on my XP machine 
and I can provide additional information if needed.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=714934&group_id=22866


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to