OpenSSO and J2EE Agents on WebLogic 10 on Mac.
By webshesh on Sep 09, 2008
Yes... I am a Mac user ! I had to build an OpenSSO demo using WebLogic 10 for a customer .... on my Mac. There is no official support for or a certified version of WebLogic for Mac . I did a little bit of digging around and I was able to get OpenSSO b5 up and running on WebLogic 10 and I was also able to install and configure the EA WebLogic Agent 3.0 to protect a sample app on WebLogic .... all this natively on my Mac.
Here is how you do it:
Before we start, an official warning :-) ... THIS IS FOR DEMO PURPOSES ONLY !! I have not had any issues so far, but does not mean I have fully tested this for stability, reliability or performance..
1. Download the WebLogic 10 bits. You will need to get the package installer from here.
Scroll down to " WebLogic Server Package Installer" and choose "WebLogic Server 10.0 MP1"
Most importantly, from the "Please select an OS" drop down, choose "IBM AIX (5.2, 5.3, pSeries)"
2. Once the bits are downloaded, use the following command to install the server
java -Dos.name=unix -jar server1001_generic.jar
The installer will take you through the install after asking you the usual questions.
3. Once WebLogic Server is installed, you need to edit the file "
This file will be under "<install-home>/bea/wlserver_10.0/samples/domains/wl_server/bin"
Edit this file to add the declaration
-XX:MaxPermSize=128m under MEM_ARGS.
After adding the declaration, the MEM_ARGS parameter should look like " MEM_ARGS="-Xms256m -Xmx512m -XX:MaxPermSize=128m"
4. Start the WebLogic 10 server using the following command:
5. Point your browser to "http://localhost:7001" and you should see the WebLogic Server "Getting Started Page".
Click on "Start the Administration Server console". Login as weblogic/weblogic and verify that you are able to login.
Now, your WebLogic Server is up and running on your Mac.
Installing OpenSSO on WebLogic:
1. Start the Weblogic Admin console and login as "weblogic / weblogic"
2. Click on "Lock & Edit" in the "Change Centre" window.
3. Click on "Deployments" in the "Domain Structure" window.
4. You will see all installed apps in the "Summary of Deployments" page.
5. Click "Install"
6. The Server will say it cannot find any files. Click on "Upload File"
7. Browse to your opensso.war file. Select this "opensso.war" to upload
8. Once uploaded, click on the "opensso.war" radio-button and hit "Next"
9. On the next page, choose "Install this deployment as an application"
10. In the "optional Settings" page, choose a name for the deployment. Default is "opensso". The same can be retained. All other options can be default.
11. In the "Additional Configurations" page, choose "Yes, take me to the deployment configuration"
12. Hit "FINISH"
13. Once the WAR file is deployed, click on "Activate Changes" in the "Change Center" window.
Configure OpenSSO the usual way either using default or custom configuration.
That's it !!! You have your favorite OpenSSO deployed and running on Weblogic...on your Mac !! :-)
Installing the WebLogic J2EE Agent:
If you want to protect applications using on this WebLogic server, download and install the EA WebLogic PA 3.0 from here. Follow the install docs for the agent install.