weblogic installation and deployment

 

One. Download weblogic installation package

To Oracle's official website http://www.oracle.com/  download WebLogic (according to their own choice)

two. Extract the installation package.

three. As an administrator to open the cmd command. In the command, type:

Installation of jdk (greater than 1.7 version) directory \ bin \ directory ORACLE_HOME java -jar weblogic jar file directory path = oracle of their own definition of a weblogic

E.g:

Finally, we see this now installed:

Note: The installation path can not have spaces, Chinese.

four. Custom domain: Generate a custom in many files oracle directory, find config.cmd file, then open and then opens a screen as an administrator Next, fill in until user and password (remember), then complete.

Fives. Enter your browser to http: // localhost: 7001 / console weblogic jump to the login page, fill in the login user name and password ok.

six. Next time you start weblogic when you want to run at startup file startweblogic.cmd custom oracle directory, amassing console input http: // localhost: 7001 / console login.

 

Myeclipse deployed in weblogic service

One. The project is packaged as war package and then extract the text format of the files in the folder weblogic installation directory D: \ weblogic \ Oracle \ user_projects domains under \ \ base_domain \ autodeploy \ directory.

two. Myeclipse then configure weblogic service (Note! Jdk version must be version 1.7).

Under the version of window-preferences-servers-weblogic.

three. Weblogic the jdk configuration.

四.      然后再控制台中就会有向tomcat差不多形势的weblogic服务,用法就和tomcat的用法差不多了。

五.      启动weblogic可以在myeclipse的控制台向启动tomcat一样启动,也可以再安装的weblogic下D:\weblogic\Oracle\user_projects\domains\base_domain下的startWebLogic.cmd双击启动。

六.      测试自己的项目是否可以运行:

http://localhost:7001/auditsystem/getLoginUser?LOGINNAME=wangjl&&PASSWORD=123(自己的项目路径)

注意!!如果启动了weblogic后报错找不到文件话可以再操作下面的步骤试试。

在weblogic安装目录下的config文件下:D:\weblogic\Oracle\user_projects\domains\base_domain\config找到config.xml文件,再

<app-deployment>

    <name>项目名</name>

    <target>AdminServer</target>

    <module-type>war</module-type>

    <source-path>autodeploy\项目名</source-path>

    <security-dd-model>DDOnly</security-dd-model>

    <staging-mode>nostage</staging-mode>

    <plan-staging-mode xsi:nil="true"></plan-staging-mode>

    <cache-in-app-directory>false</cache-in-app-directory>

  </app-deployment>

 

Guess you like

Origin www.cnblogs.com/txf0324/p/11040422.html