Why is my page '/site' not available in my Hippo CMS?

815 views
Skip to first unread message

e.r.g.o

unread,
Mar 16, 2015, 5:49:07 PM3/16/15
to hippo-c...@googlegroups.com
I have set up Hippo CMS on Tomcat 7.0.59 installation (runs as a service on Windows). I have already solved several issues (different users passwords in configuration files, configured port 81 at /cms/console).

Everything seems to be ok, /cms works correctly, but /site doesn't work. I got response with 404 status.

This is what I found in a log file:

INFO  - BasicHstSiteMapMatcher     - Did not find a matching sitemap item for path 'root', Mount 'hst:root' and Host 'localhost'. Return null
INFO  - BasicHstSiteMapMatcher     - Did not find a matching sitemap item for path 'error', Mount 'hst:root' and Host 'localhost'. Return null
INFO  - HstFilter                  - org.hippoecm.hst.configuration.hosting.NotFoundException for '/site/': 'org.hippoecm.hst.configuration.hosting.NotFoundException: PathInfo 'error' could not be matched'
How can I solve this issue?



(I have also posted this issue at stackoverflow)

Ard Schrijvers

unread,
Mar 17, 2015, 4:18:59 AM3/17/15
to hippo-c...@googlegroups.com
Hello,

hard to tell what is wrong. Don't you have earlier warnings, for
example that the hstconfigreader cannot login and that the hst model
cannot be built or something.

If no warnings, can you login to /cms/console and then go to
/hst:hst/hst:configuration/{yourprojectname}/hst:sitemap and confirm
there is a jcr node 'root' there?

Regards Ard
> --
> 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.
> Visit this group at http://groups.google.com/group/hippo-community.
> For more options, visit https://groups.google.com/d/optout.



--
Hippo Netherlands, Oosteinde 11, 1017 WT Amsterdam, Netherlands
Hippo USA, Inc.- 745 Atlantic Ave, Eight Floor, Boston MA 02111,
United states of America.

US +1 877 414 4776 (toll free)
Europe +31(0)20 522 4466
www.onehippo.com

mjsw...@gmail.com

unread,
Mar 18, 2015, 7:20:32 PM3/18/15
to hippo-c...@googlegroups.com
Thank you for your response!

The only warning I can see in a log file is: 
WARN  - LocalHippoRepository       - Unrecognized upgrade option "false "

There is no 'root' node at a given location. There is only jcr:uuid. Shouldn't it generate automatically? 

I can't attach a file so here is a location of a log file and a captured screen from the given location at console: https://www.dropbox.com/sh/l4sl3n41dwd8h3y/AADOd-tx-vdg3FwComKUXysza?dl=0

Thank you in advance for your help!

Ard Schrijvers

unread,
Mar 19, 2015, 4:32:45 AM3/19/15
to hippo-c...@googlegroups.com
Hey,

I think I know what has happened: You started out with [1] and then
directly created a distribution and deployed that into a separate
tomcat installation. However, if you start out with [1], and then
visit http://localhost:8080/site, you will see of 404 page and:

------------------------------------------------------------------------------------------------------------------------------
Welcome to Hippo

It appears that you just created an empty Hippo project from the
archetype. There is nothing to show on the site yet. We recommend you
use Hippo's setup application to start developing your project.
------------------------------------------------------------------------------------------------------------------------------

The "Hippo's setup application" is a link which brings you to the
bootstrap environment. If you do that first, bootstrap whatever you
want to get started with, and then create a distribution and deploy it
in a tomcat, it should work.

Note that for local development we normally use mvn cargo:run instead
of deploying to a separate tomcat

Regards Ard


[1] http://www.onehippo.org/trails/getting-started/hippo-essentials-getting-started.html

Bert Leunis

unread,
Mar 19, 2015, 4:43:13 AM3/19/15
to hippo-c...@googlegroups.com
On Thu, Mar 19, 2015 at 12:20 AM, <mjsw...@gmail.com> wrote:
Thank you for your response!

The only warning I can see in a log file is: 
WARN  - LocalHippoRepository       - Unrecognized upgrade option "false "

There is no 'root' node at a given location.
Thanks for the screenshot. It shows that there is no site configuration available whatsoever. The node you selected should contain childnodes that make up the url structure of your site. My guess is that you used the archetype to build the project. The next step would be to use the feature library to add features. That will generate for example the url configuration for you. This page could be a good starting point: http://www.onehippo.org/trails/getting-started/hippo-essentials-getting-started.html


 

mjsw...@gmail.com

unread,
Mar 19, 2015, 7:10:03 PM3/19/15
to hippo-c...@googlegroups.com
Thank you for your responses. I totally forgot about essentials. I used cargo:run on my dev machine and everything worked fine. Now I try to install hippo on a test machine. 

I generated distribution.zip once again (this time with with essentials.war), deployed it on tomcat, even cleared database. I fixed system users' passwords and finally I changed port number in /cms/console. Unfortunately I cannot open http://localhost:81/essentials - blank page appears.

Log fragment:
ERROR - DefaultPluginContext       - Error reading project settings
java.lang.NullPointerException
	at java.net.URLDecoder.decode(Unknown Source)
	at org.onehippo.cms7.essentials.dashboard.utils.GlobalUtils.decodeUrl(GlobalUtils.java:283)


What is wrong with my configuration this time?

Ard Schrijvers

unread,
Mar 20, 2015, 4:26:05 AM3/20/15
to hippo-c...@googlegroups.com
Essential is meant to run only with cargo:run and bootstrap your
project. Once bootstrapped, you create a distribution and deploy it to
your separate tomcat instance, without essentials.

Either way, just start with following
http://www.onehippo.org/trails/getting-started/hippo-essentials-getting-started.html
before you deploy your distribution to a separate tomcat instance

Regards Ard

Tobias Jeger

unread,
Mar 20, 2015, 4:26:50 AM3/20/15
to hippo-c...@googlegroups.com
Hi,

Essentials has been designed for *local* use only. When you build the distribution to deploy your project to a TAP server, the essentials.war is (by default) not included, and it shouldn't be. Essentials helps you locally to setup your cms and site WARs, as well as your bootstrap content, all of which are part of the distribution and matter on TAP environments. As your pesty site's configuration is virtually empty, what is inside your bootstrap JARs (bootstrap/configuration and bootstrap/content)? Did you turn off auto-export such that the configuration setup by Essentials didn't make it back into the bootstrap modules?

cheers

Tobi


Amsterdam - Oosteinde 11, 1017 WT Amsterdam
Boston - 101 Main Street, Cambridge, MA 02142


US +1 877 414 4776 (toll free)
Europe +31(0)20 522 4466

mjsw...@gmail.com

unread,
Mar 23, 2015, 5:24:51 PM3/23/15
to hippo-c...@googlegroups.com
Thank you for your help. I was able to run the project at tomcat. I followed your advice and prepared distribution locally using essentials. Next I exported it and unpacked in a new environment. After some configuration tuning (port, users passwords) the project started.

Best regards!
Reply all
Reply to author
Forward
0 new messages