Instalando Tomcat
Olá ...
Depois de um longo tempo volto a escrever um artigo, bom na verdade para dar continuidade a este trabalho busquei algumas informações e vão ser úteis para o nosso segundo passo rumo ao desenvolvimento JSP.
Veja como instalar o servidor de JSP no IIS
O Tomcat é um servidor open source e gratuito que é muito bom para quem quer começar a aprender JSP. Além disso, é muito utilizado comercialmente. Alguns podem encontrar uma certa dificuldade para instalá-lo e colocá-lo para funcionar. Neste texto mostraremos como fazer isso e ainda colocá-lo como um serviço do Windows (NT/2000/XP).
Para começar você deve ter os seguintes softwares
Java Development Kit (http://java.sun.com/j2se/index.html)
Tomcat 4.0.1 Binary Distribution (http://jakarta.apache.org/builds/)
Extra do Tomcat para integração com IIS e NT/2000 (download) http://www2.fundao.p...es/tc4ntiis.zip
Instale o JDK, a versão utilizada neste exemplo foi a j2sdk-1_4_0_01-windows-i586.exe. Deixe o diretório como j2sdk1.4.0_01. Durante a instalação deixe todas as opções de componentes ativadas.
Ajuste uma variável de ambiente chamada JAVA_HOME apontando para o caminho do diretório dentro do qual está a instalação do JDK. Para ajustar a variável JAVA_HOME vá em Painel de Controle -> Sistema -> Avançado -> Variáveis de Ambiente. Crie uma nova variável de ambiente chamada JAVA_HOME com o valor c:\j2sdk1.4.0_01
Baixe e instale o Tomcat. Para este exemplo pegamos a versão jakarta-tomcat-4.1.12.exe do link http://jakarta.apache.org/builds/.
Execute o arquivo de instalação deixando o tipo da instalação como Normal, altere o diretório para tomcat4 e ajuste uma variável de ambiente chamada CATALINA_HOME com o valor c:\tomcat4.
Para iniciar o Tomcat:
- Execute o arquivo .BAT
%CATALINA_HOME%\bin\startup
- Deve aparecer algo do tipo:
C:\>%CATALINA_HOME%\bin\startup
Using CATALINA_BASE: C:\tomcat4
Using CATALINA_HOME: C:\tomcat4
Using JAVA_HOME: c:\j2sdk1.4.0_01
C:\>
Agora vamos colocar o Tomcat para funcionar como um serviço do Windows, dessa forma não é necessário deixar a janela do DOS aberta enquanto ele estiver funcionando.
Pegue o jk_nt_service e o arquivo wrapper.properties que estão no arquivo tc4ntiis.zip e coloque-os dentro da pasta %CATALINA_HOME%/conf/jk.
Edite o arquivo wrapper.properties para configurar as variáveis de ambiente:
wrapper.tomcat_home=c:\tomcat4
wrapper.java_home=c:\j2sdk1.4.0_01
Abra o prompt de comando e execute os seguintes comandos para instalar o serviço do Tomcat:
c:\>cd %CATALINA_HOME%
C:\tomcat4>cd conf\jk
C:\tomcat4\conf\jk>jk_nt_service -i tomcat -a wrapper.properties
Asked (and given) winsock 1.1
The service named tomcat was created. Now adding registry entries
Registry values were added
If you have already updated wrapper.properties you may start the tomcat service
by executing "jk_nt_service -s tomcat" from the command prompt
Agora você pode iniciar o serviço do Tomcat com o comando abaixo, mas certifique-se de que o Tomcat já não esteja sendo executado:
C:\tomcat4\conf\jk>jk_nt_service -s tomcat
Asked (and given) winsock 1.1
Starting tomcat.
tomcat started.
Para remover o serviço utilize
C:\tomcat4\conf\jk>jk_nt_service -r tomcat
Referência: http://www2.fundao.p...cles.asp?cod=70
--------------------------------------------------------------------------------
Tutorial de instalação do tomcat no linux.
Faça o download da última versão estável dos binários do Tomcat no site:
http://jakarta.apach...ase/v3.2.1/bin/
descompacte os arquivos:
$ gunzip jakarta-tomcat-3.2.1.tar.gz
$ tar -xf jakarta-tomcat-3.2.1.tar
mova o diretório para /usr/local/:
$ su
$ mv jakarta-tomcat-3.2.1 /usr/local/
$ cd /usr/local/jakarta-tomcat-3.2.1
adicione o JAVA_HOME e TOMCAT_HOME como variáveis de ambiente no seu .bashrc:
$ pico /home/username/.bashrc
(adicione estas linhas no fim do arquivo:)
> # java home and path
> JAVA_HOME=/usr/local/jdk1.3; export JAVA_HOME
> export PATH=$PATH:/usr/local/jdk1.3/bin/
>
> # tomcat home
> TOMCAT_HOME=/usr/local/jakarta-tomcat-3.2.1; export JAVA_HOME
(ctrl-x para salvar)
sair do root
$ exit
rodar o Tomcat: $ /usr/local/jakarta-tomcat-3.2.1/bin/startup.sh
veja se o tomcat está rodando utilizando seu navegador
http://localhost:8080
para parar o Tomcat:
$ /usr/local/jakarta-tomcat-3.2.1/bin/shutdown.sh
Referência: http://www.portaljav...=0&file=article
Como Rodar Jsp Em Seu Pc
Started By cybermix, 23/10/2003, 11:37
9 replies to this topic
#4
Posted 11/10/2017, 14:47
buy brand name accutane Roaccutane Commander Cytotec Avec Curetage buy viagra online How To Get Dapoxetine
#6
Posted 15/10/2017, 03:21
Viagra Para Mujeres viagra online Propecia Finasteride Risks
My Blue Pill buy viagra Natural A Propecia
Finasteride Ot Propecia viagra prescription How To Get Zithromax
My Blue Pill buy viagra Natural A Propecia
Finasteride Ot Propecia viagra prescription How To Get Zithromax
#7
Posted 01/11/2017, 10:12
Comprare Viagra Senza Ricetta Medica Order Trazadone Online viagra Generic Super Viagra Comprar Cialis Sonora Zantac Amoxicillin
Acheter Du Propecia Franceachat De Propecia En Espagne Where Can I Buy Lasix Without A Prescription cialis Is Orlistat Taken Off Market Can I Buy Viagra In Cvs Pharmacy 387 Forum Cialis France
Dove Comprare Cialis Senza Ricetta Zentel Echinococcosis Pharmacy Baclofen En Ligne 10mg online pharmacy Cephalexin Without A Prescription Cialis Terapia Riabilitativa Comprar Levitra Original Espana
Generic Levitra Paypal viagra prescription Vente Xenical
Acheter Du Propecia Franceachat De Propecia En Espagne Where Can I Buy Lasix Without A Prescription cialis Is Orlistat Taken Off Market Can I Buy Viagra In Cvs Pharmacy 387 Forum Cialis France
Dove Comprare Cialis Senza Ricetta Zentel Echinococcosis Pharmacy Baclofen En Ligne 10mg online pharmacy Cephalexin Without A Prescription Cialis Terapia Riabilitativa Comprar Levitra Original Espana
Generic Levitra Paypal viagra prescription Vente Xenical
#8
Posted 28/11/2017, 08:27
Levitra Online Apotheke Canada Pharmacy Online No Script Azathioprine viagra Effets Cialis Levitra Cialis Oder Generika Nhs Prices Viagra Uk
Levitra 10 Mg Tariffe cheap cialis Propecia Depression Acne Viagra Kaufen Shop Find Free Shipping On Line Clobetasol
Levitra 10 Mg Tariffe cheap cialis Propecia Depression Acne Viagra Kaufen Shop Find Free Shipping On Line Clobetasol
#9
Posted 05/01/2023, 06:55
Maternal side effects were reported by six trials 412 women of beta blockers versus methyldopa aRR 0 nolvadex pct side effects The most common reasons for discontinuation of therapy with valsartan and hydrochlorothiazide tablets were headache and dizziness
Drugs such as venlafaxine brand name includes Effexor or citalopram Celexa don t appear to interfere with tamoxifen to anywhere near the same degree cialis super active Since you have asked this question, did you see your hair turning grey
Is body mass index a measure of adiposity in elderly women levitra generique posologie Was thinking to start there to avoid that, but I guess I can wait and see where my blood sides are 1- 1
Crashing in roadworks is not only dangerous but also delays the completion of the road works as well as putting the lives of road workers at risk reviews for best place to buy nolvadex cialis spiriva respimat coupon The Interdom gave me a cosmopolitan outlook, says Beatrice Otigo Potapova, whose father was a prominent Kenyan politician, and a personal friend of longstanding Soviet politburo member Anastas Mikoyan
Drugs such as venlafaxine brand name includes Effexor or citalopram Celexa don t appear to interfere with tamoxifen to anywhere near the same degree cialis super active Since you have asked this question, did you see your hair turning grey
Is body mass index a measure of adiposity in elderly women levitra generique posologie Was thinking to start there to avoid that, but I guess I can wait and see where my blood sides are 1- 1
Crashing in roadworks is not only dangerous but also delays the completion of the road works as well as putting the lives of road workers at risk reviews for best place to buy nolvadex cialis spiriva respimat coupon The Interdom gave me a cosmopolitan outlook, says Beatrice Otigo Potapova, whose father was a prominent Kenyan politician, and a personal friend of longstanding Soviet politburo member Anastas Mikoyan
#10
Posted 10/02/2023, 06:27
Subsequent versions of this model have been released and we are now using version 8, which was developed with Adam Brentnall stromectol dosage for scabies
how to order clomid on line in canada Authors wish to thank the Research Vice- Chancellor of Shiraz University of Medical Sciences for financially supporting this study
nolvadex price While ERО± and ERОРhave nearly identical DNA binding domains, these receptor subtypes have only 56 amino acid identity in their hormone binding domains, and they differ even more markedly only 21 amino acid identity in their N terminal activation function 1 regions
Charlotte ZgzUsxVbDldNOYe 6 28 2022 lasix medicine
how to order clomid on line in canada Authors wish to thank the Research Vice- Chancellor of Shiraz University of Medical Sciences for financially supporting this study
nolvadex price While ERО± and ERОРhave nearly identical DNA binding domains, these receptor subtypes have only 56 amino acid identity in their hormone binding domains, and they differ even more markedly only 21 amino acid identity in their N terminal activation function 1 regions
Charlotte ZgzUsxVbDldNOYe 6 28 2022 lasix medicine
1 user(s) are reading this topic
0 membro(s), 1 visitante(s) e 0 membros anônimo(s)