Posts Tagged ‘java’
Could not load the Tomcat server configuration
Another basic issue I got when I tried to start the server. Initially I was getting the below error,
Could not load the Tomcat server configuration at \Servers\Tomcat v7.0 Server at localhost-config. The configuration may be corrupt or incomplete.
Resource is out of sync with the file system: ‘/Servers/Tomcat v7.0 Server at localhost-config/server.xml’.
I still don’t know whats actual issue but I deleted the existing server from “Servers” tab and recreated it. Now it works!
Change Tomcat Installation directory
As I’m new to JAVA, I find difficult to configure Tomcat or Eclispe. This might be very basic to experienced JAVA users but this post of meant for beginners!
After I installed Tomcat 7.0.22 with Eclispe, I was not able to start the server, It throws “The specified Tomcat installation directory does not exist.”. I remember that I’ve renamed the installation directory after I installed eclipse. In such case, we can change the installation directory.
Go to Menu -> Preferences -> Server -> Runtime Environments
There you will see all the runtimes installed on your server. Select the runtime you want to change and select “Edit”.
Here we can change the installation directory in “Tomcat installation directory” field.
That’s it. It works!
