• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Windows 7 and Tomcat compatibility?

 
Ranch Hand
Posts: 103
jQuery Netbeans IDE Notepad
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try invoking the startup.bat from the command prompt. You will get an error message there if any.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:

 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I had the same error caused by SKYPE running in the background. Disabled and server started.

Trevor
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Do Re Mi Fa So La Tiny Ad
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic