Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Eclipse Web Tools Platform Project (WTP) » tomcat start error(error while starting tomcat7 from Eclipse Luna)
tomcat start error [message #1804575] Thu, 28 March 2019 20:09 Go to next message
Prithvi Raj is currently offline Prithvi RajFriend
Messages: 1
Registered: March 2019
Junior Member
While I select server from the bottom panel of the Eclipse, Eclipse pops up an error message.
could not load the server configuration...
Please see the attached snapshot for complete problem.
OS: Ubuntu 14.04
Eclipse Standard/SDK
Version: Luna Release (4.4.0).
Please Help me, if you know the solution.
https://www.eclipse.org/forums/index.php?t=getfile&id=18930&
Re: tomcat start error [message #1804874 is a reply to message #1804575] Tue, 02 April 2019 15:00 Go to previous message
Stephanie Cao is currently offline Stephanie CaoFriend
Messages: 1
Registered: April 2019
Junior Member
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.
Previous Topic:User Operation is Waiting Forever
Next Topic:Eclipse Glassfish tools support for Glassfish 5.1
Goto Forum:
  


Current Time: Wed Apr 24 23:19:52 GMT 2024

Powered by FUDForum. Page generated in 0.02985 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top