{"id":6254,"date":"2016-02-18T12:11:33","date_gmt":"2016-02-18T11:11:33","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/hayek\/jochen\/wp\/blog-en\/?p=6254"},"modified":"2016-02-18T12:11:33","modified_gmt":"2016-02-18T11:11:33","slug":"jenkins-ci-with-tomcat","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2016\/02\/18\/jenkins-ci-with-tomcat\/","title":{"rendered":"Jenkins CI with Tomcat 9"},"content":{"rendered":"<ul>\n<li><a href=\"http:\/\/tomcat.apache.org\/tomcat-9.0-doc\/appdev\/\">http:\/\/tomcat.apache.org\/tomcat-9.0-doc\/appdev\/<\/a><\/li>\n<\/ul>\n<p>Always climbing on the learning curve and trying to take it to the next level\u00a0 \ud83d\ude0e<\/p>\n<p>Just installing\u00a0apache-tomcat-9.0.0.M3 (on Windows 7), trying to get it operational under cygwin.<\/p>\n<p>I set these (historic) environment variables through the Control Panel:<\/p>\n<pre>CATALINA_HOME=%PROGRAMFILES%apache-tomcat-9.0.0.M3\nCATALINA_BASE=%USERPROFILE%tomcat<\/pre>\n<p>But early experiences with Tomcat under cygwin made me better set them in the shell (resp. in ~\/.bash_profile) like this:<\/p>\n<pre>export CATALINA_HOME='\/cygdrive\/c\/Program Files\/apache-tomcat-9.0.0.M3'\nexport CATALINA_BASE=\/cygdrive\/c\/Users\/hayekjoc\/tomcat<\/pre>\n<p>I also need this:<\/p>\n<pre>mkdir $CATALINA_BASE\/{bin,conf,logs,temp}\ncp --arch \"$CATALINA_HOME\/conf\/server.xml\" $CATALINA_BASE\/conf\/server.xml<\/pre>\n<p>Now I can start Tomcat like this:<\/p>\n<pre>\"$CATALINA_HOME\/bin\/catalina.sh\" start<\/pre>\n<p>And\u00a0I can surf to my Tomcat at http:\/\/localhost:8080 &#8212; but so far I don&#8217;t see anything there &#8212; although the log file in $CATALINA_BASE\/logs\/ says there was an access.<\/p>\n<p>I am going to try this next:<\/p>\n<ul>\n<li><a href=\"http:\/\/tomcat.apache.org\/tomcat-9.0-doc\/appdev\/sample\/\">http:\/\/tomcat.apache.org\/tomcat-9.0-doc\/appdev\/sample\/<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/tomcat.apache.org\/tomcat-9.0-doc\/appdev\/ Always climbing on the learning curve and trying to take it to the next level\u00a0 \ud83d\ude0e Just installing\u00a0apache-tomcat-9.0.0.M3 (on Windows 7), trying to get it operational under cygwin. I set these (historic) environment variables through the Control Panel: CATALINA_HOME=%PROGRAMFILES%apache-tomcat-9.0.0.M3 CATALINA_BASE=%USERPROFILE%tomcat But early experiences with Tomcat under cygwin made me better set them in the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","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":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_share_on_mastodon":"0"},"categories":[82],"tags":[],"class_list":["post-6254","post","type-post","status-publish","format-standard","hentry","category-cygwin"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-1CS","jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/6254","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=6254"}],"version-history":[{"count":0,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/6254\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=6254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=6254"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=6254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}