|
Re: tomcat start error [message #1804874 is a reply to message #1804575] |
Tue, 02 April 2019 11:00  |
Eclipse User |
|
|
|
Hi,
This issue is because Eclipse is expecting all tomcat configuration files etc to be all in the same location.
If you use apt-get to install tomcat on uubntu, it is spread across /var/log, /usr/share /var/lib etc.
You can follow this to resolve this issue:
cd /usr/share/tomcat7
sudo ln -s /var/lib/tomcat7/conf conf
sudo ln -s /var/log/tomcat7 log
sudo ln -s /etc/tomcat7/policy.d/03catalina.policy conf/catalina.policy
sudo chmod -R a+rwx /usr/share/tomcat7/conf
Remove the Tomcat server from server view & add it back.
Just delete the desired server from the Servers view (Window -> Show View -> Servers) and then go to Window -> Preferences -> Server -> Runtime Environment -> Add and add the server again.
Also found another solution in StackOverflow:
This could happen when Eclipse is not finding Tomcat's configuration files where they are expected to be. This place is in
$eclipse_workspace_folder/$version_of_your_tomcat_server_at_localhost/
(by default if you didn't changed server's name). So you have to copy all the files under your $tomcat_installation_folder/conf/* to the workspace server's folder.
You might also need to remove and add back your server.
Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.04250 seconds