Permission Denied To /tmp/CompiledJs.data When Installing Two WebCenter Portal On The Same Machine (Doc ID 1663547.1)

Last updated on APRIL 21, 2014

Applies to:

Oracle WebCenter Portal - Version 11.1.1.8.2 and later
Information in this document applies to any platform.

Symptoms

When installing the first WebCenter Portal on a Linux server, it creates the file /tmp/CompiledJs.data with the process owner as the owner of the file. When installing the second WebCenter Portal on the same server but with another process owner, the WebLogic Server instance WC_Portlet fails with the following exception:

<BEA-101162> <User defined listener org.apache.shindig.common.servlet.GuiceServletContextListener failed: com.google.inject.CreationException: Guice creation errors


Error injecting constructor, net.sf.ehcache.CacheException: java.io.FileNotFoundException: /tmp/CompiledJs.data
(Permission denied)
  at org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider.(EhCacheCacheProvider.java:75)
  while locating org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider
  at org.apache.shindig.common.cache.ehcache.EhCacheModule.configure(EhCacheModule.java:32)
  while locating org.apache.shindig.common.cache.CacheProvider
  for parameter 1 at org.apache.shindig.gadgets.features.FeatureRegistry.(FeatureRegistry.java:97)
  at org.apache.shindig.gadgets.features.FeatureRegistry.class(FeatureRegistry.java:67)
  while locating org.apache.shindig.gadgets.features.FeatureRegistry
  for parameter 0 at org.apache.shindig.gadgets.config.CoreUtilConfigContributor.(CoreUtilConfigContributor
.java:52)
  at org.apache.shindig.gadgets.config.CoreUtilConfigContributor.class(CoreUtilConfigContributor.java:52)
  while locating org.apache.shindig.gadgets.config.CoreUtilConfigContributor
  while locating org.apache.shindig.gadgets.config.ConfigContributor annotated with @com.google.inject.multibinding
s.Element(setName=,uniqueId=1)

1 error.
com.google.inject.CreationException: Guice creation errors:



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms