[ The imperialist Japanese military must officially acknowledge and apologize for the coercion of young women into sexual slaves. / 幼い女性を性の奴隷にした帝國主義日本軍の?制性を公式に認め、謝罪しなければならない. ]

사용자

ID:
PW:

INDEX
01.게시판
게시판 [71]
02.File Book
File 자료실 [96]
Site Link [14]
개인폴더 [201]
03.Field Book
Altibase [19]
Tibero [30]
MS-SQL [25]
MySQL [43]
DB2 [79]
ORACLE [3054]
PSQL [135]
CUBRID [5]
기타정보 [158]
운영체제 [607]
04.Q/A Book
Q/A [53]
05.방명록
방명록 [54]
레벨업 [37]
구인/구직 [2]

기념일
Search
LINK
+ 가족 Hompy
+ DNSEver
IOTN :: Field Book :: ORACLE

 회원가입

weblogic cluster session share [ 세션 공유 login.jsp login chk, weblogic.management.ManagementException: [Deployer:149188] ]
최길호 [LIST]   2018-03-03 09:25:44, 조회 : 124,607

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12-ManageSessions--4478/session.htm

weblogic session share test
managed server#1,#2 로그인 세션 유지

cat > index.jsp
<%@page contentType="text/html" pageEncoding="UTF-8"%> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> </head> <body> <h1>Login Page</h1> <center> <h2>Signup Details</h2> <form action="LoginCheck.jsp" method="post"> <br/>Username:<input type="text" name="username"> <br/>Password:<input type="password" name="password"> <br/><input type="submit" value="Submit"> </form> </center> </body> </html>

cat > LoginCheck.jsp
<%@page contentType="text/html" pageEncoding="UTF-8"%> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> </head> <body>
<% String username=request.getParameter("username");
String password=request.getParameter("password");
if((username.equals("test") && password.equals("test")))
{ session.setAttribute("username",username);
  response.sendRedirect("Home.jsp"); }
else
  response.sendRedirect("Error.jsp"); %> </body> </html>

cat > Home.jsp
<%@page contentType="text/html" pageEncoding="UTF-8" errorPage="Error.jsp"%> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> </head> <body> <br/><br/><br/><br/><br/> <center> <h2>
<% String a=session.getAttribute("username").toString(); out.println("Hello "+a); %> </h2> <br/> <br/> <br/><br/><br/><br/><br/> <a href="Logout.jsp">Logout</a> </center> </body> </html>

cat > Logout.jsp
<%@page contentType="text/html" pageEncoding="UTF-8"%> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> </head> <body>
<% session.removeAttribute("username");
session.removeAttribute("password");
session.invalidate(); %> <h1>Logout was done successfully.</h1> </body> </html>

cat > Error.jsp
<%@page contentType="text/html" pageEncoding="UTF-8"%> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> </head> <body> <h1>Some Error has occured,Please try again later...</h1> </body> </html>

. ./wls10301/wls10301/bin/setDomainEnv.sh
java weblogic.marathon.ddinit.WebInit login

vi login/WEB-INF/weblogic.xml
... ... ...
  <context-root>/login</context-root>
  <session-descriptor>
   <persistent-store-type>replicated_if_clustered</persistent-store-type>
  </session-descriptor>
</weblogic-web-app>


find login
login
login/index.jsp
login/LoginCheck.jsp
login/Home.jsp
login/Logout.jsp
login/Error.jsp
login/WEB-INF
login/WEB-INF/web.xml
login/WEB-INF/weblogic.xml


다른점 nodemanager 사용해서 서비스 시작
대상을 AdminServer 으로 해도 같은 에러 확인
vi login/WEB-INF/weblogic.xml:  <context-root>/login</context-root>
<<<<<<<<< 동기화 안되면 발생, console-배치-sv_name-구성-일반-컨텍스트 루트:/login 확인 필요
console log
------------
weblogic.management.ManagementException: [Deployer:149188]No application named 'login' exists for operation start. Operation can not be performed until server is restarted.
managed log
------------
<Mar 3, 2018 7:41:23 AM KST> <Warning> <Munger> <BEA-2156203> <A version attribute was not found in element web-app in the deployment descriptor in /wls/10.3/login/WEB-INF/web.xml. A version attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE version.>

