• linux环境下创建domain


    • 首先进入weblogic的安装目录,具体如下:
    cd /wls/Oracle/Middleware/Oracle_Home/wlserver/common/bin
    

    图形化创建

    • 1、下载xmanager软件
    • 2、使用远程连接工具链接linux操作系统
    • 3、在模拟终端上执行如下命令:
    export DISPLAY=localhost:10.0
    

    见下图
    https://note.youdao.com/yws/api/personal/file/8649CA216A104EA4BB298AB5D0E33A76?method=download&shareKey=7817781faf39cea8213796e8680f513f

    • 4、执行如下命令:
    ./config.sh
    

    注意: 第一次输入这个命令可能会报如下错误

    Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
    	at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    	at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65)
    	at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:115)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:74)
    	at java.lang.Class.forName0(Native Method)
    	at java.lang.Class.forName(Class.java:264)
    	at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)
    	at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
    	at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:126)
    	at java.lang.Class.forName0(Native Method)
    	at java.lang.Class.forName(Class.java:264)
    	at java.awt.Toolkit$2.run(Toolkit.java:860)
    	at java.awt.Toolkit$2.run(Toolkit.java:855)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)
    	at sun.swing.SwingUtilities2.getSystemMnemonicKeyMask(SwingUtilities2.java:2020)
    	at javax.swing.plaf.basic.BasicLookAndFeel.initComponentDefaults(BasicLookAndFeel.java:1158)
    	at javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:431)
    	at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:148)
    	at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1577)
    	at javax.swing.UIManager.setLookAndFeel(UIManager.java:539)
    	at javax.swing.UIManager.setLookAndFeel(UIManager.java:579)
    	at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1349)
    	at javax.swing.UIManager.initialize(UIManager.java:1459)
    	at javax.swing.UIManager.maybeInitialize(UIManager.java:1426)
    	at javax.swing.UIManager.getDefaults(UIManager.java:659)
    	at javax.swing.UIManager.put(UIManager.java:988)
    	at com.oracle.cie.common.ui.gui.GUIHelper.initPLAF(GUIHelper.java:51)
    	at com.oracle.cie.wizard.internal.cont.GUIContext.<clinit>(GUIContext.java:296)
    	at com.oracle.cie.wizard.internal.cont.GUITaskContainer.createTaskContext(GUITaskContainer.java:73)
    	at com.oracle.cie.wizard.internal.cont.GUITaskContainer.createTaskContext(GUITaskContainer.java:21)
    	at com.oracle.cie.wizard.internal.cont.AbstractTaskContainer.init(AbstractTaskContainer.java:32)
    	at com.oracle.cie.wizard.internal.cont.GUITaskContainer.init(GUITaskContainer.java:21)
    	at com.oracle.cie.wizard.internal.engine.WizardControllerEngine.loadTaskContainer(WizardControllerEngine.java:656)
    	at com.oracle.cie.wizard.internal.engine.WizardControllerEngine.configureMode(WizardControllerEngine.java:595)
    	at com.oracle.cie.wizard.internal.engine.WizardControllerEngine.init(WizardControllerEngine.java:172)
    	at com.oracle.cie.wizard.WizardController.createWizardEnine(WizardController.java:110)
    	at com.oracle.cie.wizard.WizardController.<init>(WizardController.java:28)
    	at com.oracle.cie.wizard.WizardController.invokeWizardAndWait(WizardController.java:119)
    	at com.oracle.cie.wizard.WizardController.main(WizardController.java:67)
    

    报错没有关系,再次输入该命令就可以正常进入创建界面

    • 5、然后会弹出和windows环境相同的界面,后续操作同windows
    • 具体步骤
      • 第一步:

        image
      • 第二步

        image
      • 第三步

        image
      • 第四步

        image
      • 第五步

        image
      • 第六步

        image
      • 第七步

        image
    • 至此,domain创建完成
  • 相关阅读:
    Jquery 复习练习(01)
    web前段 弹出小例子
    MacBook 显示隐藏文件夹命令
    sqlserver 纵横
    C#获取当前页面的url
    C# Json 转对象
    jquery导航栏
    AJAX
    hao dongxi
    微信网页获取openId
  • 原文地址:https://www.cnblogs.com/caoleiCoding/p/11140615.html
Copyright © 2020-2023  润新知