500 Server Error on /site

591 views
Skip to first unread message

k...@northpointdigital.com

unread,
Jan 21, 2015, 5:44:32 PM1/21/15
to hippo-c...@googlegroups.com
Hi,

  I am following this http://www.onehippo.org/library/enterprise/installation-and-configuration/linux-installation-manual.html to deploy Hippo. Everything seems to work. The CMS comes up nicely but the /site gives me a 500 Server Error. Attached below is the error from the log.
  I checked several places: conf/hst.properties, web.xml, hst-config.properties and context.xml, but I am not sure what username/password I should change. Any suggestions are welcome.
  I appreciate your help in advanced!

Thanks,
Sam

21.01.2015 16:56:29 WARN  Thread-8 [HstManagerImpl$1.run:236] Exception during building virtualhosts model.
org.hippoecm.hst.core.container.ContainerException: HST model failed to load : org.hippoecm.hst.configuration.model.ModelLoadingException: Repository exception while getting jcr session
        at org.hippoecm.hst.configuration.model.HstManagerImpl.synchronousBuild(HstManagerImpl.java:288)
        at org.hippoecm.hst.configuration.model.HstManagerImpl.access$100(HstManagerImpl.java:35)
        at org.hippoecm.hst.configuration.model.HstManagerImpl$1.run(HstManagerImpl.java:234)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.hippoecm.hst.configuration.model.ModelLoadingException: Repository exception while getting jcr session
        at org.hippoecm.hst.configuration.cache.HstNodeLoadingCache$LazyCloseableSession.getSession(HstNodeLoadingCache.java:196)
        at org.hippoecm.hst.configuration.cache.HstNodeLoadingCache.getNode(HstNodeLoadingCache.java:98)
        at org.hippoecm.hst.configuration.hosting.VirtualHostsService.quickModelCheck(VirtualHostsService.java:328)
        at org.hippoecm.hst.configuration.hosting.VirtualHostsService.<init>(VirtualHostsService.java:171)
        at org.hippoecm.hst.configuration.model.HstManagerImpl.buildSites(HstManagerImpl.java:338)
        at org.hippoecm.hst.configuration.model.HstManagerImpl.synchronousBuild(HstManagerImpl.java:282)
        ... 3 more
Caused by: javax.jcr.LoginException: Wrong username or password.
        at org.apache.jackrabbit.core.RepositoryImpl.login(RepositoryImpl.java:1493)
        at org.hippoecm.repository.impl.RepositoryDecorator.login(RepositoryDecorator.java:59)
        at org.hippoecm.repository.HippoRepositoryImpl.login(HippoRepositoryImpl.java:109)
        at org.hippoecm.repository.HippoRepositoryImpl.login(HippoRepositoryImpl.java:126)
        at org.hippoecm.hst.core.jcr.pool.JcrHippoRepository.login(JcrHippoRepository.java:195)
        at org.hippoecm.hst.configuration.cache.HstNodeLoadingCache$LazyCloseableSession.getSession(HstNodeLoadingCache.java:194)
        ... 8 more
Caused by: javax.security.auth.login.FailedLoginException: Wrong username or password.
        at org.hippoecm.repository.security.UnsuccessfulAuthenticationHandler.handle(UnsuccessfulAuthenticationHandler.java:27)
        at org.hippoecm.repository.security.HippoLoginModule.login(HippoLoginModule.java:149)
        at org.apache.jackrabbit.core.security.authentication.LocalAuthContext.login(LocalAuthContext.java:86)
        at org.apache.jackrabbit.core.RepositoryImpl.login(RepositoryImpl.java:1465)
        ... 13 more



Giuseppe Urso

unread,
Jan 22, 2015, 4:22:56 AM1/22/15
to hippo-c...@googlegroups.com
Hi Sam, make sure the passwords for the system users in hst.properties match the ones for the same users in cms.
In order to change those users password, go to YOUR_CMS/console/?path=/hippo:configuration/hippo:users, remove temporarily the "System" user flag (this will make those users visible in the cms user management), log in to the cms and set the user password the same as the ones in hst.properties. 
There is no need to restart.
Once the passwords are changed, you can set back the "System" flag for those users.

Hope this help solving your problem. 
Giuseppe

--
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.



--

Amsterdam - Oosteinde 11, 1017 WT Amsterdam
Boston - 1 Broadway, Cambridge, MA 02142

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

k...@northpointdigital.com

unread,
Jan 22, 2015, 10:51:55 AM1/22/15
to hippo-c...@googlegroups.com
It works! Thank you for your help Giuseppe!

Giuseppe Urso

unread,
Jan 22, 2015, 11:04:44 AM1/22/15
to hippo-c...@googlegroups.com
Happy to hear so.

Cheers
Giuseppe
Reply all
Reply to author
Forward
0 new messages