조치: restart all server [ WLS admin,managed server ]

source
출처: http://mrbool.com/how-to-create-a-login-form-with-jsp/25685
error
출처: Deploying application gives error: 'Weblogic.management.ManagementException: [Deployer:149188]No Application Named 'otp-service-1.0' (문서 ID 2341643.1)
3.239.9.151


  LIST

제목 작성자 작성일 조회
Troubleshoot  ORA-03137: TTC    최길호 2018/04/24 1007007
WebLogic  weblogic cache    최길호 2018/02/28 237691
WebLogic  weblogic cluster session share [ 세션 공유 login.jsp login chk, weblogic.management.ManagementException: [Deployer:149188] ]    최길호 2018/03/03 124607
Troubleshoot  IMP-00003 ORA-32603: invalid FREEPOOLS LOB storage option value [ move lob table, lob index ]    최길호 2013/05/26 120224
Troubleshoot  proc, windows, vc 2003 , pcmake , Files\Microsoft은(는) 예상되지 않았습니다    최길호 2006/10/02 100261
Troubleshoot  dblink ORA-02068 ORA-03113 ORA-02080 [ ALTER SESSION CLOSE DATABASE LINK RDBNM; ]  [4]  최길호 2010/07/10 99054
Troubleshoot  ORA-00600: internal error code, arguments: [kcbzib_kcrsds_1]    최길호 2021/09/23 98788
WebLogic   WEB-INF/lib 우선 적용, index-directory-enabled 인덱스 디렉토리    최길호 2018/02/27 97316
WebLogic  java -jar fmw_12.2.1.3.0_wls.jar The OpenJDK JVM is not supported on this platform.    최길호 2018/02/06 86610
Troubleshoot  TRIGGER,Function ORA-02069 ORA-06512 ORA-04088 ORA-02070    최길호 2008/12/19 86504
Script  session monitor [ dbms_xplan sql binds ]  [2]  최길호 2010/06/30 85394
Troubleshoot  ORA-03297 Resizing Empty Datafile    최길호 2009/08/11 84496
Admin  dd copy datafile raw device , filesystem  [4]  최길호 2009/09/07 81827
SQL,PL*SQL  dbms_random 사용예  [1]  최길호 2010/04/12 81288
Troubleshoot  ODBC {Microsoft ODBC for Oracle}, ORA-12154, ODBC NA000 IM006 01000  [1]  최길호 2008/01/04 77684
Troubleshoot  ORA-12537 , <unknown connect data> * 12537  [2]  최길호 2009/11/21 68019
Troubleshoot  ALTER SESSION CLOSE DATABASE LINK    최길호 2010/07/11 66248
Admin  ORACLE과 MSSQL간의 DBLINK 방법    최길호 2008/09/19 65349
Troubleshoot  ld: 0711-224 WARNING: Duplicate symbol: p_xargc    최길호 2010/06/08 65325
Tool  RAC jdbc connection test [ thin java test.java sample ]  [3]  최길호 2010/06/14 61906

    목록보기   다음페이지 1 [2][3][4][5][6][7][8][9][10]..[153]   [다음 10개]
       

Copyright 1999-2024 Zeroboard / skin by 최길호(gilho.kr@gmail.com)
최근 댓글
2021/06/30
윈도우 서버에서 sqlplus .... ORA-...
by 최길호
2021/06/30
ORA-28500: connection from O...
by 최길호
2019/05/02
pkg 확인 SELECT * FROM AL...
by 최길호
최근 게시물
03/04
[기타정보]
아두이노 wifi web test.
by 최길호
03/01
[기타정보]
아두이노 스마트하우스 V2.
by 최길호
02/28
[ORACLE]
plsql run sql from column / 테....
by 최길호