2 Replies Latest reply on Oct 1, 2006 3:45 PM by mnsweeps

    Newbie - INIT_WAITING_DEPLOYER error when test.jar deployed

    mnsweeps

      I am a newbie to JBOSS. Just yesterday I installed JBOSS on my laptop and was testing the TEST.JAR file in my DEFAULT deploy directory. The test.jar is mentioned in this tutorial at the bottom . http://today.java.net/pub/a/today/2005/03/01/InstallingJBoss.html

      THE ERROR MESSAGE I AM GETTING IS AT BOTTOM OF THIS POST. Please help me solve this..

      C:\JBoss\jboss-4.0.4.GA\bin>run
      JAVA_HOME is not set. Unexpected results may occur.
      Set JAVA_HOME to the directory of your local JDK to avoid this message.
      ===============================================================================
      .
      JBoss Bootstrap Environment
      .
      JBOSS_HOME: C:\JBoss\jboss-4.0.4.GA\bin\\..
      .
      JAVA: java
      .
      JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcIn
      terval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
      .
      CLASSPATH: \lib\tools.jar;C:\JBoss\jboss-4.0.4.GA\bin\\run.jar
      .
      ===============================================================================
      .
      10:55:05,638 INFO [Server] Starting JBoss (MX MicroKernel)...
      10:55:05,638 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBo
      ss_4_0_4_GA date=200605151000)
      10:55:05,648 INFO [Server] Home Dir: C:\JBoss\jboss-4.0.4.GA
      10:55:05,648 INFO [Server] Home URL: file:/C:/JBoss/jboss-4.0.4.GA/
      10:55:05,648 INFO [Server] Patch URL: null
      10:55:05,658 INFO [Server] Server Name: default
      10:55:05,658 INFO [Server] Server Home Dir: C:\JBoss\jboss-4.0.4.GA\server\defa
      ult
      10:55:05,658 INFO [Server] Server Home URL: file:/C:/JBoss/jboss-4.0.4.GA/serve
      r/default/
      10:55:05,658 INFO [Server] Server Log Dir: C:\JBoss\jboss-4.0.4.GA\server\defau
      lt\log
      10:55:05,668 INFO [Server] Server Temp Dir: C:\JBoss\jboss-4.0.4.GA\server\defa
      ult\tmp
      10:55:05,668 INFO [Server] Root Deployment Filename: jboss-service.xml
      10:55:05,949 INFO [ServerInfo] Java version: 1.5.0_06,Sun Microsystems Inc.
      10:55:05,949 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_06-b05
      ,Sun Microsystems Inc.
      10:55:05,959 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
      10:55:06,540 INFO [Server] Core system initialized
      10:55:08,152 INFO [WebService] Using RMI server codebase: http://KRISHALAP:8084
      /
      10:55:08,172 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
      ce:log4j.xml
      10:55:08,382 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1100, RMI=/0.0.0.
      0:1101, backlog=50, no client SocketFactory, Server SocketFactory=class org.jbos
      s.net.sockets.DefaultSocketFactory
      10:55:10,876 INFO [Embedded] Catalina naming disabled
      10:55:10,936 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in
      the classpath. Will load the default rule set.
      10:55:10,936 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in
      the classpath. Will load the default rule set.
      10:55:11,216 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0
      .0.0-8080
      10:55:11,216 INFO [Catalina] Initialization processed in 270 ms
      10:55:11,216 INFO [StandardService] Starting service jboss.web
      10:55:11,226 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.1
      7
      10:55:11,267 INFO [StandardHost] XML validation disabled
      10:55:11,287 INFO [Catalina] Server startup in 71 ms
      10:55:11,387 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/
      http-invoker.sar/invoker.war/
      10:55:11,667 INFO [WebappLoader] Dual registration of jndi stream handler: fact
      ory already defined
      10:55:12,228 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbosswe
      b-tomcat55.sar/ROOT.war/
      10:55:12,789 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/dep
      loy/tmp31722jbossws-exp.war/
      10:55:12,939 INFO [SubscriptionManager] Bound event dispatcher to java:/EventDi
      spatcher
      10:55:13,099 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../
      deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
      10:55:14,561 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../dep
      loy/management/console-mgr.sar/web-console.war/
      10:55:15,503 INFO [MailService] Mail Service bound to java:/Mail
      10:55:15,703 INFO [RARDeployment] Required license terms exist, view META-INF/r
      a.xml in .../deploy/jboss-ha-local-jdbc.rar
      10:55:15,753 INFO [RARDeployment] Required license terms exist, view META-INF/r
      a.xml in .../deploy/jboss-ha-xa-jdbc.rar
      10:55:15,783 INFO [RARDeployment] Required license terms exist, view META-INF/r
      a.xml in .../deploy/jboss-local-jdbc.rar
      10:55:15,813 INFO [RARDeployment] Required license terms exist, view META-INF/r
      a.xml in .../deploy/jboss-xa-jdbc.rar
      10:55:15,853 INFO [RARDeployment] Required license terms exist, view META-INF/r
      a.xml in .../deploy/jms/jms-ra.rar
      10:55:15,893 INFO [RARDeployment] Required license terms exist, view META-INF/r
      a.xml in .../deploy/mail-ra.rar
      10:55:16,534 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
      oss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
      10:55:16,784 INFO [A] Bound to JNDI name: queue/A
      10:55:16,784 INFO [B] Bound to JNDI name: queue/B
      10:55:16,784 INFO [C] Bound to JNDI name: queue/C
      10:55:16,784 INFO [D] Bound to JNDI name: queue/D
      10:55:16,794 INFO [ex] Bound to JNDI name: queue/ex
      10:55:16,815 INFO [testTopic] Bound to JNDI name: topic/testTopic
      10:55:16,815 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
      10:55:16,815 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic

      10:55:16,825 INFO [testQueue] Bound to JNDI name: queue/testQueue
      10:55:16,865 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.
      0.0:8093
      10:55:16,905 INFO [DLQ] Bound to JNDI name: queue/DLQ
      10:55:17,035 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
      oss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
      10:55:17,075 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep
      loy/jmx-console.war/
      10:55:17,245 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

      --- Packages waiting for a deployer ---
      org.jboss.deployment.DeploymentInfo@d2113d7a { url=file:/C:/JBoss/jboss-4.0.4.GA
      /server/default/deploy/test.zip }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/C:/JBoss/jboss-4.0.4.GA/server/default/deploy/test.zip
      altDD: null
      lastDeployed: 1159725317245
      lastModified: 1159725317235
      mbeans:

      --- Incompletely deployed packages ---
      org.jboss.deployment.DeploymentInfo@d2113d7a { url=file:/C:/JBoss/jboss-4.0.4.GA
      /server/default/deploy/test.zip }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/C:/JBoss/jboss-4.0.4.GA/server/default/deploy/test.zip
      altDD: null
      lastDeployed: 1159725317245
      lastModified: 1159725317235
      mbeans:


      10:55:17,365 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0
      -8080
      10:55:17,796 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
      10:55:17,806 INFO [JkMain] Jk running ID=0 time=0/401 config=null
      10:55:17,846 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBos
      s_4_0_4_GA date=200605151000)] Started in 12s:178ms

        • 1. Re: Newbie - INIT_WAITING_DEPLOYER error when test.jar deplo
          peterj

          you did not copy test.jar to the deploy directory, you copied test.zip to the deploy directory. JBoss does not have a deployer that knows what to do with a zip file. That is the reason for the INIT_WAITING_DEPLOYER state - it cannot initalize the zip until a deployer for zip files is deployed.

          Perhaps the zip file contains the jar file, in which case, first remove the jar from the zip and then deploy the jar. (I am making the asumption that the jar file contains EJBs, and that you want to deploy those EJBs.)

          • 2. Re: Newbie - INIT_WAITING_DEPLOYER error when test.jar deplo
            mnsweeps

            Thanks PeterJ. You were right. I created a new folder TEST.WAR in deploy directory. And then copied all the files/folders (web-inf ,web.xml,meta-inf) from the ZIP file into the TEST.WAR directory and it worked like magic. Thanks again.