How Do I: Delete a WebLogic Workshop Project?

To delete a WebLogic Workshop project, you must remove all of the components and files associated with the project.

To Delete a WebLogic Workshop Project

  1. Stop WebLogic Server.

  2. Open the config.xml file that's located under the Workshop directory in your installation, in the \weblogic700\samples\workshop\config.xml directory.

  3. Find the Application node that's associated with the project you are deleting, and delete this Application node. It will have a WebAppComponent node whose Name attribute is the name of your project, as shown in the following example:

<Application Name="_appsdir_testProject_dir" Path="C:\bea\weblogic7\samples\workshop\applications" StagingMode="nostage" TwoPhase="true">
<WebAppComponent Name="testProject" Targets="cgServer" URI="testProject"/>
</Application>

  1. Find the Application node that's associated with the EJBs in your project and delete it. Each JWS file in your project has an associated EJB whose name corresponds to the JWS file in your project, which appears in the Name attribute of the EJBComponent node, as shown in the following example:

<Application Deployed="true" Name="testProject.testJWS_EJB" Path="C:\bea\weblogic7\samples\workshop\cgServer\.jwscompile\_jwsdir_testProject\EJB" TwoPhase="true">
<EJBComponent Name="testJWSEJB" Targets="cgServer" URI="testJWSEJB.jar"/>
</Application>

  1. Save the config.xml file.

  2. Delete the project directory and files from your hard drive.

  3. Restart WebLogic Server.

Related Topics

How Do I: Administer WebLogic Server Through the Administration Console?