Linux 环境下weblogic domain配置

>cd bea/weblogic81/common/bin
>sh congfig.sh

Domain Mode Configuration:
--------------------------

Enable Development or Production Mode for this domain.
->1|Development Mode   --开发模式
  2|Production Mode    --生成模式
Enter index number to select OR [Exit][Previous][Next]> 1
-------------------------------------------------------------------------------------------------------------------
Java SDK Selection:
-------------------
->1|Sun SDK 1.5.0_11 @ /usr/java/jdk1.5.0_11   --默认地址下的JDK
  2|Other Java SDK          --另外的JDK
Enter index number to select OR [Exit][Previous][Next]> 1

-------------------------------------------------------------------------------------------------------------------
Choose Configuration Option:
----------------------------
    *Do you want to modify any of the preconfigured settings or defaults in your template?
    *
    *To keep the default or template settings, and proceed directly to name and create your domain, leave No selected.
   1|Yes
-> 2|No      --修改样板配置
Enter index number to select OR [Exit][Previous][Next]> 1
Configure the Administration Server:
------------------------------------
Enter adminstration server configurations. Each WebLogic Server domain must have one Administration Server. The Administration Server
hosts the Administration Console which is used to perform administrative tasks.
    |       Name       |        Value        |
   _|__________________|_____________________|
   1|      *Name:      |     AdminServer     |
   2| Listen address: | All Local Addresses  |
   3|   Listen port:   |        7001         |
   4| SSL listen port: |         N/A         |
   5|   SSL enabled:   |        false        |
Select Option:
    1 - Modify "Name"
    2 - Modify "Listen address"
    3 - Modify "Listen port"
    4 - Modify "SSL enabled"
Enter option number to select OR [Exit][Previous][Next]>

Edit Domain Information:
------------------------
    | Name |   Value   |
   _|________|___________|
   1| *Name: | ebusiness |
Select Option:
    1 - Modify "Name"
    2 - Discard Change
Enter option number to select OR [Exit][Previous][Next]>

Creating Domain...

0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]

**** Domain Created Successfully! ****
该界面是所有配置信息的汇总确认,如果没问题,点击Create,开始创建DOMAIN域.
三、启动Weblogic
在启动Weblogic之前,可将服务用户名和密码写入启动脚本。
进入刚刚配置完成的域目录(例如:/home/bea/user_projects/domains/mydomain),编辑startWebLogic.sh启动脚本,执行$ vi startWebLogic.sh
在“WLS_USER= WLS_PW=”输入用户名和密码,保存退出;:wq 存盘退出 :q 强制退出不保存
最后执行$ ./startWebLogic.sh,启动Weblogic..
./startWeblogic.sh -Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0
四、停止Weblogic服务
停止Weblogic服务有多种:
1、 KILL掉进程
2、 通过”http://服务地址:7001/console”,shutdownserver
3、 利用脚本停止服务:
在#/home/bea/user_projects/domains/mydomain 路径下,有一个stopWebLogic.sh文件,执行即可

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值