Installing WebLogic 10 on a Mac in OS X isn’t supported by BEA. But it’s possible. Here’s how.
Download WebLogic Server from the BEA website. In the Select OS drop-down, choose IBM AIX. This will give you the WebLogic generic package.
Open the Terminal app and from the command line run:
java -Dos.name=unix -jar server100_generic.jar. Follow the wizard to complete the installation. Be sure to make a note of where you installed WebLogic 10.
Now to create a domain.
Again, from Terminal run
<weblogic 10 install root>/bea/wlserver_10.0/common/bin/config.sh
Follow the prompts for the services and users that you want to create. Normally you’d be done, but Java on OS X is a little different from what WebLogic expects and the defaults need to be changed in the
bin/setDomainEnv.sh for your new domain. So open that file in your favorite editor and set
MEM_ARGS="-Xms1024m -Xmx1024m -XX:MaxPermSize=256m"
Make sure you include the
MaxPermSize entry or you’ll crash WebLogic with
Java.lang.OutOfMemoryError: PermGen space errors.