- 浏览: 619638 次
- 性别:
- 来自: 杭州
文章分类
最新评论
-
kongqinglong:
我艹,不好使,大骗子
基于Eclipse的FindBugs中文插件发布了 -
worket123:
误人子弟,不会就不要乱发
基于Eclipse的FindBugs中文插件发布了 -
accphc:
策略工厂实现Spring的ApplicationContext ...
Spring与策略模式 -
老凯和他的Java:
我也一直不漏的看完了,感触颇深,还是要多花花时间陪陪父母
纪念一位伟大的女性 -
IT_jingying:
认真的看完了,每一位母亲都是伟大的,她为自己的子女,家庭付出的 ...
纪念一位伟大的女性
#!/bin/sh
# ****************************************************************************
# This script is used to start 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
# starts the server.
#
# Other variables that startWLS takes are:
#
# WLS_USER - cleartext user for server startup
# WLS_PW - cleartext password for server startup
# PRODUCTION_MODE - Set to true for production mode servers, false for
# development mode
# JAVA_OPTIONS - Java command-line options for running the server. (These
# will be tagged on to the end of the JAVA_VM and MEM_ARGS)
# JAVA_VM - The java arg specifying the VM to run. (i.e. -server,
# -hotspot, etc.)
# MEM_ARGS - The variable to override the standard memory arguments
# passed to java
#
# For additional information, refer to the WebLogic Server Administration Guide
# (http://e-docs.bea.com/wls/docs81/ConsoleHelp/startstop.html).
# ****************************************************************************
# set up WL_HOME, the root directory of your WebLogic installation
WL_HOME="/data/beahome/weblogic81"
# set up common environment
# Set Production Mode. When this is set to true, the server starts up in
# production mode. When set to false, the server starts up in development
# mode. If it is not set, it will default to false.
PRODUCTION_MODE="true"
# Set JAVA_VENDOR to java virtual machine you want to run on server side.
JAVA_VENDOR="Sun"
# Set JAVA_HOME to java virtual machine you want to run on server side.
JAVA_HOME="/data/beahome/jdk142_11"
. "${WL_HOME}/common/bin/commEnv.sh"
# Set SERVER_NAME to the name of the server you wish to start up.
ADMIN_URL=http://10.9.192.12:7001
SERVER_NAME=testServer
# Set WLS_USER equal to your system username and WLS_PW equal
# to your system password for no username and password prompt
# during server startup. Both are required to bypass the startup
# prompt.
WLS_USER=weblogic
WLS_PW=weblogic
# Set JAVA_VM to java virtual machine you want to run on server side.
# JAVA_VM=""
# Set JAVA_OPTIONS to the java flags you want to pass to the vm. If there
# are more than one, include quotes around them. For instance:
# JAVA_OPTIONS="-Dweblogic.attribute=value -Djava.attribute=value"
MEM_ARGS="-Xms512m -Xmx512m -XX:MaxPermSize=256m"
usage()
{
echo "Need to set SERVER_NAME and ADMIN_URL environment variables or specify"
echo "them in command line:"
echo 'Usage: ./startManagedWebLogic.sh [SERVER_NAME] [ADMIN_URL]'
echo "for example:"
echo './startManagedWebLogic.sh managedserver1 http://localhost:7001'
exit 1
}
# Check for variables SERVER_NAME and ADMIN_URL
# SERVER_NAME and ADMIN_URL must by specified before starting a managed server,
# detailed information can be found at http://e-docs.bea.com/wls/docs81/adminguide/startstop.html.
if [ ${#} = 0 ]; then
if [ "x${SERVER_NAME}" = "x" -o "x${ADMIN_URL}" = "x" ]; then
usage
fi
elif [ ${#} = 1 ]; then
SERVER_NAME=${1}
if [ "x${ADMIN_URL}" = "x" ]; then
usage
fi
elif [ ${#} = 2 ]; then
SERVER_NAME=${1}
ADMIN_URL=${2}
else
usage
fi
# Start WebLogic server
# Reset number of open file descriptors in the current process
# This function is defined in commEnv.sh
resetFd
CLASSPATH="${WEBLOGIC_CLASSPATH}:${CLASSPATHSEP}:${POINTBASE_CLASSPATH}:${CLASSPATHSEP}:${JAVA_HOME}/jre/lib/rt.jar:${CLASSPATHSEP}:${WL_HOME}/server/lib/webservices.jar:${CLASSPATHSEP}:${CLASSPATH}:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.bpm.adapter.bpmi.api-6.2.0.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.bpm.adapter.mfd.api-6.2.0.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.bpm.adapter.mobileoa.api-6.1.1.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.bpm.adapter.mpd.api-6.2.0.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.bpm.adapter.osm.api-6.2.0.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.bpm.adapter.reminder.api-6.2.0.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.bpm.adapter.resourcecopy.api-6.2.0.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.bpm.adapter.search.api-6.1.1.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.bpm.business.sdk.amend-6.2.0.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.bpm.business.sdk-6.2.0.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.bpm.extend.sdk-6.2.0.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.bpm.framework.portal.common-6.2.0.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.bpm.sdk-6.2.0.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.tool.scheduler.api-6.2.0.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.bpm.extended.sdk-6.1.1.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/lib/weblogic-extend/commons-validator-1.1.4.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/lib/weblogic-extend/xercesimpl-2.8.0.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/lib/weblogic-extend/xml-apis-1.0.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/server.xml"
export CLASSPATH
# Start WebLogic server
echo CLASSPATH="${CLASSPATH}"
echo
echo PATH="${PATH}"
echo
echo "***************************************************"
echo "* To start WebLogic Server, use a username and *"
echo "* password assigned to an admin-level user. For *"
echo "* server administration, use the WebLogic Server *"
echo "* console at http://:/console *"
echo "***************************************************"
ulimit -n 4096
"$JAVA_HOME/bin/java" -Dweblogic.Name=${SERVER_NAME} ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} \
-Dweblogic.management.username=${WLS_USER} \
-Dweblogic.management.password=${WLS_PW} \
-Dweblogic.management.server=${ADMIN_URL} \
-Djava.security.policy="${WL_HOME}/server/lib/weblogic.policy" \
-Dapplication-install="/opt/Mocha_Software/Mocha_BPM_6.2.0" \
-Djava.awt.headless=true \
-Dclient.encoding.override=UTF-8 \
weblogic.Server > bpmsvr.log 2>&1
# ****************************************************************************
# This script is used to start 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
# starts the server.
#
# Other variables that startWLS takes are:
#
# WLS_USER - cleartext user for server startup
# WLS_PW - cleartext password for server startup
# PRODUCTION_MODE - Set to true for production mode servers, false for
# development mode
# JAVA_OPTIONS - Java command-line options for running the server. (These
# will be tagged on to the end of the JAVA_VM and MEM_ARGS)
# JAVA_VM - The java arg specifying the VM to run. (i.e. -server,
# -hotspot, etc.)
# MEM_ARGS - The variable to override the standard memory arguments
# passed to java
#
# For additional information, refer to the WebLogic Server Administration Guide
# (http://e-docs.bea.com/wls/docs81/ConsoleHelp/startstop.html).
# ****************************************************************************
# set up WL_HOME, the root directory of your WebLogic installation
WL_HOME="/data/beahome/weblogic81"
# set up common environment
# Set Production Mode. When this is set to true, the server starts up in
# production mode. When set to false, the server starts up in development
# mode. If it is not set, it will default to false.
PRODUCTION_MODE="true"
# Set JAVA_VENDOR to java virtual machine you want to run on server side.
JAVA_VENDOR="Sun"
# Set JAVA_HOME to java virtual machine you want to run on server side.
JAVA_HOME="/data/beahome/jdk142_11"
. "${WL_HOME}/common/bin/commEnv.sh"
# Set SERVER_NAME to the name of the server you wish to start up.
ADMIN_URL=http://10.9.192.12:7001
SERVER_NAME=testServer
# Set WLS_USER equal to your system username and WLS_PW equal
# to your system password for no username and password prompt
# during server startup. Both are required to bypass the startup
# prompt.
WLS_USER=weblogic
WLS_PW=weblogic
# Set JAVA_VM to java virtual machine you want to run on server side.
# JAVA_VM=""
# Set JAVA_OPTIONS to the java flags you want to pass to the vm. If there
# are more than one, include quotes around them. For instance:
# JAVA_OPTIONS="-Dweblogic.attribute=value -Djava.attribute=value"
MEM_ARGS="-Xms512m -Xmx512m -XX:MaxPermSize=256m"
usage()
{
echo "Need to set SERVER_NAME and ADMIN_URL environment variables or specify"
echo "them in command line:"
echo 'Usage: ./startManagedWebLogic.sh [SERVER_NAME] [ADMIN_URL]'
echo "for example:"
echo './startManagedWebLogic.sh managedserver1 http://localhost:7001'
exit 1
}
# Check for variables SERVER_NAME and ADMIN_URL
# SERVER_NAME and ADMIN_URL must by specified before starting a managed server,
# detailed information can be found at http://e-docs.bea.com/wls/docs81/adminguide/startstop.html.
if [ ${#} = 0 ]; then
if [ "x${SERVER_NAME}" = "x" -o "x${ADMIN_URL}" = "x" ]; then
usage
fi
elif [ ${#} = 1 ]; then
SERVER_NAME=${1}
if [ "x${ADMIN_URL}" = "x" ]; then
usage
fi
elif [ ${#} = 2 ]; then
SERVER_NAME=${1}
ADMIN_URL=${2}
else
usage
fi
# Start WebLogic server
# Reset number of open file descriptors in the current process
# This function is defined in commEnv.sh
resetFd
CLASSPATH="${WEBLOGIC_CLASSPATH}:${CLASSPATHSEP}:${POINTBASE_CLASSPATH}:${CLASSPATHSEP}:${JAVA_HOME}/jre/lib/rt.jar:${CLASSPATHSEP}:${WL_HOME}/server/lib/webservices.jar:${CLASSPATHSEP}:${CLASSPATH}:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.bpm.adapter.bpmi.api-6.2.0.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.bpm.adapter.mfd.api-6.2.0.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.bpm.adapter.mobileoa.api-6.1.1.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.bpm.adapter.mpd.api-6.2.0.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.bpm.adapter.osm.api-6.2.0.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.bpm.adapter.reminder.api-6.2.0.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.bpm.adapter.resourcecopy.api-6.2.0.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.bpm.adapter.search.api-6.1.1.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.bpm.business.sdk.amend-6.2.0.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.bpm.business.sdk-6.2.0.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.bpm.extend.sdk-6.2.0.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.bpm.framework.portal.common-6.2.0.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.bpm.sdk-6.2.0.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.tool.scheduler.api-6.2.0.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/com.mdcl.mocha.bpm.extended.sdk-6.1.1.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/lib/weblogic-extend/commons-validator-1.1.4.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/lib/weblogic-extend/xercesimpl-2.8.0.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/lib/weblogic-extend/xml-apis-1.0.jar:/opt/Mocha_Software/Mocha_BPM_6.2.0/share/server.xml"
export CLASSPATH
# Start WebLogic server
echo CLASSPATH="${CLASSPATH}"
echo
echo PATH="${PATH}"
echo
echo "***************************************************"
echo "* To start WebLogic Server, use a username and *"
echo "* password assigned to an admin-level user. For *"
echo "* server administration, use the WebLogic Server *"
echo "* console at http://:/console *"
echo "***************************************************"
ulimit -n 4096
"$JAVA_HOME/bin/java" -Dweblogic.Name=${SERVER_NAME} ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} \
-Dweblogic.management.username=${WLS_USER} \
-Dweblogic.management.password=${WLS_PW} \
-Dweblogic.management.server=${ADMIN_URL} \
-Djava.security.policy="${WL_HOME}/server/lib/weblogic.policy" \
-Dapplication-install="/opt/Mocha_Software/Mocha_BPM_6.2.0" \
-Djava.awt.headless=true \
-Dclient.encoding.override=UTF-8 \
weblogic.Server > bpmsvr.log 2>&1
发表评论
-
从微贷网提现金额数字的bug谈谈如何控制精度
2018-03-10 09:41 956头条号 发表 -
大型跨境电商JVM调优经历
2018-02-23 14:01 10206前提:某大型跨境电商业务发展非常快,线上机器扩容也很频繁, ... -
Spring与策略模式
2014-02-09 18:15 43439... -
Hadoop的一些经验总结
2012-05-05 22:41 01.编写JAVA代码出现如下问题: 2012-4-20 19 ... -
TCP/IP SOCKET HTTP(转帖)
2011-01-12 22:42 3676网络七层由下往上分别为物理层、数据链路层、网络层、传输层、会话 ... -
从JBOSS启动的问题谈及JBOSS中jar的加载顺序
2010-11-24 18:32 12481JBOSS启动的问题解决到CLASSLOADER ... -
Tomcat6启动控制台(manager应用)
2010-11-15 12:40 13407大家都知道,在Tomcat5及其以后的版本中,当启动tomca ... -
Maven的一些错误信息的解决
2010-11-09 12:50 2339一,找不到JDK的问题 Maven安装好之后,Eclipse出 ... -
集群中几种session同步解决方案的比较(转)
2010-05-19 21:20 2433在集群中session安全和同步是个最大的问题,下面是收集到的 ... -
windoews 7兼容的软件介绍
2010-05-03 21:02 1261日前安装了WINDOWS7操作系统(WINDOWS7 ome ... -
X200/T400 win7激活步骤详解
2010-05-01 21:44 6785自从WIN7出来之后,一直 ... -
WTP设置发布的WebContent和SRC目录
2010-04-20 10:28 3069ECLIPSE 中是采用WTP来开发WEB应用的,在每个工 ... -
MSN无法启动的问题
2010-02-07 20:11 2392这几天登录MSN,总是不出来登陆框,可是在进程管理里面却看 ... -
安装WinCVS时Python不可用的问题
2009-09-18 22:00 4015在我装完Wincvs之后,提示我没有安装python,但后来我 ... -
UNIX下面weblogic启动找不到类的错误
2009-09-18 11:20 3567一次现场开发:weblogic报: Error 500-- ...
相关推荐
weblogic 8.1 plugin for Eclipse 3.4 weblogic 8.1 plugin for Eclipse 3.4 weblogic 8.1 plugin for Eclipse 3.4
WebLogic Server 8.1是Oracle公司开发的一款企业级应用服务器,它在Java平台上提供了一个用于构建、部署和管理分布式应用程序的平台。WebLogic Server 8.1的安装过程是IT管理员和开发者需要掌握的关键技能之一,因为...
- 使用命令行或 Weblogic 控制台启动 Weblogic 服务,当控制台显示 Server started in Running mode 时,表示服务已成功启动。 4. **通过浏览器访问管理控制台:** - 在浏览器中输入 http://ip:port/console 来...
在这种情况下,你需要在WebLogic Server的启动脚本中添加`-IWeblogic.webservice.i18n.charset=utf-8`选项,确保服务器在任何区域设置下都能以UTF-8生成消息。强烈推荐使用UTF-8编码,因为它具有广泛的字符集支持。 ...
- **启动服务器**:在“开始”菜单中选择【BEA WebLogic Platform 8.1】>【User Projects】>【mydomain】>【Start Server】启动服务器,或者在配置过程中勾选“Start Admin Server”,安装完成后自动启动服务器。...
- 启动域,例如“mydomain”,通过“Start Server”命令,观察DOS窗口,如果没有错误,表明WebLogic已成功启动。 4. **Oracle9i的安装与配置** - 解压缩Oracle9i的安装文件,并运行“setup.exe”开始安装过程。 ...
1. **J2EE 1.3支持**:WebLogic 8.1是基于J2EE 1.3标准的,这意味着它支持EJB(Enterprise JavaBeans)、Servlet、JSP(JavaServer Pages)、JMS(Java Message Service)等技术。开发者可以利用这些技术构建可扩展...
WebLogic Server 8.1是Oracle公司开发的一款企业级Java应用服务器,它是基于Java EE(Java Platform, Enterprise Edition)标准的,主要用于构建、部署和管理分布式应用程序。在本篇文章中,我们将深入探讨WebLogic ...
WebLogic Server 8.1是Oracle公司开发的一款企业级Java应用服务器,它是基于Java EE(Java Platform, Enterprise Edition)标准的,为构建、部署和管理分布式应用程序提供了全面的平台。这款服务器版本在2002年发布...
weblogic8.1版本_1 BEA WebLogic是用于开发、集成、部署和管理大型分布式Web应用、 网络应用和数据库应用的Java应用服务器。 这个版本很难找哦......
- 修改 `weblogic81\server\bin\startWLS.cmd` 文件中的启动参数。 - 启动 WebLogic 服务,可以通过命令行执行 `startWebLogic.cmd`。 #### 配置数据源 1. **创建 JNDI 数据源**: - 登录 WebLogic 控制台 (`...
### WEBLOGIC 8.1 详细安装及配置指南 #### 一、前言 WebLogic Server 是一款功能强大的企业级 Java 应用服务器,它提供了高性能、高可用性和易于管理的功能,支持 Java EE 规范。对于初学者来说,理解和配置 ...
AIX下运行的weblogic8,weblogic8.1sp5补丁,修复该版本服务无故停止响应的问题
本文档将详细介绍如何在Weblogic 8.1环境下进行应用部署的过程,包括启动Weblogic服务、配置数据源以及部署应用程序等关键步骤。 #### 二、启动Weblogic服务 首先,我们需要启动Weblogic服务。可以通过以下步骤...
- 在`BEA_HOME\user_projects\domains\domain-name`目录下,找到启动WebLogic Server的相关脚本文件,例如`startWebLogic.cmd`(Windows)或`startWebLogic.sh`(Unix/Linux)。 - 编辑这些脚本文件中的`JAVA_...
在"在weblogic8.1中创建域.avi"这个视频文件中,很可能是对上述步骤的可视化演示,观众可以通过观看视频更直观地了解每个步骤的操作过程。这在没有文字说明的情况下尤其有用,因为视频可以展示操作的细节,如鼠标...
安装完成后,可以在安装目录下的bin目录下找到启动脚本。 #### 四、WebLogic Server 8.1的配置指南 1. **配置JMS**:通过WebLogic控制台可以轻松配置JMS服务器、连接工厂和目的地等资源。 2. **配置JDBC**:设置...
WebLogic Server 8.1 是一款由 BEA Systems(后来被甲骨文公司收购)开发的企业级应用服务器,主要用于部署和管理Java EE应用程序。在本文中,我们将详细讲解WebLogic Server 8.1的安装与配置步骤,这对于初学者了解...
WebLogic Server 8.1 是一个历史悠久的企业级Java应用程序服务器,由甲骨文公司开发,用于托管基于Java的Web应用程序和服务。在这个配置部署文档中,我们将深入探讨如何在WebLogic 8.1环境中配置JNDI(Java Naming ...
首先,启动WebLogic Server 8.1。这可以通过在“开始”菜单中找到“BEA WebLogic Platform 8.1/User Projects/mydomain/Start Server”并运行它来完成。接着,打开浏览器,输入`http://localhost:7001/console`,以...