Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Eclipse 3.5 and Tomcat6.0.18_ubuntu not playing well together!!

  1. #1
    Join Date
    Oct 2009
    Beans
    1

    Eclipse 3.5 and Tomcat6.0.18_ubuntu not playing well together!!

    I am having trouble setting up a tomcat runtime in eclipse. Various jars are missing in various folders:
    home/bin/bootstrap.jar lib/jasper-el.jar and servletapi6.jar

    every time I download and place a jar I still need one more. Perhaps the problem is that the tomcat6 version is a ubuntu synaptic package and the eclipse version I am using is not.

    any suggestions or experience with this? I would rather keep tomcat as a synaptic package.

    running Ubuntu 9.04, tomcat6.0.18-0ubuntu1.6, eclipse 3.5 build:20090920-1017. anyone have a similar experience???

  2. #2
    Join Date
    Sep 2009
    Beans
    6
    Distro
    Ubuntu

    Re: Eclipse 3.5 and Tomcat6.0.18_ubuntu not playing well together!!

    Don't worry brother I'm having the exact same problem. They definitely don't play nice at all. I'm running the exact same setup as you except I'm running Ubuntu Karmic.

    Anyone got any ideas?

  3. #3
    Join Date
    Jan 2008
    Beans
    1

    Re: Eclipse 3.5 and Tomcat6.0.18_ubuntu not playing well together!!

    I'm having the same problem.

    Eclipse doesn't allow me to create web application while configuring Tomcat 6. It asked to set the Tomcat installation folder, if i set "/usr/share/tomcat6" then it shows "The Tomcat installation directory is not valid. It is missing expected file or folder conf.", if i set "/var/lib/tomcat6" then it shows "The Tomcat installation directory is not valid. It is missing expected file or folder lib/jasper-el.jar."

  4. #4
    Join Date
    Oct 2007
    Location
    Netherlands
    Beans
    4
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Eclipse 3.5 and Tomcat6.0.18_ubuntu not playing well together!!

    A workaround would be to manually download and install tomcat from http://tomcat.apache.org/. This worked for me on opensuse 11.2 which has the same issue.

    I'll try with sym links later tonight, i dont like to install software manually when i get can get it from the repo...

  5. #5
    Join Date
    Jan 2010
    Beans
    19
    Distro
    Ubuntu 9.10 Karmic Koala

    Wink How to Eclipse 3.5 and Tomcat6

    In terminal:
    Code:
    sudo apt-get install tomcat6
    cd /usr/share/tomcat6
    sudo ln -s /var/lib/tomcat6/conf conf
    sudo ln -s /etc/tomcat6/policy.d/03catalina.policy conf/catalina.policy
    sudo ln -s /var/log/tomcat6 log
    sudo chmod -R 777 /usr/share/tomcat6/conf
    Configure eclipse. Tomcat home is /usr/share/tomcat6

  6. #6
    Join Date
    Jul 2009
    Beans
    3

    Re: Eclipse 3.5 and Tomcat6.0.18_ubuntu not playing well together!!

    This was extremely helpful. Thank you very much!

  7. #7
    Join Date
    Jan 2009
    Beans
    7

    Re: Eclipse 3.5 and Tomcat6.0.18_ubuntu not playing well together!!

    Thank you DisDis! Your solution really helped me.

    As most Ubuntu users, I hate having to manually install software when it's available in the repos.

    Tarek.

  8. #8
    Join Date
    May 2010
    Beans
    1

    Re: How to Eclipse 3.5 and Tomcat6

    Quote Originally Posted by DisDis View Post
    In terminal:
    Code:
    sudo apt-get install tomcat6
    cd /usr/share/tomcat6
    sudo ln -s /var/lib/tomcat6/conf conf
    sudo ln -s /etc/tomcat6/policy.d/03catalina.policy conf/catalina.policy
    sudo ln -s /var/log/tomcat6 log
    sudo chmod -R 777 /usr/share/tomcat6/conf
    Configure eclipse. Tomcat home is /usr/share/tomcat6

    I don't mean to seem dumb, but I keep reading the way to configure eclipse is under: Window -> Preferences -> Server -> Runtime Environment. I am using eclipse 3.5.1 and it doesn't have a Server section under Window -> Preferences. Would you get me started in the right direction?

    Thanks!

  9. #9
    Join Date
    May 2006
    Location
    vijayawada
    Beans
    32

    Re: Eclipse 3.5 and Tomcat6.0.18_ubuntu not playing well together!!

    Are you using Eclipse--J2EE environment?
    I think you might be trying with Eclipse-J2SE.



    Thanks,
    Srikanth Kodali.

  10. #10
    Join Date
    Dec 2010
    Beans
    2

    Re: Eclipse 3.5 and Tomcat6.0.18_ubuntu not playing well together!!

    Hi,

    thanks for the solution. I needed to extend the following command to make it work:

    sudo apt-get install tomcat6
    cd /usr/share/tomcat6
    sudo ln -s /var/lib/tomcat6/conf conf
    sudo ln -s /etc/tomcat6/policy.d/03catalina.policy conf/catalina.policy
    sudo ln -s /var/log/tomcat6 log
    sudo chmod -R 777 /usr/share/tomcat6/conf

    #Addition
    sudo ln -s /var/lib/tomcat6/webapps webapps
    sudo chmod -R 777 /usr/share/tomcat6/webapps

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •