{"id":2952,"date":"2011-08-25T12:43:09","date_gmt":"2011-08-25T17:43:09","guid":{"rendered":"http:\/\/jianmingli.com\/wp\/?p=2952"},"modified":"2011-08-25T14:52:24","modified_gmt":"2011-08-25T19:52:24","slug":"weblogic-11g-10-3-1-create-data-source","status":"publish","type":"post","link":"https:\/\/jianmingli.com\/wp\/?p=2952","title":{"rendered":"WebLogic 11g: Create Data Source"},"content":{"rendered":"<p>* Login Admin Console.<br \/>\n* In Domain Structure pane, click soa_domain -> Services -> <strong>Data Sources<\/strong>.<\/p>\n<span id=\"\"><h4><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/08\/wls_datasource.jpg\" alt=\"\" title=\"wls_datasource\" width=\"157\" height=\"156\" class=\"aligncenter size-full wp-image-2954\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/08\/wls_datasource.jpg 157w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/08\/wls_datasource-150x150.jpg 150w\" sizes=\"auto, (max-width: 157px) 100vw, 157px\" \/><\/h4><\/span>\n<p>* In Summary of JDBC Data Sources -> Configuration page, click <strong>New -> Generic Data Source<\/strong>.<\/p>\n<span id=\"_1\"><h4><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/08\/wls_new_generic_ds.jpg\" alt=\"\" title=\"wls_new_generic_ds\" width=\"158\" height=\"135\" class=\"aligncenter size-full wp-image-2955\" \/><\/h4><\/span>\n<p>* In JDBC Data Source Properties screen, enter:<br \/>\n&#8211; Name: <strong>myDS<\/strong><br \/>\n&#8211; JNDI Name: <strong>jdbc\/myDS<\/strong><br \/>\n&#8211; Database Type: <strong>Oracle<\/strong><\/p>\n<span id=\"_2\"><h4><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/08\/wls_ds_name.jpg\" alt=\"\" title=\"wls_ds_name\" width=\"475\" height=\"406\" class=\"aligncenter size-full wp-image-2956\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/08\/wls_ds_name.jpg 475w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/08\/wls_ds_name-300x256.jpg 300w\" sizes=\"auto, (max-width: 475px) 100vw, 475px\" \/><\/h4><\/span>\n<p>* Click <strong>Next<\/strong><br \/>\n* Select<br \/>\n&#8211; Database Driver: <strong>Oracle&#8217;s Driver (Thin XA) for Instance connections; Verions:9.0.1 and later<\/strong><br \/>\n&#8211; Click <strong>Next<\/strong>.<br \/>\n* Click <strong>Next <\/strong>on Transaction Options screen.<br \/>\n* On Connection Properties screen, enter:<br \/>\n&#8211; Database Name: <strong>orcl<\/strong><br \/>\n&#8211; Host Name: <strong>localhost<\/strong><br \/>\n&#8211; Port: <strong>1521<\/strong><br \/>\n&#8211; Database User Name: <strong>scott<\/strong><br \/>\n&#8211; Password: <strong>tiger<\/strong><br \/>\n&#8211; Click Next.<br \/>\n* On Test Database Connection screen, click <strong>Test Configuration<\/strong> button. Make sure the response is <em>Connection test succeeded<\/em>.<\/p>\n<span id=\"_3\"><h4><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/08\/wls_ds_test_message.jpg\" alt=\"\" title=\"wls_ds_test_message\" width=\"433\" height=\"80\" class=\"aligncenter size-full wp-image-2957\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/08\/wls_ds_test_message.jpg 433w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/08\/wls_ds_test_message-300x55.jpg 300w\" sizes=\"auto, (max-width: 433px) 100vw, 433px\" \/><\/h4><\/span>\n<p>* Click <strong>Next<\/strong>.<br \/>\n* On Select Targets screen, select the target server instance. For example,<\/p>\n<span id=\"_4\"><h4><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/08\/wls_ds_target_server.jpg\" alt=\"\" title=\"wls_ds_target_server\" width=\"154\" height=\"258\" class=\"aligncenter size-full wp-image-2958\" \/><\/h4><\/span>\n<p>* Click <strong>Finish<\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>* Login Admin Console. * In Domain Structure pane, click soa_domain -> Services -> Data Sources. * In Summary of JDBC Data Sources -> Configuration page, click New -> Generic Data Source. * In JDBC Data Source Properties screen, enter: &hellip; <a href=\"https:\/\/jianmingli.com\/wp\/?p=2952\">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":[91],"tags":[],"class_list":["post-2952","post","type-post","status-publish","format-standard","hentry","category-weblogic"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8cRUO-LC","_links":{"self":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/2952","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=2952"}],"version-history":[{"count":5,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/2952\/revisions"}],"predecessor-version":[{"id":3111,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/2952\/revisions\/3111"}],"wp:attachment":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2952"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2952"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2952"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}