Administrando os context do TomCat 5

1 resposta
M

Olá a todos, estou iniciando agora no Java, e estou com um problema na configuração nos context do Tomcat 5

Já instalei tudo, mas quando acesso o localhost:8080 abre a página do tomcat normalmente, mas quando eu clico em Tomcat Administration, abre uma página escrito: Tomcat’s administration web application is no longer installed by default. Download and install the “admin” package to use it.

Já procurei no site do tomcat, mas não encontrei esse pacote de administração. Como resolver esse problema? Sei que tem outra maneira de criar os contextos, acho que por arquivo xml, mas creio que com o Web Aplication deve ser mais simples.

1 Resposta

M

Daê pessoal, acho que achei a solução, quem estiver com o mesmo problema que o meu, siga esse tuto em inglês:

1) Finding the package was a pain but I found it here

From the main page

http://jakarta.apache.org/tomcat/

Click Current Releases

  1. Then click ‘browse download area’

  2. Select your version of Tomcat, view the /bin directory and it’s in there.

I downloaded the admin.zip file.

  1. Unzip the file somewhere, keeping the directory structure.

  2. Assuming you have use the windows installer and default directories
    Copy admin.xml into C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\Catalina\localhost

  3. Copy the server\webapps\admin directory (all of it) into C:\Program Files\Apache Software Foundation\Tomcat 5.5\server\webapps\admin

  4. Delete the admin directory that contains the index.html with the Message saying ‘blah blah not installed by default’

This was in C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\ROOT for me.

  1. Visit your manager page and check you have /admin in the list, then start it.

Note : not a definitive guide it’s just some messing about I did to actually see if I could get something to run.

Criado 2 de maio de 2005
Ultima resposta 2 de mai. de 2005
Respostas 1
Participantes 1