Configuração tomcat

Olá, eu instalei uma versão do tomcat 5.5.9 do site apache.org e estou tendo alguns problemas, eu consegui configurar o tomcat no eclipse sem utilizar o plugin do sysdeo, só q qdo eu starto ele pelo eclipse e vou ao browser e digito o endereço localhost:8080, não aparece nada, como se o servidor não tivesse sido inicializado, como eu faço para solucionar esse problema?

Você já tentou inicializar ele manualmente? Deu algum erro?

Tentei e não deu nenhum erro. O problema eh q qdo inicializo ele no eclipse e abro o browser ele aparece como se não tivesse sido inicializado, parece q tem uma configuração no manager mas eu não estou conseguindo achar

Hum, eu já enfrentei esse problema. E o pior é que não me lembro o que eu fiz pra resolver. Mas me lembro que cansei de tanto instalar/desinstalar o Tomcat tentando descobrir qual era o problema. :frowning:

Em que versão do Java você está tentando rodar? 1.4? Se for, não vai funcionar. Essa versão do Tomcat (5.5) só roda com Java 5.0.

Pelo menos eu só consegui fazê-lo funcionar nela.

O meu jsdk eh 1.5

Olha, não conheço o plugin que você tá usando, mas você tem certeza de que ele está realmente inicializando o Tomcat? Ou pelo menos tentando fazer isso? Ele escreve alguma coisa no log? Dá algum sinal de que a coisa tá funcionando? Você configurou ele corretamente?

Se você continuar tendo problemas com esse plugin aí, tenta usar a versão free do Exadel, que ele faz muita coisa:

http://www.exadel.com/

Desinstala tudo e instala denovo. :mrgreen:

Olá… :thumbup:

Vou explicar como pode ser feito, peguei o que tenho no netbeans para aventurar no tomcat manualmente segui o que estava no raiz da pasta jakarta-tomcat-5.5.7 que é o arquivo Running que diz

[quote=Running.txt]
============================================
Running The Tomcat 5.5 Servlet/JSP Container
============================================

Out of the box, Tomcat 5.5 requires the Java 2 Standard Edition Runtime
Environment (JRE) version 5.0 or later. However, you can also run Tomcat
5.5 on earlier versions of the JRE, as detailed below.

=============================
Running With JRE 5.0 Or Later

(1) Download and Install the J2SE Runtime Environment (JRE)

(1.1) Download the Java 2 Standard Edition Runtime Environment (JRE),
release version 5.0 or later, from http://java.sun.com/j2se.

(1.2) Install the JRE according to the instructions included with the
release.

(1.3) Set an environment variable named JAVA_HOME to the pathname of
the directory into which you installed the JRE, e.g. c:\j2sdk5.0
or /usr/local/java/j2sdk5.0.

(2) Download and Install the Tomcat Binary Distribution

NOTE: As an alternative to downloading a binary distribution, you can create
your own from the Tomcat source repository, as described in “BUILDING.txt”.
If you do this, the value to use for “${catalina.home}” will be the “dist”
subdirectory of your source distribution.

(2.1) Download a binary distribution of Tomcat from:

  http://jakarta.apache.org/site/binindex.cgi

(2.2) Unpack the binary distribution into a convenient location so that the
distribution resides in its own directory (conventionally named
“jakarta-tomcat-5”). For the purposes of the remainder of this document,
the symbolic name “$CATALINA_HOME” is used to refer to the full
pathname of the release directory.

(3) Start Up Tomcat

(3.1) Tomcat can be started by executing the following commands:

  $CATALINA_HOME\bin\startup.bat          (Windows)

  $CATALINA_HOME/bin/startup.sh           (Unix)

(3.2) After startup, the default web applications included with Tomcat will be
available by visiting:

  http://localhost:8080/

(3.3) Further information about configuring and running Tomcat can be found in
the documentation included here, as well as on the Tomcat web site:

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

(4) Shut Down Tomcat

(4.1) Tomcat can be shut down by executing the following command:

  $CATALINA_HOME\bin\shutdown            (Windows)

  $CATALINA_HOME/bin/shutdown.sh         (Unix)[/quote]

Como era no prompt setei as variaveis JAVA_HOME para meu jre e CATALINA_HOME para meu tomcat na variaveis de ambiente do SO e depois fui na pasta do tomcat\bin e dei um startup

Quanto a configuração não foi alterada.

Espero ter ajudado :wink: