3 Replies Latest reply on Oct 12, 2006 2:09 AM by mladen.turk

    JBoss Web failed to start due to its failure to initialize v

    michaelwur

      Hi,
      I downloaded the Windows 32bit package and tried to start the web server by running the run.bat file.

      The console showed a number of error messages:

      Failed to initialize plugin: org.jboss.logging.log4jLoggerPlugin@...
      ...

      However, the document did not mention where and how to install what required plugins. Can any one instruct me do that or tell me what I did wrong?

      Thanks in advance!
      Michael Wu

        • 1. Re: JBoss Web failed to start due to its failure to initiali
          mladen.turk

          ???

          Here is the run.bat > run.log for 1.0.0-GA

          ===============================================================================
          .
          JBoss Web Server 1.0.0.GA Bootstrap Environment
          .
          JBOSS_HOME: C:\X\tmp\jbossweb-1.0.0.GA\bin\\..
          .
          JAVA: C:\D\JAVA\SDK\15\bin\java
          .
          JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
          .
          CLASSPATH: C:\D\JAVA\SDK\15\lib\tools.jar;C:\X\tmp\jbossweb-1.0.0.GA\bin\\run.jar
          .
          ===============================================================================
          .
          09:18:40,125 INFO [Server] Starting JBoss (MX MicroKernel)...
          09:18:40,125 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)
          09:18:40,125 INFO [Server] Home Dir: C:\X\tmp\jbossweb-1.0.0.GA
          09:18:40,125 INFO [Server] Home URL: file:/C:/X/tmp/jbossweb-1.0.0.GA/
          09:18:40,125 INFO [Server] Patch URL: null
          09:18:40,125 INFO [Server] Server Name: default
          09:18:40,125 INFO [Server] Server Home Dir: C:\X\tmp\jbossweb-1.0.0.GA\server\default
          09:18:40,125 INFO [Server] Server Home URL: file:/C:/X/tmp/jbossweb-1.0.0.GA/server/default/
          09:18:40,125 INFO [Server] Server Log Dir: C:\X\tmp\jbossweb-1.0.0.GA\server\default\log
          09:18:40,125 INFO [Server] Server Temp Dir: C:\X\tmp\jbossweb-1.0.0.GA\server\default\tmp
          09:18:40,125 INFO [Server] Root Deployment Filename: jboss-service.xml
          09:18:40,343 INFO [ServerInfo] Java version: 1.5.0_08,Sun Microsystems Inc.
          09:18:40,343 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_08-b03,Sun Microsystems Inc.
          09:18:40,343 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
          09:18:40,609 INFO [Server] Core system initialized
          09:18:41,656 INFO [WebService] Using RMI server codebase: http://XPILA:8083/
          09:18:41,671 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
          09:18:41,828 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory
          09:18:43,468 INFO [AspectDeployer] Deployed AOP: file:/C:/X/tmp/jbossweb-1.0.0.GA/server/default/deploy/tc5-cluster.sar/tc5-cluster.aop
          09:18:43,593 INFO [TreeCache] setting cluster properties from xml to: UDP(down_thread=false;enable_bundling=true;ip_ttl=2;loopback=false;max_bundle_size=64000;max_bundle_timeout=30;mcast_addr=230.1.2.7;mcast_port=45577;mcast_recv_buf_size=25000000;mcast_send_buf_size=640000;ucast_recv_buf_size=20000000;ucast_send_buf_size=640000;up_thread=false;use_incoming_packet_handler=true;use_outgoing_packet_handler=true):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(down_thread=false;max_interval=100000;min_interval=20000;up_thread=false):FD(down_thread=false;max_tries=5;shun=true;timeout=2500;up_thread=false):VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(discard_delivered_msgs=true;down_thread=false;gc_lag=50;max_xmit_size=60000;retransmit_timeout=100,200,300,600,1200,2400,4800;up_thread=false;use_mcast_xmit=false):UNICAST(down_thread=false;timeout=300,600,1200,2400,3600;up_thread=false):pbcast.STABLE(desired_avg_gossip=50000;down_thread=false;max_bytes=2100000;stability_delay=1000;up_thread=false):pbcast.GMS(down_thread=false;join_retry_timeout=2000;join_timeout=3000;print_local_addr=true;shun=true;up_thread=false):FC(down_thread=false;max_credits=10000000;min_threshold=0.20;up_thread=false):FRAG2(down_thread=false;frag_size=60000;up_thread=false):pbcast.STATE_TRANSFER(down_thread=false;up_thread=false)
          09:18:43,609 INFO [TreeCache] interceptor chain is:
          class org.jboss.cache.interceptors.CallInterceptor
          class org.jboss.cache.interceptors.PessimisticLockInterceptor
          class org.jboss.cache.interceptors.UnlockInterceptor
          class org.jboss.cache.interceptors.ReplicationInterceptor
          09:18:43,609 INFO [TreeCache] cache mode is REPL_ASYNC
          09:18:43,921 INFO [STDOUT]
          -------------------------------------------------------
          GMS: address is 10.1.17.14:1324
          -------------------------------------------------------
          09:18:45,937 INFO [TreeCache] viewAccepted(): [10.1.17.14:1324|0] [10.1.17.14:1324]
          09:18:45,953 INFO [TreeCache] my local address is 10.1.17.14:1324
          09:18:45,953 INFO [TreeCache] new cache is null (may be first member in cluster)
          09:18:45,953 INFO [TreeCache] state could not be retrieved (must be first member in group)
          09:18:45,953 INFO [TreeCache] Cache is started!!
          09:18:46,281 INFO [Embedded] Catalina naming disabled
          09:18:46,531 INFO [Http11AprProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
          09:18:46,546 INFO [AjpAprProtocol] Initializing Coyote AJP/1.3 on ajp-0.0.0.0-8009
          09:18:46,546 INFO [Catalina] Initialization processed in 218 ms
          09:18:46,546 INFO [StandardService] Starting service jboss.web
          09:18:46,546 INFO [StandardEngine] Starting Servlet Engine: JBoss Web Server/1.0.0.GA
          09:18:46,671 INFO [StandardHost] XML validation disabled
          09:18:46,687 INFO [Catalina] Server startup in 141 ms
          09:18:46,765 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb.sar/ROOT.war/
          09:18:46,968 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
          09:18:47,625 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
          09:18:48,109 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
          09:18:48,140 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
          09:18:48,156 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
          09:18:48,171 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
          09:18:48,718 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
          09:18:48,734 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
          09:18:48,921 INFO [Http11AprProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
          09:18:48,937 INFO [AjpAprProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
          09:18:48,953 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 8s:828ms

          • 2. Re: JBoss Web failed to start due to its failure to initiali
            michaelwur

            I don't know why. The following messages were shown when run.bat was executed:


            N:\Download\OpenSource\JBossWeb100_060908\Windows 32 package\Unzipped\jbossweb-1.0.0.GA\bin>run
            ===============================================================================
            .
            JBoss Web Server 1.0.0.GA Bootstrap Environment
            .
            JBOSS_HOME: N:\Download\OpenSource\JBossWeb100_060908\Windows 32 package\Unzipped\jbossweb-1.0.0.GA\bin\\..
            .
            JAVA: "P:\Programs\j2sdk15006"\bin\java
            .
            JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
            .
            CLASSPATH: "P:\Programs\j2sdk15006"\lib\tools.jar;N:\Download\OpenSource\JBoss
            Web100_060908\Windows 32 package\Unzipped\jbossweb-1.0.0.GA\bin\\run.jar
            .
            ===============================================================================
            .
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@cdedfd
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@13bad12
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@1f934ad
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@b82368
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@13d93f4
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@1bca5f1
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@143c8b3
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@169ca65
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@66e815
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@bfc8e0
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@2bb514
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@17d5d2a
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@2d9c06
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@7b6889
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@c2ff5
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@1aa57fb
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@763f5d
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@13a317a
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@186768e
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@d19bc8
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@14a8cd1
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@1e8a1f6
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@1e152c5
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@15b0afd
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@2e7820
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@37fb1e
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@1479feb
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@1f3aa07
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@c7b00c
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@1f6f296
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@80fa6f
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@1292d26
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@10f11b8
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@544ec1
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@fe748f
            Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin@10e790c
            ...

            • 3. Re: JBoss Web failed to start due to its failure to initiali
              mladen.turk

              Right. Really strange.
              Try to remove the quotes around
              "P:\Programs\j2sdk15006" in the environment.