4 Replies Latest reply on Apr 2, 2007 9:17 PM by joyzc

    Can not start Jboss Server

    joyzc

      I am getting this following error when i started jboss server:

      ERROR [UDP] exception=java.io.StreamCorruptedException: invalid stream header
      at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:764)
      at java.io.ObjectInputStream.(ObjectInputStream.java:277)
      at org.jgroups.protocols.UDP.handleIncomingUdpPacket(UDP.java:670)
      at org.jgroups.protocols.UDP.run(UDP.java:249)
      at java.lang.Thread.run(Thread.java:595)


      Please tell me why and how to solve it...

      My email address joyzc0731@hotmail.com

        • 1. Re: Can not start Jboss Server
          peterj

          Which version of JBoss are you using? Which JVM? What operating system? It might also help to provide the lines that appeared on the console right before this error.

          Also, how did you install? Via the zip file or the JEMS installer? If via zip file, which configuration are you running? If via JEMS installer, what options did you select?

          • 2. Re: Can not start Jboss Server
            joyzc

            Hi PeterJ:

            Thanks for your high attention.

            It is really strange, I just want to run the Jboss server again to get the detail informations before the Exception, but the server can start with no execption. I did not do anything for it.

            I list the detail informations that you asked as following:

            JBoss version is "jboss-4.0.4.GA-Patch1"
            Java version is "1.5.0_08"
            operating system is "Windows Xp(sp2)"

            I got a "jboss-4.0.4.GA-Patch1-installer.jar" from website, and used "java -jar" command to install. Installation path "E:\jboss-4.0.4.GA"

            Step by Step:
            1.I selected "ejb3-cluster" option for installtype
            2.I selected all the packs
            3.Jboss server/xxx configuration name: "all"
            4.I selected four options for "JMX Security"

            Hope you can find something. : )

            Thanks again

            • 3. Re: Can not start Jboss Server
              peterj

              When you select the "all" configuration, it includes clustering of application servers. I suspected that was why you were getting a UDP error (UDP is used by clustering to communicate among the servers in the cluster), but since you didn't mention which configuration you were running I was not sure. It would appear that your network is not set up properly to handle clustering. I recommend that you install a "default" configuration instead.

              • 4. Re: Can not start Jboss Server
                joyzc

                Ok, I will try it again.

                really appreciate your help.