WebLogic & 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, and both passwords enter 12345678 (the password must be 8 characters) and 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_04 ", note that if you select a version later than SDK 1.5.0 _ 04 with "Other JDK", 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, click WebLogic 10, and select Enable on the right to Enable the WebLogic Server. The configuration is as follows:
① BEA home directory: C:/BEA (assuming WebLogic is installed in the C:/BEA directory)
② WebLogic installation directory: C:/BEA/WebLogic10
③ Admin username: user (configuration from WebLogic)
④ Admin password: 12345678 (from the configuration in WebLogic)
⑤ Execution domain root: C:/BEA/user_projects/domains/mydomain
⑥ Execution server name: AdminServer
7. Security policy file: C:/BEA/WebLogic10/server/lib/weblogic. policy
⑧ JAAS login configuration file :( Null)

Expand the WebLogic 10 node and click JDK. In the wls jdk name on the right, select the default JDK of WebLogic 10. 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 C:/BEA/jdk150_04, the program automatically fills in other options. Click OK to close the dialog box. In this case, you can select jdk150_04 In the wls jdk name combo box.

So far, the configuration of WebLogic 10 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 this button and select "WebLogic 10-> Start" 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:
C:/BEA/wlserver_10.0/server/lib/weblogic. jar
C:/BEA/wlserver_10.0/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 SQL Server database Driver Class Library that comes with WebLogic:
C:/BEA/wlserver_10.0/server/lib/mssqlserver4v65. jar

 

Source: http://www.cnblogs.com/leetheone/archive/2008/04/11/1147669.html

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.