hippo project distribution deployment issue

147 views
Skip to first unread message

rohit tiwari

unread,
Feb 9, 2018, 2:08:15 AM2/9/18
to Hippo Community
I do not understand the repository-address and directory value in /conf/context.xml file as i am not seeing any directory in my configuration.

 <Parameter name="repository-address" value="rmi://127.0.0.1:1099/hipporepository" override="false"/>
 <Parameter name="repository-directory" value="${catalina.base}/../repository" override="false"/>


and also please help me out to fix issue as shown below-  


12:09:34.923 [http-bio-9090-exec-4] ERROR org.hippoecm.frontend.RepositoryRuntimeExceptionHandlingRequestCycleListener - Creating RequestHandler for RepositoryUnavailableException: org.hippoecm.frontend.RepositoryUnavailableException: Repository is not available.
org.hippoecm.frontend.RepositoryUnavailableException: Repository is not available.
        at org.hippoecm.frontend.session.PluginUserSession.getJcrSession(PluginUserSession.java:202) ~[hippo-cms-engine-5.1.0.jar:5.1.0]
        at org.hippoecm.frontend.session.PluginUserSession.getApplicationName(PluginUserSession.java:514) ~[hippo-cms-engine-5.1.0.jar:5.1.0]
        at org.hippoecm.frontend.plugin.config.impl.PluginConfigFactory.<init>(PluginConfigFactory.java:33) ~[hippo-cms-api-5.1.0.jar:5.1.0]
        at org.hippoecm.frontend.PluginPage.<init>(PluginPage.java:93) ~[hippo-cms-engine-5.1.0.jar:5.1.0]
        at org.hippoecm.frontend.NoRepositoryAvailablePage.<init>(NoRepositoryAvailablePage.java:25) ~[hippo-cms-engine-5.1.0.jar:5.1.0]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_102]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_102]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_102]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_102]
        at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:175) ~[wicket-core-6.26.0.jar:6.26.0]
        at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:67) ~[wicket-core-6.26.0.jar:6.26.0]
        at org.apache.wicket.DefaultMapperContext.newPageInstance(DefaultMapperContext.java:133) ~[wicket-core-6.26.0.jar:6.26.0]
        at org.apache.wicket.core.request.handler.PageProvider.resolvePageInstance(PageProvider.java:268) ~[wicket-core-6.26.0.jar:6.26.0]
        at org.apache.wicket.core.request.handler.PageProvider.getPageInstance(PageProvider.java:166) ~[wicket-core-6.26.0.jar:6.26.0]
        at org.apache.wicket.request.handler.render.PageRenderer.getPage(PageRenderer.java:78) ~[wicket-core-6.26.0.jar:6.26.0]
        at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:279) ~[wicket-core-6.26.0.jar:6.26.0]
        at org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175) ~[wicket-core-6.26.0.jar:6.26.0]
        at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:890) ~[wicket-core-6.26.0.jar:6.26.0]
        at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64) ~[wicket-request-6.26.0.jar:6.26.0]
        at org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:310) [wicket-core-6.26.0.jar:6.26.0]
        at org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:319) [wicket-core-6.26.0.jar:6.26.0]
        at org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:319) [wicket-core-6.26.0.jar:6.26.0]
        at org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:319) [wicket-core-6.26.0.jar:6.26.0]
        at org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:319) [wicket-core-6.26.0.jar:6.26.0]
        at org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:319) [wicket-core-6.26.0.jar:6.26.0]
        at org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:319) [wicket-core-6.26.0.jar:6.26.0]
        at org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:319) [wicket-core-6.26.0.jar:6.26.0]
        at org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:319) [wicket-core-6.26.0.jar:6.26.0]
        at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:233) [wicket-core-6.26.0.jar:6.26.0]
        at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289) [wicket-core-6.26.0.jar:6.26.0]
        at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259) [wicket-core-6.26.0.jar:6.26.0]
        at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201) [wicket-core-6.26.0.jar:6.26.0]
        at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282) [wicket-core-6.26.0.jar:6.26.0]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.82]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.82]
        at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54) [hippo-cms-engine-5.1.0.jar:5.1.0]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.82]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.82]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) [catalina.jar:7.0.82]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110) [catalina.jar:7.0.82]
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506) [catalina.jar:7.0.82]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) [catalina.jar:7.0.82]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) [catalina.jar:7.0.82]
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962) [catalina.jar:7.0.82]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.82]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445) [catalina.jar:7.0.82]
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115) [tomcat-coyote.jar:7.0.82]
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637) [tomcat-coyote.jar:7.0.82]
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318) [tomcat-coyote.jar:7.0.82]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_102]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_102]
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.82]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102]

