How Do I: Reset the State of WebLogic Server?

Occasionally while developing web services, you may compile a project that causes undesirable behavior in the server. WebLogic Workshop provides a tool that may help you clear the state of the server in such situations.

To reset the state of a development WebLogic Server hosting WebLogic Workshop web services:

  1. Right-click the project folder and select Clean [project name]. (You can also clean the application by right-clicking the application folder and selecting Clean [application name].)
  2. When the clean process is complete right-click the project folder and select Build [project name]. (You can build the enter application by right-clicking the application folder and selecting Build [application name].)

Clean attempts to undeploy EJBs and other resources that were produced by the compilation process. In some cases, this is not possible because of the state of the server. If Clean does not solve the problem, stop and restart WebLogic Server.

Note that the problems Clean solves do not occur on production servers. Clean addresses problems that occur due to cyclic compilation of Java files during iterative development.

Related Topics

Applications and Project

How Do I: Start or Stop WebLogic Server?