XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Done
    • None
    • EAP_EWP 5.2.0 ER4
    • Testsuite, Web
    • None
    • boo.lab.bos.redhat.com

    • Release Notes
    • Hide
      JBoss Web would only start processing requests once it had received notification from the bootstrap process that everything had been successfully booted. If the bootstrap failed, the result was that the application server was running and consuming resources, but not accepting connections.

      This behaviour has been changed so that if the bootstrap process fails, JBoss Enterprise Application Server now exits if the bootstrap fails. On exiting it outputs the message <computeroutput>Failed to boot JBoss</computeroutput> and a stack trace. This change brings JBoss Enterprise Application Server 5 in line with the behaviour of JBoss Enterprise Application Platform 6.
      Show
      JBoss Web would only start processing requests once it had received notification from the bootstrap process that everything had been successfully booted. If the bootstrap failed, the result was that the application server was running and consuming resources, but not accepting connections. This behaviour has been changed so that if the bootstrap process fails, JBoss Enterprise Application Server now exits if the bootstrap fails. On exiting it outputs the message <computeroutput>Failed to boot JBoss</computeroutput> and a stack trace. This change brings JBoss Enterprise Application Server 5 in line with the behaviour of JBoss Enterprise Application Platform 6.
    • Documented as Resolved Issue
    • NEW

    Description

      18:10:33,360 ERROR [AbstractKernelController] Error installing to Start: name=HAPartition state=Create
      org.jgroups.ChannelException: failed to start protocol stack
          at org.jgroups.JChannel.startStack(JChannel.java:1617)
          at org.jgroups.JChannel.connect(JChannel.java:366)
          at org.jboss.ha.framework.server.ClusterPartition$ChannelConnectTask.run(ClusterPartition.java:183)
          at org.jboss.util.threadpool.RunnableTaskWrapper.run(RunnableTaskWrapper.java:147)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
          at java.lang.Thread.run(Thread.java:722)
      Caused by: java.lang.Exception: problem creating sockets (bind_addr=localhost/127.0.0.1, mcast_addr=null)
          at org.jgroups.protocols.UDP.start(UDP.java:402)
          at org.jgroups.stack.Configurator.startProtocolStack(Configurator.java:121)
          at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:402)
          at org.jgroups.JChannel.startStack(JChannel.java:1614)
          ... 6 more
      Caused by: java.net.BindException: Address already in use
          at java.net.PlainDatagramSocketImpl.bind0(Native Method)
          at java.net.AbstractPlainDatagramSocketImpl.bind(AbstractPlainDatagramSocketImpl.java:95)
          at java.net.DatagramSocket.bind(DatagramSocket.java:376)
          at java.net.MulticastSocket.<init>(MulticastSocket.java:172)
          at java.net.MulticastSocket.<init>(MulticastSocket.java:137)
          at org.jgroups.util.Util.createMulticastSocket(Util.java:2152)
          at org.jgroups.protocols.UDP.createSockets(UDP.java:514)
          at org.jgroups.protocols.UDP.start(UDP.java:398)
          ... 9 more
      18:10:33,362 INFO  [DefaultPartition] Partition DefaultPartition destroyed.
      
      18:10:48,170 ERROR [ScopedProfileServiceController] Error installing to Create: name=ProfileKey@4ff0ed17[domain=default, server=default, name=farm] state=Configured mode=On Demand requiredState=Installed
      java.lang.reflect.InvocationTargetException
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:601)
          at org.jboss.system.server.profileservice.repository.AbstractProfileLifeCycleAction.invoke(AbstractProfileLifeCycleAction.java:97)
          at org.jboss.system.server.profileservice.repository.AbstractProfileLifeCycleAction.invoke(AbstractProfileLifeCycleAction.java:77)
          at org.jboss.system.server.profileservice.repository.AbstractProfileLifeCycleAction.install(AbstractProfileLifeCycleAction.java:49)
          at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
          at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)
          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)
          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:778)
          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:543)
          at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)
          at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:256)
          at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
          at org.jboss.Main.boot(Main.java:226)
          at org.jboss.Main$1.run(Main.java:560)
          at java.lang.Thread.run(Thread.java:722)
      Caused by: java.lang.IllegalStateException: Must register RepositoryClusteringHandler before calling create()
          at org.jboss.system.server.profileservice.repository.clustered.ClusteredDeploymentRepository.create(ClusteredDeploymentRepository.java:198)
          at org.jboss.system.server.profileservice.repository.clustered.ClusteredDeploymentRepository.load(ClusteredDeploymentRepository.java:226)
          at org.jboss.system.server.profile.repository.AbstractProfile.create(AbstractProfile.java:158)
          ... 22 more
      18:10:48,170 INFO  [ProfileServiceBootstrap] Loading profile: ProfileKey@fc98c94[domain=default, server=default, name=jbpapp6523-use_tccl-false]
      18:10:48,170 ERROR [STDERR] Failed to boot JBoss:
      18:10:48,170 ERROR [STDERR] java.lang.IllegalStateException: Incompletely deployed:
      
      *** PROFILES IN ERROR: Name -> Error
      Profile: ProfileKey@4ff0ed17[domain=default, server=default, name=farm] in error due to java.lang.reflect.InvocationTargetException
      
      *** PROFILES MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
      ProfileKey@fc98c94[domain=default, server=default, name=jbpapp6523-use_tccl-false] is missing following dependencies: ProfileKey@4ff0ed17[domain=default, server=default, name=farm]{Installed:**ERROR**}
      18:10:48,170 ERROR [STDERR]     at org.jboss.system.server.profileservice.repository.AbstractProfileService.logErrors(AbstractProfileService.java:613)
      18:10:48,170 ERROR [STDERR]     at org.jboss.system.server.profileservice.repository.AbstractProfileService.validate(AbstractProfileService.java:390)
      18:10:48,170 ERROR [STDERR]     at org.jboss.system.server.profileservice.repository.AbstractProfileService.validateProfile(AbstractProfileService.java:373)
      18:10:48,170 ERROR [STDERR]     at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:265)
      18:10:48,170 ERROR [STDERR]     at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
      18:10:48,170 ERROR [STDERR]     at org.jboss.Main.boot(Main.java:226)
      18:10:48,170 ERROR [STDERR]     at org.jboss.Main$1.run(Main.java:560)
      18:10:48,170 ERROR [STDERR]     at java.lang.Thread.run(Thread.java:722)
      

      Attachments

        Activity

          People

            rhn-engineering-cdewolf Carlo de Wolf
            rhn-engineering-cdewolf Carlo de Wolf
            Russell Dickenson Russell Dickenson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: