Tuesday, October 8, 2013

How to Configure Tomcat 6.0

I think it's very interesting to do this job because on one hand it's really simple to do, but on the other hand, we always make some mistakes when we do it, so I just write down my experience here, the software I use is MyEclipse 10.0:



      1. after you open MyEclipse, you should create a new web Project;

      2. and then, choose the "Window" on status bar, select the "Preferences";it'll pop a window just like the picture below, look at the left column, click "MyEclipse", and then "Servers". You'll see the "Tomcat" option lists in "Servers", click it and choose "Tomcat 6.x";Preferences

      3. and then it'll display like this, you should choose the "Enable" button, and Browse your Tomcat home directory, remember the most important thing, when you install your Tomcat, let the path as simple as possible.2

      4. after this, open your cmd (Command Shell), input "netstat -ano", enter it, you'll see a long list of PID, find the row, whose Local Address is :8080, and remember the PID of it.3

      5. then open the Task Manager and check the Details, find the task whose PID is 8080, and end the task.4

      6. Ok, you have done most of the job, the last thing to do is to run your Tomcat, and Deploy your project, and then add the Tomcat on your project, after that, you can check if it can run in browse.



16 comments:

  1. I was just seeking this information for a while. After 6 hours of continuous Googleing, finally I got it in your web site. I wonder what is the lack of Google strategy that don't rank this type of informative web sites in top of the list. Normally the top web sites are full of garbage.
    parajumpers

    ReplyDelete
  2. hi!,I really like your writing so a lot! percentage we keep up a correspondence extra about your post on AOL? I need a specialist in this house to resolve my problem. Maybe that's you! Having a look forward to see you.
    uggs cyber monday

    ReplyDelete
  3. I think this is one of the most vital information for me. And i am glad reading your article. But wanna remark on few general things, The site style is ideal, the articles is really excellent : D. Good job, cheers
    uggs cyber monday

    ReplyDelete
  4. This is a cool plus beneficial item of details. I'm just satisfied which you discussed this handy information and facts with us. You need to stop us up-to-date in this way. Many thanks for revealing.

    ReplyDelete
  5. Really Useful Website! Many thanks With this Weblog!

    ReplyDelete
  6. I simply want to tell you that I am just newbie to blogs and absolutely loved you're website. Most likely I’m going to bookmark your blog . You amazingly come with perfect well written articles. Cheers for sharing your blog.

    ReplyDelete
  7. Wow! This could be one particular of the most useful blogs We've ever arrive across on this subject. Actually Excellent. I am also a specialist in this topic so I can understand your effort.
    ugg boots black friday sale

    ReplyDelete
  8. I gotta bookmark this web site it seems extremely helpful invaluable

    ReplyDelete
  9. Thanks for sharing excellent informations. Your website is so cool. I am impressed by the details that you've on this site. It reveals how nicely you understand this subject. Bookmarked this web page, will come back for extra articles. You, my friend, ROCK! I found simply the info I already searched everywhere and just could not come across. What a great web site.
    parajumpers long bear

    ReplyDelete
  10. I have not checked in here for some time since I thought it was getting boring, but the last several posts are great quality so I guess I will add you back to my daily bloglist. You deserve it friend :)
    parajumpers long bear

    ReplyDelete
  11. We in fact similar to your website distribute. Maintain uploading much more valuable details, all of us regards!

    ReplyDelete
  12. I just want to mention I am very new to blogs and actually enjoyed this page. More than likely I’m likely to bookmark your blog . You really have awesome article content. With thanks for sharing your website page.

    ReplyDelete
  13. Right herre is the perfect webb site for anyone who would like to
    fin out about this topic. You realize a whole lot its almost hard to argue with you (not that I really will need to…HaHa).

    You certainly put a new spin on a subject that hhas been ritten about for decades.
    Excellent stuff, just great!

    ReplyDelete
  14. Wow, this piece of writing is fastidious, my younher sister is analyzing these
    kinds of things, thus I am going to convey her.

    ReplyDelete