Tuesday Dec 04, 2007
Friday Nov 30, 2007
By docteger on Nov 30, 2007
Today I installed Glassfish, Sun's open source application server, and OpenSSO Build 2, Sun's open source access manager server. I used a machine running Solaris 10. Glassfish uses either JDK 1.5 or 1.6 so I added
/usr/jdk/instances/jdk1.5.0/binto the path property in my
.profilefile. Additionally, I set my JAVA_HOME to
/usr/jdk/instances/jdk1.5.0. Seven months back, I installed Glassfish and it was pretty easy although there were some caveats. Today, there were no caveats. Deploying the OpenSSO WAR, as has been the case, was a cool drink of water.
- Using a browser, download
- Using the command line, extract the file using:
java -Xmx256m -jar glassfish-installer-v2-b58g.jarThis created a
glassfishdirectory with everything inside. I liked this. So many times I have extracted a JAR to find files flying all over the place.
- Change into the
- Run the following commands:
chmod -R +x lib/ant/bin
lib/ant/bin/ant -f setup.xml
- After a successful build, change to the root directory and start the default domain:
glassfish/bin/asadmin start-domain domain1
- Using a browser, verify the server is running by accessing
http://machine.domain:8080. You should get a Server Running page.
- Login to Glassfish as admin (PW: adminadmin) by accessing the console at
- Back on the command line, make an
openssodirectory and change into it.
- Using a browser, download Build 2. (This latest stable build will be at this location next week.)
- Back on the command line, unzip the zip.
- In the Glassfish console, click Web Applications on the left side.
- On the right side, click Deploy..., browse for
opensso.war, and click OK. The WAR will be deployed.
- When finished, click Launch.The following screen is displayed.
- I chose Simple which, in turn, displayed this screen:
- Enter the default
admin123and press Configure. The configuration screen is displayed. I clicked View Process Log and watched:
- I was too excited to wait five seconds so I clicked to get the login page at
http://machine.domain:8080, typed in my credentials and was ready to go...as Republica was, back in the day. This is the overseas version, not the US remix with ridiculous overdubbed guitars that sounds like Paris Hilton's wonky left eye looks.
Friday May 18, 2007
By docteger on May 18, 2007
I just finished installing Glassfish on Solaris 10 and it was easy once I got past the
antsnafu. Here is what I did for those interested.
- Here is the page from which I downloaded the Glassfish JAR.
- The instructions on this page work EXCEPT for number 4.
antwas not executable for its own particular reason so I had to make it executable.
cd /glassfish/lib/ant/binNOTE: The directory path to
anton the instruction page is not the directory path I had.
/binwas left off so check your path. From the
chmod +x antThis will make
antexecutable. NOW do step 4:
./ant -f /glassfish/setup.xmlNOTE: I was still in the
bindirectory when I ran the command.
- Here is the procedure to start the Glassfish server.
UPDATE: Had to update this step which failed today. I got the following error message:
/var/appserver/domains is not a directory
when I ran:
asadmin start-domain domain1and found this bug in the archives. So I did the following before running asadmin command.
mkdir /var/appserver(I didn't have to do this but maybe you do.)
asadmin create-domain --domaindir /var/appserver/domains --adminport 4848 --instanceport 8080 --adminuser admin domain1I see:
Please enter the admin password>admin password is
Please enter the admin password again>
Please enter the master password>
Please enter the master password again>
Using default port 7676 for JMS.
Using default port 3700 for IIOP.
Using default port 8181 for HTTP_SSL.
Using default port 3820 for IIOP_SSL.
Using default port 3920 for IIOP_MUTUALAUTH.
Using default port 8686 for JMX_ADMIN.
Domain domain1 created.
adminadminmaster password is
changeitNow I run:
asadmin start-domain domain1and move on to confirmation.
- Here is the procedure to confirm the Glassfish server is running.
- Here is the procedure to log in to the Glassfish server console.
- Eyes Only: OpenSSO Express 9 Documentation
- Sun & Oracle: EU Has No More Tears
- Using OpenSSO with Microsoft Geneva Server
- Managing OpenSSO Entitlements Using REST: The End
- Evaluating OpenSSO Entitlements Using REST
- Listening for the OpenSSO Entitlements Service Using REST
- Authenticating for the OpenSSO Entitlements Service REST Interfaces
- Born To Change a Configured OpenSSO Host Name
- Happy New Year Authenticating to OpenSSO Monitoring Service
- Importing the Root CA Certificate for Secure OpenSSO Rainbow Connections