Weblogic and myeclipse Configuration

Source: Internet
Author: User
Tags in domain

It is easy to install WebLogic, so I will not discuss it here. You can refer to the relevant documents. Now let's focus on WebLogic configuration, because the configuration information here will be used later When configuring myeclipse.

① Run Start> program> BEA products> Tools> Configuration Wizard.
② Select create a new WebLogic domain and next.
③ Keep the default value on the select domain source interface, next.
④ Enter the user in the User Name field.
WebLogic, next.
⑤ Keep the default value on the configure Server start mode and JDK interface. That is, JDK selects "Sun SDK 1.5.0 _ 04 @ C: \ Bea \ jdk150_012 ", note that if you select a version later than SDK 1.5.0 _ 012 with the "other JDK" configuration, an exception will occur when the server is started, so it is best to keep the default value and next.
⑥ On the customize environment and services settings page, the default value is no and next.
7. Enter mydomain in domain name and click Create.
After the Wizard is complete, Click Done to close the Configuration Wizard dialog box.
Restart Start> program> BEA products> User projects> mydomain> start admin server for WebLogic Server domain to check whether the server is successfully started.

Configure the Weblogic 10 server of myeclipse

Start eclipse and select "window-> Preferences" to open the preference dialog box. Expand the application servers node under myeclipse, and click

WebLogic 9.x. select the Enable button on the right to enable the WebLogic Server. The configuration is as follows:
① Bea Home Directory: D: \ BEA (assuming Weblogic is installed in the D: \ Bea directory)
② WebLogic installation directory: D: \ Bea \ weblogic92
③ Admin Username: WebLogic (configuration from WebLogic)
④ Admin Password: WebLogic (configuration from WebLogic)
⑤ Execution domain root: D: \ Bea \ user_projects \ Domains \ yc_web_domain
⑥ Execution server name: adminserver
7. Security policy file: D: \ Bea \ weblogic92 \ Server \ Lib \ weblogic. Policy
⑧ JAAS login configuration file :( null)

Expand
WebLogic 9.x node, click JDK, and select wls jdk name on the right
The default JDK of Weblogic 9.x. Here, JRE is installed separately by default in the combo box. Click Add to bring up the Weblogic-> Add JVM dialog box. In the JRE home directory, select the JDK folder in the Weblogic installation folder. My version is D: \ Bea \ jdk150_012, the program automatically fills in other options. Click OK to close the dialog box. In this case, you can select jdk150_012 In the wls jdk name combo box. It is best to set WebLogic
Prepare the installed JDK as an environment variable.

So far, the configuration of Weblogic 9.x in myeclipse is complete. Next, let's see if the WebLogic Server can be started in eclipse? After myeclipse is installed, the eclipse Toolbar will have a "run/Stop/restart myeclipse application servers" drop-down button. Click the drop-down list of the button and select "WebLogic
9. x-> Start menu to start weblogic. You can check whether the startup is successful or what exceptions occur by checking the messages in the console.

Supplemental Configuration

Click paths. In the prepend to classpath list box on the right, click Add JAR/zip to add:

D: \ Bea \ weblogic92 \ Server \ Lib \ weblogic. Jar

D: \ Bea \ weblogic92 \ Server \ Lib \ WebServices. Jar

If you want to use the database, you also need to add the database Driver Class Library. Here we use the Oracle database Driver Class Library that comes with WebLogic:
D: \ Bea \ weblogic92 \ Server \ Lib \ ojdbc14.jar

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.