{"id":27,"date":"2010-01-12T22:20:39","date_gmt":"2010-01-12T21:20:39","guid":{"rendered":"http:\/\/www.flamingpenguin.co.uk\/blog\/?p=27"},"modified":"2010-09-01T22:22:58","modified_gmt":"2010-09-01T21:22:58","slug":"glassfish-answer-file","status":"publish","type":"post","link":"https:\/\/www.flamingpenguin.co.uk\/blog\/2010\/01\/12\/glassfish-answer-file\/","title":{"rendered":"Glassfish Answer File"},"content":{"rendered":"<div>\n<p>I\u00e2\u20ac\u2122ve managed to get the glassfish v3 silent install working.<\/p>\n<p>Maybe I should have just used the <a href=\"http:\/\/download.java.net\/glassfish\/v3\/release\/\">zip file distribution<\/a>\u00e2\u20ac\u00a6 anyway\u00e2\u20ac\u00a6.<\/p>\n<p>Here is the answer file I used. all the ${variables} need to be  filled in with the values relevant to your situation. You have to pass  the <em>-s<\/em> option as well as the <em>-a<\/em> option to the glassfish installer exe.<\/p>\n<pre>RegistrationOptions.regoptions.CREATE_NEWACCT=CREATE_NEWACCT\r\nglassfish.Administration.HTTP_PORT=${glassfish.http.port}\r\nupdatetool.Configuration.PROXY_PORT=\r\nglassfish.Administration.ADMIN_PASSWORD=${glassfish.admin.password}\r\nJDKSelection.directory.JDK_FROM_LIST_CHOICE=false\r\nRegistrationOptions.regoptions.SKIP_REGISTRATION=SKIP_REGISTRATION\r\nupdatetool.Configuration.PROXY_HOST=\r\nSOAccountCreation.accountinfo.COUNTRY=\r\nInstallHome.directory.INSTALL_HOME=${INSTALL_PATH}\r\nRegistrationOptions.regoptions.USE_EXISTINGACCT=USE_EXISTINGACCT\r\nSOAccountCreation.accountinfo.FIRSTNAME=\r\nupdatetool.Configuration.ALLOW_UPDATE_CHECK=false\r\nglassfish.Administration.ADMIN_USER=${glassfish.admin.user}\r\nJDKSelection.directory.JDK_LIST=\r\nSOAccountCreation.accountinfo.PASSWORD=\r\nSOAccountCreation.accountinfo.COMPANYNAME=\r\nJDKSelection.directory.HIDDEN_JDK=\r\nSOAccountCreation.accountinfo.COUNTRY_DROP_DOWN=\r\nSOAccountCreation.accountinfo.REENTERPASSWORD=\r\nLicense.license.ACCEPT_LICENSE=0\r\nRegistrationOptions.regoptions.USERNAME=\r\nupdatetool.Configuration.BOOTSTRAP_UPDATETOOL=false\r\nSOAccountCreation.accountinfo.LASTNAME=\r\nglassfish.Administration.ADMIN_PORT=${glassfish.admin.port}\r\nRegistrationOptions.regoptions.USERPASSWORD=\r\nJDKSelection.directory.JDK_TYPED_IN_CHOICE=true\r\nSOAccountCreation.accountinfo.EMAIL=\r\nJDKSelection.directory.JDK_TYPE_IN=${JDKPath}\r\nRegistrationOptions.regoptions.DUMMY_PROP=\r\n<\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>I\u00e2\u20ac\u2122ve managed to get the glassfish v3 silent install working. Maybe I should have just used the zip file distribution\u00e2\u20ac\u00a6 anyway\u00e2\u20ac\u00a6. Here is the answer file I used. all the ${variables} need to be filled in with the values relevant &hellip; <a href=\"https:\/\/www.flamingpenguin.co.uk\/blog\/2010\/01\/12\/glassfish-answer-file\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,7],"tags":[],"class_list":["post-27","post","type-post","status-publish","format-standard","hentry","category-glassfish-java","category-java"],"_links":{"self":[{"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/posts\/27","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=27"}],"version-history":[{"count":0,"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/posts\/27\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=27"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=27"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}