Is IIS required to run Tomcat application server.

Is IIS required to run the 'Apache Tomcat Server' on Windows-Xp ?What is the difference between 'Apache Tomcat Server' and 'Jakarta Tomcat Server' ?Can any body please help.-Achyuth
[215 byte] By [achyuthba] at [2007-11-27 6:25:55]
# 1
> Is IIS required to run the 'Apache Tomcat Server' on> Windows-Xp ?No, why would it depend on a M$ product?Kaj
kajbja at 2007-7-12 17:46:15 > top of Java-index,Java Essentials,New To Java...
# 2
I have installed tomcat and everything went fine. Tomcat starts up correctly.But when I type ' http://localhost:8080/' in the browser, it says page cant be displayed. Why is it so?-Achyuth
achyuthba at 2007-7-12 17:46:15 > top of Java-index,Java Essentials,New To Java...
# 3

> I have installed tomcat and everything went fine.

> Tomcat starts up correctly.

> But when I type 'http://localhost:8080/' in the

> browser, it says page cant be displayed.

> Why is it so?

>

> -Achyuth

Hard to say. A configuration error that stops tomcat from starting.

kajbja at 2007-7-12 17:46:15 > top of Java-index,Java Essentials,New To Java...
# 4
tomcat starts perfectly.I checked the log file. Could not find any errors.but in the browser it is not coming.
achyuthba at 2007-7-12 17:46:15 > top of Java-index,Java Essentials,New To Java...
# 5
> tomcat starts perfectly.> I checked the log file. Could not find any errors.> but in the browser it is not coming.And you're sure it's running on the correct port?
georgemca at 2007-7-12 17:46:15 > top of Java-index,Java Essentials,New To Java...
# 6

There is a monitor program in bin directory of Tomcat, I dont exactly remember the file name, it something like t5?w.exe (if your OS is Windows).

Also check in MyComputer->Manage->Services ifthat service is started.

If you run Solaris 10, check status of that deamon using inetadm command.

TheNetWalkera at 2007-7-12 17:46:15 > top of Java-index,Java Essentials,New To Java...
# 7

I am working on windows-xp.

The connector entry in server.xml is

<Connector port="8080" protocol="HTTP/1.1"

connectionTimeout="20000"

redirectPort="8443" />

This is the output i get while i run start.bat in tomcat/bin

INFO: Jk running ID=0 time=0/126 config=null

Jun 5, 2007 2:53:18 PM org.apache.catalina.startup.Catalina start

INFO: Server startup in 3406 ms

In services I cant find any tomcat running. :((

What do I do?

achyuthba at 2007-7-12 17:46:15 > top of Java-index,Java Essentials,New To Java...
# 8
Can you see if the process is still executing? Do you have a firewall that might block/reject Tomcats socket bind?Kaj
kajbja at 2007-7-12 17:46:15 > top of Java-index,Java Essentials,New To Java...
# 9
Hey!! something stange...When i give my ip-address ( http://10.117.11.28:8080/) it works.But when I give localhost it doesnt..Any idea why?..Any way thanks a lot for you support and help.Regards,Achyuth.
achyuthba at 2007-7-12 17:46:15 > top of Java-index,Java Essentials,New To Java...
# 10

> Hey!! something stange...

> When i give my ip-address (http://10.117.11.28:8080/)

> it works.

> But when I give localhost it doesnt..

>

> Any idea why?..

> Any way thanks a lot for you support and help.

>

> Regards,

> Achyuth.

What happens if you ping localhost, or if you try 127.0.0.1

Kaj

kajbja at 2007-7-12 17:46:15 > top of Java-index,Java Essentials,New To Java...
# 11

> Hey!! something stange...

> When i give my ip-address (http://10.117.11.28:8080/)

> it works.

> But when I give localhost it doesnt..

>

> Any idea why?..

> Any way thanks a lot for you support and help.

>

> Regards,

> Achyuth.

Sounds like your hosts file is screwed in some way. Or some sod has a machine with a DNS name of "localhost" on your network

georgemca at 2007-7-12 17:46:15 > top of Java-index,Java Essentials,New To Java...
# 12

georgemc,

dont scare me. Also i dont think there is anyother machine with the DNS name 'localhost'.

kajbj,

When i 'ping 127.0.0.1' it get exists by itself after senting four packets.

Same this happens when i 'ping localhost' also.

Is there anything wrong? :((

-Achyuth

C:\Tomcat\apache-tomcat-6.0.13\bin>ping 127.0.0.1

Pinging 127.0.0.1 with 32 bytes of data:

Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

Ping statistics for 127.0.0.1:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 0ms, Maximum = 0ms, Average = 0ms

achyuthba at 2007-7-12 17:46:15 > top of Java-index,Java Essentials,New To Java...
# 13

> georgemc,

> dont scare me. Also i dont think there is anyother

> machine with the DNS name 'localhost'.

>

I very much doubt there is, too

> kajbj,

>

> When i 'ping 127.0.0.1' it get exists by itself after

> senting four packets.

> Same this happens when i 'ping localhost' also.

>

> Is there anything wrong? :((

Nope. Windows ping command only sends 4 packets by default. What does "ping localhost" give you?

georgemca at 2007-7-12 17:46:15 > top of Java-index,Java Essentials,New To Java...
# 14
> Nope. Windows ping command only sends 4 packets by> default. What does "ping localhost" give you?The same thing (I think that is what he says, that is localhost works, but I think he need to configure tomcat to answer requests to localhost)
kajbja at 2007-7-12 17:46:15 > top of Java-index,Java Essentials,New To Java...
# 15
yes localhost also sents packets for four times.Do you know how I can configure tomcat to answer the requests to the local host?Regards,Achyuth.
achyuthba at 2007-7-21 21:53:52 > top of Java-index,Java Essentials,New To Java...