aspose file tools*
The moose likes Tomcat and the fly likes Regarding preconfigured tomcat 6.0.16. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Regarding preconfigured tomcat 6.0.16." Watch "Regarding preconfigured tomcat 6.0.16." New topic
Author

Regarding preconfigured tomcat 6.0.16.

satish ku
Greenhorn

Joined: Mar 12, 2009
Posts: 7
Hello everyone,

i am beginner in Java.
Currently i am using pre configured tomcat server 6.0.16 it used to work fine before and recently i also installed Bea weblogic 10.3 changed the paths and since then i think the tomcat is not working fine.
So i have removed all the extra paths that i have added for weblogic and also uninstalled it but still i am facing the problem.

When i run the startup.bat i get the message "INFO: Server startup in 1618 ms" but when i try to open "http://localhost/" in a browser i won't get the index page.


ujjwal soni
Ranch Hand

Joined: Mar 28, 2007
Posts: 403
Try calling it with http://localhost:8080/


Cheers!!!
Ujjwal B Soni <baroda, gujarat, india> <+919909981973>
"Helping hands are better than praying lips......"
satish ku
Greenhorn

Joined: Mar 12, 2009
Posts: 7
Thank you for the reply.
i tried http://localhost:8080/ and also http://localhost:80/ as my server uses port 80, but its the same. I cannot view the page.
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
What happens instead? A 404? Blank page? Webbrowser default error page? (if so, which?). More details please. Information about the error is highly important to trackback the cause.

Besides, do you also have read the appserver logs? Startup information (under each also the port) and any errors should be logged there. Carefully read it, ask yourself what each line means and if it is correct.
satish ku
Greenhorn

Joined: Mar 12, 2009
Posts: 7
Hi Bauke Scholtz,

Thanks for the lead.
below pasted is the log from the file "logs\catalina.xxxx.xx.xx.log"



this log consists of startup log and also the log after i shutdown the server the only error i could found is "SEVERE: Socket accept failed" and i could not make anything of it.
and the page that is displayed in browser is "Internet Explorer cannot display the webpage".

Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Apparently a firewall is blocking Tomcat.
satish ku
Greenhorn

Joined: Mar 12, 2009
Posts: 7
Hi,

I have manually added tomcat6.exe and tomcat6w.exe to the firewall to allow communication, but still its the same error.

Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Sorry, I now see that you pasted a log of the shutdown as well. Have you manually shut down Tomcat? Is this error only occurring during shutdown?

Anyway, the startup log at its own looks fine.

How have you installed Tomcat? Just downloaded the zip and extracted it to the desired location without any changes? Or did you download the windows executabele? Are you using Tomcat in some IDE like Eclipse and running it from there, or running it standalone?
satish ku
Greenhorn

Joined: Mar 12, 2009
Posts: 7
Hi Bauke Scholtz ,

The tomcat that i am using is a pre configured one where i just downloaded the zip and extracted it to the desired location without any changes.I am using Vista.
I have Eclipse too installed on my system. But currently i am running the tomcat as standalone.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12785
    
    5
I have manually added tomcat6.exe and tomcat6w.exe to the firewall to allow communication, but still its the same error.


Those are just optional startup programs.

The actual running program is always java.exe.

Use the Windows Task Manager to look at running processes.

Bill
satish ku
Greenhorn

Joined: Mar 12, 2009
Posts: 7
Hi William,

You were right when i start my tomcat server, i am able to see a new process "java.exe" in the processes tab of my task manager.
So i went to my firewall settings and i could see there are 6 entries for java.

1)Java(TM) 2 Platform Standard Edition binary --- pointing to the location --- C:\program files\java\jdk1.5.0_16\bin\java.exe
2)Java(TM) 2 Platform Standard Edition binary --- C:\program files\adobe\flex builder 3\jre\bin\javaw.exe
3)Java(TM) 2 Platform Standard Edition binary --- pointing to jrockit in the bea folder.
4)Java(TM) 2 Platform Standard Edition binary --- pointing to jrockit in the bea folder.
5)Java(TM) 2 Platform SE binary --- C:\program files\java\jre1.6.0_05\bin\javaw.exe
6)Java(TM) 2 Platform SE binary --- C:\program files\java\jre6\bin\javaw.exe

So as i have uninstalled Bea Weblogic i have deleted the 3rd and 4th entry.
and also i have deleted the tomcat6 and tomcat6w entries also as i have created them, restarted the system and started my tomcat i am getting the message "INFO: Server startup in 1675 ms" but when i give "http://localhost/" in my browser i get the message "Internet Explorer cannot display the webpage".

satish ku
Greenhorn

Joined: Mar 12, 2009
Posts: 7
Hello everyone,

Can anyone provide further help.

Thanks.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12785
    
    5
Of all the things there are to dislike about MS-IE, those "friendly HTTP error messages" are at the top of the list for developers.

IE is concealing the actual error code which might give you a clue. You can change IE setting as follows:

In the Internet Options dialog (under tools menu)
the Advanced tab
scroll down about 1/3 and look for the "Show friendly HTTP error messages" checkbox in the Browsing section
uncheck that box and you will get more useful error messages

Better solution - get the firefox browser with the plugins that let see what the request-response messages really are.

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regarding preconfigured tomcat 6.0.16.