WebLogicServer12.2.1.3 Server failed to start configuration workaround

Source: Internet
Author: User

WebLogicServer12.2.1.3 install Finally, the hook will be hit, click Done, will open the cmd window, execute the cmd file to open the configuration of the graphical interface.

Probably because of Windows 8, the CMD Startup window failed, to the installation path "E:\Oracle\Middleware\Oracle_Home\oracle_common\common\bin" Find the Config.cmd file run, the results are still flashing, you can add "pause" in the file, such as the red box inside.

Can clearly see the reasons for failure, such as:

For this kind of problem, first search, find the solution to the problem.

Solutions available from the Web:

1. Add Environment variables

2. Use the package path

3.c:progra~1\ ....

Because my software is functioning as a JDK based on the "program Files" environment variable, discard scenario 1. Scenario 2 and Scenario 3 tried.

For the analysis of the problem, the final regression to the cmd file, the Config.cmd file, calls two external cmd files (see ellipse)

Because WebLogic is a pure Java-written server that requires CMD or bat to start, excluding the software itself, it naturally takes into account the environment variables, and now needs to look at the statements in the calling file that have no environment variable settings.

The contents of the Fmwconfig_common.cmd file are as follows, the environment variables are not present and should be skipped.

@ECHO OFF
SETLOCAL

@REM determine the location of this script ...
SET scriptpath=%~dp0
For%%i in ("%scriptpath%") do SET SCRIPTPATH=%%~FSI

SET internal_script=%1

SET Wls_oracle_home=e:\oracle\middleware\oracle_home
For%%i in ("%wls_oracle_home%") do SET WLS_ORACLE_HOME=%%~FSI

IF EXIST "%wls_oracle_home%\oracle_common\common\bin\%internal_script%" (
SET internal_script_path=%wls_oracle_home%\oracle_common\common\bin\%internal_script%
) ELSE (
SET internal_script_path=%scriptpath%\%internal_script%
)

@REM removes the first argument which is the internal script name
for/f "tokens=1,* delims="%%a in ("%*") do set args=%%b

@REM Delegate to the common delegation script ...
Call "%internal_script_path%"%args%

SET return_code=%errorlevel%

Config_internal.cmd the environment variable configuration, you can manually create an environment variable, replace the%java_home%, so it does not conflict with each other, but also solve the problem!

Part of the Config_internal.cmd

My method of operation: (1) Copy the jdk1.8 to the path: E:\Oracle\Middleware\Oracle_Home\oracle_common, re-specify a copy of the WEBLOGIC operating environment (%weblogic_java_ home%).

(2) Modify path: E:\Oracle\Middleware\Oracle_Home\oracle_common\common\bin under Config_internal.cmd file, replace%java_home%,% Weblogic_java_home%

(3) Run "E:\Oracle\Middleware\Oracle_Home\oracle_common\common\bin\config.cmd" to start the configuration interface as shown in.

WebLogicServer12.2.1.3 Server failed to start configuration workaround

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.