Skip to content

Example of how to cause an IOException from having too large of xml files for initial bootstrap of a hippo cms install.

Notifications You must be signed in to change notification settings

plaurina/hippo-resetMarkError

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running locally
===============

This project uses the Maven Cargo plugin to run the CMS and site locally in Tomcat.
From the project root folder, execute:

  $ mvn clean install
  $ mvn -P cargo.run

Access the CMS at http://localhost:8080/cms, and the site at http://localhost:8080/site
Logs are located in target/tomcat6x/logs

Building distribution
=====================

To build a Tomcat distribution tarball containing only deployable artifacts:

  $ mvn clean install
  $ mvn -P dist

See also src/main/assembly/distribution.xml if you need to customize the distribution

Using JRebel
============

Set the environment variable REBEL_HOME to the directory containing jrebel.jar.

Build with:

  $ mvn clean install -Djrebel

Start with:

  $ mvn -P cargo.run -Djrebel

Best Practice for development
============

Use the option -Drepo.path=/some/path/to/repository during start up. This will avoid
your repository to be cleared when you do a mvn clean. 

For example start your project with: 

$ mvn -P cargo.run -Drepo.path=/home/usr/tmp/repo

or with jrebel:

$ mvn -P cargo.run -Drepo.path=/home/usr/tmp/repo -Djrebel

Hot deploy
==========

To hot deploy, redeploy or undeploy the CMS or site:

  $ cd cms (or site)
  $ mvn cargo:redeploy (or cargo:undeploy, or cargo:deploy)
  
Automatic Export
==========

To have your repository changes automatically exported to filesystem during local development, add to the 
startup cmd: 

  $ mvn -P cargo.run -Dhippoecm.export.dir=content/src/main/resources

The automatic export can then be switch off/on through the /cms/console. By default it is switched on.

Monitoring with JMX Console
===========================
You may run the following command:

  $ jconsole 
 
Now open the local process org.apache.catalina.startyp.Bootstrap start
  

About

Example of how to cause an IOException from having too large of xml files for initial bootstrap of a hippo cms install.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages