BEA-000286 : Failed to invoke startup class error on weblogic

Oracle Weblogic Server

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:

  • Set the TMP system variable to a directory of your choice.
  • If you run the installation program from the command line, include the -Djava.io.tmpdir=tmpdirpath option, replacing tmpdirpath with the full path of the directory you want to designate as a temporary storage area for the installation program.For example, to set up the temporary directory while running the WebLogic Server Package installer for Windows, execute this command:
    wls1034_win32.exe -mode=console -Djava.io.tmpdir=C:\Temp
UNIX Enter the following option on the command line when you start the installation program:

-Djava.io.tmpdir=tmpdirpath

Here, tmpdirpath is the full path of the directory you want to designate as a temporary storage area for 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

 

 

In case of any ©Copyright or missing credits issue please check CopyRights page for faster resolutions.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.