aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes why eclipse is still running older tomcat version Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "why eclipse is still running older tomcat version" Watch "why eclipse is still running older tomcat version" New topic
Author

why eclipse is still running older tomcat version

Jayant Joshi
Greenhorn

Joined: Feb 03, 2012
Posts: 18
Today I have downloaded Eclipse kepler release and added tomcat 7.0.42 to it. My older Eclipse IDE had tomcat 6.0.37.

Now I have imported my same old WORKSPACE to Eclipse kepler. But when I am starting my tomcat 7
it getting started correctly but with the following error



Its true that my older tomcat 6 version was for 64-bit system type but somehow it worked with my eclipse IDE. All my projects are working fine.
But as can be seen in console why both tomcat 6 and tomcat 7 servers are getting started even when my 'server perspective'
showing only tomcat 7 as added. I know its something because of same workspace I am using or may be both the tomcat versions
are added with same port number 8080. I tried everything from my side but couldnt able to stop tomcat 6 from getting started or to
remove java.lang.UnsatisfiedLinkError. Please advice me on that.
Thanks in advance.

-Jayant
Jayant Joshi
Greenhorn

Joined: Feb 03, 2012
Posts: 18
The full console content is here after server gets started

Jayant Joshi
Greenhorn

Joined: Feb 03, 2012
Posts: 18
Okay when I remove tomcat 6 from D:\Software\Apache software\apache-tomcat-6.0.37-windows-x64 then this error is not coming. Still don't know how it generated.
Jayant Joshi
Greenhorn

Joined: Feb 03, 2012
Posts: 18
I removed the classpath too for tomcat 6 and replaced it with tomcat 7. This could be the reason why I am not getting that error any more. But I am not sure. No one here to reply to this thread ?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

If you loaded the old workspace, it still has Tomcat 6 registered. And all of the projects you had earlier deployed to Tomcat 6 will still use 6. To use Tomcat 7, you'll have to first configure it and then switch all of your projects to use 7.


JBoss In Action
Jayant Joshi
Greenhorn

Joined: Feb 03, 2012
Posts: 18
Currently I am not getting any error but I undo everything to regenerate it. Like changing classpath, copied tomcat 6 where it was before etc but still couldn't regenerate the error. Anyways thanks for your reply Peter. I will keep it in mind.

-Jayant
Jayant Joshi
Greenhorn

Joined: Feb 03, 2012
Posts: 18
Finally I could able to regenerate the same error again. But deploying my project with tomcat 7 doesnt help. What I did was, I opened my old eclipse IDE and removed tomcat 6 as a server which was added previously. This removed all configurations of tomcat 6 from my workspace. When I opened it again with new eclipse kepler IDE with tomcat 7 added, this error was gone. For me this thread is resolved.

-Jayant
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: why eclipse is still running older tomcat version