rohit tiwari

unread,
Feb 9, 2018, 4:31:25 AM2/9/18
to Hippo Community
I have followed the steps from hippo cms docs to deploy the project distribution. 



Where i have seen the repository configuration in context.xml file but I don't understand to my configuration instead of shown below. Which path I have to use for repository-address and repository-dir.

<Parameter name="repository-address" value="rmi://127.0.0.1:1099/hipporepository" override="false"/>
 <Parameter name="repository-directory" value="${catalina.base}/../repository" override="false"/>


Marijan Milicevic

unread,
Feb 9, 2018, 4:38:01 AM2/9/18
to hippo-c...@googlegroups.com
On Fri, Feb 9, 2018 at 10:31 AM, rohit tiwari <mail.rk...@gmail.com> wrote:
I have followed the steps from hippo cms docs to deploy the project distribution. 



Where i have seen the repository configuration in context.xml file but I don't understand to my configuration instead of shown below. Which path I have to use for repository-address and repository-dir.


just keep same values or change location of your repository-directory if needed, just us a path where you want to store lucene index. 
cheers
marijan 


 

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

rohit tiwari

unread,
Feb 9, 2018, 5:06:31 AM2/9/18
to Hippo Community
Hi,


When I have used the same location it gives me exception like repository not available.

14:42:18.926 [http-bio-9090-exec-3] ERROR org.hippoecm.frontend.RepositoryRuntimeExceptionHandlingRequestCycleListener - Creating RequestHandler for RepositoryUnavailableException: org.hippoecm.frontend.RepositoryUnavailableException: Repository is not available.
org.hippoecm.frontend.RepositoryUnavailableException: Repository is not available.
        at org.hippoecm.frontend.session.PluginUserSession.getJcrSession(PluginUserSession.java:202) ~[hippo-cms-engine-5.1.0.jar:5.1.0]
        at org.hippoecm.frontend.session.PluginUserSession.getApplicationName(PluginUserSession.java:514) ~[hippo-cms-engine-5.1.0.jar:5.1.0]
        at org.hippoecm.frontend.plugin.config.impl.PluginConfigFactory.<init>(PluginConfigFactory.java:33) ~[hippo-cms-api-5.1.0.jar:5.1.0]
        at org.hippoecm.frontend.PluginPage.<init>(PluginPage.java:93) ~[hippo-cms-engine-5.1.0.jar:5.1.0]
        at org.hippoecm.frontend.NoRepositoryAvailablePage.<init>(NoRepositoryAvailablePage.java:25) ~[hippo-cms-engine-5.1.0.jar:5.1.0]
        at sun.reflect.GeneratedConstructorAccessor35.newInstance(Unknown Source) ~[?:?]
14:42:18.927 [http-bio-9090-exec-3] ERROR org.apache.wicket.request.cycle.RequestCycle - Error during processing error message
org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor 'public org.hippoecm.frontend.NoRepositoryAvailablePage()'. An exception has been thrown during construction!
        at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:194) ~[wicket-core-6.26.0.jar:6.26.0]
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedConstructorAccessor35.newInstance(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_102]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_102]
        at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:175) ~[wicket-core-6.26.0.jar:6.26.0]
        ... 45 more
