• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Windows 7 and Tomcat compatibility?

 
Prash Singh
Ranch Hand
Posts: 103
jQuery Netbeans IDE Notepad
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,

My System Configuration is as follows:
Processor: AMD Athlon (tm) 64X2 Dual Core Processor 3600 + 2.01 Ghz
System Type: 64-bit Operating System
Windows 7 ultimate

I downloaded Tomcat 6.0.26 and tried to configure on my system.

But no matter what I tried ,nothing helped me.

Please suggest me something.


Note: If I follow same steps in XP environment. everything works just fine.


Thanks in Advance.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I downloaded Tomcat 6.0.26 and tried to configure on my system.

But no matter what I tried ,nothing helped me.


You have to tell us more on what that means. What exactly did you try to configure? And what doesn't work? Which version and vendor of Java do you have on that system? How do you start the server? Do you see any errors?
 
Prash Singh
Ranch Hand
Posts: 103
jQuery Netbeans IDE Notepad
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Sir,

Thanks fro you reply.

My Java Version is jdk1.6.0_18.
and it's Apache Tomcat version 6.0.26.

On installing Apache, A Apache Software Foundation\Tomcat 6\.. directory structure is created.
When I try to start Apache Server from Tomcat6\bin\tomcat6, then a cmd windows flashes only.
No server is started.

Initially It also showed an error about UAC. But I somehow managed that.
But the Tomcat service is still not running, even on manual starting.

 
Maneesh Godbole
Saloon Keeper
Posts: 11027
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try invoking the startup.bat from the command prompt. You will get an error message there if any.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you sure it hasn't started?

Have you tried going to http://localhost:8080 to see if it responds to requests?
Have you gone through any of the logs in tomcat/logs?

If you've tried a bunch of times, the logs will probably be large.
At a point like that, I usually delete all the logs, try to start it (once) and then start looking through the logs to see if there are any errors mentioned in them.

If you see an error that you don't understand post it here.
 
Prash Singh
Ranch Hand
Posts: 103
jQuery Netbeans IDE Notepad
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

going to http://localhost:8080 results in the following message.

Firefox can't establish a connection to the server at localhost:8080.

I tried to manually start the server using startup.bat.
but my tomacat 6/ bin folder doesnot have this file.

I am confused , please help.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you also try Maneesh's suggestion? My guess is that it's a problem with JAVA_HOME value. What is the output of the following command:

 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried to manually start the server using startup.bat.
but my tomacat 6/ bin folder doesnot have this file.


Probably you installed with the .exe installer which expects you to be creating a service.

For experimenting with Tomcat you should use the full zipped file download. That gives you the startup.bat and a whole lot more control over starting and stopping Tomcat.

I think it was remarkably stupid of Apache to create the exe installer that way. It has caused lots of people lots of troubles.

Bill
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have the *.exe version try to start Tomcat from the start menu item.
Start -> Apache Tomcat
 
Prash Singh
Ranch Hand
Posts: 103
jQuery Netbeans IDE Notepad
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

Thanks for such a help..
Well for the time being I have shifted to use Zip version of Apache.

But now I am facing another problem.

My Server Information

Tomcat Version JVM Version JVM Vendor OS Name OS Version OS Architecture
Apache Tomcat/6.0.26 1.6.0_18-b07 Sun Microsystems Inc. Windows 7 6.1 x86


Now when I launch Tomcat Server using startup.bat, server starts but it is showing following exceptions.
Please help, what does it mean and what to do.?



 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could this be some sort of Windows security or Anti-Virus program? I know my AV has a fit when an unauthorized program tries to act as a web server.

Bill
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like you've got the version with APR.

Try this:
Remove tcnative-1.dll from the tomcat/bin directory and restart Tomcat.
 
T Smith
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had the same error caused by SKYPE running in the background. Disabled and server started.

Trevor
 
Nandlal Prajapati
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
go to
run->services.msc->disable the Apache Tomcat
thats all ,it was happening because during your windows startup tomcat server used to start automatically.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic