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:
$PLATFORM_TOMCAT_HOME/webapps/acme-intranet.war
$PLATFORM_TOMCAT_HOME/webapps/acme-intranet-portlet.war
$PLATFORM_TOMCAT_HOME/lib/platform-sample-acme-intranet-config-*.jar
In JBoss:
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
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
You need to be clear what you will delete, so review carefully before deletion.
To clean the data entirely, do the following steps:
Stop the server if it is running.
Remove the files (and change the configuration file for JBoss) as described above.
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).
Restart your server.
See also