Installing and configuring for WebLogic servers
This section describes a summary of how to install Oracle WebLogic Server and configure Eclipse to enable creating ZIETrans web applications targeted for Oracle WebLogic Server:
Download and install the Oracle WebLogic Server using download links and instructions on the Oracle site at https://www.oracle.com/java/weblogic/.
Install the Oracle WebLogic Server tools in Eclipse:
- On the Eclipse menu bar, click Help > Eclipse Marketplace.
- In the Find textbox, search for WebLogic.
- Install the Oracle WebLogic Server Tools.
- Click Confirm on the Confirm Selected Features panel.
- Read and accept the terms of the licensing agreement and click Finish.
- After the installation completes, click Yes when you are asked if to restart.
Configure WebLogic as a target server in Eclipse for ZIETrans
web applications:
- On the Eclipse menu bar, click Window > Preferences.
- In the left panel, expand Server.
- Click Runtime Environments.
- In the Server Runtime Environments panel, click Add.
- In the New Server Runtime Environment dialog, expand the Oracle folder.
- Select the appropriate version of the Oracle WebLogic Server.
- Optional. Select the Create a new local
server box to create a new WebLogic server on your workspace Servers tab. Doing this step enables you
to test your WebLogic application within the Eclipse local test
environment using the Run on Server, Debug on Server, and Profile
on Server functions.
Note: If you perform this step, you must modify the default Publishing mode so that your projects will deploy correctly when using the Run on Server, Debug on Server, and Profile on Server functions.
- Find the instance of the WebLogic Server that was created in the Servers view.
- Right-click on the WebLogic Server and click Properties.
- In the left panel, expand WebLogic.
- Click Publishing.
- In the Publishing mode section, click Publish as an exploded archive.
- Click OK to close the Properties panel.
- Click Next to go to the panel where
you point to your local WebLogic server. In the WebLogic
home field enter the root folder where you installed the WebLogic
server. For example, if your WebLogic installation uses the root folder
named
C:\Oracle\Middleware
, enterC:\Oracle\Middleware\wlserver_12.1
in the WebLogic home field. If you installed the JDK that was included with the WebLogic server installer then the JAVA home field should be filled in automatically with a value such asC:\Oracle\Middleware\jdk160_29
. If you did not install the included JDK then you must enter into the JAVA home field the appropriate location of the JAVA runtime being used. - Click Finish.
- Click OK to close the Preferences panel.
After following these steps, you can create ZIETrans applications within Eclipse targeted for Oracle WebLogic Server.