If you have installed weblogic as non-root user, while starting weblogic you might face below error in logs.
Weblogic Version: 10.3.3
OS: Linux x86-64
Installed by non-root user.
<Jul 12, 2011 6:58:11 PM EDT> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class “DMS-Startup”, java.lang.NoClassDefFoundError: oracle/dfw/impl/common/TempFileManager
During WLS installation if permissions are not there for /usr/tmp directory even though the WLS installation was successful, while starting the Admin server you will get the above exception.
To avoid above error while installing as non-root user follow below steps:
Setting Up the Temporary Directory
|Windows||Do one of the following:
|UNIX||Enter the following option on the command line when you start the installation program:
The installation program uses a temporary directory into which it extracts the files that are needed to install the software on the target system. During the installation process, your temporary directory must contain sufficient space to accommodate the compressed Java Run-time Environment (JRE) bundled with the installation program and an uncompressed copy of the JRE that is expanded into the temporary directory. The extracted files are deleted from the temporary directory after the installation process. The files in the temporary directory require approximately 2.5 times the space that is ultimately required for the installation.
By default, the installation program uses the following temporary directories:
Windows platforms—directory referenced by the TMP system variable
UNIX platforms—system-dependent temporary directory