Error: Failed to connect to the server: Required temporary directory $CATALINA_BASE/temp is missing


Article ID: 177707


Updated On:


Endpoint Protection


When you attempt to login to the Symantec Endpoint Protection Manager, you receive the following error: "Failed to connect to the server". The Symantec Endpoint Protection Manager service does not stay started.

When looking at the "Catalina.out" log file, you find message "Context startup failed due to previous errors"

Also scmserver0.log gives error "Error=java.sql.SQLException"

And localhost_scm_log. gives the following error

2009-06-03 10:29:32 WebappLoader[]: Deploy JAR /WEB-INF/lib/scm-server.jar to D:\Program Files\Symantec\Symantec Endpoint Protection Manager\tomcat\webapps\scm\WEB-INF\lib\scm-server.jar
2009-06-03 10:29:33 ContextConfig[] Required temporary directory $CATALINA_BASE/temp is missing
javax.servlet.ServletException: Required temporary directory $CATALINA_BASE/temp is missing
at org.apache.catalina.startup.ContextConfig.tldScanJar(
at org.apache.catalina.startup.ContextConfig.tldScan(
at org.apache.catalina.startup.ContextConfig.start(
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
at org.apache.catalina.core.StandardContext.start(
Later you see

2009-06-03 11:18:19 ContextConfig[]: Marking this application unavailable due to previous error(s)
2009-06-03 11:18:19 StandardManager[]: Seeding random number generator class
2009-06-03 11:18:19 StandardManager[]: Seeding of random number generator has been completed
2009-06-03 11:18:19 StandardContext[]: Context startup failed due to previous errors
2009-06-03 11:18:48 WebappLoader[]: Deploying class repositories to work directory D:\Program Files\Symantec\Symantec Endpoint Protection Manager\tomcat\work\scm\localhost\_



Tomcat Configuration requires the temp directory to be present for normal functionality. If the "temp" folder is missing you get an error in the log "localhost_scm_log."


In order to resolve this issue

  1. Browse to the following location
    "C:\Program Files\Symantec\Symantec EndPoint Protection Manager\tomcat"
  2. Create a "temp" folder.
  3. Start the Symantec Endpoint Protection Manager service.
  4. Attempt to login to the Symantec Endpoint Protection Manager.