Caused by: org.hippoecm.frontend.RepositoryUnavailableException: Repository is not available.
        at org.hippoecm.frontend.session.PluginUserSession.getJcrSession(PluginUserSession.java:202) ~[hippo-cms-engine-5.1.0.jar:5.1.0]
        at org.hippoecm.frontend.session.PluginUserSession.getApplicationName(PluginUserSession.java:514) ~[hippo-cms-engine-5.1.0.jar:5.1.0]
        at org.hippoecm.frontend.plugin.config.impl.PluginConfigFactory.<init>(PluginConfigFactory.java:33) ~[hippo-cms-api-5.1.0.jar:5.1.0]
        at org.hippoecm.frontend.PluginPage.<init>(PluginPage.java:93) ~[hippo-cms-engine-5.1.0.jar:5.1.0]
        at org.hippoecm.frontend.NoRepositoryAvailablePage.<init>(NoRepositoryAvailablePage.java:25) ~[hippo-cms-engine-5.1.0.jar:5.1.0]
        at sun.reflect.GeneratedConstructorAccessor35.newInstance(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_102]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_102]
        at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:175) ~[wicket-core-6.26.0.jar:6.26.0]
        ... 45 more

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.

Marijan Milicevic

unread,
Feb 9, 2018, 5:11:29 AM2/9/18
to hippo-c...@googlegroups.com
On Fri, Feb 9, 2018 at 11:06 AM, rohit tiwari <mail.rk...@gmail.com> wrote:
Hi,


When I have used the same location it gives me exception like repository not available.



could you attach whole log file?
cheers
marijan
 
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.

rohit tiwari

unread,
Feb 9, 2018, 5:29:46 AM2/9/18
to Hippo Community
Please find the log file.
catalina.out

Marijan Milicevic

unread,
Feb 9, 2018, 5:40:22 AM2/9/18
to hippo-c...@googlegroups.com
On Fri, Feb 9, 2018 at 11:29 AM, rohit tiwari <mail.rk...@gmail.com> wrote:
Please find the log file.

On Friday, February 9, 2018 at 3:41:29 PM UTC+5:30, marijan milicevic wrote:
On Fri, Feb 9, 2018 at 11:06 AM, rohit tiwari <mail.rk...@gmail.com> wrote:
Hi,


When I have used the same location it gives me exception like repository not available.





so, if take some time and check the warnings and errors you'll find number of issues:

- WARNING: Problem with directory [/usr/local/apache-tomcat-7.0.82/bin/"/usr/local/share/tomcat-common/lib"], exists: [false], isDirectory: [false], canRead: [false]     

above is probably related to user rights, so make sure user has enough access rights

- java.net.BindException: Address already in use <null>:8080  

previous process is still running

All other errors after this are not so relevant,
cheers
marijan





 
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.

rohit tiwari

unread,
Feb 12, 2018, 8:05:07 AM2/12/18
to Hippo Community
Thanks for connect in these issues. 

Now I have resolved and after that it giving me error like "cms/wicket/bookmarkable/org.hippoecm.frontend.NoRepositoryAvailablePage".

