You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by balaraju mandala <ba...@gmail.com> on 2006/04/08 10:02:54 UTC

index.jsp not showing after successful installation

Hi Comunity,

I am unable to see index.jsp page, though i successfully installed
Tomcat5.0on my Linux meshine. I checked for ports which are listening
and
find 8080 is listening (8080/tcp open  http-proxy). There were no error
messages in logs/catalina.out also. please can anybody tell me what went
wrong.

regards,
Bala

Re: index.jsp not showing after successful installation

Posted by balaraju mandala <ba...@gmail.com>.
oh i am sorry, i did not clearly observed total log and write down the mail.
the 'netstat -an' commands output is

[root@wizon ~]# netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address
State
tcp        0      0 0.0.0.0:993                 0.0.0.0:*
LISTEN
tcp        0      0 0.0.0.0:995                 0.0.0.0:*
LISTEN
tcp        0      0 0.0.0.0:3306                0.0.0.0:*
LISTEN
tcp        0      0 0.0.0.0:110                 0.0.0.0:*
LISTEN
tcp        0      0 127.0.0.1:783               0.0.0.0:*
LISTEN
tcp        0      0 0.0.0.0:143                 0.0.0.0:*
LISTEN
tcp        0      0 0.0.0.0:2000                0.0.0.0:*
LISTEN
tcp        0      0 0.0.0.0:21                  0.0.0.0:*
LISTEN
tcp        0      0 0.0.0.0:25                  0.0.0.0:*
LISTEN
tcp        0      0 :::993                      :::*
LISTEN
tcp        0      0 :::995                      :::*
LISTEN
tcp        0      0 ::ffff:127.0.0.1:8005       :::*
LISTEN
tcp        0      0 :::8009                     :::*
LISTEN
tcp        0      0 :::110                      :::*
LISTEN
tcp        0      0 ::ffff:127.0.0.1:9998       :::*
LISTEN
tcp        0      0 :::143                      :::*
LISTEN
tcp        0      0 :::9999                     :::*
LISTEN
tcp        0      0 :::8080                     :::*
LISTEN
tcp        0      0 :::2000                     :::*
LISTEN
tcp        0      0 :::80                       :::*
LISTEN
tcp        0      0 :::22                       :::*
LISTEN
tcp        0      0 :::25                       :::*
LISTEN
tcp        0      0 :::443                      :::*
LISTEN
tcp        0      0 ::1:42640                   ::1:42639
TIME_WAIT
tcp        0      0 ::1:42647                   ::1:42646
TIME_WAIT
tcp        0      0 ::ffff:127.0.0.1:42644      ::ffff:127.0.0.1:8080
TIME_WAIT
tcp        0      0 ::1:42642                   ::1:42641
TIME_WAIT
tcp        0      0 ::1:42650                   ::1:42649
TIME_WAIT
tcp        0      0 ::ffff:127.0.0.1:42643      ::ffff:127.0.0.1:8005
TIME_WAIT

here we can observe 8080 port is listening

Re: index.jsp not showing after successful installation

Posted by balaraju mandala <ba...@gmail.com>.
Hi Bob,

I can not use http://localhost:8080, as there is no browser access on
server.

Bob i find that when ever i issue 'netstat -an' on shell prompt, i found
that 8080 is not listening. Only 8009 is listening!

Re: index.jsp not showing after successful installation

Posted by Bob Hall <rf...@yahoo.com>.
--- balaraju mandala <ba...@gmail.com>
wrote:

> Bob,
> 
> The ending messages in catalina.out are -->
> 
>  Apr 10, 2006 1:48:20 AM
> org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Apr 10, 2006 1:48:20 AM
> org.apache.jk.common.ChannelSocket init
> INFO: JK2: ajp13 listening on /0.0.0.0:8009
> Apr 10, 2006 1:48:20 AM org.apache.jk.server.JkMain
> start
> INFO: Jk running ID=0 time=0/24
>
config=/home/wizon555/Softwares/tomcatsoftware/jakarta-tomcat-5.0.28
> /conf/jk2.properties
> Apr 10, 2006 1:48:20 AM
> org.apache.catalina.startup.Catalina start
> INFO: Server startup in 2742 ms
> 
> and there are no 'Exceptions' in catalina.out. I am
> using Internet Explorer
> 6. I am connecting to remotly located system, where
> i installed Tomcat and
> trying to access it from my System. There is no
> Physical firewall present
> for that server, a software was installed, but
> though i disabled software
> firewall result is same.
> 
>  -Bala
> 

Bala,

Looks like a clean startup of Tomcat - good.

