3 Replies Latest reply on Oct 12, 2005 6:14 AM by Darran Lofthouse

    War deployment failure

    Jack Stephenson Newbie

      Am new to JBOSS

      Have just install (ie unzipped) JBoss 4.0.3 and am running jdk1.5.0_05 on winxp

      JBoss Bootstrap Environment
      JBOSS_HOME: C:\JavaHome\JBoss\jboss-4.0.3
      JAVA: C:\JavaHome\Java\jdk1.5.0_05\bin\java
      JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
      CLASSPATH: C:\JavaHome\Java\jdk1.5.0_05\lib\tools.jar;C:\JavaHome\JBoss\jboss-
      4.0.3\bin\run.jar

      ***********************
      JBoss seems to boot alright

      11:10:03,045 INFO [Server] Starting JBoss (MX MicroKernel)...
      11:10:03,075 INFO [Server] Release ID: JBoss [Zion] 4.0.3 (build: CVSTag=JBoss_
      4_0_3 date=200510042324)
      11:10:03,085 INFO [Server] Home Dir: C:\JavaHome\JBoss\jboss-4.0.3
      11:10:03,085 INFO [Server] Home URL: file:/C:/JavaHome/JBoss/jboss-4.0.3/
      11:10:03,085 INFO [Server] Patch URL: null
      11:10:03,095 INFO [Server] Server Name: default
      11:10:03,095 INFO [Server] Server Home Dir: C:\JavaHome\JBoss\jboss-4.0.3\serve
      r\default
      11:10:03,095 INFO [Server] Server Home URL: file:/C:/JavaHome/JBoss/jboss-4.0.3
      /server/default/
      11:10:03,095 INFO [Server] Server Temp Dir: C:\JavaHome\JBoss\jboss-4.0.3\serve
      r\default\tmp
      11:10:03,095 INFO [Server] Root Deployment Filename: jboss-service.xml
      11:10:04,558 INFO [ServerInfo] Java version: 1.5.0_05,Sun Microsystems Inc.
      11:10:04,558 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_05-b05
      ,Sun Microsystems Inc.
      11:10:04,558 INFO [ServerInfo] OS-System: Windows 2003 5.2,x86
      11:10:05,809 INFO [Server] Core system initialized
      11:10:28,887 INFO [WebService] Using RMI server codebase: http://vm_w2k3_vstudi
      o:8083/
      11:10:28,927 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
      ce:log4j.xml
      11:10:29,648 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=
      1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server Socket
      Factory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
      11:10:50,861 INFO [Embedded] Catalina naming disabled
      11:10:51,622 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0
      -8080
      11:10:51,622 INFO [Catalina] Initialization processed in 681 ms
      11:10:51,632 INFO [StandardService] Starting service jboss.web
      11:10:51,642 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5
      11:10:51,702 INFO [StandardHost] XML validation disabled
      11:10:51,742 INFO [Catalina] Server startup in 110 ms
      11:10:52,123 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/
      http-invoker.sar/invoker.war/
      11:10:52,613 INFO [WebappLoader] Dual registration of jndi stream handler: fact
      ory already defined
      11:10:53,314 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=.../tmp/deplo
      y/tmp18473jboss-ws4ee-exp.war/
      11:10:53,535 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbosswe
      b-tomcat55.sar/ROOT.war/
      11:10:53,855 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../
      deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
      11:10:57,841 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../dep
      loy/management/console-mgr.sar/web-console.war/
      11:10:59,273 INFO [MailService] Mail Service bound to java:/Mail
      11:10:59,844 INFO [RARDeployment] Required license terms exist, view META-INF/r
      a.xml in .../deploy/jboss-ha-local-jdbc.rar
      11:11:00,074 INFO [RARDeployment] Required license terms exist, view META-INF/r
      a.xml in .../deploy/jboss-ha-xa-jdbc.rar
      11:11:00,324 INFO [RARDeployment] Required license terms exist, view META-INF/r
      a.xml in .../deploy/jboss-local-jdbc.rar
      11:11:00,495 INFO [RARDeployment] Required license terms exist, view META-INF/r
      a.xml in .../deploy/jboss-xa-jdbc.rar
      11:11:00,675 INFO [RARDeployment] Required license terms exist, view META-INF/r
      a.xml in .../deploy/jms/jms-ra.rar
      11:11:00,765 INFO [RARDeployment] Required license terms exist, view META-INF/r
      a.xml in .../deploy/mail-ra.rar
      11:11:02,357 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
      oss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
      11:11:02,748 INFO [A] Bound to JNDI name: queue/A
      11:11:02,758 INFO [B] Bound to JNDI name: queue/B
      11:11:02,758 INFO [C] Bound to JNDI name: queue/C
      11:11:02,768 INFO [D] Bound to JNDI name: queue/D
      11:11:02,768 INFO [ex] Bound to JNDI name: queue/ex
      11:11:02,798 INFO [testTopic] Bound to JNDI name: topic/testTopic
      11:11:02,808 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
      11:11:02,818 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic

      11:11:02,828 INFO [testQueue] Bound to JNDI name: queue/testQueue
      11:11:02,938 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.
      0.0:8093
      11:11:03,008 INFO [DLQ] Bound to JNDI name: queue/DLQ
      11:11:03,509 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
      oss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
      11:11:03,569 INFO [TomcatDeployer] deploy, ctxPath=/HelloWorld, warUrl=.../depl
      oy/HelloWorld.war/
      11:11:03,719 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep
      loy/jmx-console.war/
      11:11:04,040 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-808
      0
      11:11:04,871 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
      11:11:04,891 INFO [JkMain] Jk running ID=0 time=0/40 config=null
      11:11:04,911 INFO [Server] JBoss (MX MicroKernel) [4.0.3 (build: CVSTag=JBoss_4
      _0_3 date=200510042324)] Started in 1m:1s:806ms

      ***************
      Then I go to deploy test.war.zip as described in this tutorial...

      http://today.java.net/pub/a/today/2005/03/01/InstallingJBoss.html

      by copying it into the server\default\deploy direcory

      I then get this error

      11:11:18,931 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

      --- Packages waiting for a deployer ---
      org.jboss.deployment.DeploymentInfo@4055430f { url=file:/C:/JavaHome/JBoss/jboss
      -4.0.3/server/default/deploy/test.war.zip }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/C:/JavaHome/JBoss/jboss-4.0.3/server/default/deploy/test.war.zip
      altDD: null
      lastDeployed: 1129054278931
      lastModified: 1129054278931
      mbeans:

      --- Incompletely deployed packages ---
      org.jboss.deployment.DeploymentInfo@4055430f { url=file:/C:/JavaHome/JBoss/jboss
      -4.0.3/server/default/deploy/test.war.zip }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/C:/JavaHome/JBoss/jboss-4.0.3/server/default/deploy/test.war.zip
      altDD: null
      lastDeployed: 1129054278931
      lastModified: 1129054278931
      mbeans:


      ***************
      The Server log contains the following

      2005-10-11 11:11:18,931 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/C:/JavaHome/JBoss/jboss-4.0.3/server/default/deploy/test.war.zip

      2005-10-11 11:11:18,931 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/C:/JavaHome/JBoss/jboss-4.0.3/server/default/deploy/test.war.zip

      2005-10-11 11:11:18,931 DEBUG [org.jboss.deployment.MainDeployer] Copying file:/C:/JavaHome/JBoss/jboss-4.0.3/server/default/deploy/test.war.zip -> C:\JavaHome\JBoss\jboss-4.0.3\server\default\tmp\deploy\tmp18527test.war.zip

      2005-10-11 11:11:18,931 DEBUG [org.jboss.deployment.MainDeployer] No deployer found for url: file:/C:/JavaHome/JBoss/jboss-4.0.3/server/default/deploy/test.war.zip

      2005-10-11 11:11:18,931 DEBUG [org.jboss.deployment.MainDeployer] deployment waiting for deployer: file:/C:/JavaHome/JBoss/jboss-4.0.3/server/default/deploy/test.war.zip

      2005-10-11 11:11:18,931 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/C:/JavaHome/JBoss/jboss-4.0.3/server/default/deploy/test.war.zip

      2005-10-11 11:11:18,931 DEBUG [org.jboss.deployment.MainDeployer] Deployment of package: file:/C:/JavaHome/JBoss/jboss-4.0.3/server/default/deploy/test.war.zip is waiting for an appropriate deployer.

      2005-10-11 11:11:18,931 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/C:/JavaHome/JBoss/jboss-4.0.3/server/default/deploy/test.war.zip -> file:/C:/JavaHome/JBoss/jboss-4.0.3/server/default/deploy/test.war.zip

      2005-10-11 11:11:18,931 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing:

      --- Packages waiting for a deployer ---
      org.jboss.deployment.DeploymentInfo@4055430f { url=file:/C:/JavaHome/JBoss/jboss-4.0.3/server/default/deploy/test.war.zip }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/C:/JavaHome/JBoss/jboss-4.0.3/server/default/deploy/test.war.zip
      altDD: null
      lastDeployed: 1129054278931
      lastModified: 1129054278931
      mbeans:

      --- Incompletely deployed packages ---
      org.jboss.deployment.DeploymentInfo@4055430f { url=file:/C:/JavaHome/JBoss/jboss-4.0.3/server/default/deploy/test.war.zip }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/C:/JavaHome/JBoss/jboss-4.0.3/server/default/deploy/test.war.zip
      altDD: null
      lastDeployed: 1129054278931
      lastModified: 1129054278931
      mbeans:

      **********
      What am I doing wrong???

      Thanks in advance
      ------------
      JES