#!/bin/sh # WARNING: This file is created by the Configuration Wizard. # Any changes to this script may be lost when adding extensions to this configuration. # --- Start Functions --- usage() { echo "You must have a value for SERVER_NAME either set as an environment variable or the first parameter on the command-line." echo "ADMIN_URL defaults to t3://iZbp13mxkrdvorojwpi2c9Z:7001 if not set as an environment variable or the second command-line parameter." echo "USER_NAME and PASSWORD are required for shutting the server down when running in production mode:" echo "Usage: $1 {SERVER_NAME} {ADMIN_URL} {USER_NAME} {PASSWORD}" echo "for example:" echo "$1 managedserver1 t3://iZbp13mxkrdvorojwpi2c9Z:7001 weblogic weblogic" } # --- End Functions --- # ************************************************************************* # This script is used to stop a managed WebLogic Server for the domain in # the current working directory. This script reads in the SERVER_NAME and # ADMIN_URL as positional parameters, sets the SERVER_NAME variable, then # calls the startWLS.cmd script under ${WL_HOME}/server/bin. # # Other variables that startWLS takes are: # # WLS_USER - cleartext user for server startup # WLS_PW - cleartext password for server startup # JAVA_OPTIONS - Java command-line options for running the server. (These # will be tagged on to the end of the JAVA_VM) # JAVA_VM - The java arg specifying the VM to run. (i.e. -server, # -hotspot, etc.) # # For additional information, refer to "Managing Server Startup and Shutdown for Oracle WebLogic Server" # # (http://download.oracle.com/docs/cd/E23943_01/web.1111/e13708/overview.htm) # # ************************************************************************* # Set SERVER_NAME and ADMIN_URL, they must by specified before starting # a managed server, detailed information can be found at # http://download.oracle.com/docs/cd/E23943_01/web.1111/e13708/overview.htm if [ "$1" = "" ] ; then if [ "${SERVER_NAME}" = "" ] ; then usage $0 exit fi else SERVER_NAME="$1" export SERVER_NAME shift fi if [ "$1" = "" ] ; then if [ "${ADMIN_URL}" = "" ] ; then ADMIN_URL="t3://iZbp13mxkrdvorojwpi2c9Z:7001" export ADMIN_URL fi else ADMIN_URL="$1" export ADMIN_URL shift fi DOMAIN_HOME="/home/weblogic/Oracle/Middleware/user_projects/domains/base_domain" ${DOMAIN_HOME}/bin/stopWebLogic.sh $1 $2
时间: 2023-08-22 16:06:24 浏览: 25
这段代码是用来停止一个 WebLogic Server 的 managed server 的脚本。它需要传入 SERVER_NAME 和 ADMIN_URL 作为位置参数,或者将它们设置为环境变量。此外,它还需要 USER_NAME 和 PASSWORD 用来在生产模式下关闭服务器。该脚本调用了 ${DOMAIN_HOME}/bin/stopWebLogic.sh 来停止服务器。
相关问题
报错:No valid entries or contents found, this is not a valid OOXML (Office Open XML) file
这个错误通常是由于尝试打开一个不是有效的Office Open XML文件(.docx,.xlsx等)而导致的。这可能是由于文件已损坏,格式不正确或文件扩展名不正确等原因引起的。
解决此问题的一种方法是尝试使用其他应用程序打开文件,例如Microsoft Word或Excel。如果文件可以在其他应用程序中打开,则可能是您使用的应用程序出现了问题。您可以尝试重新安装该应用程序或使用其他应用程序打开文件。
如果文件仍然无法打开,则可能需要使用文件恢复工具来尝试恢复文件。有许多免费和付费的文件恢复工具可供选择,例如Recuva,EaseUS Data Recovery Wizard等。
vs2022创建nx10openc#wizard时出错
v项目需要哪些基本步骤?
创建NX 10 OpenCv 项目的基本步骤如下:
1. 打开 Visual Studio 2022,选择“创建新项目”。
2. 在“创建新项目”对话框中,选择“Visual C++”、“Windows桌面向导应用程序”以及“空项目”。
3. 填写项目名称和保存位置,然后单击“创建”按钮。
4. 在项目文件夹中,右键单击“头文件”文件夹,选择“添加”、“新建项”。
5. 在“新建项目”对话框中,选择“C++文件(.cpp)”类型。将文件命名为“main.cpp”,然后单击“添加”按钮。
6. 在代码编辑器中,输入包含必要库和命名空间的头文件,例如:
#include <stdio.h>
#include "stdafx.h"
#include <opencv2/opencv.hpp>
using namespace cv;
7. 输入代码,例如:
int _tmain(int argc, _TCHAR* argv[])
{
Mat image;
image = imread("image.jpg", CV_LOAD_IMAGE_COLOR);
imshow("Image", image);
waitKey(0);
return 0;
}
8. 编译和运行代码。
这些基本步骤将创建一个空的VS 2022项目,并向其添加必要的头文件和源代码,以使用OpenCV库读取和显示图像。用户可以根据需要添加其他功能和代码。
相关推荐









jQuery SmartWizard是一个开源的jQuery插件,它可以帮助您在步骤之间引导用户。这个插件提供了一些很好的功能,如向导步骤的验证、自定义样式和事件处理程序等。
以下是使用jQuery SmartWizard的一些步骤:
1. 引入jQuery和jquery.smartWizard.js文件。
2. 创建一个HTML结构来呈现您的向导步骤。您可以使用和元素来创建您的步骤列表。
3. 实例化SmartWizard插件,并将其应用于您的步骤列表。您可以指定一些选项来自定义您的向导,如步骤标题、步骤验证等。
4. 处理事件。SmartWizard插件提供了一些事件,以便您可以在特定的操作发生时执行自定义操作。例如,您可以使用onLeaveStep事件在用户离开步骤时执行一些操作。
以下是一个简单的示例代码:
html
<!DOCTYPE html>
<html>
<head>
<title>jQuery SmartWizard Demo</title>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="jquery.smartWizard.js"></script>
</head>
<body>
jQuery SmartWizard Demo
Step 1
Step 2
Step 3
This is step 1
This is step 2
This is step 3
<script>
$(document).ready(function(){
$('#smartwizard').smartWizard({
selected: 0,
theme: 'default',
transitionEffect:'fade',
showStepURLhash: false
});
});
</script>
</body>
</html>
这个示例代码演示了如何使用SmartWizard插件创建一个简单的向导。在这个代码中,我们定义了一个包含三个步骤的向导,并使用smartWizard()方法将SmartWizard插件应用于它。我们指定了一些选项,例如默认选择的步骤、主题、过渡效果和是否显示步骤的URL哈希。通过这些选项,我们可以自定义我们的向导以满足我们的需求。
希望这些信息对您有所帮助!




