{"id":154,"date":"2008-10-30T13:42:32","date_gmt":"2008-10-30T17:42:32","guid":{"rendered":"http:\/\/jianmingli.com\/wp\/?p=154"},"modified":"2009-03-30T14:27:44","modified_gmt":"2009-03-30T19:27:44","slug":"glassfish-metro-examples","status":"publish","type":"post","link":"https:\/\/jianmingli.com\/wp\/?p=154","title":{"rendered":"Install Glassfish Metro"},"content":{"rendered":"<p><strong>Install Tomcat 5.x<\/strong><br \/>\nDownload Tomcat 5.x and install it<br \/>\nSet CATALINA_HOME to Tomcat installation<\/p>\n<p><strong>Download and Unpack Metro<\/strong><br \/>\nDownload metro from <a href=\"https:\/\/jax-ws.dev.java.net\/\">JAX-WS<\/a> site.<br \/>\nUnpack downloaded jar file:<br \/>\n  &#8211; with command &#8220;java -jar metro-xxx.jar&#8221;.<br \/>\n  &#8211; in windows, double click the jar file.<br \/>\nAccept agreement<br \/>\nContent unpacked into a folder called jaxws-ri<\/p>\n<p><strong>Install Metro on Tomcat<\/strong><br \/>\nGo to metro installation<\/p>\n<p>JAXWS-1.3.1<\/p>\n<pre>\r\nc:\\jaxws-ri\\ant -f metro-on-tomcat.xml install\r\nBuildfile: metro-on-tomcat.xml\r\n\r\nuninstall:\r\n\r\nupdate-catalina-props:\r\n\r\ninstall:\r\n [echo] Installing WSIT 1.3 FCS for apache-tomcat-5.5.27 ...\r\n [copy] Copying 4 files to apache-tomcat-5.5.27\\shared\\lib\r\n    webservices-rt.jar\r\n    webservices-tools.jar\r\n    webservices-extra.jar\r\n    webservices-extra-api.jar\r\n\r\n [copy] Copying 1 file to apache-tomcat-5.5.27\\common\\endorsed\r\n    webservices-api.jar\r\n\r\ninstall-api-jdk5:\r\n [copy] Copying 1 file to apache-tomcat-5.5.27\\shared\\lib\r\n    webservices-api.jar\r\n\r\ninstall-api-jdk6:\r\n\r\ninstall-api:\r\n [echo] ... installation complete.\r\n\r\nBUILD SUCCESSFUL\r\nTotal time: 2 seconds<\/pre>\n<p>Summary:<br \/>\nCopy to shared\/lib:<br \/>\nwebservices-api.jar<br \/>\nwebservices-extra.jar<br \/>\nwebservices-extra-api.jar<br \/>\nwebservices-rt.jar<br \/>\nwebservices-tools.jar<\/p>\n<p>Copy to common\/endorsed:<br \/>\nwebservices-api.jar<\/p>\n<p>JAXWS-RI 2.1.5<\/p>\n<pre lang=\"xml\">\r\nC:\\jaxws-ri>ant -f tomcat.xml install\r\nBuildfile: tomcat.xml\r\n\r\nupdate-catalina-props:\r\n     [echo] Backing up Z:\\Program Files\\apache-tomcat-5.5.27\/conf\/catalina.prope\r\nrties...\r\n     [copy] Copying 1 file to Z:\\Program Files\\apache-tomcat-5.5.27\\conf\r\n     [echo] Adding JAX-WS RI jars to shared.loader property in Z:\\Program Files\\\r\napache-tomcat-5.5.27\/conf\/catalina.properties...\r\n\r\ninstall:\r\n     [echo] Installing JAX-WS RI 2.1.5  for Z:\\Program Files\\apache-tomcat-5.5.2\r\n7 ...\r\n     [copy] Copying 19 files to Z:\\Program Files\\apache-tomcat-5.5.27\\shared\\lib\r\n\r\n\r\njdk6-message:\r\n\r\nBUILD SUCCESSFUL\r\nTotal time: 1 minute 9 seconds\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Install Tomcat 5.x Download Tomcat 5.x and install it Set CATALINA_HOME to Tomcat installation Download and Unpack Metro Download metro from JAX-WS site. Unpack downloaded jar file: &#8211; with command &#8220;java -jar metro-xxx.jar&#8221;. &#8211; in windows, double click the jar &hellip; <a href=\"https:\/\/jianmingli.com\/wp\/?p=154\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","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":[41,22],"tags":[],"class_list":["post-154","post","type-post","status-publish","format-standard","hentry","category-jax-ws","category-soa"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8cRUO-2u","_links":{"self":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/154","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=154"}],"version-history":[{"count":10,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/154\/revisions"}],"predecessor-version":[{"id":361,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/154\/revisions\/361"}],"wp:attachment":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=154"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}