zoukankan      html  css  js  c++  java
  • weblogic静默方式创建域

    创建域目录:mkdir -p /home/weblogic/Oracle/Middleware/user_projects/domains/base_domain/

    创建文件: create_domain.rsp

    read template from "/home/weblogic/Oracle/Middleware/wlserver/common/templates/wls/wls.jar";
     
    set JavaHome "/usr/local/jdk1.7"; 
    set ServerStartMode "dev"; 
     
    find Server "AdminServer" as AdminServer;
    set AdminServer.ListenAddress "";
    set AdminServer.ListenPort "8001";
    set AdminServer.SSL.Enabled "true";
    set AdminServer.SSL.ListenPort "8002";
     
    //We can directly create a new managed server.
    create Server "base" as BASE;
    set BASE.ListenAddress "";
    set BASE.ListenPort "8003";
    //set BASE.SSL.Enabled "true";
    //set BASE.SSL.ListenPort "8004″;
     
    //Create Machine
    create Machine "base" as Machinename;
     
    //use templates default weblogic user
    find User "weblogic" as u1;
    set u1.password "weblogic123";
     
    //create a new user
    create User "weblogic2" as u2;
    set u2.password "weblogic123";
     
    write domain to "/home/weblogic/Oracle/Middleware/user_projects/domains/base_domain/"; 
     
    // The domain name will be "demo-domain"
     
    close template;
    cd /home/weblogic/Oracle/Middleware/wlserver/common/bin
    ./config.sh -mode=silent -silent_script=/home/weblogic/create_domain.rsp -logfile=/home/weblogic/create_domain.log
  • 相关阅读:
    WIN API下的窗口创建
    SharePoint阻止字段更新后引发相关事件
    hdu 3018 Ant Trip 求欧拉路径
    状态压缩dp与树形dp
    位运算符
    电影播放器mplayer设置常用选项
    poj 2249Binomial Showdown
    poj 3370 Halloween treats
    MPlayer配置文件
    MPlayerLinux 媒体播放器的安装与使用
  • 原文地址:https://www.cnblogs.com/jihongjun/p/8657397.html
Copyright © 2011-2022 走看看