Also adding log file------------------

Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version:        Apache Tomcat/7.0.82
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built:          Sep 29 2017 12:23:15 UTC
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server number:         7.0.82.0
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name:               Linux
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version:            3.10.0-514.el7.x86_64
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture:          amd64
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home:             /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-4.b14.el7.x86_64/jre
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version:           1.8.0_102-b14
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Vendor:            Oracle Corporation
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE:         /usr/local/apache-tomcat-7.0.82
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME:         /usr/local/apache-tomcat-7.0.82
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.util.logging.config.file=/usr/local/apache-tomcat-7.0.82/conf/logging.properties
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Xmx512m
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Xms256m
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -XX:+UseG1GC
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.util.Arrays.useLegacyMergeSort=true
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -verbose:gc
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -XX:+PrintGCDetails
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -XX:+PrintGCDateStamps
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Xloggc:/usr/local/apache-tomcat-7.0.82/logs/gc.log
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -XX:+UseGCLogFileRotation
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -XX:NumberOfGCLogFiles=5
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -XX:GCLogFileSize=2048k
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Drepo.bootstrap=true
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Drepo.config=file:/usr/local/apache-tomcat-7.0.82/conf/repository.xml
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -XX:+HeapDumpOnOutOfMemoryError
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -XX:HeapDumpPath=/opt/cms/heapdumps
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.rmi.server.hostname=127.0.0.1
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dlog4j.configurationFile=file:///usr/local/apache-tomcat-7.0.82/conf/log4j2.xml
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -DLog4jContextSelector=org.apache.logging.log4j.core.selector.BasicContextSelector
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dorg.apache.jackrabbit.core.cluster.node_id=root-portal9.velocis.in
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.endorsed.dirs=/usr/local/apache-tomcat-7.0.82/endorsed
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.base=/usr/local/apache-tomcat-7.0.82
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.home=/usr/local/apache-tomcat-7.0.82
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.io.tmpdir=/usr/local/apache-tomcat-7.0.82/temp
Feb 12, 2018 6:18:12 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Feb 12, 2018 6:18:12 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Feb 12, 2018 6:18:12 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 526 ms
Feb 12, 2018 6:18:12 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Feb 12, 2018 6:18:12 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.82
Feb 12, 2018 6:18:12 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /usr/local/apache-tomcat-7.0.82/webapps/cms.war
Feb 12, 2018 6:18:16 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Feb 12, 2018 6:20:15 PM org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
WARNING: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [118,748] milliseconds.
Feb 12, 2018 6:20:17 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deployment of web application archive /usr/local/apache-tomcat-7.0.82/webapps/cms.war has finished in 124,638 ms
Feb 12, 2018 6:20:17 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /usr/local/apache-tomcat-7.0.82/webapps/site.war
Feb 12, 2018 6:20:17 PM org.apache.catalina.realm.JAASRealm setUseContextClassLoader
INFO: Setting useContextClassLoader = true
Feb 12, 2018 6:20:19 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Feb 12, 2018 6:20:22 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deployment of web application archive /usr/local/apache-tomcat-7.0.82/webapps/site.war has finished in 5,367 ms
Feb 12, 2018 6:20:22 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/local/apache-tomcat-7.0.82/webapps/ROOT
Feb 12, 2018 6:20:22 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Feb 12, 2018 6:20:22 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /usr/local/apache-tomcat-7.0.82/webapps/ROOT has finished in 271 ms
Feb 12, 2018 6:20:22 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/local/apache-tomcat-7.0.82/webapps/docs
Feb 12, 2018 6:20:23 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Feb 12, 2018 6:20:23 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /usr/local/apache-tomcat-7.0.82/webapps/docs has finished in 222 ms
Feb 12, 2018 6:20:23 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/local/apache-tomcat-7.0.82/webapps/examples
Feb 12, 2018 6:20:23 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Feb 12, 2018 6:20:23 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /usr/local/apache-tomcat-7.0.82/webapps/examples has finished in 294 ms
Feb 12, 2018 6:20:23 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/local/apache-tomcat-7.0.82/webapps/host-manager
Feb 12, 2018 6:20:23 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Feb 12, 2018 6:20:23 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /usr/local/apache-tomcat-7.0.82/webapps/host-manager has finished in 137 ms
Feb 12, 2018 6:20:23 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/local/apache-tomcat-7.0.82/webapps/manager
Feb 12, 2018 6:20:23 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Feb 12, 2018 6:20:23 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /usr/local/apache-tomcat-7.0.82/webapps/manager has finished in 78 ms
Feb 12, 2018 6:20:23 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Feb 12, 2018 6:20:23 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Feb 12, 2018 6:20:23 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 131084 ms
repositorynotfound.png

rohit tiwari

unread,
Feb 12, 2018, 8:32:03 AM2/12/18
to Hippo Community
Attached logs file. PFA
...
hippo-cms.log
hippo-site.log

rohit tiwari

unread,
Feb 12, 2018, 8:44:37 AM2/12/18
to Hippo Community
I was not used any repository.xml file for datasource configuration and after that I have got the above logs file which i shared earlier. 

Thanks,
Rohit 

Marijan Milicevic

