Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Tip

ProTip: Try taking a look at the relevant logs on the server. Google and stack overflow are excellent resources for troubleshooting errors.

...

The repository url must match exactly. Typically this happens when http is typed instead of https. 

Unable to start repository after installation, error is a classNotFoundException

Code Block
languagebash
themeEmacs
titleClassNotFoundException starting Repository
SEVERE: Servlet.service() for servlet [jsp] in context with path [] threw exception [org.eaglei.repository.status.InternalServerErrorException: javax.servlet.ServletException: javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory]] 

This is an indication that tomcat has either been incorrectly installed or is missing a key jar file. It seems certain distributions do not include this jar file. Download the jar manually and place it in the tomcat's lib folder, /opt/apache-tomcat-7.0.39/lib. If your distribution does have this jar, try replacing it with the download.