What is the text of the error message that appears
when you attempt to reach Tomcat from IE6 on a remote
host?

Can you run a browser on the linux host and attempt
to access Tomcat via: <http://localhost:8080>  ?

-Bob


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: index.jsp not showing after successful installation

Posted by balaraju mandala <ba...@gmail.com>.
Bob,

The ending messages in catalina.out are -->

 Apr 10, 2006 1:48:20 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Apr 10, 2006 1:48:20 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Apr 10, 2006 1:48:20 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/24
config=/home/wizon555/Softwares/tomcatsoftware/jakarta-tomcat-5.0.28
/conf/jk2.properties
Apr 10, 2006 1:48:20 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2742 ms

and there are no 'Exceptions' in catalina.out. I am using Internet Explorer
6. I am connecting to remotly located system, where i installed Tomcat and
trying to access it from my System. There is no Physical firewall present
for that server, a software was installed, but though i disabled software
firewall result is same.

 -Bala

Re: index.jsp not showing after successful installation

Posted by Bob Hall <rf...@yahoo.com>.
--- balaraju mandala <ba...@gmail.com>
wrote:

> Hi Bob,
> 
> Thanks for your response.
> 
> catalina.out file is not ending with any error
> messages. It is showing that,
> Tomcat started successfully with some millesecond
> time. I am using 8080 port
> for Tomcat. I am entering http://myip:8080 in the
> browser. But simple error
> page is displaying. No 404 or any special errors
> from Tomcat.
> 
> Regards,
> Bala.
> 

Bala,

Your catalina.out should contain something like:

INFO: Starting Coyote HTTP/1.1 on http-8080

It may also contain something like:

INFO: JK2: ajp13 listening on /0.0.0.0:8009

grep for "Coyote HTTP" and "ajp13 listening" in
your catalina.out and let us know what you find.
You should also grep for "Exception" in catalina.out.

Some more questions:

1. What browser are you using?

2. Is the browser running on the same system that
   is hosting Tomcat?

3. Is there a firewall in place on the linux
   box that is hosting Tomcat?

4. What exactly is the text on the "simple error
page"?

-Bob

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: index.jsp not showing after successful installation

Posted by balaraju mandala <ba...@gmail.com>.
Hi Bob,

Thanks for your response.

catalina.out file is not ending with any error messages. It is showing that,
Tomcat started successfully with some millesecond time. I am using 8080 port
for Tomcat. I am entering http://myip:8080 in the browser. But simple error
page is displaying. No 404 or any special errors from Tomcat.

Regards,
Bala.

Re: index.jsp not showing after successful installation

Posted by Bob Hall <rf...@yahoo.com>.
--- balaraju mandala <ba...@gmail.com>
wrote:

> Hi Nic,
> 
> Its me again, You suggested to check weather Tomcat
> was started as service,
> i am starting Tomcat by issuing a command at SSH
> (tomcat/bin/./startup.sh).
> Is this is correct one to start Tomcat as service or
> i have to do another
> way to start tomcat as service.
> 
> regards,
> Bala
> 

Bala,

Using startup.sh on yuour linux box should be fine.

Does catalina.out end with a report of the port(s)
that Tomcat is using?  WHich ports?

What URL are you entering into the browser?

What response are you getting in the browser?
timeout, Http404 ?

-Bob




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: index.jsp not showing after successful installation

Posted by balaraju mandala <ba...@gmail.com>.
Hi Nic,

Its me again, You suggested to check weather Tomcat was started as service,
i am starting Tomcat by issuing a command at SSH (tomcat/bin/./startup.sh).
Is this is correct one to start Tomcat as service or i have to do another
way to start tomcat as service.

regards,
Bala

Re: index.jsp not showing after successful installation

Posted by balaraju mandala <ba...@gmail.com>.
Hi Nic,

Thanks for your answer. But Nic, though i checked all of them you suggested,
I am unable to get the index.jsp page on browser. Is there any other
possibilities?

regards,
Bala

Re: index.jsp not showing after successful installation

Posted by Nic Daniau <ni...@googlemail.com>.
I supposed you've already checked the obvious:
conflit on port 8080 with something else?
firewall turned on?
service on manual and not started?

On 08/04/06, balaraju mandala <ba...@gmail.com> wrote:
>
> Hi Comunity,
>
> I am unable to see index.jsp page, though i successfully installed
> Tomcat5.0on my Linux meshine. I checked for ports which are listening
> and
> find 8080 is listening (8080/tcp open  http-proxy). There were no error
> messages in logs/catalina.out also. please can anybody tell me what went
> wrong.
>
> regards,
> Bala
>
>