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

book

Article ID: 177707

calendar_today

Updated On:

Products

Endpoint Protection

Issue/Introduction

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.

Symptoms
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(ContextConfig.java:873)
at org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:810)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:588)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:182)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3644)
.
.
.
.
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 java.security.SecureRandom
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\_

 

Cause

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."

Resolution

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.