unread,
Feb 12, 2018, 9:22:15 AM2/12/18
to hippo-c...@googlegroups.com
On Mon, Feb 12, 2018 at 2:44 PM, rohit tiwari <mail.rk...@gmail.com> wrote:
I was not used any repository.xml file for datasource configuration and after that I have got the above logs file which i shared earlier. 


probably same issue as you had before, old process still running..

org.h2.jdbc.JdbcSQLException: Database may be already in use: "Locked by another process". Possible solutions: close all other connection(s); use the server mode [90020-175]


btw: H2 database is meant for local development only

cheers
/m

 
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.

rohit tiwari

unread,
Feb 13, 2018, 1:34:52 AM2/13/18
to Hippo Community

I have followed this tutorial to build the hippo cms-

https://www.onehippo.org/library/enterprise/installation-and-configuration/linux-installation-manual.html

I have build a hippo cms project and it working fine locally. I have not used any database from my side but by default it uses H2 database but I don't have any idea why it is using H2 database.Please specify?

my next aim to build the same on development environment.


I was skipped this step- 
"At this point you also need to add a JNDI resource to conf/context.xml, and add a conf/repository.xmlconfiguration file adjusted for your database. If using MySQL you should be able to use the examples provided at Configure Hippo CMS for MySQL as-is. See Databases for other database servers."

So my question is that-  Is it necessary to  configure repository file for development environment.

And if I have not used the repository.xml file in my setup and after starting tomcat it give me exception--- 

