精华内容
下载资源
问答
  • yjsy 配置文件 weblogic setDomainEnv.cmd

    千次阅读 2010-01-09 11:41:00
    @REM your domain, be sure to edit the setDomainEnv in the associated domain on @REM each machine. @REM @REM -Djava.security.manager @REM -Djava.security.policy=location of weblogic.policy @REM -...

    @ECHO OFF

    @REM WARNING: This file is created by the Configuration Wizard.
    @REM Any changes to this script may be lost when adding extensions to this configuration.

    @REM *************************************************************************
    @REM This script is used to setup the needed environment to be able to start Weblogic Server in this domain.
    @REM
    @REM This script initializes the following variables before calling commEnv to set other variables:
    @REM
    @REM WL_HOME         - The BEA home directory of your WebLogic installation.
    @REM JAVA_VM         - The desired Java VM to use. You can set this environment variable before calling
    @REM                   this script to switch between Sun or BEA or just have the default be set.
    @REM JAVA_HOME       - Location of the version of Java used to start WebLogic
    @REM                   Server. Depends directly on which JAVA_VM value is set by default or by the environment.
    @REM USER_MEM_ARGS   - The variable to override the standard memory arguments
    @REM                   passed to java.
    @REM PRODUCTION_MODE - The variable that determines whether Weblogic Server is started in production mode.
    @REM DOMAIN_PRODUCTION_MODE
    @REM                 - The variable that determines whether the workshop related settings like the debugger,
    @REM                   testconsole or iterativedev should be enabled. ONLY settable using the
    @REM                   command-line parameter named production
    @REM                   NOTE: Specifying the production command-line param will force
    @REM                          the server to start in production mode.
    @REM
    @REM Other variables used in this script include:
    @REM SERVER_NAME     - Name of the weblogic server.
    @REM JAVA_OPTIONS    - Java command-line options for running the server. (These
    @REM                   will be tagged on to the end of the JAVA_VM and
    @REM                   MEM_ARGS)
    @REM
    @REM For additional information, refer to the WebLogic Server Administration
    @REM Console Online Help(http://e-docs.bea.com/wls/docs103/ConsoleHelp/startstop.html).
    @REM *************************************************************************

    set WL_HOME=D:/bea/wlserver_10.3
    for %%i in ("%WL_HOME%") do set WL_HOME=%%~fsi

    set BEA_JAVA_HOME=D:/bea/jrockit_160_05

    set SUN_JAVA_HOME=D:/bea/jdk160_05

    if "%JAVA_VENDOR%"=="BEA" (
     set JAVA_HOME=%BEA_JAVA_HOME%
    ) else (
     if "%JAVA_VENDOR%"=="Sun" (
      set JAVA_HOME=%SUN_JAVA_HOME%
     ) else (
      set JAVA_VENDOR=BEA
      set JAVA_HOME=D:/bea/jrockit_160_05
     )
    )

    @REM We need to reset the value of JAVA_HOME to get it shortened AND
    @REM we can not shorten it above because immediate variable expansion will blank it

    set JAVA_HOME=%JAVA_HOME%
    for %%i in ("%JAVA_HOME%") do set JAVA_HOME=%%~fsi

    set SAMPLES_HOME=%WL_HOME%/samples

    set DOMAIN_HOME=D:/bea/user_projects/domains/base_domain
    for %%i in ("%DOMAIN_HOME%") do set DOMAIN_HOME=%%~fsi

    set LONG_DOMAIN_HOME=D:/bea/user_projects/domains/base_domain

    if "%DEBUG_PORT%"=="" (
     set DEBUG_PORT=8453
    )

    if "%SERVER_NAME%"=="" (
     set SERVER_NAME=AdminServer
    )

    set POINTBASE_FLAG=false

    set enableHotswapFlag=

    set PRODUCTION_MODE=true

    set doExitFlag=false
    set verboseLoggingFlag=false
    for %%p in (%*) do call :SET_PARAM %%p
    GOTO :CMD_LINE_DONE
     :SET_PARAM
     for %%q in (%1) do set noQuotesParam=%%~q
     if /i "%noQuotesParam%" == "nodebug" (
      set debugFlag=false
      GOTO :EOF
     )
     if /i "%noQuotesParam%" == "production" (
      set DOMAIN_PRODUCTION_MODE=true
      GOTO :EOF
     )
     if /i "%noQuotesParam%" == "notestconsole" (
      set testConsoleFlag=false
      GOTO :EOF
     )
     if /i "%noQuotesParam%" == "noiterativedev" (
      set iterativeDevFlag=false
      GOTO :EOF
     )
     if /i "%noQuotesParam%" == "noLogErrorsToConsole" (
      set logErrorsToConsoleFlag=false
      GOTO :EOF
     )
     if /i "%noQuotesParam%" == "nopointbase" (
      set POINTBASE_FLAG=false
      GOTO :EOF
     )
     if /i "%noQuotesParam%" == "doExit" (
      set doExitFlag=true
      GOTO :EOF
     )
     if /i "%noQuotesParam%" == "noExit" (
      set doExitFlag=false
      GOTO :EOF
     )
     if /i "%noQuotesParam%" == "verbose" (
      set verboseLoggingFlag=true
      GOTO :EOF
     )
     if /i "%noQuotesParam%" == "enableHotswap" (
      set enableHotswapFlag=-javaagent:%WL_HOME%/server/lib/diagnostics-agent.jar
      GOTO :EOF
     ) else (
      set PROXY_SETTINGS=%PROXY_SETTINGS% %1
     )
     GOTO :EOF
    :CMD_LINE_DONE


    set MEM_DEV_ARGS=

    if "%DOMAIN_PRODUCTION_MODE%"=="true" (
     set PRODUCTION_MODE=%DOMAIN_PRODUCTION_MODE%
    )

    if "%PRODUCTION_MODE%"=="true" (
     set debugFlag=false
     set testConsoleFlag=false
     set iterativeDevFlag=false
    )

    @REM If you want to override the default Patch Classpath, Library Path and Path for this domain,
    @REM Please uncomment the following lines and add a valid value for the environment variables
    @REM set PATCH_CLASSPATH=[myPatchClasspath] (windows)
    @REM set PATCH_LIBPATH=[myPatchLibpath] (windows)
    @REM set PATCH_PATH=[myPatchPath] (windows)
    @REM PATCH_CLASSPATH=[myPatchClasspath] (unix)
    @REM PATCH_LIBPATH=[myPatchLibpath] (unix)
    @REM PATCH_PATH=[myPatchPath] (unix)

    call "%WL_HOME%/common/bin/commEnv.cmd"

    set WLS_HOME=%WL_HOME%/server

    set MEM_ARGS=-Xms1024m -Xmx1024m

    set MEM_PERM_SIZE=-XX:PermSize=48m

    set MEM_MAX_PERM_SIZE=-XX:MaxPermSize=128m

    if "%JAVA_VENDOR%"=="Sun" (
     if "%PRODUCTION_MODE%"=="" (
      set MEM_DEV_ARGS=-XX:CompileThreshold=8000 %MEM_PERM_SIZE%
     )
    )

    @REM Had to have a separate test here BECAUSE of immediate variable expansion on windows

    if "%JAVA_VENDOR%"=="Sun" (
     set MEM_ARGS=%MEM_ARGS% %MEM_DEV_ARGS% %MEM_MAX_PERM_SIZE%
    )

    if "%JAVA_VENDOR%"=="HP" (
     set MEM_ARGS=%MEM_ARGS% %MEM_MAX_PERM_SIZE%
    )

    @REM IF USER_MEM_ARGS the environment variable is set, use it to override ALL MEM_ARGS values

    if NOT "%USER_MEM_ARGS%"=="" (
     set MEM_ARGS=%USER_MEM_ARGS%
    )

    set JAVA_PROPERTIES=-Dplatform.home=%WL_HOME% -Dwls.home=%WLS_HOME% -Dweblogic.home=%WLS_HOME%

    @REM  To use Java Authorization Contract for Containers (JACC) in this domain,
    @REM  please uncomment the following section. If there are multiple machines in
    @REM  your domain, be sure to edit the setDomainEnv in the associated domain on
    @REM  each machine.
    @REM
    @REM -Djava.security.manager
    @REM -Djava.security.policy=location of weblogic.policy
    @REM -Djavax.security.jacc.policy.provider=weblogic.security.jacc.simpleprovider.SimpleJACCPolicy
    @REM -Djavax.security.jacc.PolicyConfigurationFactory.provider=weblogic.security.jacc.simpleprovider.PolicyConfigurationFactoryImpl
    @REM -Dweblogic.security.jacc.RoleMapperFactory.provider=weblogic.security.jacc.simpleprovider.RoleMapperFactoryImpl

    set JAVA_PROPERTIES=%JAVA_PROPERTIES% %EXTRA_JAVA_PROPERTIES%

    set ARDIR=%WL_HOME%/server/lib

    pushd %LONG_DOMAIN_HOME%

    @REM Clustering support (edit for your cluster!)

    if "%ADMIN_URL%"=="" (
     @REM The then part of this block is telling us we are either starting an admin server OR we are non-clustered
     set CLUSTER_PROPERTIES=-Dweblogic.management.discover=true
    ) else (
     set CLUSTER_PROPERTIES=-Dweblogic.management.discover=false -Dweblogic.management.server=%ADMIN_URL%
    )

    if NOT "%LOG4J_CONFIG_FILE%"=="" (
     set JAVA_PROPERTIES=%JAVA_PROPERTIES% -Dlog4j.configuration=file:%LOG4J_CONFIG_FILE%
    )

    set JAVA_PROPERTIES=%JAVA_PROPERTIES% %CLUSTER_PROPERTIES%

    @REM Clear the pre_classpath here in case an application template wants to set it before the larger pre_classpath is invoked below

    set PRE_CLASSPATH=

    set JAVA_DEBUG=

    if "%debugFlag%"=="true" (
     set JAVA_DEBUG=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=%DEBUG_PORT%,server=y,suspend=n -Djava.compiler=NONE
     set JAVA_OPTIONS=%JAVA_OPTIONS% %enableHotswapFlag% -ea -da:com.bea... -da:javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.sbconsole...
    ) else (
     set JAVA_OPTIONS=%JAVA_OPTIONS% %enableHotswapFlag% -da
    )

    if NOT exist %JAVA_HOME%/lib (
     echo The JRE was not found in directory %JAVA_HOME%. ^(JAVA_HOME^)
     echo Please edit your environment and set the JAVA_HOME
     echo variable to point to the root directory of your Java installation.
     popd
     pause
     GOTO :EOF
    )

    if "%POINTBASE_FLAG%"=="true" (
     set DATABASE_CLASSPATH=%POINTBASE_CLASSPATH%
    ) else (
     set DATABASE_CLASSPATH=%POINTBASE_CLIENT_CLASSPATH%
    )

    set POST_CLASSPATH=

    set POST_CLASSPATH=%POST_CLASSPATH%;%DATABASE_CLASSPATH%;%ARDIR%/xqrl.jar

    @REM PROFILING SUPPORT

    set JAVA_PROFILE=

    set SERVER_CLASS=weblogic.Server

    set JAVA_PROPERTIES=%JAVA_PROPERTIES% %WLP_JAVA_PROPERTIES%

    set JAVA_OPTIONS=%JAVA_OPTIONS% %JAVA_PROPERTIES% -Dwlw.iterativeDev=%iterativeDevFlag% -Dwlw.testConsole=%testConsoleFlag% -Dwlw.logErrorsToConsole=%logErrorsToConsoleFlag%

    @REM -- Setup properties so that we can save stdout and stderr to files

    if NOT "%WLS_STDOUT_LOG%"=="" (
     echo Logging WLS stdout to %WLS_STDOUT_LOG%
     set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.Stdout=%WLS_STDOUT_LOG%
    )

    if NOT "%WLS_STDERR_LOG%"=="" (
     echo Logging WLS stderr to %WLS_STDERR_LOG%
     set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.Stderr=%WLS_STDERR_LOG%
    )

    @REM ADD EXTENSIONS TO CLASSPATHS

    if NOT "%EXT_PRE_CLASSPATH%"=="" (
     set PRE_CLASSPATH=%EXT_PRE_CLASSPATH%;%PRE_CLASSPATH%
    )

    if NOT "%EXT_POST_CLASSPATH%"=="" (
     set POST_CLASSPATH=%POST_CLASSPATH%;%EXT_POST_CLASSPATH%
    )

    if NOT "%WEBLOGIC_EXTENSION_DIRS%"=="" (
     set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.ext.dirs=%WEBLOGIC_EXTENSION_DIRS%
    )

    set JAVA_OPTIONS=%JAVA_OPTIONS%

    @REM SET THE CLASSPATH

    set CLASSPATH=%PRE_CLASSPATH%;%WEBLOGIC_CLASSPATH%;%POST_CLASSPATH%;%WLP_POST_CLASSPATH%

    set JAVA_VM=%JAVA_VM% %JAVA_DEBUG% %JAVA_PROFILE%

     

    展开全文
  • WebLogic的启动是通过启动文件来完成的 包括启动管理服务器(startWebLogic) 启动被管服务器(startManagedWebLogic) 设置域环境(setDomainEnv) 关闭管理服务器(stopWebLogic) 关闭被管服务器...

    WebLogic的启动是通过启动文件来完成的

    包括启动管理服务器(startWebLogic)

    启动被管服务器(startManagedWebLogic)

    设置域环境(setDomainEnv)

    关闭管理服务器(stopWebLogic)

    关闭被管服务器(stopManagedWebLogic)

    …………

    setDomainEnv.sh 文件位置:WLS_HOME\user_projects\domains\base_domain\bin 启动管理和被管服务器时的参数信息记录在此文件里。

    例如:

    设置堆内存的最小值和最大值-Xms256m,-Xmx512m设置perm区的大小-XX:PermSize=48m,-XX:MaxPermSize=128m

     

    startManagedWebLogic(启动管理服务器)

    文件位置:WLS_HOME\user_projects\domains\base_domain\bin

    nohup ./startManagedWebLogic.sh &

    &是后台启动模式,即返回命令行格式下weblogic不会停止服务。

    系统配置文件config.xml存放着域内所有的配置信息,该文件的存放位置为WLS_HOME\user_projects\domains\base_domain\config\config.xml 可以使用文本编辑器直接修改,但不建议这样做 不能在weblogic运行期间修改config.xml,因为weblogic会定期重写config.xml文件。 端口信息就保存在此文件中

     

    域日志:

    WLS_HOME\user_projects\domains\base_domain\servers\AdminServer\logs域日志记录一个Domain的运行情况,一个Domain中的各个WebLogic Server可以把它们的一些运行信息(例如严重的错误)发生给一个Domain的管理服务器上,管理服务器在把这些信息写到Domain日志中。默认名为<domain_name>.log

     

    服务器日志文件 存放位置: WLS_HOME\user_projects\domains\base_domain\servers\servername\logs 假如WebLogic Server在启动或运行过程中有错误发生,错误信息会显示在屏幕上,并且会记录在AdminServer.log文件中。该文件也会记录weblogic的启动关闭等运行信息。 可以管理控制台设置该文件的路径及名字、错误的输出的等级等。同时创建的每个被管服务器也会有一个<server_name>.log文件记录被管服务器在运行时的信息 日志文件

     

    访问日志

    存放位置:WLS_HOME\user_projects\domains\base_domain\servers\servername\logsHTTP访问日志。在WebLogic中可以对用HTTP,HTTPS协议访问服务器上的文件做记录,文件名为Access.log,HTTP访问日志的属性可以在HTTP属性页中进行设置。

    展开全文
  • call "%WL_HOME%\common\bin\commEnv.cmd" set WLS_HOME=%WL_HOME%\server set MEM_ARGS=-Xms512m -Xmx512m set MEM_PERM_SIZE=-XX:PermSize=512m set MEM_MAX_PERM_SIZE=-XX:MaxPermSize=512m ...


    call "%WL_HOME%\common\bin\commEnv.cmd"

    set WLS_HOME=%WL_HOME%\server

    set MEM_ARGS=-Xms512m -Xmx512m

    set MEM_PERM_SIZE=-XX:PermSize=512m

    set MEM_MAX_PERM_SIZE=-XX:MaxPermSize=512m

     

     

    修改这些就可以调整运行内存了

    转载于:https://www.cnblogs.com/kaka-bing/archive/2012/12/05/2803010.html

    展开全文
  • weblogic启动文件

    2017-12-04 09:20:00
    # WEBLOGIC_EXTENSION_DIRS - Extension dirs for WebLogic classpath patch # JAVA_VM - The java arg specifying the VM to run. (i.e. # - server, -hotspot, etc.) # USER_MEM_ARGS - The variable to override ...

    #!/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 ---

    stopAll()
    {
    # We separate the stop commands into a function so we are able to use the trap command in Unix (calling a function) to stop these services
    if [ "X${ALREADY_STOPPED}" != "X" ] ; then
    exit
    fi
    # STOP DERBY (only if we started it)
    if [ "${DERBY_FLAG}" = "true" ] ; then
    echo "Stopping Derby server..."
    ${WL_HOME}/common/derby/bin/stopNetworkServer.sh >"${DOMAIN_HOME}/derbyShutdown.log" 2>&1

    echo "Derby server stopped."
    fi

    ALREADY_STOPPED="true"
    }

    classCaching()
    {
    echo "Class caching enabled..."
    JAVA_OPTIONS="${JAVA_OPTIONS} -Dlaunch.main.class=${SERVER_CLASS} -Dlaunch.class.path="${CLASSPATH}" -Dlaunch.complete=weblogic.store.internal.LockManagerImpl -cp ${WL_HOME}/server/lib/pcl2.jar"
    export JAVA_OPTIONS
    SERVER_CLASS="com.oracle.classloader.launch.Launcher"
    }

    # --- End Functions ---

    # *************************************************************************
    # This script is used to start WebLogic Server for this domain.
    #
    # To create your own start script for your domain, you can initialize the
    # environment by calling @USERDOMAINHOME/setDomainEnv.
    #
    # setDomainEnv initializes or calls commEnv to initialize the following variables:
    #
    # BEA_HOME - The BEA home directory of your WebLogic installation.
    # JAVA_HOME - Location of the version of Java used to start WebLogic
    # Server.
    # JAVA_VENDOR - Vendor of the JVM (i.e. BEA, HP, IBM, Sun, etc.)
    # PATH - JDK and WebLogic directories are added to system path.
    # WEBLOGIC_CLASSPATH
    # - Classpath needed to start WebLogic Server.
    # PATCH_CLASSPATH - Classpath used for patches
    # PATCH_LIBPATH - Library path used for patches
    # PATCH_PATH - Path used for patches
    # WEBLOGIC_EXTENSION_DIRS - Extension dirs for WebLogic classpath patch
    # JAVA_VM - The java arg specifying the VM to run. (i.e.
    # - server, -hotspot, etc.)
    # USER_MEM_ARGS - The variable to override the standard memory arguments
    # passed to java.
    # PRODUCTION_MODE - The variable that determines whether Weblogic Server is started in production mode.
    # DERBY_HOME - Derby home directory.
    # DERBY_CLASSPATH
    # - Classpath needed to start Derby.
    #
    # Other variables used in this script include:
    # SERVER_NAME - Name of the weblogic server.
    # 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)
    # CLASS_CACHE - Enable class caching of system classpath.
    #
    # 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).
    # *************************************************************************

    umask 037


    # Call setDomainEnv here.

    DOMAIN_HOME="/home/ap/user_projects/domains/Admin_domain"

    . ${DOMAIN_HOME}/bin/setDomainEnv.sh $*

    SAVE_JAVA_OPTIONS="${JAVA_OPTIONS}"

    SAVE_CLASSPATH="${CLASSPATH}"

    # Start Derby

    DERBY_DEBUG_LEVEL="0"

    if [ "${DERBY_FLAG}" = "true" ] ; then
    ${WL_HOME}/common/derby/bin/startNetworkServer.sh >"${DOMAIN_HOME}/derby.log" 2>&1

    fi

    JAVA_OPTIONS="${SAVE_JAVA_OPTIONS}"

    SAVE_JAVA_OPTIONS=""

    CLASSPATH="${SAVE_CLASSPATH}"

    ##SAVE_CLASSPATH=""
    PRE_CLASSPATH="${WL_HOME}/server/lib/antlr-2.7.6.jar:${WL_HOME}/server/lib/commons-lang-2.6.jar"
    export PRE_CLASSPATH
    CLASSPATH="${PRE_CLASSPATH}:${SAVE_CLASSPATH}"
    export CLASSPATH

    trap 'stopAll' 1 2 3 15


    if [ "${PRODUCTION_MODE}" = "true" ] ; then
    WLS_DISPLAY_MODE="Production"
    else
    WLS_DISPLAY_MODE="Development"
    fi

    if [ "${WLS_USER}" != "" ] ; then
    JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.management.username=${WLS_USER}"
    fi

    if [ "${WLS_PW}" != "" ] ; then
    JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.management.password=${WLS_PW}"
    fi

    if [ "${MEDREC_WEBLOGIC_CLASSPATH}" != "" ] ; then
    if [ "${CLASSPATH}" != "" ] ; then
    CLASSPATH="${CLASSPATH}${CLASSPATHSEP}${MEDREC_WEBLOGIC_CLASSPATH}"
    else
    CLASSPATH="${MEDREC_WEBLOGIC_CLASSPATH}"
    fi
    fi

    echo "."

    echo "."

    echo "JAVA Memory arguments: ${MEM_ARGS}"

    echo "."

    echo "WLS Start Mode=${WLS_DISPLAY_MODE}"

    echo "."

    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://hostname:port/console *"

    echo "***************************************************"

    # CLASS CACHING

    if [ "${CLASS_CACHE}" = "true" ] ; then
    classCaching
    fi

    # START WEBLOGIC

    echo "starting weblogic with Java version:"

    ${JAVA_HOME}/bin/java ${JAVA_VM} -version

    if [ "${WLS_REDIRECT_LOG}" = "" ] ; then
    echo "Starting WLS with line:"
    echo "${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${JAVA_OPTIONS} ${PROXY_SETTINGS} ${SERVER_CLASS}"
    ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${JAVA_OPTIONS} ${PROXY_SETTINGS} ${SERVER_CLASS}
    else
    echo "Redirecting output from WLS window to ${WLS_REDIRECT_LOG}"
    ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${JAVA_OPTIONS} ${PROXY_SETTINGS} ${SERVER_CLASS} >"${WLS_REDIRECT_LOG}" 2>&1
    fi

    stopAll

    popd

    # Exit this script only if we have been told to exit.

    if [ "${doExitFlag}" = "true" ] ; then
    exit
    fi

     

    转载于:https://www.cnblogs.com/zhaizhaozhidi/p/7975535.html

    展开全文
  • 系统宕机了,weblogic生成 .phd 和 javacore文件,分别使用 jca457.jar 和 ha456.jar来分析,但是heapdump文件分析时指向的问题和内存泄漏点类并不是很方便对应我们的代码,所以想使用mat工具来分析,但是需要生成...
  • 我正在开发一个使用Spring mvc...这样做的以下步骤:从Spring Bean中的Weblogic服务器加载属性文件配置文件创建项目特定文件夹的AppConfig在以下路径: 甲骨文/中间件/ ORACLE_HOME/user_projects /域/ wl_server /...
  • 1.首先需要在远程的weblogic的域下面,找到/bin/setDomainEnv.sh ,(例如:/app/webapp/domain/bin/setDomainEnv.sh)需要在此文件下加入如下内容: -Dcom.sun.management.jmxremote.port=1090 ##端口号可以自己...
  • linux weblogic的sh文件

    2017-08-17 19:54:00
    setDomainEnv.sh JAVA_HOME和各种jvm参数,CLASSPATH都在这里配置 #!/bin/sh # WARNING: This file is created by the Configuration Wizard. # Any changes to this script may be lost when adding ...
  • 我想在WebLogic上设置-DUseSunHttpHandler=true参数。我在WebLogic控制台->环境->服务器-> serverName->配置-> ServerStart->参数中添加此参数Configuration -> ServerStartArguments然后,我...
  • E:\bea\user_projects\domains\shgfmis\bin\startWebLogic.cmd   找到set CLASSPATH=%SAVE_CLASSPATH%这一段,在这一段下面加上如下代码:   set PRE_CLASSPATH=%DOMAIN_HOME%\lib\antlr-2.7.6.jar;%DOMAIN_...
  • 项目使用了某第三方公司...起初是修改weblogic中domain的启动文件,想把jar的路径set进去,但是修改了startWeblogic.sh和setDomainEnv.sh都不行,比较郁闷。后来突然想起,tomcat有个common目录,下面有个lib目录,t
  • Weblogic

    2016-09-07 11:00:43
    weblogic
  • 折腾了半天,找出以下文件,将weblogic的目录修改为新目录即可。 Middleware\wlserver\common\bin\config.cmd Middleware\wlserver\common\bin\commEnv.cmd Middleware\user_projects\domains\base_domain\bin\...
  • 在运维的过程中,有时我们需要以有别于启动WebLogic的用户去访问或收集日志等信息,以及时了解系统运行情况,这就要求日志文件的访问权限是允许其他用户访问的。一般情况下,新生成的文件默认权限是根据操作系统的...
  • WebLogic gc日志开关和nohup输出文件

    千次阅读 2011-09-05 16:29:50
    在相应的domain目录下进入setDomainEnv.sh JAVA_OPTIONS="后面增加 ${JAVA_OPTIONS} -verbosegc -Xverboselog:/home/weblogic/bea/gc.`date +%Y%m%d_%H%M%S` 故此,gc开关打开 每次showdown的时候(包括宕机的...
  • WebLogicweblogic调优

    千次阅读 2014-06-25 12:37:17
    修改weblogic\user_projects\domains\base_domain\bin下的setDomainEnv.cmd文件:设置大小根据实际情况确定 if "%JAVA_VENDOR%"=="Sun" (  set WLS_MEM_ARGS_64BIT=-Xms512m –Xmx1024m  set WLS_MEM_ARGS_32BIT=-...
  • Weblogic内存调整

    千次阅读 2019-06-30 22:33:35
    在控制台看到的JVM。 WLS_MEM_ARGS_64BIT="-Xms512m -Xmx1024m" ...方法二:找到 bea\user_projects\domains\base_domain\bin目录下的setDomainEnv.cmd文件: 找到weblogic 具体使用的jdk块:设置 MEM_ARGS和...
  • WebLogic

    2019-03-13 15:16:00
    WebLogic是美国Oracle公司出品的一个application server,确切的说是一个基于JAVAEE架构的中间件,WebLogic是用于开发、集成、部署和管理大型分布式Web应用、网络应用和数据库应用的Java应用服务器。将Java的动态...
  • 注:假定环境中其中一个的weblogic域名为cams,数据源为CAMSDB ...(1)直接修改weblogic的数据源配置文件中密文密码为最新的明文密码【首次尝试,以失败告终,weblogic并没用将JDBC配置文件中的密码...
  • jrokit监控linux下weblogic

    2015-09-07 16:08:52
    傻瓜式讲解附图,安装JRockit,修改/etc/profile文件,修改WebLogic的bin目录下的setDomainEnv.sh文件
  • 1. weblogic 配置文件修改 修改文件: weblogic/weblogic103/user_projects/domains/xxxx/bin/setDomainEnv.sh(windows下对应setDomainEnv.cmd文件) 2. 重启, 如果成功的话在控制台会出现: Listening for transport ...
  • weblogic热启动

    2020-06-17 14:01:44
    idea + weblogic 实现修改完 jsp 文件不用重启就能完成部署: 老项目使用的是 weblogic 服务器...修改 setDomainEnv.cmd 文件 找到set JAVA_OPTIONS=%JAVA_OPTIONS% 配置修改,下面的内容。 @REM set JAVA_OPTIONS=.

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 1,226
精华内容 490
关键字:

weblogic的setdomainenv文件