Installing and running BEA WebLogic Server 10 on Mac OS X

Posted by admin, Wed Oct 17 14:44:37 UTC 2007

Ever since I switched to my Mac, a little over 2 years ago, one of the things on my todo list has been to install WebLogic and get it running on the Mac.  It’s unsupported, but heck, it’s a Java application, so how hard could it be?  And it’s the Java application server that I am most familiar with (other than Tomcat), so I want to be able to use it.

A quick Google search revealed no information about WebLogic Server 10 on the Mac at all, so I reached further back.  It’s pretty easy, since the same steps that worked for WebLogic Server 9.x seem to work for 10.

  1. First, download the “generic” installer for IBM AIX (that would be the ONLY installer for AIX).  You end up with a jar file called
    server100_generic.jar
  2. Open up Terminal, and run the jar file using this command, to get around a problem in the installer that checks for free space by OS name:
    java -Dos.name=unix -jar server100_generic.jar
    I chose to install to /bea, so the adjust the path names appropriately, if you install elsewhere.

  3. Update your /bea/wlserver_10.0/samples/domains/wl_server/bin/setDomainEnv.sh file to increase some memory parameters like so:
    MEM_ARGS=”-Xms512m -Xmx1024m -XX:MaxPermSize=128m”
  4. Start your WebLogic Server by running:
    /bea/wlserver_10.0/samples/domains/wl_server/bin/startWebLogic.sh
  5. Go to http://localhost:7001/index.jsp … Done!

  6. Ok, not quite done, when you want to stop the server gracefully you need to run:
    /bea/wlserver_10.0/samples/domains/wl_server/bin/stopWebLogic.sh 
So why did it take me 2 years to get around to this? Tomorrow… I’ve got to quit procrastinating. 

Filed Under: | Tags:

Comments

  1. sameer 10.25.07 / 01AM
    Hi - just solved a really hassling issue for me - thanks! Am getting leopard tomorrow - hopefully will work on there as well. :)
  2. lori 10.25.07 / 02AM
    Happy to be of service! I have Leopard on pre-order as well, so we'll see how that works over the weekend.
  3. dgo 11.13.07 / 10AM
    hos did you get to start up the nodemanager application..?
  4. javamate 12.11.07 / 01AM
    Thanks for the instructions. Did you upgrade to Leopard and if so did you have to do anything different for WLS 10 to run? I'm hoping that since Leopard is certified UNIX it will run even better than in Tiger.
  5. Marco 12.21.07 / 19PM
    HI!!!! Thansk a lot!!! You gave me a HUGE help! I've been working as WLS Sepecialist for years but neve think about something so simple! I've installed and run WLS 10.01 on Leopard in 10 minutes and the sample domains work fine. There's still this warning running the server: "/Users/xxxxxxx/bea/wlserver_10.0/samples/domains/wl_server/bin/startWebLogic.sh: Don't know how to set the shared library path for Darwin." I've tried to set the "-Dos.name=unix" property in the quickstart.sh java command line but didn't help. I should try to change the commoneEnv.sh to include Darwin as a supprorted OS. Now I can order to my Boss a MacBook also for work and give up my Win2K laptop! Marco from Turin, Italy
  6. brian 05.05.09 / 16PM
    I wonder if this still works ... I can't get the 10.3 server to launch on OSX 10.5
  7. lori 05.05.09 / 23PM
    I'm not sure. Haven't needed to use it for a while.
  8. Paul 06.05.09 / 09AM
    For Weblogic 10.3, I found that it was necessary to fool the installer, which otherwise said it could not find a valid JVM, by doing the following:
    cd /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/
    sudo mkdir jre
    sudo ln -s ../lib lib
    sudo ln -s ../bin bin
    

Have your say

A name is required. You may use HTML in your comments.