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.
- 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
- 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. - 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”
- Start your WebLogic Server by running:
/bea/wlserver_10.0/samples/domains/wl_server/bin/startWebLogic.sh
- Go to http://localhost:7001/index.jsp … Done!
- 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