Configuration of myeclipse + WebLogic 12
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> Oracle Enterprise pack for eclipse> start admin server for WebLogic Server domain.
② Select create a new WebLogic domain and next.
③ Keep the default value on the select domain source interface, next.
④ Enter WebLogic at the user name, 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 D: \ oracle \ middleware \ jdk160_29 ". Note that it is best to keep the default value here 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 Server of myeclipse
Start eclipse and select "window-> Preferences" to open the preference dialog box. Expand the application servers node under myeclipse, click weblogic12, and select the enable radio button on the right to enable the WebLogic Server. The configuration is as follows:
① Bea Home Directory: D: \ oracle \ Middleware
② WebLogic installation directory: D: \ oracle \ middleware \ wlserver_12.1
③ Admin Username: Weblogic
④ Admin Password: 12345678 (from the configuration in WebLogic)
⑤ Execution domain root: D: \ oracle \ middleware \ user_projects \ Domains
⑥ Execution server name: adminserver
7. Security policy file: D: \ oracle \ middleware \ wlserver_12.1 \ Server \ Lib \ weblogic. Policy
Expand the weblogic12 node and click JDK. In the wls jdk name on the right, select the default JDK of Weblogic 12. 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: \ oracle \ middleware \ jdk160_29, the program automatically fills in other options. Click OK to close the dialog box. In this case, you can select
Jdk150_04.
So far, the configuration of Weblogic 9 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 9-> Start" to start weblogic. You can check whether the startup is successful or what exceptions occur by checking the messages in the console.
For common startup Problems
The WebLogic Server did not start up properly appears. tips and Java. io. invalidclassexception exceptions are usually caused by improper JDK selection. The JDK selected in myeclipse configuration must be the same as the JDK selected when Weblogic is configured. When you select the default JDK, you can also
Configure the JDK jrockit90_150_04 of Bea.