标签:技术 weblogic lap https 成就 web app esc cat cond
首先在weblogic12c控制台,启动受托管服务server1、server2、server3.
1 weblogic.xml文件内容: 2 3 <!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"> 4 5 <weblogic-web-app> 6 7 <session-descriptor> 8 9 <session-param> 10 11 <param-name>TimeoutSecs</param-name> 12 13 <param-value>28800</param-value> 14 15 </session-param> 16 17 <session-param> 18 19 <param-name>CookieName</param-name> 20 21 <param-value>BSS_JSESSIONID</param-value> 22 23 </session-param> 24 25 <session-param> 26 27 <param-name>PersistentStoreType</param-name> 28 29 <param-value>replicated_if_clustered</param-value> 30 31 </session-param> 32 33 </session-descriptor> 34 35 <jsp-descriptor> 36 37 <jsp-param> 38 39 <param-name>encoding</param-name> 40 41 <param-value>gb2312</param-value> 42 43 </jsp-param> 44 45 <jsp-param> 46 47 <param-name>pageCheckSeconds</param-name> 48 49 <param-value>1</param-value> 50 51 </jsp-param> 52 53 </jsp-descriptor> 54 55 <container-descriptor> 56 57 <servlet-reload-check-secs>1</servlet-reload-check-secs> 58 59 </container-descriptor> 60 61 <context-root>/redis</context-root> 62 63 </weblogic-web-app>
1 2 <?xml version="1.0" encoding="UTF-8"?> 3 4 <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0"> 5 6 <display-name>session_test</display-name> 7 8 <welcome-file-list> 9 10 <welcome-file>index.jsp</welcome-file> 11 12 </welcome-file-list> 13 14 </web-app>
打开weblogic控制台,点击部署-->安装
进入你存放的打包war的目录,选择那个war文件.
点击下一步,
点击下一步
然后一直默认选择,点击完成就好了,部署成功后是如下状态.
(转) Weblogic 12c 集群部署和session复制
标签:技术 weblogic lap https 成就 web app esc cat cond
原文地址:https://www.cnblogs.com/tzhyy/p/9336687.html