13.02.2018 11:39:40 [localhost-startStop-1] ERROR [org.hippoecm.repository.RepositoryServlet.init():233] Error while setting up JCR repository: 
org.apache.jackrabbit.core.config.ConfigurationException: Configuration element FileSystem not found in Repository.
at org.apache.jackrabbit.core.config.ConfigurationParser.getElement(ConfigurationParser.java:342) ~[jackrabbit-core-2.14.0-h2.jar:2.14.0-h2]
at org.apache.jackrabbit.core.config.ConfigurationParser.getElement(ConfigurationParser.java:308) ~[jackrabbit-core-2.14.0-h2.jar:2.14.0-h2]
at org.apache.jackrabbit.core.config.ConfigurationParser.parseBeanConfig(ConfigurationParser.java:110) ~[jackrabbit-core-2.14.0-h2.jar:2.14.0-h2]
at org.apache.jackrabbit.core.config.RepositoryConfigurationParser.parseBeanConfig(RepositoryConfigurationParser.java:380) ~[jackrabbit-core-2.14.0-h2.jar:2.14.0-h2]
at org.apache.jackrabbit.core.config.RepositoryConfigurationParser.getFileSystemFactory(RepositoryConfigurationParser.java:1159) ~[jackrabbit-core-2.14.0-h2.jar:2.14.0-h2]
at org.apache.jackrabbit.core.config.RepositoryConfigurationParser.parseRepositoryConfig(RepositoryConfigurationParser.java:329) ~[jackrabbit-core-2.14.0-h2.jar:2.14.0-h2]
at org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:351) ~[jackrabbit-core-2.14.0-h2.jar:2.14.0-h2]
at org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:327) ~[jackrabbit-core-2.14.0-h2.jar:2.14.0-h2]
at org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:309) ~[jackrabbit-core-2.14.0-h2.jar:2.14.0-h2]
at org.hippoecm.repository.LocalHippoRepository.createRepositoryConfig(LocalHippoRepository.java:299) ~[hippo-repository-engine-5.1.0.jar:5.1.0]
at org.hippoecm.repository.LocalHippoRepository.initialize(LocalHippoRepository.java:284) ~[hippo-repository-engine-5.1.0.jar:5.1.0]
at org.hippoecm.repository.LocalHippoRepository.create(LocalHippoRepository.java:122) ~[hippo-repository-engine-5.1.0.jar:5.1.0]
at org.hippoecm.repository.LocalHippoRepository.create(LocalHippoRepository.java:112) ~[hippo-repository-engine-5.1.0.jar:5.1.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_102]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_102]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_102]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_102]
at org.hippoecm.repository.HippoRepositoryFactory.getHippoRepository(HippoRepositoryFactory.java:147) ~[hippo-repository-connector-5.1.0.jar:5.1.0]
at org.hippoecm.repository.RepositoryServlet.init(RepositoryServlet.java:193) [hippo-repository-servlets-5.1.0.jar:5.1.0]
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1269) [catalina.jar:7.0.82]
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1182) [catalina.jar:7.0.82]
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1072) [catalina.jar:7.0.82]
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5362) [catalina.jar:7.0.82]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5660) [catalina.jar:7.0.82]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) [catalina.jar:7.0.82]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1015) [catalina.jar:7.0.82]
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:991) [catalina.jar:7.0.82]
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) [catalina.jar:7.0.82]
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1127) [catalina.jar:7.0.82]
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:2020) [catalina.jar:7.0.82]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_102]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_102]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_102]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_102]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102]
13.02.2018 11:41:24 [http-bio-8080-exec-1] ERROR [org.hippoecm.frontend.RepositoryRuntimeExceptionHandlingRequestCycleListener.createRequestHandler():72] Creating RequestHandler for RepositoryUnavailableException: org.hippoecm.frontend.RepositoryUnavailableException: Repository is not available.
org.hippoecm.frontend.RepositoryUnavailableException: Repository is not available.
at org.hippoecm.frontend.session.PluginUserSession.getJcrSession(PluginUserSession.java:202) ~[hippo-cms-engine-5.1.0.jar:5.1.0]
at org.hippoecm.frontend.session.PluginUserSession.getApplicationFactory(PluginUserSession.java:423) ~[hippo-cms-engine-5.1.0.jar:5.1.0]
at org.hippoecm.frontend.PluginPage.<init>(PluginPage.java:72) ~[hippo-cms-engine-5.1.0.jar:5.1.0]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_102]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_102]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_102]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_102]
at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:175) ~[wicket-core-6.26.0.jar:6.26.0]
at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:67) ~[wicket-core-6.26.0.jar:6.26.0]
at org.apache.wicket.DefaultMapperContext.newPageInstance(DefaultMapperContext.java:133) ~[wicket-core-6.26.0.jar:6.26.0]
at org.apache.wicket.core.request.handler.PageProvider.resolvePageInstance(PageProvider.java:268) ~[wicket-core-6.26.0.jar:6.26.0]
at org.apache.wicket.core.request.handler.PageProvider.getPageInstance(PageProvider.java:166) ~[wicket-core-6.26.0.jar:6.26.0]
at org.apache.wicket.request.handler.render.PageRenderer.getPage(PageRenderer.java:78) ~[wicket-core-6.26.0.jar:6.26.0]
at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:279) ~[wicket-core-6.26.0.jar:6.26.0]
at org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175) ~[wicket-core-6.26.0.jar:6.26.0]
at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:890) ~[wicket-core-6.26.0.jar:6.26.0]
at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64) ~[wicket-request-6.26.0.jar:6.26.0]
at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261) [wicket-core-6.26.0.jar:6.26.0]
at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218) [wicket-core-6.26.0.jar:6.26.0]
at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289) [wicket-core-6.26.0.jar:6.26.0]
at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259) [wicket-core-6.26.0.jar:6.26.0]
at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201) [wicket-core-6.26.0.jar:6.26.0]
at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282) [wicket-core-6.26.0.jar:6.26.0]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.82]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.82]
at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54) [hippo-cms-engine-5.1.0.jar:5.1.0]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.82]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.82]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) [catalina.jar:7.0.82]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110) [catalina.jar:7.0.82]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506) [catalina.jar:7.0.82]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) [catalina.jar:7.0.82]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) [catalina.jar:7.0.82]
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962) [catalina.jar:7.0.82]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.82]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445) [catalina.jar:7.0.82]
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115) [tomcat-coyote.jar:7.0.82]
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637) [tomcat-coyote.jar:7.0.82]
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318) [tomcat-coyote.jar:7.0.82]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_102]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_102]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.82]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102]

Please help me out for this issue which i m getting in many days.


Thanks,
Rohit






...
Reply all
Reply to author
Forward
0 new messages