{"id":3861,"date":"2012-01-20T17:56:59","date_gmt":"2012-01-20T22:56:59","guid":{"rendered":"http:\/\/jianmingli.com\/wp\/?p=3861"},"modified":"2012-03-07T15:13:10","modified_gmt":"2012-03-07T20:13:10","slug":"eclipse-indigo-weblogic-server-support","status":"publish","type":"post","link":"https:\/\/jianmingli.com\/wp\/?p=3861","title":{"rendered":"Eclipse Indigo: WebLogic Server Support"},"content":{"rendered":"<div class='toc wptoc'>\n<h2>Contents<\/h2>\n<ol class='toc-odd level-1'>\n\t<li>\n\t\t<a href=\"#Install_WebLogic_Server_Adapters\">Install WebLogic Server Adapters<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#Create_a_New_WebLogic_Server_Instance\">Create a New WebLogic Server Instance<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#Publish_Web_App_to_WLS_Instance\">Publish Web App to WLS Instance<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#Publish_as_EAR_or_WAR\">Publish as EAR or WAR<\/a>\n\t<\/li>\n<\/ol>\n<\/ol>\n<\/ol>\n<\/div>\n<div class='wptoc-end'>&nbsp;<\/div>\n<span id=\"Install_WebLogic_Server_Adapters\"><h3>Install WebLogic Server Adapters<\/h3><\/span>\n<p>* Select <em>Window > Show View > Servers<\/em><br \/>\n* Right click inside Servers window and select <em>New > Server<\/em><br \/>\n* Click <em>Download additional server adapters<\/em> link<br \/>\n* Select <em>Oracle WebLogic Server Tools <\/em>and click Next<\/p>\n<span id=\"\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/12\/eclipse_weblogic_plugin_1.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/12\/eclipse_weblogic_plugin_1-250x300.jpg\" alt=\"\" title=\"eclipse_weblogic_plugin_1\" width=\"250\" height=\"300\" class=\"aligncenter size-medium wp-image-3862\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/12\/eclipse_weblogic_plugin_1-250x300.jpg 250w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/12\/eclipse_weblogic_plugin_1.jpg 525w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/h6><\/span>\n<p>* Accept license agreement and click Finish<br \/>\n* Click OK to restart Eclipse after install.<\/p>\n<span id=\"Create_a_New_WebLogic_Server_Instance\"><h3>Create a New WebLogic Server Instance<\/h3><\/span>\n<p>In this example, I&#8217;ll create a new WebLogic server instance to point to the integrated WLS (version 11gR1 10.3.5) that comes with JDev 11gR2.<br \/>\n* Open Eclipse Servers console: <em>Window > Show View > Servers<\/em><br \/>\n* Right click inside Servers console and select <em>New > Server<\/em><br \/>\n* On<em> Define a New Server<\/em> dialog, choose <em>Oracle > Oracle WebLogic Server 11gR1 (10.3.5)<\/em><\/p>\n<span id=\"_1\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/01\/eclipse_wls_new_svr_1.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/01\/eclipse_wls_new_svr_1-266x300.jpg\" alt=\"\" title=\"eclipse_wls_new_svr_1\" width=\"266\" height=\"300\" class=\"aligncenter size-medium wp-image-4463\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/01\/eclipse_wls_new_svr_1-266x300.jpg 266w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/01\/eclipse_wls_new_svr_1.jpg 520w\" sizes=\"auto, (max-width: 266px) 100vw, 266px\" \/><\/a><\/h6><\/span>\n<p>* Click <em>Next<\/em> and browse to WebLogic home, e.g. <em>C:\\Oracle\\Middleware11gr2\\wlserver_10.3<\/em><\/p>\n<span id=\"_2\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/01\/eclipse_wls_new_svr_2.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/01\/eclipse_wls_new_svr_2-265x300.jpg\" alt=\"\" title=\"eclipse_wls_new_svr_2\" width=\"265\" height=\"300\" class=\"aligncenter size-medium wp-image-4464\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/01\/eclipse_wls_new_svr_2-265x300.jpg 265w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/01\/eclipse_wls_new_svr_2.jpg 521w\" sizes=\"auto, (max-width: 265px) 100vw, 265px\" \/><\/a><\/h6><\/span>\n<p>* Click Next and browse to Domain directory, e.g. <em>C:\\Users\\jli\\AppData\\Roaming\\JDeveloper\\system11.1.2.1.38.60.81\\DefaultDomain<\/em><\/p>\n<span id=\"_3\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/01\/eclipse_wls_new_svr_3.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/01\/eclipse_wls_new_svr_3-300x295.jpg\" alt=\"\" title=\"eclipse_wls_new_svr_3\" width=\"300\" height=\"295\" class=\"aligncenter size-medium wp-image-4465\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/01\/eclipse_wls_new_svr_3-300x295.jpg 300w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/01\/eclipse_wls_new_svr_3.jpg 598w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/h6><\/span>\n<p>* Click <em>Finish<\/em><\/p>\n<span id=\"_4\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/01\/eclipse_wls_new_svr_4.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/01\/eclipse_wls_new_svr_4-300x21.jpg\" alt=\"\" title=\"eclipse_wls_new_svr_4\" width=\"300\" height=\"21\" class=\"aligncenter size-medium wp-image-4466\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/01\/eclipse_wls_new_svr_4-300x21.jpg 300w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/01\/eclipse_wls_new_svr_4.jpg 610w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/h6><\/span>\n<span id=\"Publish_Web_App_to_WLS_Instance\"><h3>Publish Web App to WLS Instance<\/h3><\/span>\n<p>* In <em>Servers<\/em> console, right click WebLogic server and select <em>Add and Remove&#8230;<\/em><\/p>\n<span id=\"_5\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/01\/eclipse_wls_add_app1.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/01\/eclipse_wls_add_app1-300x280.jpg\" alt=\"\" title=\"eclipse_wls_add_app1\" width=\"300\" height=\"280\" class=\"aligncenter size-medium wp-image-4467\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/01\/eclipse_wls_add_app1-300x280.jpg 300w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/01\/eclipse_wls_add_app1.jpg 462w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/h6><\/span>\n<p>* Move the web applications you want to deploy from <em>Available:<\/em> panel to <em>Configured:<\/em> panel.<\/p>\n<span id=\"_6\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/01\/eclipse_wls_add_app2.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/01\/eclipse_wls_add_app2-288x300.jpg\" alt=\"\" title=\"eclipse_wls_add_app2\" width=\"288\" height=\"300\" class=\"aligncenter size-medium wp-image-4468\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/01\/eclipse_wls_add_app2-288x300.jpg 288w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/01\/eclipse_wls_add_app2.jpg 523w\" sizes=\"auto, (max-width: 288px) 100vw, 288px\" \/><\/a><\/h6><\/span>\n<p>* Start WebLogic server, the web applications should be deployed.<\/p>\n<span id=\"Publish_as_EAR_or_WAR\"><h3>Publish as EAR or WAR<\/h3><\/span>\n<p>* In Servers panel, right click WebLogic server and select <em>Properties<\/em><br \/>\n* Select <em>WebLogic > Publishing<\/em><br \/>\n* Under Publishing mode, select either  <em>Publish as a virtual application<\/em> or <em>Publish as an exploded archive<\/em><br \/>\n* Publish as a virtual application:<br \/>\n&#8211; Web application will be published under the name <strong>_auto_generated_ear_<\/strong>, e.g.<br \/>\n<em>C:\\Users\\jli\\AppData\\Roaming\\JDeveloper\\system11.1.2.1.38.60.81\\DefaultDomain\\servers\\DefaultServer\\tmp\\_WL_user\\_auto_generated_ear_<\/em><br \/>\n* Publish as an exploded archive:<br \/>\n&#8211; Web application will be published under the web application name, e.g, <em>C:\\Users\\jli\\AppData\\Roaming\\JDeveloper\\system11.1.2.1.38.60.81\\DefaultDomain\\servers\\DefaultServer\\tmp\\_WL_user\\test-cdi<\/em><br \/>\n* Select <em>Automatically publish after a rebuild<\/em> will trigger redeployment after you rebuild the project, e.g. after cleaning project.<\/p>\n<span id=\"_7\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/01\/eclipse_wls_pub_mode.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/01\/eclipse_wls_pub_mode-300x255.jpg\" alt=\"\" title=\"eclipse_wls_pub_mode\" width=\"300\" height=\"255\" class=\"aligncenter size-medium wp-image-4470\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/01\/eclipse_wls_pub_mode-300x255.jpg 300w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2012\/01\/eclipse_wls_pub_mode.jpg 650w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/h6><\/span>\n","protected":false},"excerpt":{"rendered":"<p>Install WebLogic Server Adapters * Select Window > Show View > Servers * Right click inside Servers window and select New > Server * Click Download additional server adapters link * Select Oracle WebLogic Server Tools and click Next * &hellip; <a href=\"https:\/\/jianmingli.com\/wp\/?p=3861\">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":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[122,104],"tags":[],"class_list":["post-3861","post","type-post","status-publish","format-standard","hentry","category-eclipse","category-weblogic11g"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8cRUO-10h","_links":{"self":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3861","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3861"}],"version-history":[{"count":6,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3861\/revisions"}],"predecessor-version":[{"id":4475,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3861\/revisions\/4475"}],"wp:attachment":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3861"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3861"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3861"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}