5 Replies Latest reply on Jan 24, 2002 3:23 AM by blackie

    Starting server gives segmentation fault

      I've installed JBoss with Tomcat and every time I try and start the server I get a segmentation fault. I've modified the run.sh file so that it doesn't take the $HOTSPOT (-server) paramater and then it seems to start up. I'm using JDK1.3.1_02. Why does this happen though?

        • 1. Re: Starting server gives segmentation fault
          johnnycannuk

          What OS? We ran into a similar prob on solaris - found out that even though 1.3.1_02 was installed, we needed an OS patch so that the VM would work. Also the /usr/java sym-link was pointing to an older jdk and not to the newly installed 1.3.1_02 directory...try these and get back to us.

          Mike

          • 2. Re: Starting server gives segmentation fault

            I'm using RH 7.0 on a Athlon 1.2Ghz. By default there is some kaffe thing that ships with RH that acts as the VM. I've renamed/removed it. Not sure if there is a patch for RH or maybe for the Athlon? On a side note. I've also installed Tomcat 4.0.1 seperately and there seems to be no way in starting that up on its own. It always give a segmentation fault no matter what I do but starting JBoss with tomcat without the -server option works for tomcat aswell. Funny stuff.

            • 3. Re: Starting server gives segmentation fault
              johnnycannuk

              Download the jdk1.3.1_02 for Linux from Sun (or even the IBM version) and set your environment to point to it...with all deference to Open Source (which I love) Kaffe sucks bad. I personally would never use it. Then try the 2.4.4-Tomcat 4.0.1 bundle (don't tun them separately, takes up a lot of resources).

              The other thing you may want to do is upgrade to RH 7.1 or 7.2 (I run the out of the box version of jboss-2.4.4_tomcat-4.0.1 on my RH7.1 partition on an old PII 350 with no problems). If I remember, RH 7.0 wasn't exactly the most "stable" os out there....

              • 4. Re: Starting server gives segmentation fault

                I am using JDK1.3.1_02 from Sun. I renamed the Kaffe/Java link and put the JDK1.3.1_02 in my path. However you might have a point with the RH7.0 being the problem. For a test I installed tomcat with the JDK from sun on a Pentium 233. It gave the same error and that machine is also running RH7.0. Unfortuneately I can't really upgrade the linux on that machine seeing that it is running oracle 8.1.7 which does not run on anything later then RH7.0. (I have tried). Anyway, thanks for the help. I'll try and figure out something with the RH.

                • 5. Re: Starting server gives segmentation fault