Monday 21 July 2014

how to run a dynamic web project in eclipse using weblogic

Hello Viewers


This post is regarding how to configure web logic server for dynamic web project in your eclipse I D E .Below Given are the steps to configure Web logic server for dynamic web project..

Steps:
1)In eclipse go to windows->show view->Other and type servers and click on it you should be able to find servers tab in the eclipse show view.


2)Click on new server wizard link .You will find list of servers available for configuration,Check for web-logic

3)If web logic was not foundClick "download additional server adapters" hyperlinkand downloadWeb Logic adapters from Oracle(Oracle cloud tools and oracle web-logic tools).

4) Now your eclipse is ready with web-logic server adapters.

Configuring Web-logic to dynamic web project:
1)Go to start menu go to web logic server configuration wizard.Follow the steps click on Next ->
button and create a domain with some desired name say some DummyDomain give Web-logic credentials and port number in the web-logic wizard

2) Now configure web-logic server .Follow the steps like click on new server wizard in servers tab as shown in Image 3.
select the web-logic adapter that matches your server version.Browse web logic home and web-logic domain that which you had created before




and click finish to finish the server configuration

3) Create a dynamic web project now


4)And create a index.jsp file under the dynamic project and click run as ->Run on server
Web logic starts fine and opens index.jsp as welcome file in browser

Some Issues that may interrupt:
An internal error occurred during: "Publishing to Oracle WebLogic Server
              Could not initialize class oracle.eclipse.tools.weblogic.facets.WlsGarFacet          
If this interrupts your execution Go to Eclipse->Market place-> and search for Oracle Coherence Tools and install it and re run the dynamic web project .This helps in solving the above mentioned issue