精华内容
下载资源
问答
  • 这里的基本目录%base%表示安装目录,如我的... weblogic主要目录介绍: 1.日志目录:  每个domain(域)都有自己的日志目录,一般启动日志是AdmiServer.log,存放位置在:%base%\user_projects\domains\base_doma...

      这里的基本目录%base%表示安装目录,如我的目录为:E:/weblogic就是%base%

     

     

    1.weblogic目录介绍

       weblogic主要的目录介绍:

    1.日志目录:

        每个domain(域)都有自己的日志目录,一般启动日志是AdmiServer.log,存放位置在:%base%\user_projects\domains\base_domain\servers\AdminServer\logs,如下:

        

     

     2.项目发布目录:

      每个域也都有自己的项目发布目录。存放位置在:%base%\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user,例如:

        

     

    3.JSP编译之后的目录:(我们需要知道weblogic编译JSP依赖自己的lib库,所以在编译之后的class文件头部引入自己的lib,而tomcat也依赖于自己的lib)

      存放的是JSP编译之后的目录,位置在:%base%\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\Struts\km2umq\jsp_servlet文件夹下面。而且JSP不会一次性全部编译,是我们第一次访问哪个JSP编译哪个JSP(JSP的延迟编译特性确实给性能带来了不大不小的影响,第一次访问超慢的那种状况给人的感觉非常不好),而且项目的根目录的JSP编译之后的package是默认的,然后每个目录对应一个package,例如:

    (1)根目录下的JSP:

        

     

        JSP内容 

    <%@ page pageEncoding="GBK" contentType="text/html; charset=GBK" %>
    <%@taglib uri = "http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <c:set var="baseurl" value="${pageContext.request.contextPath}"></c:set>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Insert title here</title>
    </head>
    <body>
    "${baseurl}"
    </body>
    </html>

     

     

     

     

         编译之后的位置:%base%\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\Struts\km2umq\jsp_servlet\

        

     

        查看反编译之后的内容:

    package jsp_servlet;
    
    import java.io.IOException;
    import java.io.UnsupportedEncodingException;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletContext;
    import javax.servlet.ServletException;
    import javax.servlet.ServletRequest;
    import javax.servlet.ServletResponse;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    import javax.servlet.jsp.JspFactory;
    import javax.servlet.jsp.JspWriter;
    import javax.servlet.jsp.PageContext;
    import javax.servlet.jsp.SkipPageException;
    import javax.servlet.jsp.tagext.JspTag;
    import javax.servlet.jsp.tagext.SimpleTag;
    import javax.servlet.jsp.tagext.Tag;
    import org.apache.taglibs.standard.tag.rt.core.SetTag;
    import weblogic.jsp.internal.jsp.JspFunctionMapper;
    import weblogic.jsp.internal.jsp.utils.JspRuntimeUtils;
    import weblogic.servlet.jsp.ByteWriter;
    import weblogic.servlet.jsp.DependencyInjectionHelper;
    import weblogic.servlet.jsp.ELHelper;
    import weblogic.servlet.jsp.ExpressionInterceptor;
    import weblogic.servlet.jsp.ExpressionInterceptor.Type;
    import weblogic.servlet.jsp.JspBase;
    import weblogic.servlet.jsp.StaleChecker;
    import weblogic.servlet.jsp.StaleIndicator;
    
    public final class __forward
      extends JspBase
      implements StaleIndicator
    {
      private static void _releaseTags(PageContext pageContext, JspTag t)
      {
        while (t != null)
        {
          DependencyInjectionHelper.preDestroy(pageContext, t);
          if ((t instanceof Tag))
          {
            Tag tmp = (Tag)t;
            t = ((Tag)t).getParent();
            try
            {
              tmp.release();
            }
            catch (Exception localException) {}
          }
          else
          {
            t = ((SimpleTag)t).getParent();
          }
        }
      }
      
      public boolean _isStale()
      {
        boolean _stale = _staticIsStale((StaleChecker)getServletConfig().getServletContext());
        return _stale;
      }
      
      public static boolean _staticIsStale(StaleChecker sci)
      {
        if (sci.isResourceStale("/forward.jsp", 1537094471925L, "12.2.1.3.0", "UTC")) {
          return true;
        }
        return false;
      }
      
      private ExpressionInterceptor _jsp_expressionInterceptor = JspRuntimeUtils.getNonOperExpressionInterceptor();
      private static boolean _WL_ENCODED_BYTES_OK = true;
      private static final String _WL_ORIGINAL_ENCODING = "GBK".intern();
      
      private static byte[] _getBytes(String block)
      {
        try
        {
          return block.getBytes(_WL_ORIGINAL_ENCODING);
        }
        catch (UnsupportedEncodingException u)
        {
          _WL_ENCODED_BYTES_OK = false;
        }
        return null;
      }
      
      private static String _wl_block0 = "\r\n";
      private static final byte[] _wl_block0Bytes = _getBytes(_wl_block0);
      private static String _wl_block1 = "\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\r\n<title>Insert title here</title>\r\n</head>\r\n<body>\r\n\"";
      private static final byte[] _wl_block1Bytes = _getBytes(_wl_block1);
      private static String _wl_block2 = "\"\r\n</body>\r\n</html>";
      private static final byte[] _wl_block2Bytes = _getBytes(_wl_block2);
      private static JspFunctionMapper _jspx_fnmap = JspFunctionMapper.getInstance();
      
      protected void _jspInit()
      {
        this._jsp_expressionInterceptor = JspRuntimeUtils.getExpressionInterceptor(getServletConfig());
      }
      
      public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException
      {
        ServletConfig config = getServletConfig();
        ServletContext application = config.getServletContext();
        JspTag _activeTag = null;
        Object page = this;
        PageContext pageContext = JspFactory.getDefaultFactory().getPageContext(this, request, response, null, true, 8192, true);
        response.setHeader("Content-Type", "text/html; charset=GBK");
        JspWriter out = pageContext.getOut();
        ByteWriter _bw = (ByteWriter)out;
        _bw.setInitCharacterEncoding(_WL_ORIGINAL_ENCODING, _WL_ENCODED_BYTES_OK);
        JspWriter _originalOut = out;
        HttpSession session = request.getSession(true);
        try
        {
          response.setContentType("text/html; charset=GBK");
          _bw.write(_wl_block0Bytes, _wl_block0);
          _bw.write(_wl_block0Bytes, _wl_block0);
          if (_jsp__tag0(request, response, pageContext, _activeTag, null)) {
            return;
          }
          _bw.write(_wl_block1Bytes, _wl_block1);
          out.write(this._jsp_expressionInterceptor.intercept((String)ELHelper.evaluate("${baseurl}", String.class, pageContext, null), pageContext, ExpressionInterceptor.Type.EL));
          _bw.write(_wl_block2Bytes, _wl_block2);
        }
        catch (Throwable __ee)
        {
          if (!(__ee instanceof SkipPageException))
          {
            while ((out != null) && (out != _originalOut)) {
              out = pageContext.popBody();
            }
            _releaseTags(pageContext, _activeTag);
            pageContext.handlePageException(__ee);
          }
        }
        finally
        {
          JspFactory.getDefaultFactory().releasePageContext(pageContext);
        }
      }
      
      private boolean _jsp__tag0(ServletRequest request, ServletResponse response, PageContext pageContext, JspTag activeTag, JspTag parent)
        throws Throwable
      {
        JspTag _activeTag = activeTag;
        JspWriter out = pageContext.getOut();
        ByteWriter _bw = (ByteWriter)out;
        SetTag __tag0 = null;
        int __result__tag0 = 0;
        if (__tag0 == null)
        {
          __tag0 = new SetTag();
          DependencyInjectionHelper.inject(pageContext, __tag0);
        }
        __tag0.setPageContext(pageContext);
        JspRuntimeUtils.setParentForClassicTag(__tag0, parent);
        __tag0.setVar((String)JspRuntimeUtils.convertType("baseurl", String.class, "var"));
        __tag0.setValue(ELHelper.evaluate("${pageContext.request.contextPath}", Object.class, pageContext, _jspx_fnmap));
        _activeTag = __tag0;
        try
        {
          __result__tag0 = __tag0.doStartTag();
          if ((__result__tag0 == 0) || 
          
    
    
            (__tag0.doEndTag() == 5))
          {
            _activeTag = null;
            _releaseTags(pageContext, __tag0);
            return true;
          }
        }
        finally
        {
          _activeTag = __tag0.getParent();
          DependencyInjectionHelper.preDestroy(pageContext, __tag0);
          __tag0.release();
        }
        return false;
      }
    }

     

     

     

    (2)目录下的JSP,一个目录相当于一个package:

     

     

     编译之后的位置:

     

    查看你编译之后的头部内容:

      

     

     

     

     

    4.存放lib的目录:

      存放一些公共项目使用的lib,存放位置在%base%\user_projects\domains\base_domain\lib,如下:

        

     

    5.weblogic自带的lib,类似于tomcat的lib目录,是weblogic自己启动所需要的包,一般也是造成冲突包的位置:

      存放位置在:%base%\wlserver\modules

     

    6.缓存目录:

      有时候缓存造成发布问题,所以我每次除了清掉缓存目录,还要清掉logs目录和项目tmp目录,也就是我每次启动项目都清掉下面三个目录,每次启动都会重新生成下面三个目录:

         

     

     2.weblogic位数查看

      在weblogic安装目录下wlserver\server\native\win目录下根据目录即可查看,例如我的64位的:

        

     

    3.weblogic启动

       weblogic启动的程序是在%base%\user_projects\domains\base_domain\startWebLogic.cmd (其内部调用了%base%\\user_projects\domains\base_domain\bin目录下的startWebLogic.cmd),源码如下:

    @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.
    
    SETLOCAL
    
    set DOMAIN_HOME=E:\weblogic\user_projects\domains\base_domain
    
    call "%DOMAIN_HOME%\bin\startWebLogic.cmd" %*
    
    
    
    ENDLOCAL

     

       双击之后启动即可,启动可以访问登陆页面。

     

     

    4.weblogic调大JVM参数  

    JDK7的参数设置:

    -Xms1024m -Xmx1024m -XX:PermSize=512m -XX:MaxPermSize=512m

     

     

    JDK8的参数设置:

    -Xms1024m -Xmx1024m -XX:MetaspaceSize=512m -XX:MaxMetaspaceSize=512m

     

     

     

     weblogic12.2.1.3大概在%base%\user_projects\domains\base_domain\bin\setDomainEnv.cmd   202行左右.(我也是根据启动的日志查看的),weblogic12.1.3在170行。例如下面是weblogic12.2.1.3在JDK8环境中配置:

     

     

     

       重新启动查看日志并且查看日志:

     

    jps+jmap查看JVM参数:

     

     

    控制台查看参数:

      

     

     

     

    5.weblogic部署项目 

       一种是通过网页部署,另一种是通过目录部署,类似于tomcat的部署,如下:

    1.网页部署项目

       登陆之后点击部署=》安装:

     

     

     选中项目的跟路径:(G:\自己的struts项目的适配\weblogic下调好的项目\Struts是一个完整的项目,是项目的根路径)

     

     

     点击下一步:

     

     

      输入项目的项目名称:

     

     点击完成即可:

     

     完成部署,查看项目概述:

     

     

     最后查看部署成功的项目:

     

     

    浏览器访问进行测试:

     

      至此,第一种部署方式成功,我门到缓存目录查看发现目录已经发布到缓存目录:

     

     

    2.通过目录部署部署

       通过将war或者解压后的目录拷贝到:%base%\user_projects\domains\base_domain\autodeploy目录,此目录相当于tomcat的webapps目录:

          

      登陆网页查看部署信息:

     

     

       访问进行测试:

          

     

     

    3.通过war包部署

     (1)使用java自带的命令打war包:

    Administrator@MicroWin10-1535 MINGW64 /g/自己的struts项目的适配/weblogic下调好的项目/Struts
    $ pwd
    /g/自己的struts项目的适配/weblogic下调好的项目/Struts
    
    Administrator@MicroWin10-1535 MINGW64 /g/自己的struts项目的适配/weblogic下调好的项目/Struts
    $ ls
    html/  img/  index.jsp  index2.jsp  js/  META-INF/  tag.jsp  WEB-INF/
    
    Administrator@MicroWin10-1535 MINGW64 /g/自己的struts项目的适配/weblogic下调好的项目/Struts
    $ jar -cvfM0 struts.war ./

     

     

     (2)将war包扔到%base%\user_projects\domains\base_domain\autodeploy目录下:

     

    (3)查看部署信息

     

     

     (4)访问测试:

     

    5.weblogic部署项目为默认项目(去除项目名称===只能用目录部署)

      有时候我门希望访问项目不带项目名称,类似于tomcat的默认项目。

      我门可以增加一个weblogic.xml目录在WEB-INF目录下,与web.xml同级目录:

        

     

     

    weblogic.xml内容如下:

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd">
     
    <weblogic-web-app>
      <jsp-descriptor>  
        <jsp-param>  
          <param-name>encoding</param-name>  
          <param-value>GBK</param-value>  
        </jsp-param>  
        <jsp-param>  
          <param-name>pageCheckSeconds</param-name>  
          <param-value>-1</param-value>  
        </jsp-param>  
        <jsp-param>  
          <param-name>compilerSupportsEncoding</param-name>  
          <param-value>true</param-value>  
        </jsp-param>  
        <jsp-param>  
          <param-name>verbose</param-name>  
          <param-value>false</param-value>  
        </jsp-param>  
      </jsp-descriptor>
      
      <container-descriptor>
          <prefer-web-inf-classes>true</prefer-web-inf-classes>
      </container-descriptor>
     
      <context-root>/</context-root>
     
    </weblogic-web-app>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>是设置weblogic优先加载我门WEB-INF/lib目录的lib。
    <context-root>/</context-root>是设置项目的名称,/自然就是默认的项目了。


    启动访问项目进行测试:

     

    
    
     

     

    转载于:https://www.cnblogs.com/qlqwjy/p/9653137.html

    展开全文
  • weblogic理解

    2015-04-10 15:55:46
    weblogic是j2ee的应用服务器(application server),包括JSP、servlet、EJB。具有出色的群集技术。 主要目录../usr/weblogic11g/Middleware/user_proje...
    weblogic是j2ee的应用服务器(application server),包括JSP、servlet、EJB。具有出色的群集技术
    主要目录../usr/weblogic11g/Middleware/user_projects/domains/...
    Tomcat 也是Web Container,但是只包括JSP、servlet。不支持EJB。但是Tomcat配合jboss和apache可以实现j2ee应用服务器功能。
    EJB服务器,“商务软件的核心部分是它的业务逻辑。业务逻辑抽象了整个商务过程的流程,并使用计
    算机语言将他们实现”。即主要存放业务逻辑的组件。架构将业务逻辑类打包放到EJB组件中,成为一个远程服务器。客户端通过网络进行访问。
    EJB参考文献:http://blog.csdn.net/jojo52013145/article/details/5783677

    来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/25550578/viewspace-1562339/,如需转载,请注明出处,否则将追究法律责任。

    转载于:http://blog.itpub.net/25550578/viewspace-1562339/

    展开全文
  • weblogic 12c卸载

    千次阅读 2020-01-05 15:21:55
    这里写自定义目录标题weblogic 12c卸载 weblogic 12c卸载 linux weblogic12.1.3.0卸载过程 主要是一开始以为跟之前版本一样有uninstall.sh,但却找不到。 最后google 才发现改了个名字,deinstall.sh 可能后面的版本...

    weblogic 12c卸载

    linux weblogic12.1.3.0卸载过程
    主要是一开始以为跟之前版本一样有uninstall.sh,但却找不到。

    最后google 才发现改了个名字,deinstall.sh

    可能后面的版本都是这个脚本了吧。

    先进入脚本目录,命令:cd /home/weblogic/Oracle/Middleware/oui/bin
    在这里插入图片描述

    展开全文
  • weblogic安装升级配置

    2019-04-15 17:50:00
    本次操作是主要围绕如何搭建weblogic服务器升级weblogic软件及配置服务,总共有三大步骤,可划分为六个小步骤: 选取已有环境,准备weblogic压缩包,java包等 准备操作系统环境用户目录等 安装weblogic 升级...

      本次操作是主要围绕如何搭建weblogic服务器升级weblogic软件及配置服务,总共有三大步骤,可划分为六个小步骤:

    1. 选取已有环境,准备weblogic压缩包,java包等
    2. 准备操作系统环境用户目录等
    3. 安装weblogic
    4. 升级weblogic软件
    5. 创建Weblogic域 (domain)
    6. 启动Weblogic服务

     

    准备安装包:

      weblogic安装包:wls1036_generic.jar (客户软件要求版本)

      java包:jdk-7u80-linux-x64.tar.gz  (客户软件要求版本)

     

    操作系统环境准备:

    • 创建weblogic用户:
    groupadd -g 501 weblogic
    useradd -u 1001 -g weblogic weblogic
    echo ovsweb411! | passwd --stdin weblogic
    mkdir /weblogic
    mkdir -p /weblogic/patch
    chown -R weblogic:weblogic /weblogic
    chmod -R 775 /weblogic
    • 关闭防火墙
    linux 7
    #systemctl stop firewalld
    #systemctl disable firewalld
    linux之前
    # service iptables stop
    # chkconfig iptables off
    # chkconfig --list iptables
    • 安装必要的包
    yum -y install  xterm.x86_64*
    yum -y install  xorg-x11-xauth*
    yum -y install  xorg-x11-app*
    yum -y install  unzip
    yum -y install  libXt*
    oem需要的包:
    yum -y install gcc-4.*
    yum -y install sysstat-10.*

     

    安装Java:

    • 解压java包
    cd /weblogic
    tar -xvf jdk-7u80-linux-x64.tar.gz
    • 修改weblogic的.bash_profile
    export CONFIG_JVM_ARGS='-Djava.security.egd=file:/dev/./urandom'    --config.sh 70%较慢,设置修复
    PATH=$PATH:/weblogic/jdk1.7.0_80/bin:$HOME/.local/bin:$HOME/bin
    
    export PATH
    export JAVA_HOME=/weblogic/jdk1.7.0_80
    export LANG=c
    
    #export LC_ALL=zh_CN.UTF-8
    #export LANG=zh_CN.UTF-8

    java -version 验证查看

     

    安装weblogic:

    java -jar wls1036_generic.jar (默认图形界面,没有的话会自动-mode=console)
    -Welcome页面,输入Next后回车;
    Unable to instantiate GUI, defaulting to console mode.无法实例化 GUI,默认进入控制台模式。
    Extracting 0%....................................................................................................100%
    
    
    
    <-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
    
    Welcome:
    --------
    
    This installer will guide you through the installation of WebLogic 10.3.6.0.
    Type "Next" or enter to proceed to the next prompt.  If you want to change data entered previously, type "Previous".  You may quit the installer at any time by typing "Exit".
    
    
    Enter [Exit][Next]> 回车
    
    
    
    <-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
    
    Choose Middleware Home Directory:
    ---------------------------------
    
        "Middleware Home" = [Enter new value or use default
    "/bea/weblogic/Oracle/Middleware"]
    
    
    Enter new Middleware Home OR [Exit][Previous][Next]> /bea/weblogic/
    
    
    
    <-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
    
    Choose Middleware Home Directory:
    ---------------------------------
    
        "Middleware Home" = [/bea/weblogic]
    
    Use above value or select another option:
        1 - Enter new Middleware Home
        2 - Change to default [/bea/weblogic/Oracle/Middleware]
    
    
    Enter option number to select OR [Exit][Previous][Next]> 1
    
    
    
    <-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
    
    Choose Middleware Home Directory:输入你要安装的位置
    ---------------------------------
    
        "Middleware Home" = [/bea/weblogic]
    
    
    Enter new Middleware Home OR [Exit][Previous][Next]>
    
    
    
    <-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
    
    Choose Middleware Home Directory:
    ---------------------------------
    
        Warning
    
    /bea/weblogic directory is not empty. Proceed with installation?
    
    
    Enter [Exit][Previous][Next]>next
    
    
    
    <-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
    
    Register for Security Updates:
    ------------------------------
    
    Provide your email address for security updates and  to initiate configuration manager.
    
      1|Email:[]
      2|Support Password:[]
      3|Receive Security Update:[Yes]
    
    
    Enter index number to select OR [Exit][Previous][Next]> 3
    
    
    
    <-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
    
    Register for Security Updates:
    ------------------------------
    
    Provide your email address for security updates and  to initiate configuration manager.
    
        "Receive Security Update:" = [Enter new value or use default "Yes"]
    
    
    
    Enter [Yes][No]? no
    
    
    
    <-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
    
    Register for Security Updates:
    ------------------------------
    
    Provide your email address for security updates and  to initiate configuration manager.
    
        "Receive Security Update:" = [Enter new value or use default "Yes"]
    
    
    
    Enter [Yes][No]? yes
    
    
    
    <-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
    
    Register for Security Updates:
    ------------------------------
    
    Provide your email address for security updates and  to initiate configuration manager.
    
      1|Email:[]
      2|Support Password:[]
      3|Receive Security Update:[No]
    
    
    
    Enter index number to select OR [Exit][Previous][Next]>next
    
    
    <-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
    
    Register for Security Updates:
    ------------------------------
    
    Provide your email address for security updates and  to initiate configuration manager.
    
      1|Email:[]
      2|Support Password:[]
      3|Receive Security Update:[No]
    
    
    
    Enter index number to select OR [Exit][Previous][Next]>next
    
    
    
    <-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
    
    Choose Install Type:
    --------------------
    
    Select the type of installation you wish to perform.
    
     ->1|Typical
        |  Install the following product(s) and component(s):
        | - WebLogic Server
        | - Oracle Coherence
    
      2|Custom
        |  Choose software products and components to install and perform optional
        |configuration.
    
    
    
    Enter index number to select OR [Exit][Previous][Next]> 2
    
    
    
    <-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
    
    Choose Products and Components:
    -------------------------------
    
        Release 10.3.6.0
        |_____WebLogic Server [1] x
        |    |_____Core Application Server [1.1] x
        |    |_____Administration Console [1.2] x
        |    |_____Configuration Wizard and Upgrade Framework [1.3] x
        |    |_____Web 2.0 HTTP Pub-Sub Server [1.4] x
        |    |_____WebLogic SCA [1.5] x
        |    |_____WebLogic JDBC Drivers [1.6] x
        |    |_____Third Party JDBC Drivers [1.7] x
        |    |_____WebLogic Server Clients [1.8] x
        |    |_____WebLogic Web Server Plugins [1.9] x
        |    |_____UDDI and Xquery Support [1.10] x
        |    |_____Server Examples [1.11]
        |    |_____Evaluation Database [1.12] x
        |_____Oracle Coherence [2] x
            |_____Coherence Product Files [2.1] x
            |_____Coherence Examples [2.2]
    
        *Estimated size of installation: 690.2 MB
    
    
    Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> 2
    
    
    
    <-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
    
    Choose Products and Components:
    -------------------------------
    
        Release 10.3.6.0
        |_____WebLogic Server [1] x
        |    |_____Core Application Server [1.1] x
        |    |_____Administration Console [1.2] x
        |    |_____Configuration Wizard and Upgrade Framework [1.3] x
        |    |_____Web 2.0 HTTP Pub-Sub Server [1.4] x
        |    |_____WebLogic SCA [1.5] x
        |    |_____WebLogic JDBC Drivers [1.6] x
        |    |_____Third Party JDBC Drivers [1.7] x
        |    |_____WebLogic Server Clients [1.8] x
        |    |_____WebLogic Web Server Plugins [1.9] x
        |    |_____UDDI and Xquery Support [1.10] x
        |    |_____Server Examples [1.11]
        |    |_____Evaluation Database [1.12] x
        |_____Oracle Coherence [2]
            |_____Coherence Product Files [2.1]
            |_____Coherence Examples [2.2]
    
        *Estimated size of installation: 678.7 MB
    
    
    Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]>next
    
    
    
    <-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
    
    JDK Selection (Any * indicates Oracle Supplied VM):
    ---------------------------------------------------
    
    JDK(s) chosen will be installed.  Defaults will be used in script string-substitution if installed.
    
      1|Add Local Jdk
      2|/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64[x]
    
    
    
      *Estimated size of installation:  678.7 MB
    
    
    Enter 1 to add or >= 2 to toggle selection  OR [Exit][Previous][Next]>
    
    
    
    <-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
    
    Choose Product Installation Directories:
    ----------------------------------------
    
    Middleware Home Directory: [/bea/weblogic]
    
    Product Installation Directories:
    
    
        "WebLogic Server" = [Enter new value or use default
    "/bea/weblogic/wlserver_10.3"]
    
    
    Enter new WebLogic Server OR [Exit][Previous][Next]>
    
    
    
    <-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
    
    The following Products and JDKs will be installed:
    --------------------------------------------------
    
        WebLogic Platform 10.3.6.0
        |_____WebLogic Server
            |_____Core Application Server
            |_____Administration Console
            |_____Configuration Wizard and Upgrade Framework
            |_____Web 2.0 HTTP Pub-Sub Server
            |_____WebLogic SCA
            |_____WebLogic JDBC Drivers
            |_____Third Party JDBC Drivers
            |_____WebLogic Server Clients
            |_____WebLogic Web Server Plugins
            |_____UDDI and Xquery Support
            |_____Evaluation Database
    
        *Estimated size of installation: 678.8 MB
    
    
    Enter [Exit][Previous][Next]>
    
    
    
    <-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
    
    Installing files..
    
    0%          25%          50%          75%          100%
    [------------|------------|------------|------------]
    [***************************************************]
    
    
    Performing String Substitutions...
    
    
    <-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
    
    Configuring OCM...
    
    0%          25%          50%          75%          100%
    [------------|------------|------------|------------]
    [***************************************************]
    
    
    Creating Domains...
    
    
    
    <-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
    
    Installation Complete
    
    
    Congratulations! Installation is complete.
    
    
    Press [Enter] to continue or type [Exit]>
    
    
    
    
    
    <-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->
    
    Clean up process in progress ... 
    安装交互过程

     

    升级weblogic软件:

    •    10.3.0.6:找寻其它机器上的 /weblogic/Oracle/Middleware/utils/bsu/cache_dir
    [weblogic@rst-szdagl-app-01 bsu]$ vi bsu.sh
    MEM_ARGS="-Xms256m -Xmx512m" --修改MEM_ARGS="-Xms2056m -Xmx5012m"
    •   解压包到/weblogic/Oracle/Middleware/utils/bsu/cache_dir ,没有目录的话,手工创建
    nohup ./bsu.sh -install -patch_download_dir=/weblogic/Oracle/Middleware/utils/bsu/cache_dir -patchlist=GENM -prod_dir=/weblogic/Oracle/Middleware/wlserver_10.3 &
    nohup ./bsu.sh -install -patch_download_dir=/weblogic/Oracle/Middleware/utils/bsu/cache_dir -patchlist=BHT3 -prod_dir=/weblogic/Oracle/Middleware/wlserver_10.3 &
    •   查看apply的补丁
    ./bsu.sh -view -prod_dir=/weblogic/Oracle/Middleware/wlserver_10.3 -status=applied -verbose
    
    或者:
    
    $ . $WL_HOME/server/bin/setWLSEnv.sh 
    $ java weblogic.version
    •   其它版本的升级:
    java -jar /weblogic/patch/6880880/opatch_generic.jar -silent oracle_home=/weblogic/Oracle/Middleware/Oracle_Home
    
    cd /patch
    /weblogic/Oracle/Middleware/Oracle_Home/OPatch/opatch apply

     

    创建weblogic域:

    [weblogic@rst-szdagl-app-01 ~]$ cd /weblogic/Oracle/Middleware/wlserver_10.3/common/bin
    [weblogic@rst-szdagl-app-01 ~]$./config.sh
    or
    cd /weblogic/Oracle/Middleware/Oracle_Home/wlserver/common/bin
    cd /home/weblogic/Oracle/Middleware/wlserver_10.3/common/bin
    -bash-4.1$ ./config.sh
    Unable to instantiate GUI, defaulting to console mode.
    
    
    <------------------- Fusion Middleware Configuration Wizard ------------------>
    
    Welcome:
    --------
    
    Choose between creating and extending a domain. Based on your selection,
    the Configuration Wizard guides you through the steps to generate a new or
    extend an existing domain.
    
     ->1|Create a new WebLogic domain
        |    Create a WebLogic domain in your projects directory.
    
      2|Extend an existing WebLogic domain
        |    Use this option to add new components to an existing domain and modify    |configuration settings.
    
    
    Enter index number to select OR [Exit][Next]> 1
    
    
    <------------------- Fusion Middleware Configuration Wizard ------------------>
    
    Select Domain Source:
    ---------------------
    
    Select the source from which the domain will be created. You can create the
    domain by selecting from the required components or by selecting from a
    list of existing domain templates.
    
     ->1|Choose Weblogic Platform components
        |    You can choose the Weblogic component(s) that you want supported in
        |your domain.
    
      2|Choose custom template
        |    Choose this option if you want to use an existing  template. This
        |could be a custom created template using the Template Builder.
    
    
    Enter index number to select OR [Exit][Previous][Next]> 1
    
    
    <------------------- Fusion Middleware Configuration Wizard ------------------>
    
    Application Template Selection:
    -------------------------------
    
    
        Available Templates
        |_____Basic WebLogic Server Domain - 10.3.6.0 [wlserver_10.3]x
        |_____Basic WebLogic SIP Server Domain - 10.3.6.0 [wlserver_10.3] [2]
        |_____WebLogic Advanced Web Services for JAX-RPC Extension - 10.3.6.0 [wlserver_10.3] [3]
        |_____WebLogic Advanced Web Services for JAX-WS Extension - 10.3.6.0 [wlserver_10.3] [4]
    
    
    Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]>
    
    
    <------------------- Fusion Middleware Configuration Wizard ------------------>
    
    Edit Domain Information:
    ------------------------
    
        |  Name  |    Value    |
      _|________|_____________|
      1| *Name: | base_domain |
    
    
    Enter value for "Name" OR [Exit][Previous][Next]> wlyxweb
    
    
    <------------------- Fusion Middleware Configuration Wizard ------------------>
    
    Edit Domain Information:
    ------------------------
    
        |  Name  |  Value  |
      _|________|_________|
      1| *Name: | wlyxweb |
    
    Use above value or select another option:
        1 - Modify "Name"
        2 - Discard Changes
    
    
    Enter option number to select OR [Exit][Previous][Next]>
    
    
    <------------------- Fusion Middleware Configuration Wizard ------------------>
    
    Select the target domain directory for this domain:
    ---------------------------------------------------
    
        "Target Location" = [Enter new value or use default
    "/bea/weblogic/user_projects/domains"]
    
    Enter new Target Location OR [Exit][Previous][Next]> /wlyx/webapp/domains
    
    
    <------------------- Fusion Middleware Configuration Wizard ------------------>
    
    Configure Administrator User Name and Password:
    -----------------------------------------------
    
    Create a user to be assigned to the Administrator role. This user is the
    default administrator used to start development mode servers.
    
        |          Name          |                  Value                  |
      _|_________________________|_________________________________________|
      1|        *Name:          |                weblogic                |
      2|    *User password:    |                                        |
      3| *Confirm user password: |                                        |
      4|      Description:      | This user is the default administrator. |
    
    Use above value or select another option:
        1 - Modify "Name"
        2 - Modify "User password"
        3 - Modify "Confirm user password"
        4 - Modify "Description"
    
    
    Enter option number to select OR [Exit][Previous][Next]> 2
    
    
    <------------------- Fusion Middleware Configuration Wizard ------------------>
    
    Configure Administrator User Name and Password:
    -----------------------------------------------
    
    Create a user to be assigned to the Administrator role. This user is the
    default administrator used to start development mode servers.
    
        "*User password:" = []
    
    
    Enter new *User password: OR [Exit][Reset][Accept]> welwlyx50
    
    
    <------------------- Fusion Middleware Configuration Wizard ------------------>
    
    Configure Administrator User Name and Password:
    -----------------------------------------------
    
    Create a user to be assigned to the Administrator role. This user is the
    default administrator used to start development mode servers.
    
        |          Name          |                  Value                  |
      _|_________________________|_________________________________________|
      1|        *Name:          |                weblogic                |
      2|    *User password:    |                *********                |
      3| *Confirm user password: |                                        |
      4|      Description:      | This user is the default administrator. |
    
    Use above value or select another option:
        1 - Modify "Name"
        2 - Modify "User password"
        3 - Modify "Confirm user password"
        4 - Modify "Description"
        5 - Discard Changes
    
    Enter option number to select OR [Exit][Previous][Next]> 3
    
    
    <------------------- Fusion Middleware Configuration Wizard ------------------>
    
    Configure Administrator User Name and Password:
    -----------------------------------------------
    
    Create a user to be assigned to the Administrator role. This user is the
    default administrator used to start development mode servers.
    
        "*Confirm user password:" = []
    
    
    Enter new *Confirm user password: OR [Exit][Reset][Accept]> welwlyx50
    
    
    <------------------- Fusion Middleware Configuration Wizard ------------------>
    
    Configure Administrator User Name and Password:
    -----------------------------------------------
    
    Create a user to be assigned to the Administrator role. This user is the
    default administrator used to start development mode servers.
    
        |          Name          |                  Value                  |
      _|_________________________|_________________________________________|
      1|        *Name:          |                weblogic                |
      2|    *User password:    |                *********                |
      3| *Confirm user password: |                *********                |
      4|      Description:      | This user is the default administrator. |
    
    Use above value or select another option:
        1 - Modify "Name"
        2 - Modify "User password"
        3 - Modify "Confirm user password"
        4 - Modify "Description"
        5 - Discard Changes
    
    
    Enter option number to select OR [Exit][Previous][Next]>
    
    
    <------------------- Fusion Middleware Configuration Wizard ------------------>
    
    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]> 2
    
    
    <------------------- Fusion Middleware Configuration Wizard ------------------>
    
    Java SDK Selection:
    -------------------
    
     ->1|N/A SDK 1.6.0_24 @ /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64
      2|Other Java SDK
    
    
    Enter index number to select OR [Exit][Previous][Next]> 2
    
    
    <------------------- Fusion Middleware Configuration Wizard ------------------>
    
    Java SDK Selection:
    -------------------
    
        "JVM Directory" = []
    
    
    Enter new JVM Directory OR [Exit][Previous][Next]> /bea/jdk/jdk1.6.0_37
    
    
    <------------------- Fusion Middleware Configuration Wizard ------------------>
    
    Java SDK Selection:
    -------------------
    
        "JVM Directory" = [/bea/jdk/jdk1.6.0_37]
    
    
    Enter new JVM Directory OR [Exit][Previous][Next]>
    
    
    <------------------- Fusion Middleware Configuration Wizard ------------------>
    
    Select Optional Configuration:
    ------------------------------
    
      1|Administration Server [ ]
      2|Managed Servers, Clusters and Machines [ ]
      3|RDBMS Security Store [ ]
    
    
    Enter index number to select OR [Exit][Previous][Next]> 1
    
    
    <------------------- Fusion Middleware Configuration Wizard ------------------>
    
    Select Optional Configuration:
    ------------------------------
    
      1|Administration Server [x]
      2|Managed Servers, Clusters and Machines [ ]
      3|RDBMS Security Store [ ]
    
    Enter index number to select OR [Exit][Previous][Next]>
    
    
    <------------------- Fusion Middleware Configuration Wizard ------------------>
    
    Configure the Administration Server:
    ------------------------------------
    
    Each WebLogic Server domain must have one Administration Server. The
    Administration Server 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        |
    
    Use above value or select another 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]>
    
    
    <------------------- Fusion Middleware Configuration Wizard ------------------>
    
    Creating Domain...
    
    0%          25%          50%          75%          100%
    [------------|------------|------------|------------]
    [***************************************************]
    
    
    **** Domain Created Successfully! ****
    配置交互过程
    •   选生产模式,修改weblogic密码,修改默认端口64352等。
    •   创建较慢,提前修改:
    cd /weblogic/jdk1.8.0_191/jre/lib/security
    vi java.security
    
    securerandom.source=file:/dev/./urandom

     

    启动weblogic server:

    •    先到目录下手动启动
    cd /weblogic/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain
    ./startWebLogic.sh
    •    设置自启动:
    cd /weblogic/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/servers/AdminServer
    mkdir security
    cd security/
    vi boot.properties
    username=weblogic
    password=web1rsgl#

      cd /weblogic/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain
      nohup sh startWebLogic.sh &

     

    机器管理server创建machine和server,供开发部署:

    cd /weblogic/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/server
    nohup sh startManagedWebLogic.sh  Server-0 http://127.0.0.1:64352 &

    转载于:https://www.cnblogs.com/ocp-100/p/10689684.html

    展开全文
  • Weblogic企业级运维实战 ...第四章:WebLogic主要目录结构 第五章:WebLogic配置相关文件 第六章:Java虚拟机相关知识 第七章:集群的安装与配置 第八章:虚拟主机
  • Linux卸载weblogic

    2020-06-02 18:24:23
    先进入脚本目录,命令:cd /home/weblogic/Oracle/Middleware/oui/bin 卸载命令如图:(注意后面参数,不加就会召唤图形界面) ——————结束———————— 附: 若直接输入./deinstall.sh会在如下...
  • myeclipse 配置 weblogic10

    2015-07-08 10:57:12
    摘要花了好久(半天吧),搞出来的。大家别笑话,主要是网路资料不好找。...在weblogic安装目录下建一个server目录,就可以跨过这个问题,但是问题到此还没有结束,因为在通过myeclipse启动weblogic的时候会报错
  • weblogic Server允许通过设置weblogic应用程序扩展描述符(weblogic.xml)配置jsp容器,该文件通常位于web应用程序的web-inf目录下。一般不通过修改weblogic文件直接配置,而是通过控制台配置该文件,在Deploments--...
  • WebLogic部署应用程序

    2010-04-19 16:30:24
    ☆自动部署:WebLogic Server将定期扫描<domain-name>/applications目录,以获取新的和更 新的应用程序。 ☆使用WebLogic.Deployer、WLShell和Ant wldeploy任务用于需要手动地重新部署的应用程序。 ☆WebLogic ...
  • 基本信息 本文基于weblogic 10.3.6 startWeblogic.sh 该命令用于启动AdminServer,需要加载bin目录下的...weblogic的home目录weblogic的domain目录weblogic的long_domain_home目录; 该命令加载wls...
  • weblogic修改控制台密码

    千次阅读 2019-05-26 20:42:52
    修改weblogic控制台密码主要有两种方式1、通过控制台修改2、通过命令行修改插入链接与图片 主要有两种方式 1> 登录控制台修改 适用于要修改的域不多,优点是快,但是得手动修改。 2> 命令行方式修改 ...
  • 该文件通常位于web应用程序的web-inf目录下。一般不通过修改weblogic文件直接配置, 而是通过控制台配置该文件,在Deploments-->web Application-->defaultWebApp中配置。 可在开发和生产环境中配置不同的...
  • weblogic Jrockit dump

    2012-12-08 11:13:32
    jrockit.xxx.dump   把starWeblogic里面的set JAVA_VENDOR的值由BEA改成SUN,set JAVA_HOME由D:\bea\jrockit81sp4_142_05改为系统环境...主要原因还是因为用Weblogic启动的时候运行的是自带的较低版本的jdk造成的
  • weblogic 安全特性

    2009-04-22 22:43:05
    安全手段主要包括材料验证和数据加密,其典型的材料验证是通过验证客户的保密字(口令),根据是否正确决定其能否访问某一资源(目录、系统和数据等),而数据加密则通过加密算法实现。 采用weblogic的许多分布式...
  • Weblogic9.2 建立域

    2012-05-17 17:34:33
    1. 运行weblogic目录/home/bea/bea/weblogic92/common/bin/下的config.sh, 并按照提示建立名为web_domain的新域,主要步骤如下: a) cd /home/bea/bea/weblogic92/common/bin b) ./config.sh c) ...
  • 本书全面介绍了WebLogic在J2EE应用程序的各个方面所完成的任务:从使用servlet、JSP和EJB,到管理分布式系统,包括利用JTA的事务处理、利用JNDI的目录服务、利用JMS的消息系统,等等。本书作者还特别注意WebLogic中...
  • Weblogic11g内存调优

    千次阅读 2018-04-10 16:10:35
    weblogic设置内存主要需要修改两个地方,如下:  1、安装目录/home/weblogic/Oracle/Middleware/wlserver_10.3/common下找到commEnv.cmd  打开该配置文件,看到类似 -Xms512m ,-Xmx1024m , -XX:...
  • weblogic Server允许通过设置weblogic应用程序扩展描述符(weblogic.xml)配置jsp容器,该文件通常位于web应用程序的web-inf目录下。一般不通过修改weblogic文件直接配置,而是通过控制台配置该文件,在Deploments--...
  • 1. 文档说明 此文档主要描述 weblogic10.3 在 window 操作系统下的安装过程。 文档可用于员工自有机器及客户现场测试环境的安装指导,客户现场正式环境的安装、配置参考2. 程序安装复制 weblogic 安装程序至服务器...
  • WebLogic 8安装配置

    2008-01-24 11:31:00
    WebLogic 8安装配置出处:CSDN WebLogic 8安装,并配置一个DefaultWebApp目录。...安装目录选在d:/bea,选择... 下面主要看看配置过程,以下步骤按照WebLogic配置出现界面,就不每步抓图了:) 1.“开始->程序->Bea We
  • weblogic.xml的那些事儿

    千次阅读 2013-07-25 11:32:42
    该文件通常位于web应用程序的web-inf目录下。一般不通过修改weblogic文件直接配置, 而是通过控制台配置该文件,在Deploments-->web Application-->defaultWebApp中配置。 可在开发和生产环境中配置不同的信息。 ...
  • weblogic 11g内存设置

    2013-07-24 09:51:31
    weblogic设置内存主要需要修改两个地方,如下: 1、安装目录bea\wlserver_10.0\common\bin下找到commEnv.cmd 打开该配置文件,看到类似 -Xms512m ,-Xmx1024m , -XX:PermSize=128m -XX:MaxPermSize=256m 这样的...
  • windows中weblogic服务器配置

    千次阅读 2012-03-02 21:52:48
    安装目录我选在d:\bea,选择完全... 下面主要看看配置过程,以下步骤按照WebLogic配置出现界面,就不每步抓图了:)  1.“开始->程序->Bea WebLogic Platform 8.1-> Configuration Wizard”,启动Configuration Wiz
  • 1、进入home文件夹下,使用#ls命令查看该文件夹下文件信息:Web和weblogic两个文件目录(有些在app目录主要是找到.config.sh文件在哪个目录) 2、使用命令$ cd weblogic ,$ls将该目录下的文件信息队列,找...
  • WebLogic8安装配置

    2006-09-19 07:01:00
    安装过程就不多说了,执行...下面主要看看配置过程,以下步骤按照WebLogic配置出现界面1.“开始->程序->Bea WebLogic Platform 8.1-> Configuration Wizard”,启动Configuration Wizard工具。2.选择“新建WebLogi
  • weblogic的安装与发布

    2015-03-08 15:09:52
    公司的产品以前一直都是tomcat,现在突然都要改成weblogic,好在本人前3年折腾的都是这个。 官方下载介质,linux上安装server,创建域,一切看起来都很顺利。 然后就开始把产品的应用折腾部署上去,跟预想一样的,...
  • Weblogic Server是美国Oracle公司主要的产品之一,其主要用于开发、集成、部署和管理大型分布式Web应用、网络应用和数据库应用,是商业市场主要的Java应用服务器软件之一。 利用该漏洞,远程攻击者可以通过发送恶意...
  • WebLogic上发布项目步骤

    千次阅读 2010-01-08 14:15:00
    跟项目相关的发布,在WebLogic 11g(或者其他...一、配置数据库链接:在WebLogic里面配置数据连接的方式多种多样,有jta,还有一般的jdbc,这些配置方式都在services目录下!我们的项目主要是jdbc配置,通过jndi配

空空如也

空空如也

1 2 3 4 5 6
收藏数 113
精华内容 45
关键字:

weblogic主要目录