살군의 보조기억 장치

Another memory device…

adding tomcat6 to eclipse (cannot add a server problem)

leave a comment »

You would have found below solution unless you found my blog before searching an answer, and it would work well except some other cases like me.

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

It did work well until I switched “workspace.” When I changed it, I couldn’t add a server and I was confused. I took several hours and I found a solution finally. A permission of “tomcat-users.xml” file caused a problem adding the server into eclipse. Here’s a solution.

sudo chmod 777 /usr/share/tomcat6/conf/tomcat-users.xml

Done! Now my eclipse works well.

Advertisements

Written by gomiski

2011/08/12 at 6:30 am

Posted in General, Java, Lecture, Linux

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: