Monday Jun 29, 2009

Museum Free Days at SF Bay

Free 1st Sunday
Asian Art Museum - 200 Larkin st., San Francisco

Free 1st Tuesday
Cartoon Art Museum - 655 Mission St., San Francisco
de Young Museum - 50 Hagiwara Tea Garden Dr., San Francisco
Legion of Honor - 34th Ave & Clement St., San Francisco
San Francisco Museum of Modern Art - 151 Third St., San Francisco

Free 1st Wednesday
Exploratorium - 3601 Lyon St., San Francisco
Bay Area Discovery Museum, 557 McReynolds Rd. Sausalito, CA 94965

Free 1st Thursday
Berkeley Art Museum & Pacific Film Archive - 2626 Bancroft Way, 2621 Durant Ave, Berkeley
Burlingame Pez Museum - 214 California Dr., Burlingame

Free 2nd Sunday
Oakland Museum of California - 1000 Oak St., Oakland

Free 3rd Wednesday
California Academy of Sciences - 55 Music Concourse Dr., San Francisco

Tuesday Jun 09, 2009

Stop asadm to ask for master password

Sun Java Application Server 9.x or glassfish command asadm asks for master password during execution. At SJAS 8.x era, asadm only asked for one password, AS_ADMIN_PASSWORD, and you can save "AS_ADMIN_PASSWORD=" into a file and supply this file as the value of parameter "--passwordfile". Now newer version asks for master password. It might be a security improvement, but it is inconvenient for developers.

Someone told me to set envt variable AS_ADMIN_MASTERPASSWORD. This does not help. However, the solution is simple. You can use the same password file, but add one more line "AS_ADMIN_MASTERPASSWORD=". Actually you can even use a --savemasterpassword flag when executing asadm command with subcommand create-domain, create-node-agent, and change-master-password. An encrypted master-password file will be created under the home directory. And this will stop prompting for master password.