{"id":1193,"date":"2010-07-07T20:52:24","date_gmt":"2010-07-07T15:22:24","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=1193"},"modified":"2015-05-19T17:47:35","modified_gmt":"2015-05-19T12:17:35","slug":"deploying-grails-application-on-websphere-application-server-v6","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/deploying-grails-application-on-websphere-application-server-v6\/","title":{"rendered":"Deploying Grails application on Websphere Application Server  V6"},"content":{"rendered":"<p>Hi,<\/p>\n<p>In one of my projects, I needed to deploy the grails application on IBM Websphere Application Server Version 6.<br \/>\nSo the steps I followed to deploy the application are as follows:-<\/p>\n<p><strong>Step-1:<\/strong> Install the IBM Websphere Application Server 6.x<\/p>\n<pre lang=\"groovy\">\r\n   1. Install the Websphere Application Server using its installer.\r\n              (If it is needed to be updated to some other version,\r\n              then download the update installer and related pack and install it.)\r\n          \r\n  2.  Start the server. \r\n \r\n<\/pre>\n<p><strong>Step-2:<\/strong> To set the web-container custom property on IBM WebSphere Application Server Version 6:<\/p>\n<pre lang=\"groovy\">\r\n    Start the server if not started.\r\n\r\n   1. Open the browser &amp; type http:\/\/localhost:9060\/ibm\/console\/login.do\r\n\r\n   2. Provide the username \"Admin\"\r\n\r\n   3. In the administrative console, click \"Servers\" and under Servers click \"Application Servers\"\r\n\r\n   4. Click on the server to which the custom property is to be applied.\r\n\r\n   5. Under \"Configuration\" and \"Container settings\" click \"Web Container Settings\" \r\n       and under Web Container Settings click \"Web Container\"\r\n   \r\n  6. Under \"Configuration\" and \"Additional Properties\" click \"Custom Properties\"\r\n   \r\n  7. In the Custom Properties page, click \"New\"\r\n  \r\n  8. In the settings page, enter the name of the custom property to be added in the \"Name\" field \r\n      and the value to be set for the custom property in the \"Value\" field. \r\n\r\n     Note that some properties are case sensitive. \r\n     Provide the name=\" com.ibm.ws.webcontainer.invokefilterscompatibility\" and  value=\"true\"\r\n  9. Click \"Apply\" or \"OK\"\r\n \r\n 10. Click \"Save\" in the \"Messages\" box that appears\r\n \r\n 11. Restart the server for the custom property to take effect. \r\n\r\n<\/pre>\n<p><strong>Step-3: <\/strong>Deploying the application on Websphere Application Server.<\/p>\n<pre lang=\"groovy\">\r\n   1. Create the war file of the application.\r\n  \r\n   2. Login to websphere (http:\/\/localhost:9060\/ibm\/console\/login.do)\r\n  \r\n   3. Go-to Applications -&gt; Install New application\r\n  \r\n   4. Provide the path of war-file in 'Local file system' option.\r\n  \r\n   5. In Context-root option provide '\/'.\r\n       Click next -&gt; next -&gt; next -&gt; next -&gt;Finish and save the   changes.\r\n  \r\n   6. Go to the application from Applications -&gt; Enterprise Applications\r\n      Select the application &amp; click 'start' \r\n\r\n<\/pre>\n<p><strong>Step-4:<\/strong> Running the application<\/p>\n<pre lang=\"groovy\">\r\n Open the Browser &amp; type 'http:\/\/localhost:9080\/\/'\r\n  \r\n<\/pre>\n<p>Useful Links &#8211;<\/p>\n<p>1. <a href=\"http:\/\/www-01.ibm.com\/support\/docview.wss?rs=180&amp;uid=swg24012718\">http:\/\/www-01.ibm.com\/support\/docview.wss?rs=180&amp;uid=swg24012718<\/a><br \/>\n2. <a href=\"http:\/\/publib.boulder.ibm.com\/infocenter\/wasinfo\/v6r0\/index.jsp?topic=\/com.ibm.websphere.express.doc\/info\/exp\/ae\/rweb_custom_props.html\">http:\/\/publib.boulder.ibm.com\/infocenter\/wasinfo\/v6r0\/index.jsp?topic=\/com.ibm.websphere.express.doc\/info\/exp\/ae\/rweb_custom_props.html<br \/>\n<\/a><\/p>\n<p>Hope it helps.<\/p>\n<p>Regards<br \/>\nVishal Sahu<\/p>\n<p>vishal[at]intelligrape[dot]com<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, In one of my projects, I needed to deploy the grails application on IBM Websphere Application Server Version 6. So the steps I followed to deploy the application are as follows:- Step-1: Install the IBM Websphere Application Server 6.x 1. Install the Websphere Application Server using its installer. (If it is needed to be [&hellip;]<\/p>\n","protected":false},"author":19,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":2},"categories":[7],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/1193"}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=1193"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/1193\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=1193"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=1193"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=1193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}