Single picking WebLogic and EJB - My Decoction Learning Notes (1)

zhaozj2021-02-16  61

2004-6-7 14: 00WebLogic8.1 installation and simple configuration Web application: (WebLogic's function is really powerful !!) 1) Install the bea weblogic8.1 server version. (Server812_win32.exe) 2) After the installation is set, the installation is complete, after the installation is complete, find "Configuration Wizard" in WebLogic installation directory in the Start menu, click Go, start to create a new WebLogic Configuration. General You can take the default value, where is the server password (if the first time is used), you can run "StarWebLogic.cmd" after completion, if you want to use a folder that meets the basic web application structure, you can copy To% WebLogic_Home% / User_Projects / Domains / MyDomain / Applications5) Restart StartWeblogc.cmd6) Enter: http: // localhost: http: // localhost: 70001 / The folder structure for your web application. 7) If you want to configure some system information of the WebLogic server. You can log in to the http: // localhost: 7001 / console Enter the username and password to log in to the configuration, where many web applications can be made.

2004-6-7 14:58 In WebLogic's console deploying a web application (WAR), 1) I found only to copy the web application structure folder directly as above, or use WAR package deployment 2) First use Java's JAR command to compress (I found WebLogic can't recognize JAR package, don't understand why) 3) JAR command is simple, detail, you can enter JAR Enter JDK Chinese help. Such as: (I don't know what I have to have a JDK environment, I can't identify the JAR external command, I have to use the reference path) D: /j2sdk1.4/bin/weB> D: /J2SDK1.4/bin/jar CVF Web.war *. * // Description: Use the jar command to compress all the files in the current directory to Web.war, where the CVF indicates: // Create a new archive / generation detailed output to standard output Up / Specify archive file name (ie web.war) 4) Copy this file to WebLogic_Home% / User_Projects / Domains / MyDomain / Applications /, 5) Log in to WebLogic console Console, click Mydomain / Deployment / Web / Application on the left After clicking, browse to your web.war file on the right, select him, click Deploy, if there is no red prompt, indicate that the deployment is successful, then, check that your WAR file is correct. 6) Deployment You have to enter a name for managing. By default, restart the server, enter: http:// localhost: 70001 / web / your specific directory. Visual, if you can see your JSP to explain everything OK.

2004-6-7 15:45 Configure the WebLogic server in JB9. In order to use EJB, 1) starts after ensuring WebLogic installation. 2) In Menu Tooles / Configure Servers, select WebLogic Application Server8.x, select Enable Server (drawn a pair) 3) After editing, click on the Custom page tab, choose Bea Home Directory == = D: / BEA (BEA installation path), select the appropriate JDK, select Domain Directory == D: / bea / user_projects / domains / mydomain (the path to Mydomain you set); in filling in a good username and password, etc. . 4) Remove the pair of WEB BROWSE PATH (main path does not know how to configure), other proven values. 5) Back to the General Tile, configure Home Directory into: D: / bea / weblogic81 / server (your weblogic server path), can you do not modify 6) Click OK, if there is no error, that is basically OK, restart JB9.

转载请注明原文地址:https://www.9cbs.com/read-23854.html

New Post(0)