Error in deploying Hippocms10 on tomcat server

37 views
Skip to first unread message

Shikha Bindra

unread,
Aug 9, 2017, 10:14:04 AM8/9/17
to Hippo Community
Hi team,

I am getting error while deploying my Hippo CMS 10 code on Tomcat server.

I use below commands to create distribution:


  mvn clean verify

  mvn -P dist


Please suggest where I am missing.


Regards

Jasper Floor

unread,
Aug 9, 2017, 10:55:49 AM8/9/17
to Hippo Community
You need to be specific on the error you are getting. Give us the log file.

mvg,
jasper

--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
 
To post to this group, send email to hippo-community@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-community+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.

Shikha Bindra

unread,
Aug 10, 2017, 1:10:12 AM8/10/17
to Hippo Community

Hi jasper,


 Below error is coming:



01.08.2017 07:54:07 [localhost-startStop-2] ERROR [org.onehippo.repository.bootstrap.InitializationProcessorImpl.doProcessInitializeItems():186] Failed to process initialize item sapienthealth-webfiles: javax.jcr.ItemExistsException: A node already exists at /hippo:configuration/hippo:domains/webfiles and same-name siblings are not allowed. Conflicting node name is: {}webfiles

01.08.2017 07:54:08 [localhost-startStop-2] ERROR [org.onehippo.repository.bootstrap.InitializationProcessorImpl.doProcessInitializeItems():186] Failed to process initialize item sapienthealth-hst-hosts: javax.jcr.ItemExistsException: A node already exists at /hst:hst/hst:hosts and same-name siblings are not allowed. Conflicting node name is: {http://www.hippoecm.org/hst/nt/2.1}hosts

01.08.2017 07:54:08 [localhost-startStop-2] ERROR [org.onehippo.repository.bootstrap.InitializationProcessorImpl.doProcessInitializeItems():186] Failed to process initialize item sapienthealth-hst-channels: javax.jcr.ItemExistsException: A node already exists at /hst:hst/hst:channels and same-name siblings are not allowed. Conflicting node name is: {http://www.hippoecm.org/hst/nt/2.1}channels

01.08.2017 07:54:08 [localhost-startStop-2] ERROR [org.onehippo.repository.bootstrap.InitializationProcessorImpl.doProcessInitializeItems():186] Failed to process initialize item sapienthealth-hst-sites: javax.jcr.ItemExistsException: A node already exists at /hst:hst/hst:sites and same-name siblings are not allowed. Conflicting node name is: {http://www.hippoecm.org/hst/nt/2.1}sites

01.08.2017 07:54:08 [localhost-startStop-2] ERROR [org.onehippo.repository.bootstrap.InitializationProcessorImpl.doProcessInitializeItems():186] Failed to process initialize item sapienthealth-hst-configurations: javax.jcr.ItemExistsException: A node already exists at /hst:hst/hst:configurations/common and same-name siblings are not allowed. Conflicting node name is: {}common

01.08.2017 07:54:08 [localhost-startStop-2] ERROR [org.onehippo.repository.bootstrap.InitializationProcessorImpl.doProcessInitializeItems():186] Failed to process initialize item sapienthealth-workspace: javax.jcr.ItemExistsException: A node already exists at /hst:hst/hst:configurations/sapienthealth/hst:workspace and same-name siblings are not allowed. Conflicting node name is: {http://www.hippoecm.org/hst/nt/2.1}workspace


On Wednesday, August 9, 2017 at 8:25:49 PM UTC+5:30, jasper.floor wrote:
You need to be specific on the error you are getting. Give us the log file.

mvg,
jasper
On Wed, Aug 9, 2017 at 4:14 PM, Shikha Bindra <bindra...@gmail.com> wrote:
Hi team,

I am getting error while deploying my Hippo CMS 10 code on Tomcat server.

I use below commands to create distribution:


  mvn clean verify

  mvn -P dist


Please suggest where I am missing.


Regards

--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
 
To post to this group, send email to hippo-c...@googlegroups.com

RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.

Jasper Floor

unread,
Aug 10, 2017, 4:49:45 AM8/10/17
to Hippo Community
The error message is actually quite clear, but you need to understand how the bootstrapping mechanism works, see [1]. In your project you have hippoecm-extension.xml files which in turn reference other xml files. Unless you are on 12, in which case you will have equivalent yaml files. The files represent node structures which will be loaded in your repository. You have files which attempt to bootstrap nodes in a way that is not allowed.


 node already exists at /hippo:configuration/hippo:domains/webfiles and same-name siblings are not allowed. Conflicting node name is: {}webfiles

So here you have in your repository a node webfiles at  /hippo:configuration/hippo:domains/. But in your bootstrap data you have a file saying to load a node at that location with the same name. This is not allowed. You shouldn't need to at this location anyway. Locate the file that is doing this and remove it. 


mvg,
Jasper

To post to this group, send email to hippo-community@googlegroups.com

RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-community+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages