Quickly deploy Web projects to WebLogic

Source: Internet
Author: User
Tags in domain
WebLogic Introduction BEA WebLogic is a Java application server for developing, integrating, deploying, and managing large distributed Web applications, network applications, and database applications. Introduce Java dynamic capabilities and the security of Java Enterprise standards into the development, integration, deployment, and management of large network applications.
The BEA WebLogic server has the performance, scalability, and high availability needed to handle critical Web application problems. In conjunction with the BEA WebLogic Commerce ServerTM, BEA WebLogic Server provides a comprehensive solution for deploying adaptive personalized e-business applications.
Configure the WebLogic domain (version 9.x, installation directory for E:\bea) ① run start-> program-> bea products-> Tools-> Configuration.
② Choose Create a new WebLogic domain,next.
③ the Select Domain Source interface to keep the default, Next.
④ Enter the username at the user name, the default is WebLogic, two password are entered 12345678 (password required 8 digits), Next.
⑤ remains the default in the Configure Server Start Mode and JDK interface, where the JDK chooses "Sun SDK 1.5.0_03 @ E:\bea\jdk150_03", and note that if you choose "Other JDK" configuration than SDK 1.5.0_03 a higher version, the server will start with an exception, so it is best to keep the default, and then Next.
⑥ defaults to No,next in the Customize environment and Services Settings interface.
⑦ enter mydomain in Domain name and click Create.
⑧ when finished click Done to close Configuration Wizard dialog box.
⑨ Run Start-> program-> BEA products-> User Projects-> mydomain-> start Admin Server for Weblogic server Domain, Check to see if the server started successfully. [Url]http://localhost:[/url]7001/console configures the weblogic9.x server in Eclipse3.3 (MyEclipse6.0.1). Start Eclipse, select the window-> Preferences menu, and open the Preferences dialog box. Expand the Servers node under MyEclipse, then expand the WebLogic node, click WebLogic 9.x, select the Enable radio button on the right, and enable the WebLogic server. The configuration is as follows:
①bea Home Directory:e:\bea (WebLogic installation directory)
②weblogic installation Directory:e:\bea\weblogic90③admin username:weblogic (configuration from WebLogic)
④admin password:12345678 (from configuration in WebLogic)
⑤execution Domain root:e:\bea\user_projects\domains\mydomain⑥execution Server name:adminserver
⑦security Policy File:e:\bea\weblogic90\server\lib\weblogic.policy⑧jaas Login configuration file: (Null) In the configuration JDK click the JDK in the WebLogic 9.x directory, the JDK here is best to use WebLogic with the JDK, otherwise the following exception information may appear: weblogic.management.ManagementException: Parsing Failure:javax.xml.namespace.QName; Local class Incompatible:stream Classdesc serialversionuid = 4418622981026545151, local class Serialversionuid =-9120448 754896609940
At Weblogic.management.provider.internal.runtimeaccessimpl.<init> (runtimeaccessimpl.java:131)
This point must be noted.   Create a new Web project (Weblogicdemo) directory as follows: The index.jsp file is the default word: This is the My JSP page. Deploy the Web project in WebLogic and start the server, which indicates a successful deployment when you see the following information in the console. <2008-7-31 10:24 A.M. 26 sec cst> <Info> <WebLogicServer> <BEA-000377> <starting WebLogic Server With Java HotSpot (TM) Client VM Version 1.5.0_03-b07 from Sun Microsystems inc.>
......
<2008-7-31 10:24 A.M. 45 sec cst> <Notice> <WebLogicServer> <BEA-000360> <server started in RUNNING mode>     When we visit [Url]http://127.0.0.1:7001/weblogicdemo/[/url] There may be 401 inaccessible errors.     At this point we are not deployed, run start-> program-> BEA products-> User Projects-> mydomain-> Admin Server Console, you can also Direct access to [Url]http://localhost:7001/console[/url]. Log on to the console using the username (weblogic) and password (12345678) that you have just completed when you created the WebLogic domain. After entering the console there is a domain Structure in the navigation bar on the left, and I am installing the English version. Click on the deployment (deployments) in the directory. First you activate lock and edit (lock&edit). Then click the Install (Install) button and follow the prompts to find the root directory (/welogicdemo) where we built the project. The following interface appears. When it is not fully installed, select the checkbox in front of Weblogicdemo and click the Star button. The following state is activated (active), indicating that the startup was successful.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.