5.1. Removing ready-made sites

Warning

You are looking at documentation for an older release. Not what you want? See the current release documentation.

Intranet is a ready-made site that you can access by the URL: /portal/intranet. If you want to remove it from the eXo Platform package, consider 2 cases below:

First case - Your package is fresh so data is empty

In Tomcat:

Remove the following files:

In JBoss:

  1. Remove the following files:

    • $PLATFORM_JBOSS_HOME/standalone/deployments/platform.ear/platform-sample-acme-intranet-webapp.war

    • $PLATFORM_JBOSS_HOME/standalone/deployments/platform.ear/platform-sample-acme-intranet-portlet.war

    • $PLATFORM_JBOSS_HOME/standalone/deployments/platform.ear/lib/platform-sample-acme-intranet-config.jar

  2. Open the $PLATFORM_JBOSS_HOME/standalone/deployments/platform.ear/META-INF/application.xml file to comment out the following lines:

    
    <module>
    <web>
      <web-uri>platform-sample-acme-intranet-portlet.war</web-uri>
      <context-root>acme-intranet-portlet</context-root>
    </web>
    </module>
    <module>
    <web>
      <web-uri>platform-sample-acme-intranet-webapp.war</web-uri>
      <context-root>acme-intranet</context-root>
    </web>
    </module>

Second case - Data has been created

Warning

You need to be clear what you will delete, so review carefully before deletion.

To clean the data entirely, do the following steps:

  1. Stop the server if it is running.

  2. Remove the files (and change the configuration file for JBoss) as described above.

  3. Remove associated data. If you did not change the default data configuration, just need to remove:

    • $PLATFORM_TOMCAT_HOME/gatein/data/ (in Tomcat).

    • $PLATFORM_JBOSS_HOME/standalone/data/gatein/* (in JBoss).

  4. Restart your server.

See also

Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus