Bootstrap FreeKB - Java - Resolve "Could not load the server configuration" in Eclipse
Java - Resolve "Could not load the server configuration" in Eclipse

Updated:   |  Java articles

This error appears when attempting to start a server in Eclipse.

 

There may be some issue with the permissions of the files needed to start the server. For example, a Tomcat server will create the following files. 

  • /home/john.doe/eclipse-workspace/Servers/Tomcat v8.0 Server/catalina.policy
  • /home/john.doe/eclipse-workspace/Servers/Tomcat v8.0 Server/catalina.properties
  • /home/john.doe/eclipse-workspace/Servers/Tomcat v8.0 Server/context.xml
  • /home/john.doe/eclipse-workspace/Servers/Tomcat v8.0 Server/server.xml
  • /home/john.doe/eclipse-workspace/Servers/Tomcat v8.0 Server/tomcat-users.xml
  • /home/john.doe/eclipse-workspace/Servers/Tomcat v8.0 Server/web.xml

Ensure the appropriate files exists, with the proper permissions.

[john.doe@server1 ~]# ls -l /home/john.doe/eclipse-workspace/Servers/Tomcat v8.0 Server
-rw-rw-r--. 1 john.doe john.doe 12768 July 2 13:25 catalina.policy
-rw-rw-r--. 1 john.doe john.doe  7299 July 2 13:25 catalina.properties
-rw-rw-r--. 1 john.doe john.doe  1574 July 2 13:25 context.xml
-rw-rw-r--. 1 john.doe john.doe  6302 July 2 13:25 server.xml
-rw-rw-r--. 1 john.doe john.doe  2120 July 2 13:25 tomcat-users.xml
-rw-rw-r--. 1 john.doe john.doe 16848 July 2 13:25 web.xml

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 93a52d in the box below so that we can be sure you are a human.