9 Replies Latest reply on Jun 20, 2002 12:57 PM by jardia

    OS X Installation

    emarsh

      Does anyone have JBoss running under OS X? I've been developing on an NT box but with my new 800mhz G4 iBook on its wasy I want to look at migrating to the Mac. I just downloaded the 2.4.4 and bought the documenation and when I tried to run the example I got the following:

      [localhost:JBoss-2.4.4_Jetty-3.1.3-1/jboss/bin] emarsh% ./run.sh
      JBOSS_CLASSPATH=:run.jar:../lib/crimson.jar
      Unrecognized option: -server
      Could not create the Java virtual machine.

      Oh yea, are there any good integrated development tools that will work with JBoss and OS X?

      Thanks,

      Eric

        • 1. Re: OS X Installation
          emarsh

          As a postscript to my previous message, the problem with "-server" seems to be associated with a versioning issue. I commented out the offending line and the server started. But I am very interested in any tips and pointers for OS X if anyone has any as well as info on a good development enviornment so I can work with JBoss and OS X.

          Eric

          • 2. Re: OS X Installation
            lepe

            I'm waiting for my powerbook and then i'm also an OS X man :)

            As you saw you couldn't use -server, and that is due to the fact that there is only a client JVM available for OS X. A bit strange since OS X Server should be useable as a platform to run J2EE servers...

            But i think a 1.4 is more needed than the server version.

            /Lennart

            • 3. Re: OS X Installation
              jamieorc

              Eric, I met David Jencks last night at an open seminar by Marc Fleury here in Boston. He's running JBoss on a new TiBook, so you might try contacting him.

              PS: did you mean iMac? No such thing as an 800 mhz G4 iBook!!

              Jamie Orchard-Hays

              • 4. Re: OS X Installation
                emarsh

                Jamie,

                Thanks for the tip. Your correct, I did mean G4 iMac not iBook. Still waiting for it to arrive.

                Eric

                • 5. Re: OS X Installation
                  axelm

                  I'm running JBoss 2.4.4/Catalina 4.0.1 on a Powerbook G4-500. Change the following part of your run.sh startup script to this:

                  # Check for SUN(tm) JVM w/ HotSpot support
                  #
                  HOTSPOT=`java -version 2>&1 | grep HotSpot`"x"
                  if [ "$HOTSPOT" != "x" ]; then
                  HOTSPOT="-hotspot"
                  else
                  HOTSPOT=""
                  fi

                  Hope this helps,
                  Axel.

                  • 6. Re: OS X Installation
                    johniewardlaw

                    The latest Java 1.3.1 update for Mac OS X adds support for the -server option.

                    • 7. Re: OS X Installation

                      You have to remove that check. It doesn't work on
                      OS X.

                      I think there's another problem with
                      run_with_catalina.sh assuming the compiler is in
                      JAVA_HOME/lib/tools.jar

                      If you search the forums you should find the correct
                      location mentioned. I know I posted it somewhere.

                      Personally, I don't use OS X, but I know some of the
                      core developers do.

                      Regards,
                      Adrian

                      • 8. Re: OS X Installation

                        Hi guys.

                        Just a quick question.
                        I'm developing on my TiBook and can't seem to find a way to stop Jboss gracefully. That is on windows you do ctrl-c and that does a graceful shutdown. When i hit ctrl-c on the console in OSX it kills JBoss instantly.
                        Do you guys have this prob too?
                        If so, how do i fix it.

                        Cheers for your time.
                        oliver

                        • 9. Re: OS X Installation

                          Hi guys.

                          Just a quick question.
                          I'm developing on my TiBook and can't seem to find a way to stop Jboss gracefully. That is on windows you do ctrl-c and that does a graceful shutdown. When i hit ctrl-c on the console in OSX it kills JBoss instantly.
                          Do you guys have this prob too?
                          If so, how do i fix it.

                          Cheers for your time.
                          oliver