Alguem pode me ajudar a rodar o Tomcat 5.5?
Alguem pode me ajudar a rodar o Tomcat 5.5?
Estou com Debian BR CDD 1.0.
Instalei o Java, esta rorando...
Configurei assim:
JAVA_HOME=/usr/lib/j2sdk1.4.2/
CLASSPATH=.:$CLASSPATH
if [ "`id -u`" -eq 0 ]; then
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:$JAVA_HOME/bin:$PATH"
else
PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:$JAVA_HOME/bin:$PATH"
fi
if [ "$PS1" ]; then
if [ "$BASH" ]; then
PS1='\u@\h:\w\$ '
else
if [ "`id -u`" -eq 0 ]; then
PS1='# '
else
PS1='$ '
fi
fi
fi
export PATH JAVA_HOME CLASSPATH
umask 022
[[ -f "/etc/autopackage/paths-bash" ]] && . "/etc/autopackage/paths-bash"
Extrai o Tomcat para:
/usr/lib/apache-tomcat-5.5.17
Executei:
root@debian-br-cdd:/usr/lib/apache-tomcat-5.5.17/bin# ./startup.sh
Using CATALINA_BASE: /usr/lib/apache-tomcat-5.5.17
Using CATALINA_HOME: /usr/lib/apache-tomcat-5.5.17
Using CATALINA_TMPDIR: /usr/lib/apache-tomcat-5.5.17/temp
Using JRE_HOME: /usr/lib/j2sdk1.4.2/
Tento entrar pelo firefox assim: localhost:8080 , 127.0.0.1:8080 e nada do tomcat rodar
Meu iptables está assim:
root@debian-br-cdd:/# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt
source
destination
ACCEPT tcp -- localhost.localdomain localhost.localdomain tcp dpt:webcache
Chain FORWARD (policy ACCEPT)
target prot opt
source
destination
ACCEPT tcp --
anywhere
anywhere
tcp dpts:webcache:8090 state NEW,RELATED,ESTABLISHED
ACCEPT udp --
anywhere
anywhere
udp dpts:8080:8090 state NEW,RELATED,ESTABLISHED
Chain OUTPUT (policy ACCEPT)
target prot opt
source
destination
O /etc/network/interfaces está assim:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
name Placa Ethernet LAN
address 10.1.1.3
netmask 255.0.0.0
broadcast 10.255.255.255
network 10.0.0.0
gateway 10.1.1.1
E o /etc/hosts está assim:
127.0.0.1 localhost.localdomain localhost debian-br-cdd
# The following lines are desirable for IPv6 capable hosts
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Alguem pode me ajudar a rodar o Tomcat?
--
Adriano de Souza Barbosa
Msn: asb.intruder@gmail.com
Reply to: