BEA-000286 : Failed to invoke startup class error on weblogic
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
java.lang.NoClassDefFoundError: oracle/dfw/impl/common/TempFileManager
at oracle.dfw.spi.portable.PortableDiagnosticsFrameworkProvider.init(PortableDiagnosticsFrameworkProvider.java:120)
at oracle.dfw.framework.DiagnosticsFramework.initializeProvider(DiagnosticsFramework.java:98)
at oracle.dfw.framework.DiagnosticsFramework.<init>(DiagnosticsFramework.java:53)
at oracle.dms.wls.DMSStartup.start(DMSStartup.java:212)
at oracle.dms.wls.DMSStartup.startUp(DMSStartup.java:118)
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
Platform | Procedure |
---|---|
Windows | Do one of the following:
|
UNIX | Enter the following option on the command line when you start the installation program:
-Djava.io.tmpdir=tmpdirpath Here, |
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
In case of any ©Copyright or missing credits issue please check CopyRights page for faster resolutions.